@dreb/ai 2.14.0 → 2.14.1

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",
@@ -8000,7 +8017,7 @@ export const MODELS = {
8000
8017
  cacheRead: 0.024999999999999998,
8001
8018
  cacheWrite: 0.08333333333333334,
8002
8019
  },
8003
- contextWindow: 1048576,
8020
+ contextWindow: 1000000,
8004
8021
  maxTokens: 8192,
8005
8022
  },
8006
8023
  "google/gemini-2.0-flash-lite-001": {
@@ -8292,6 +8309,23 @@ export const MODELS = {
8292
8309
  contextWindow: 262144,
8293
8310
  maxTokens: 32768,
8294
8311
  },
8312
+ "ibm-granite/granite-4.1-8b": {
8313
+ id: "ibm-granite/granite-4.1-8b",
8314
+ name: "IBM: Granite 4.1 8B",
8315
+ api: "openai-completions",
8316
+ provider: "openrouter",
8317
+ baseUrl: "https://openrouter.ai/api/v1",
8318
+ reasoning: false,
8319
+ input: ["text"],
8320
+ cost: {
8321
+ input: 0.049999999999999996,
8322
+ output: 0.09999999999999999,
8323
+ cacheRead: 0.049999999999999996,
8324
+ cacheWrite: 0,
8325
+ },
8326
+ contextWindow: 131072,
8327
+ maxTokens: 131072,
8328
+ },
8295
8329
  "inception/mercury-2": {
8296
8330
  id: "inception/mercury-2",
8297
8331
  name: "Inception: Mercury 2",
@@ -9917,12 +9951,12 @@ export const MODELS = {
9917
9951
  input: ["text"],
9918
9952
  cost: {
9919
9953
  input: 0.039,
9920
- output: 0.19,
9954
+ output: 0.18,
9921
9955
  cacheRead: 0,
9922
9956
  cacheWrite: 0,
9923
9957
  },
9924
9958
  contextWindow: 131072,
9925
- maxTokens: 131072,
9959
+ maxTokens: 4096,
9926
9960
  },
9927
9961
  "openai/gpt-oss-120b:free": {
9928
9962
  id: "openai/gpt-oss-120b:free",
@@ -10596,9 +10630,9 @@ export const MODELS = {
10596
10630
  reasoning: false,
10597
10631
  input: ["text"],
10598
10632
  cost: {
10599
- input: 0.14,
10633
+ input: 0.12,
10600
10634
  output: 0.7999999999999999,
10601
- cacheRead: 0.09,
10635
+ cacheRead: 0.07,
10602
10636
  cacheWrite: 0,
10603
10637
  },
10604
10638
  contextWindow: 262144,
@@ -11344,14 +11378,31 @@ export const MODELS = {
11344
11378
  reasoning: true,
11345
11379
  input: ["text", "image"],
11346
11380
  cost: {
11347
- input: 2,
11348
- output: 6,
11381
+ input: 1.25,
11382
+ output: 2.5,
11349
11383
  cacheRead: 0.19999999999999998,
11350
11384
  cacheWrite: 0,
11351
11385
  },
11352
11386
  contextWindow: 2000000,
11353
11387
  maxTokens: 4096,
11354
11388
  },
11389
+ "x-ai/grok-4.3": {
11390
+ id: "x-ai/grok-4.3",
11391
+ name: "xAI: Grok 4.3",
11392
+ api: "openai-completions",
11393
+ provider: "openrouter",
11394
+ baseUrl: "https://openrouter.ai/api/v1",
11395
+ reasoning: true,
11396
+ input: ["text", "image"],
11397
+ cost: {
11398
+ input: 1.25,
11399
+ output: 2.5,
11400
+ cacheRead: 0.19999999999999998,
11401
+ cacheWrite: 0,
11402
+ },
11403
+ contextWindow: 1000000,
11404
+ maxTokens: 4096,
11405
+ },
11355
11406
  "x-ai/grok-code-fast-1": {
11356
11407
  id: "x-ai/grok-code-fast-1",
11357
11408
  name: "xAI: Grok Code Fast 1",
@@ -14006,23 +14057,6 @@ export const MODELS = {
14006
14057
  contextWindow: 200000,
14007
14058
  maxTokens: 8000,
14008
14059
  },
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
14060
  "xai/grok-3": {
14027
14061
  id: "xai/grok-3",
14028
14062
  name: "Grok 3 Beta",
@@ -14278,6 +14312,23 @@ export const MODELS = {
14278
14312
  contextWindow: 2000000,
14279
14313
  maxTokens: 2000000,
14280
14314
  },
14315
+ "xai/grok-4.3": {
14316
+ id: "xai/grok-4.3",
14317
+ name: "Grok 4.3",
14318
+ api: "anthropic-messages",
14319
+ provider: "vercel-ai-gateway",
14320
+ baseUrl: "https://ai-gateway.vercel.sh",
14321
+ reasoning: true,
14322
+ input: ["text", "image"],
14323
+ cost: {
14324
+ input: 1.25,
14325
+ output: 2.5,
14326
+ cacheRead: 0.19999999999999998,
14327
+ cacheWrite: 0,
14328
+ },
14329
+ contextWindow: 1000000,
14330
+ maxTokens: 1000000,
14331
+ },
14281
14332
  "xai/grok-code-fast-1": {
14282
14333
  id: "xai/grok-code-fast-1",
14283
14334
  name: "Grok Code Fast 1",
@@ -14943,6 +14994,23 @@ export const MODELS = {
14943
14994
  contextWindow: 2000000,
14944
14995
  maxTokens: 30000,
14945
14996
  },
14997
+ "grok-4.3": {
14998
+ id: "grok-4.3",
14999
+ name: "Grok 4.3",
15000
+ api: "openai-completions",
15001
+ provider: "xai",
15002
+ baseUrl: "https://api.x.ai/v1",
15003
+ reasoning: true,
15004
+ input: ["text", "image"],
15005
+ cost: {
15006
+ input: 1.25,
15007
+ output: 2.5,
15008
+ cacheRead: 0.2,
15009
+ cacheWrite: 0,
15010
+ },
15011
+ contextWindow: 1000000,
15012
+ maxTokens: 30000,
15013
+ },
14946
15014
  "grok-beta": {
14947
15015
  id: "grok-beta",
14948
15016
  name: "Grok Beta",