@dreb/ai 2.14.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5273,22 +5273,39 @@ export const MODELS = {
5273
5273
  contextWindow: 262144,
5274
5274
  maxTokens: 262144,
5275
5275
  },
5276
+ "mistral-medium-2604": {
5277
+ id: "mistral-medium-2604",
5278
+ name: "Mistral Medium 3.5",
5279
+ api: "mistral-conversations",
5280
+ provider: "mistral",
5281
+ baseUrl: "https://api.mistral.ai",
5282
+ reasoning: true,
5283
+ input: ["text", "image"],
5284
+ cost: {
5285
+ input: 1.5,
5286
+ output: 7.5,
5287
+ cacheRead: 0,
5288
+ cacheWrite: 0,
5289
+ },
5290
+ contextWindow: 262144,
5291
+ maxTokens: 262144,
5292
+ },
5276
5293
  "mistral-medium-latest": {
5277
5294
  id: "mistral-medium-latest",
5278
5295
  name: "Mistral Medium (latest)",
5279
5296
  api: "mistral-conversations",
5280
5297
  provider: "mistral",
5281
5298
  baseUrl: "https://api.mistral.ai",
5282
- reasoning: false,
5299
+ reasoning: true,
5283
5300
  input: ["text", "image"],
5284
5301
  cost: {
5285
- input: 0.4,
5286
- output: 2,
5302
+ input: 1.5,
5303
+ output: 7.5,
5287
5304
  cacheRead: 0,
5288
5305
  cacheWrite: 0,
5289
5306
  },
5290
- contextWindow: 128000,
5291
- maxTokens: 16384,
5307
+ contextWindow: 262144,
5308
+ maxTokens: 262144,
5292
5309
  },
5293
5310
  "mistral-nemo": {
5294
5311
  id: "mistral-nemo",
@@ -6212,40 +6229,6 @@ export const MODELS = {
6212
6229
  contextWindow: 272000,
6213
6230
  maxTokens: 128000,
6214
6231
  },
6215
- "gpt-5.2": {
6216
- id: "gpt-5.2",
6217
- name: "GPT-5.2",
6218
- api: "openai-codex-responses",
6219
- provider: "openai-codex",
6220
- baseUrl: "https://chatgpt.com/backend-api",
6221
- reasoning: true,
6222
- input: ["text", "image"],
6223
- cost: {
6224
- input: 1.75,
6225
- output: 14,
6226
- cacheRead: 0.175,
6227
- cacheWrite: 0,
6228
- },
6229
- contextWindow: 272000,
6230
- maxTokens: 128000,
6231
- },
6232
- "gpt-5.2-codex": {
6233
- id: "gpt-5.2-codex",
6234
- name: "GPT-5.2 Codex",
6235
- api: "openai-codex-responses",
6236
- provider: "openai-codex",
6237
- baseUrl: "https://chatgpt.com/backend-api",
6238
- reasoning: true,
6239
- input: ["text", "image"],
6240
- cost: {
6241
- input: 1.75,
6242
- output: 14,
6243
- cacheRead: 0.175,
6244
- cacheWrite: 0,
6245
- },
6246
- contextWindow: 272000,
6247
- maxTokens: 128000,
6248
- },
6249
6232
  "gpt-5.3-codex": {
6250
6233
  id: "gpt-5.3-codex",
6251
6234
  name: "GPT-5.3 Codex",
@@ -6314,6 +6297,23 @@ export const MODELS = {
6314
6297
  contextWindow: 272000,
6315
6298
  maxTokens: 128000,
6316
6299
  },
6300
+ "gpt-5.5": {
6301
+ id: "gpt-5.5",
6302
+ name: "GPT-5.5",
6303
+ api: "openai-codex-responses",
6304
+ provider: "openai-codex",
6305
+ baseUrl: "https://chatgpt.com/backend-api",
6306
+ reasoning: true,
6307
+ input: ["text", "image"],
6308
+ cost: {
6309
+ input: 5,
6310
+ output: 30,
6311
+ cacheRead: 0.5,
6312
+ cacheWrite: 0,
6313
+ },
6314
+ contextWindow: 400000,
6315
+ maxTokens: 128000,
6316
+ },
6317
6317
  },
6318
6318
  "opencode": {
6319
6319
  "big-pickle": {
@@ -8292,6 +8292,23 @@ export const MODELS = {
8292
8292
  contextWindow: 262144,
8293
8293
  maxTokens: 32768,
8294
8294
  },
8295
+ "ibm-granite/granite-4.1-8b": {
8296
+ id: "ibm-granite/granite-4.1-8b",
8297
+ name: "IBM: Granite 4.1 8B",
8298
+ api: "openai-completions",
8299
+ provider: "openrouter",
8300
+ baseUrl: "https://openrouter.ai/api/v1",
8301
+ reasoning: false,
8302
+ input: ["text"],
8303
+ cost: {
8304
+ input: 0.049999999999999996,
8305
+ output: 0.09999999999999999,
8306
+ cacheRead: 0.049999999999999996,
8307
+ cacheWrite: 0,
8308
+ },
8309
+ contextWindow: 131072,
8310
+ maxTokens: 131072,
8311
+ },
8295
8312
  "inception/mercury-2": {
8296
8313
  id: "inception/mercury-2",
8297
8314
  name: "Inception: Mercury 2",
@@ -9917,12 +9934,12 @@ export const MODELS = {
9917
9934
  input: ["text"],
9918
9935
  cost: {
9919
9936
  input: 0.039,
9920
- output: 0.19,
9937
+ output: 0.18,
9921
9938
  cacheRead: 0,
9922
9939
  cacheWrite: 0,
9923
9940
  },
9924
9941
  contextWindow: 131072,
9925
- maxTokens: 131072,
9942
+ maxTokens: 4096,
9926
9943
  },
9927
9944
  "openai/gpt-oss-120b:free": {
9928
9945
  id: "openai/gpt-oss-120b:free",
@@ -10596,9 +10613,9 @@ export const MODELS = {
10596
10613
  reasoning: false,
10597
10614
  input: ["text"],
10598
10615
  cost: {
10599
- input: 0.14,
10616
+ input: 0.12,
10600
10617
  output: 0.7999999999999999,
10601
- cacheRead: 0.09,
10618
+ cacheRead: 0.07,
10602
10619
  cacheWrite: 0,
10603
10620
  },
10604
10621
  contextWindow: 262144,
@@ -11344,14 +11361,31 @@ export const MODELS = {
11344
11361
  reasoning: true,
11345
11362
  input: ["text", "image"],
11346
11363
  cost: {
11347
- input: 2,
11348
- output: 6,
11364
+ input: 1.25,
11365
+ output: 2.5,
11349
11366
  cacheRead: 0.19999999999999998,
11350
11367
  cacheWrite: 0,
11351
11368
  },
11352
11369
  contextWindow: 2000000,
11353
11370
  maxTokens: 4096,
11354
11371
  },
11372
+ "x-ai/grok-4.3": {
11373
+ id: "x-ai/grok-4.3",
11374
+ name: "xAI: Grok 4.3",
11375
+ api: "openai-completions",
11376
+ provider: "openrouter",
11377
+ baseUrl: "https://openrouter.ai/api/v1",
11378
+ reasoning: true,
11379
+ input: ["text", "image"],
11380
+ cost: {
11381
+ input: 1.25,
11382
+ output: 2.5,
11383
+ cacheRead: 0.19999999999999998,
11384
+ cacheWrite: 0,
11385
+ },
11386
+ contextWindow: 1000000,
11387
+ maxTokens: 4096,
11388
+ },
11355
11389
  "x-ai/grok-code-fast-1": {
11356
11390
  id: "x-ai/grok-code-fast-1",
11357
11391
  name: "xAI: Grok Code Fast 1",
@@ -14006,23 +14040,6 @@ export const MODELS = {
14006
14040
  contextWindow: 200000,
14007
14041
  maxTokens: 8000,
14008
14042
  },
14009
- "prime-intellect/intellect-3": {
14010
- id: "prime-intellect/intellect-3",
14011
- name: "INTELLECT 3",
14012
- api: "anthropic-messages",
14013
- provider: "vercel-ai-gateway",
14014
- baseUrl: "https://ai-gateway.vercel.sh",
14015
- reasoning: true,
14016
- input: ["text"],
14017
- cost: {
14018
- input: 0.19999999999999998,
14019
- output: 1.1,
14020
- cacheRead: 0,
14021
- cacheWrite: 0,
14022
- },
14023
- contextWindow: 131072,
14024
- maxTokens: 131072,
14025
- },
14026
14043
  "xai/grok-3": {
14027
14044
  id: "xai/grok-3",
14028
14045
  name: "Grok 3 Beta",
@@ -14278,6 +14295,23 @@ export const MODELS = {
14278
14295
  contextWindow: 2000000,
14279
14296
  maxTokens: 2000000,
14280
14297
  },
14298
+ "xai/grok-4.3": {
14299
+ id: "xai/grok-4.3",
14300
+ name: "Grok 4.3",
14301
+ api: "anthropic-messages",
14302
+ provider: "vercel-ai-gateway",
14303
+ baseUrl: "https://ai-gateway.vercel.sh",
14304
+ reasoning: true,
14305
+ input: ["text", "image"],
14306
+ cost: {
14307
+ input: 1.25,
14308
+ output: 2.5,
14309
+ cacheRead: 0.19999999999999998,
14310
+ cacheWrite: 0,
14311
+ },
14312
+ contextWindow: 1000000,
14313
+ maxTokens: 1000000,
14314
+ },
14281
14315
  "xai/grok-code-fast-1": {
14282
14316
  id: "xai/grok-code-fast-1",
14283
14317
  name: "Grok Code Fast 1",
@@ -14943,6 +14977,23 @@ export const MODELS = {
14943
14977
  contextWindow: 2000000,
14944
14978
  maxTokens: 30000,
14945
14979
  },
14980
+ "grok-4.3": {
14981
+ id: "grok-4.3",
14982
+ name: "Grok 4.3",
14983
+ api: "openai-completions",
14984
+ provider: "xai",
14985
+ baseUrl: "https://api.x.ai/v1",
14986
+ reasoning: true,
14987
+ input: ["text", "image"],
14988
+ cost: {
14989
+ input: 1.25,
14990
+ output: 2.5,
14991
+ cacheRead: 0.2,
14992
+ cacheWrite: 0,
14993
+ },
14994
+ contextWindow: 1000000,
14995
+ maxTokens: 30000,
14996
+ },
14946
14997
  "grok-beta": {
14947
14998
  id: "grok-beta",
14948
14999
  name: "Grok Beta",