@apholdings/jensen-ai 0.1.0 → 0.1.3

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.
Files changed (68) hide show
  1. package/dist/env-api-keys.d.ts.map +1 -1
  2. package/dist/env-api-keys.js +1 -0
  3. package/dist/env-api-keys.js.map +1 -1
  4. package/dist/index.d.ts +9 -8
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +0 -8
  7. package/dist/index.js.map +1 -1
  8. package/dist/models.d.ts +43 -4
  9. package/dist/models.d.ts.map +1 -1
  10. package/dist/models.generated.d.ts +435 -187
  11. package/dist/models.generated.d.ts.map +1 -1
  12. package/dist/models.generated.js +576 -336
  13. package/dist/models.generated.js.map +1 -1
  14. package/dist/models.js +56 -4
  15. package/dist/models.js.map +1 -1
  16. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  17. package/dist/providers/amazon-bedrock.js +31 -9
  18. package/dist/providers/amazon-bedrock.js.map +1 -1
  19. package/dist/providers/anthropic.d.ts +7 -0
  20. package/dist/providers/anthropic.d.ts.map +1 -1
  21. package/dist/providers/anthropic.js +23 -12
  22. package/dist/providers/anthropic.js.map +1 -1
  23. package/dist/providers/google-gemini-cli.d.ts.map +1 -1
  24. package/dist/providers/google-gemini-cli.js +4 -1
  25. package/dist/providers/google-gemini-cli.js.map +1 -1
  26. package/dist/providers/google-shared.d.ts.map +1 -1
  27. package/dist/providers/google-shared.js +20 -8
  28. package/dist/providers/google-shared.js.map +1 -1
  29. package/dist/providers/google.d.ts.map +1 -1
  30. package/dist/providers/google.js +3 -0
  31. package/dist/providers/google.js.map +1 -1
  32. package/dist/providers/mistral.d.ts.map +1 -1
  33. package/dist/providers/mistral.js +3 -0
  34. package/dist/providers/mistral.js.map +1 -1
  35. package/dist/providers/openai-codex-responses.d.ts.map +1 -1
  36. package/dist/providers/openai-codex-responses.js +71 -34
  37. package/dist/providers/openai-codex-responses.js.map +1 -1
  38. package/dist/providers/openai-completions.d.ts.map +1 -1
  39. package/dist/providers/openai-completions.js +62 -21
  40. package/dist/providers/openai-completions.js.map +1 -1
  41. package/dist/providers/openai-responses-shared.d.ts.map +1 -1
  42. package/dist/providers/openai-responses-shared.js +34 -30
  43. package/dist/providers/openai-responses-shared.js.map +1 -1
  44. package/dist/providers/register-builtins.d.ts +28 -1
  45. package/dist/providers/register-builtins.d.ts.map +1 -1
  46. package/dist/providers/register-builtins.js +170 -47
  47. package/dist/providers/register-builtins.js.map +1 -1
  48. package/dist/types.d.ts +13 -4
  49. package/dist/types.d.ts.map +1 -1
  50. package/dist/types.js.map +1 -1
  51. package/dist/utils/oauth/anthropic.d.ts +14 -6
  52. package/dist/utils/oauth/anthropic.d.ts.map +1 -1
  53. package/dist/utils/oauth/anthropic.js +288 -57
  54. package/dist/utils/oauth/anthropic.js.map +1 -1
  55. package/dist/utils/oauth/google-antigravity.d.ts.map +1 -1
  56. package/dist/utils/oauth/google-antigravity.js +22 -19
  57. package/dist/utils/oauth/google-antigravity.js.map +1 -1
  58. package/dist/utils/oauth/google-gemini-cli.d.ts.map +1 -1
  59. package/dist/utils/oauth/google-gemini-cli.js +22 -19
  60. package/dist/utils/oauth/google-gemini-cli.js.map +1 -1
  61. package/dist/utils/oauth/oauth-page.d.ts +3 -0
  62. package/dist/utils/oauth/oauth-page.d.ts.map +1 -0
  63. package/dist/utils/oauth/oauth-page.js +105 -0
  64. package/dist/utils/oauth/oauth-page.js.map +1 -0
  65. package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
  66. package/dist/utils/oauth/openai-codex.js +24 -31
  67. package/dist/utils/oauth/openai-codex.js.map +1 -1
  68. package/package.json +3 -2
@@ -254,7 +254,7 @@ export const MODELS = {
254
254
  cacheRead: 0.5,
255
255
  cacheWrite: 6.25,
256
256
  },
257
- contextWindow: 200000,
257
+ contextWindow: 1000000,
258
258
  maxTokens: 128000,
259
259
  },
260
260
  "anthropic.claude-sonnet-4-20250514-v1:0": {
@@ -305,7 +305,7 @@ export const MODELS = {
305
305
  cacheRead: 0.3,
306
306
  cacheWrite: 3.75,
307
307
  },
308
- contextWindow: 200000,
308
+ contextWindow: 1000000,
309
309
  maxTokens: 64000,
310
310
  },
311
311
  "deepseek.r1-v1:0": {
@@ -407,7 +407,7 @@ export const MODELS = {
407
407
  cacheRead: 0.5,
408
408
  cacheWrite: 6.25,
409
409
  },
410
- contextWindow: 200000,
410
+ contextWindow: 1000000,
411
411
  maxTokens: 128000,
412
412
  },
413
413
  "eu.anthropic.claude-sonnet-4-20250514-v1:0": {
@@ -458,7 +458,7 @@ export const MODELS = {
458
458
  cacheRead: 0.3,
459
459
  cacheWrite: 3.75,
460
460
  },
461
- contextWindow: 200000,
461
+ contextWindow: 1000000,
462
462
  maxTokens: 64000,
463
463
  },
464
464
  "global.anthropic.claude-haiku-4-5-20251001-v1:0": {
@@ -509,7 +509,7 @@ export const MODELS = {
509
509
  cacheRead: 0.5,
510
510
  cacheWrite: 6.25,
511
511
  },
512
- contextWindow: 200000,
512
+ contextWindow: 1000000,
513
513
  maxTokens: 128000,
514
514
  },
515
515
  "global.anthropic.claude-sonnet-4-20250514-v1:0": {
@@ -560,7 +560,7 @@ export const MODELS = {
560
560
  cacheRead: 0.3,
561
561
  cacheWrite: 3.75,
562
562
  },
563
- contextWindow: 200000,
563
+ contextWindow: 1000000,
564
564
  maxTokens: 64000,
565
565
  },
566
566
  "google.gemma-3-27b-it": {
@@ -1291,7 +1291,7 @@ export const MODELS = {
1291
1291
  cacheRead: 0.5,
1292
1292
  cacheWrite: 6.25,
1293
1293
  },
1294
- contextWindow: 200000,
1294
+ contextWindow: 1000000,
1295
1295
  maxTokens: 128000,
1296
1296
  },
1297
1297
  "us.anthropic.claude-sonnet-4-20250514-v1:0": {
@@ -1342,7 +1342,7 @@ export const MODELS = {
1342
1342
  cacheRead: 0.3,
1343
1343
  cacheWrite: 3.75,
1344
1344
  },
1345
- contextWindow: 200000,
1345
+ contextWindow: 1000000,
1346
1346
  maxTokens: 64000,
1347
1347
  },
1348
1348
  "writer.palmyra-x4-v1:0": {
@@ -1718,7 +1718,7 @@ export const MODELS = {
1718
1718
  cacheRead: 0.5,
1719
1719
  cacheWrite: 6.25,
1720
1720
  },
1721
- contextWindow: 200000,
1721
+ contextWindow: 1000000,
1722
1722
  maxTokens: 128000,
1723
1723
  },
1724
1724
  "claude-sonnet-4-0": {
@@ -2301,6 +2301,40 @@ export const MODELS = {
2301
2301
  contextWindow: 272000,
2302
2302
  maxTokens: 128000,
2303
2303
  },
2304
+ "gpt-5.4-mini": {
2305
+ id: "gpt-5.4-mini",
2306
+ name: "GPT-5.4 mini",
2307
+ api: "azure-openai-responses",
2308
+ provider: "azure-openai-responses",
2309
+ baseUrl: "",
2310
+ reasoning: true,
2311
+ input: ["text", "image"],
2312
+ cost: {
2313
+ input: 0.75,
2314
+ output: 4.5,
2315
+ cacheRead: 0.075,
2316
+ cacheWrite: 0,
2317
+ },
2318
+ contextWindow: 400000,
2319
+ maxTokens: 128000,
2320
+ },
2321
+ "gpt-5.4-nano": {
2322
+ id: "gpt-5.4-nano",
2323
+ name: "GPT-5.4 nano",
2324
+ api: "azure-openai-responses",
2325
+ provider: "azure-openai-responses",
2326
+ baseUrl: "",
2327
+ reasoning: true,
2328
+ input: ["text", "image"],
2329
+ cost: {
2330
+ input: 0.2,
2331
+ output: 1.25,
2332
+ cacheRead: 0.02,
2333
+ cacheWrite: 0,
2334
+ },
2335
+ contextWindow: 400000,
2336
+ maxTokens: 128000,
2337
+ },
2304
2338
  "gpt-5.4-pro": {
2305
2339
  id: "gpt-5.4-pro",
2306
2340
  name: "GPT-5.4 Pro",
@@ -2577,7 +2611,7 @@ export const MODELS = {
2577
2611
  cacheRead: 0,
2578
2612
  cacheWrite: 0,
2579
2613
  },
2580
- contextWindow: 128000,
2614
+ contextWindow: 1000000,
2581
2615
  maxTokens: 64000,
2582
2616
  },
2583
2617
  "claude-sonnet-4": {
@@ -2631,7 +2665,7 @@ export const MODELS = {
2631
2665
  cacheRead: 0,
2632
2666
  cacheWrite: 0,
2633
2667
  },
2634
- contextWindow: 128000,
2668
+ contextWindow: 1000000,
2635
2669
  maxTokens: 32000,
2636
2670
  },
2637
2671
  "gemini-2.5-pro": {
@@ -2928,6 +2962,24 @@ export const MODELS = {
2928
2962
  contextWindow: 400000,
2929
2963
  maxTokens: 128000,
2930
2964
  },
2965
+ "gpt-5.4-mini": {
2966
+ id: "gpt-5.4-mini",
2967
+ name: "GPT-5.4 mini",
2968
+ api: "openai-responses",
2969
+ provider: "github-copilot",
2970
+ baseUrl: "https://api.individual.githubcopilot.com",
2971
+ headers: { "User-Agent": "GitHubCopilotChat/0.35.0", "Editor-Version": "vscode/1.107.0", "Editor-Plugin-Version": "copilot-chat/0.35.0", "Copilot-Integration-Id": "vscode-chat" },
2972
+ reasoning: true,
2973
+ input: ["text", "image"],
2974
+ cost: {
2975
+ input: 0,
2976
+ output: 0,
2977
+ cacheRead: 0,
2978
+ cacheWrite: 0,
2979
+ },
2980
+ contextWindow: 400000,
2981
+ maxTokens: 128000,
2982
+ },
2931
2983
  "grok-code-fast-1": {
2932
2984
  id: "grok-code-fast-1",
2933
2985
  name: "Grok Code Fast 1",
@@ -4511,6 +4563,40 @@ export const MODELS = {
4511
4563
  contextWindow: 204800,
4512
4564
  maxTokens: 131072,
4513
4565
  },
4566
+ "MiniMax-M2.7": {
4567
+ id: "MiniMax-M2.7",
4568
+ name: "MiniMax-M2.7",
4569
+ api: "anthropic-messages",
4570
+ provider: "minimax",
4571
+ baseUrl: "https://api.minimax.io/anthropic",
4572
+ reasoning: true,
4573
+ input: ["text"],
4574
+ cost: {
4575
+ input: 0.3,
4576
+ output: 1.2,
4577
+ cacheRead: 0.06,
4578
+ cacheWrite: 0.375,
4579
+ },
4580
+ contextWindow: 204800,
4581
+ maxTokens: 131072,
4582
+ },
4583
+ "MiniMax-M2.7-highspeed": {
4584
+ id: "MiniMax-M2.7-highspeed",
4585
+ name: "MiniMax-M2.7-highspeed",
4586
+ api: "anthropic-messages",
4587
+ provider: "minimax",
4588
+ baseUrl: "https://api.minimax.io/anthropic",
4589
+ reasoning: true,
4590
+ input: ["text"],
4591
+ cost: {
4592
+ input: 0.6,
4593
+ output: 2.4,
4594
+ cacheRead: 0.06,
4595
+ cacheWrite: 0.375,
4596
+ },
4597
+ contextWindow: 204800,
4598
+ maxTokens: 131072,
4599
+ },
4514
4600
  },
4515
4601
  "minimax-cn": {
4516
4602
  "MiniMax-M2": {
@@ -4581,6 +4667,40 @@ export const MODELS = {
4581
4667
  contextWindow: 204800,
4582
4668
  maxTokens: 131072,
4583
4669
  },
4670
+ "MiniMax-M2.7": {
4671
+ id: "MiniMax-M2.7",
4672
+ name: "MiniMax-M2.7",
4673
+ api: "anthropic-messages",
4674
+ provider: "minimax-cn",
4675
+ baseUrl: "https://api.minimaxi.com/anthropic",
4676
+ reasoning: true,
4677
+ input: ["text"],
4678
+ cost: {
4679
+ input: 0.3,
4680
+ output: 1.2,
4681
+ cacheRead: 0.06,
4682
+ cacheWrite: 0.375,
4683
+ },
4684
+ contextWindow: 204800,
4685
+ maxTokens: 131072,
4686
+ },
4687
+ "MiniMax-M2.7-highspeed": {
4688
+ id: "MiniMax-M2.7-highspeed",
4689
+ name: "MiniMax-M2.7-highspeed",
4690
+ api: "anthropic-messages",
4691
+ provider: "minimax-cn",
4692
+ baseUrl: "https://api.minimaxi.com/anthropic",
4693
+ reasoning: true,
4694
+ input: ["text"],
4695
+ cost: {
4696
+ input: 0.6,
4697
+ output: 2.4,
4698
+ cacheRead: 0.06,
4699
+ cacheWrite: 0.375,
4700
+ },
4701
+ contextWindow: 204800,
4702
+ maxTokens: 131072,
4703
+ },
4584
4704
  },
4585
4705
  "mistral": {
4586
4706
  "codestral-latest": {
@@ -5503,6 +5623,40 @@ export const MODELS = {
5503
5623
  contextWindow: 272000,
5504
5624
  maxTokens: 128000,
5505
5625
  },
5626
+ "gpt-5.4-mini": {
5627
+ id: "gpt-5.4-mini",
5628
+ name: "GPT-5.4 mini",
5629
+ api: "openai-responses",
5630
+ provider: "openai",
5631
+ baseUrl: "https://api.openai.com/v1",
5632
+ reasoning: true,
5633
+ input: ["text", "image"],
5634
+ cost: {
5635
+ input: 0.75,
5636
+ output: 4.5,
5637
+ cacheRead: 0.075,
5638
+ cacheWrite: 0,
5639
+ },
5640
+ contextWindow: 400000,
5641
+ maxTokens: 128000,
5642
+ },
5643
+ "gpt-5.4-nano": {
5644
+ id: "gpt-5.4-nano",
5645
+ name: "GPT-5.4 nano",
5646
+ api: "openai-responses",
5647
+ provider: "openai",
5648
+ baseUrl: "https://api.openai.com/v1",
5649
+ reasoning: true,
5650
+ input: ["text", "image"],
5651
+ cost: {
5652
+ input: 0.2,
5653
+ output: 1.25,
5654
+ cacheRead: 0.02,
5655
+ cacheWrite: 0,
5656
+ },
5657
+ contextWindow: 400000,
5658
+ maxTokens: 128000,
5659
+ },
5506
5660
  "gpt-5.4-pro": {
5507
5661
  id: "gpt-5.4-pro",
5508
5662
  name: "GPT-5.4 Pro",
@@ -5794,6 +5948,23 @@ export const MODELS = {
5794
5948
  contextWindow: 272000,
5795
5949
  maxTokens: 128000,
5796
5950
  },
5951
+ "gpt-5.4-mini": {
5952
+ id: "gpt-5.4-mini",
5953
+ name: "GPT-5.4 Mini",
5954
+ api: "openai-codex-responses",
5955
+ provider: "openai-codex",
5956
+ baseUrl: "https://chatgpt.com/backend-api",
5957
+ reasoning: true,
5958
+ input: ["text", "image"],
5959
+ cost: {
5960
+ input: 0.75,
5961
+ output: 4.5,
5962
+ cacheRead: 0.075,
5963
+ cacheWrite: 0,
5964
+ },
5965
+ contextWindow: 272000,
5966
+ maxTokens: 128000,
5967
+ },
5797
5968
  },
5798
5969
  "opencode": {
5799
5970
  "big-pickle": {
@@ -5895,7 +6066,7 @@ export const MODELS = {
5895
6066
  cacheRead: 0.5,
5896
6067
  cacheWrite: 6.25,
5897
6068
  },
5898
- contextWindow: 200000,
6069
+ contextWindow: 1000000,
5899
6070
  maxTokens: 128000,
5900
6071
  },
5901
6072
  "claude-sonnet-4": {
@@ -5966,23 +6137,6 @@ export const MODELS = {
5966
6137
  contextWindow: 1048576,
5967
6138
  maxTokens: 65536,
5968
6139
  },
5969
- "gemini-3-pro": {
5970
- id: "gemini-3-pro",
5971
- name: "Gemini 3 Pro",
5972
- api: "google-generative-ai",
5973
- provider: "opencode",
5974
- baseUrl: "https://opencode.ai/zen/v1",
5975
- reasoning: true,
5976
- input: ["text", "image"],
5977
- cost: {
5978
- input: 2,
5979
- output: 12,
5980
- cacheRead: 0.2,
5981
- cacheWrite: 0,
5982
- },
5983
- contextWindow: 1048576,
5984
- maxTokens: 65536,
5985
- },
5986
6140
  "gemini-3.1-pro": {
5987
6141
  id: "gemini-3.1-pro",
5988
6142
  name: "Gemini 3.1 Pro Preview",
@@ -6000,40 +6154,6 @@ export const MODELS = {
6000
6154
  contextWindow: 1048576,
6001
6155
  maxTokens: 65536,
6002
6156
  },
6003
- "glm-4.6": {
6004
- id: "glm-4.6",
6005
- name: "GLM-4.6",
6006
- api: "openai-completions",
6007
- provider: "opencode",
6008
- baseUrl: "https://opencode.ai/zen/v1",
6009
- reasoning: true,
6010
- input: ["text"],
6011
- cost: {
6012
- input: 0.6,
6013
- output: 2.2,
6014
- cacheRead: 0.1,
6015
- cacheWrite: 0,
6016
- },
6017
- contextWindow: 204800,
6018
- maxTokens: 131072,
6019
- },
6020
- "glm-4.7": {
6021
- id: "glm-4.7",
6022
- name: "GLM-4.7",
6023
- api: "openai-completions",
6024
- provider: "opencode",
6025
- baseUrl: "https://opencode.ai/zen/v1",
6026
- reasoning: true,
6027
- input: ["text"],
6028
- cost: {
6029
- input: 0.6,
6030
- output: 2.2,
6031
- cacheRead: 0.1,
6032
- cacheWrite: 0,
6033
- },
6034
- contextWindow: 204800,
6035
- maxTokens: 131072,
6036
- },
6037
6157
  "glm-5": {
6038
6158
  id: "glm-5",
6039
6159
  name: "GLM-5",
@@ -6238,6 +6358,40 @@ export const MODELS = {
6238
6358
  contextWindow: 272000,
6239
6359
  maxTokens: 128000,
6240
6360
  },
6361
+ "gpt-5.4-mini": {
6362
+ id: "gpt-5.4-mini",
6363
+ name: "GPT-5.4 Mini",
6364
+ api: "openai-responses",
6365
+ provider: "opencode",
6366
+ baseUrl: "https://opencode.ai/zen/v1",
6367
+ reasoning: true,
6368
+ input: ["text", "image"],
6369
+ cost: {
6370
+ input: 0.75,
6371
+ output: 4.5,
6372
+ cacheRead: 0.075,
6373
+ cacheWrite: 0,
6374
+ },
6375
+ contextWindow: 400000,
6376
+ maxTokens: 128000,
6377
+ },
6378
+ "gpt-5.4-nano": {
6379
+ id: "gpt-5.4-nano",
6380
+ name: "GPT-5.4 Nano",
6381
+ api: "openai-responses",
6382
+ provider: "opencode",
6383
+ baseUrl: "https://opencode.ai/zen/v1",
6384
+ reasoning: true,
6385
+ input: ["text", "image"],
6386
+ cost: {
6387
+ input: 0.2,
6388
+ output: 1.25,
6389
+ cacheRead: 0.02,
6390
+ cacheWrite: 0,
6391
+ },
6392
+ contextWindow: 400000,
6393
+ maxTokens: 128000,
6394
+ },
6241
6395
  "gpt-5.4-pro": {
6242
6396
  id: "gpt-5.4-pro",
6243
6397
  name: "GPT-5.4 Pro",
@@ -6272,14 +6426,14 @@ export const MODELS = {
6272
6426
  contextWindow: 262144,
6273
6427
  maxTokens: 65536,
6274
6428
  },
6275
- "mimo-v2-flash-free": {
6276
- id: "mimo-v2-flash-free",
6277
- name: "MiMo V2 Flash Free",
6429
+ "mimo-v2-omni-free": {
6430
+ id: "mimo-v2-omni-free",
6431
+ name: "MiMo V2 Omni Free",
6278
6432
  api: "openai-completions",
6279
6433
  provider: "opencode",
6280
6434
  baseUrl: "https://opencode.ai/zen/v1",
6281
6435
  reasoning: true,
6282
- input: ["text"],
6436
+ input: ["text", "image"],
6283
6437
  cost: {
6284
6438
  input: 0,
6285
6439
  output: 0,
@@ -6287,24 +6441,24 @@ export const MODELS = {
6287
6441
  cacheWrite: 0,
6288
6442
  },
6289
6443
  contextWindow: 262144,
6290
- maxTokens: 65536,
6444
+ maxTokens: 64000,
6291
6445
  },
6292
- "minimax-m2.1": {
6293
- id: "minimax-m2.1",
6294
- name: "MiniMax M2.1",
6446
+ "mimo-v2-pro-free": {
6447
+ id: "mimo-v2-pro-free",
6448
+ name: "MiMo V2 Pro Free",
6295
6449
  api: "openai-completions",
6296
6450
  provider: "opencode",
6297
6451
  baseUrl: "https://opencode.ai/zen/v1",
6298
6452
  reasoning: true,
6299
6453
  input: ["text"],
6300
6454
  cost: {
6301
- input: 0.3,
6302
- output: 1.2,
6303
- cacheRead: 0.1,
6455
+ input: 0,
6456
+ output: 0,
6457
+ cacheRead: 0,
6304
6458
  cacheWrite: 0,
6305
6459
  },
6306
- contextWindow: 204800,
6307
- maxTokens: 131072,
6460
+ contextWindow: 1048576,
6461
+ maxTokens: 64000,
6308
6462
  },
6309
6463
  "minimax-m2.5": {
6310
6464
  id: "minimax-m2.5",
@@ -6410,10 +6564,27 @@ export const MODELS = {
6410
6564
  contextWindow: 204800,
6411
6565
  maxTokens: 131072,
6412
6566
  },
6413
- },
6414
- "openrouter": {
6415
- "ai21/jamba-large-1.7": {
6416
- id: "ai21/jamba-large-1.7",
6567
+ "minimax-m2.7": {
6568
+ id: "minimax-m2.7",
6569
+ name: "MiniMax M2.7",
6570
+ api: "anthropic-messages",
6571
+ provider: "opencode-go",
6572
+ baseUrl: "https://opencode.ai/zen/go",
6573
+ reasoning: true,
6574
+ input: ["text"],
6575
+ cost: {
6576
+ input: 0.3,
6577
+ output: 1.2,
6578
+ cacheRead: 0.06,
6579
+ cacheWrite: 0,
6580
+ },
6581
+ contextWindow: 204800,
6582
+ maxTokens: 131072,
6583
+ },
6584
+ },
6585
+ "openrouter": {
6586
+ "ai21/jamba-large-1.7": {
6587
+ id: "ai21/jamba-large-1.7",
6417
6588
  name: "AI21: Jamba Large 1.7",
6418
6589
  api: "openai-completions",
6419
6590
  provider: "openrouter",
@@ -7085,12 +7256,12 @@ export const MODELS = {
7085
7256
  input: ["text"],
7086
7257
  cost: {
7087
7258
  input: 0.21,
7088
- output: 0.7899999999999999,
7089
- cacheRead: 0.1300000002,
7259
+ output: 0.78,
7260
+ cacheRead: 0.105,
7090
7261
  cacheWrite: 0,
7091
7262
  },
7092
7263
  contextWindow: 163840,
7093
- maxTokens: 4096,
7264
+ maxTokens: 65536,
7094
7265
  },
7095
7266
  "deepseek/deepseek-v3.2": {
7096
7267
  id: "deepseek/deepseek-v3.2",
@@ -7364,40 +7535,6 @@ export const MODELS = {
7364
7535
  contextWindow: 1048576,
7365
7536
  maxTokens: 65536,
7366
7537
  },
7367
- "google/gemma-3-27b-it": {
7368
- id: "google/gemma-3-27b-it",
7369
- name: "Google: Gemma 3 27B",
7370
- api: "openai-completions",
7371
- provider: "openrouter",
7372
- baseUrl: "https://openrouter.ai/api/v1",
7373
- reasoning: false,
7374
- input: ["text", "image"],
7375
- cost: {
7376
- input: 0.03,
7377
- output: 0.11,
7378
- cacheRead: 0.015,
7379
- cacheWrite: 0,
7380
- },
7381
- contextWindow: 128000,
7382
- maxTokens: 65536,
7383
- },
7384
- "google/gemma-3-27b-it:free": {
7385
- id: "google/gemma-3-27b-it:free",
7386
- name: "Google: Gemma 3 27B (free)",
7387
- api: "openai-completions",
7388
- provider: "openrouter",
7389
- baseUrl: "https://openrouter.ai/api/v1",
7390
- reasoning: false,
7391
- input: ["text", "image"],
7392
- cost: {
7393
- input: 0,
7394
- output: 0,
7395
- cacheRead: 0,
7396
- cacheWrite: 0,
7397
- },
7398
- contextWindow: 131072,
7399
- maxTokens: 8192,
7400
- },
7401
7538
  "inception/mercury": {
7402
7539
  id: "inception/mercury",
7403
7540
  name: "Inception: Mercury",
@@ -7565,8 +7702,8 @@ export const MODELS = {
7565
7702
  cacheRead: 0,
7566
7703
  cacheWrite: 0,
7567
7704
  },
7568
- contextWindow: 128000,
7569
- maxTokens: 128000,
7705
+ contextWindow: 65536,
7706
+ maxTokens: 4096,
7570
7707
  },
7571
7708
  "meta-llama/llama-4-maverick": {
7572
7709
  id: "meta-llama/llama-4-maverick",
@@ -7662,7 +7799,7 @@ export const MODELS = {
7662
7799
  reasoning: true,
7663
7800
  input: ["text"],
7664
7801
  cost: {
7665
- input: 0.25,
7802
+ input: 0.19999999999999998,
7666
7803
  output: 1.2,
7667
7804
  cacheRead: 0,
7668
7805
  cacheWrite: 0,
@@ -7687,6 +7824,23 @@ export const MODELS = {
7687
7824
  contextWindow: 196608,
7688
7825
  maxTokens: 196608,
7689
7826
  },
7827
+ "minimax/minimax-m2.7": {
7828
+ id: "minimax/minimax-m2.7",
7829
+ name: "MiniMax: MiniMax M2.7",
7830
+ api: "openai-completions",
7831
+ provider: "openrouter",
7832
+ baseUrl: "https://openrouter.ai/api/v1",
7833
+ reasoning: true,
7834
+ input: ["text"],
7835
+ cost: {
7836
+ input: 0.3,
7837
+ output: 1.2,
7838
+ cacheRead: 0.06,
7839
+ cacheWrite: 0,
7840
+ },
7841
+ contextWindow: 204800,
7842
+ maxTokens: 131072,
7843
+ },
7690
7844
  "mistralai/codestral-2508": {
7691
7845
  id: "mistralai/codestral-2508",
7692
7846
  name: "Mistral: Codestral 2508",
@@ -7698,7 +7852,7 @@ export const MODELS = {
7698
7852
  cost: {
7699
7853
  input: 0.3,
7700
7854
  output: 0.8999999999999999,
7701
- cacheRead: 0,
7855
+ cacheRead: 0.03,
7702
7856
  cacheWrite: 0,
7703
7857
  },
7704
7858
  contextWindow: 256000,
@@ -7715,7 +7869,7 @@ export const MODELS = {
7715
7869
  cost: {
7716
7870
  input: 0.39999999999999997,
7717
7871
  output: 2,
7718
- cacheRead: 0,
7872
+ cacheRead: 0.04,
7719
7873
  cacheWrite: 0,
7720
7874
  },
7721
7875
  contextWindow: 262144,
@@ -7732,7 +7886,7 @@ export const MODELS = {
7732
7886
  cost: {
7733
7887
  input: 0.39999999999999997,
7734
7888
  output: 2,
7735
- cacheRead: 0,
7889
+ cacheRead: 0.04,
7736
7890
  cacheWrite: 0,
7737
7891
  },
7738
7892
  contextWindow: 131072,
@@ -7749,7 +7903,7 @@ export const MODELS = {
7749
7903
  cost: {
7750
7904
  input: 0.09999999999999999,
7751
7905
  output: 0.3,
7752
- cacheRead: 0,
7906
+ cacheRead: 0.01,
7753
7907
  cacheWrite: 0,
7754
7908
  },
7755
7909
  contextWindow: 131072,
@@ -7766,7 +7920,7 @@ export const MODELS = {
7766
7920
  cost: {
7767
7921
  input: 0.19999999999999998,
7768
7922
  output: 0.19999999999999998,
7769
- cacheRead: 0,
7923
+ cacheRead: 0.02,
7770
7924
  cacheWrite: 0,
7771
7925
  },
7772
7926
  contextWindow: 262144,
@@ -7783,7 +7937,7 @@ export const MODELS = {
7783
7937
  cost: {
7784
7938
  input: 0.09999999999999999,
7785
7939
  output: 0.09999999999999999,
7786
- cacheRead: 0,
7940
+ cacheRead: 0.01,
7787
7941
  cacheWrite: 0,
7788
7942
  },
7789
7943
  contextWindow: 131072,
@@ -7800,7 +7954,7 @@ export const MODELS = {
7800
7954
  cost: {
7801
7955
  input: 0.15,
7802
7956
  output: 0.15,
7803
- cacheRead: 0,
7957
+ cacheRead: 0.015,
7804
7958
  cacheWrite: 0,
7805
7959
  },
7806
7960
  contextWindow: 262144,
@@ -7817,7 +7971,7 @@ export const MODELS = {
7817
7971
  cost: {
7818
7972
  input: 2,
7819
7973
  output: 6,
7820
- cacheRead: 0,
7974
+ cacheRead: 0.19999999999999998,
7821
7975
  cacheWrite: 0,
7822
7976
  },
7823
7977
  contextWindow: 128000,
@@ -7834,7 +7988,7 @@ export const MODELS = {
7834
7988
  cost: {
7835
7989
  input: 2,
7836
7990
  output: 6,
7837
- cacheRead: 0,
7991
+ cacheRead: 0.19999999999999998,
7838
7992
  cacheWrite: 0,
7839
7993
  },
7840
7994
  contextWindow: 131072,
@@ -7851,7 +8005,7 @@ export const MODELS = {
7851
8005
  cost: {
7852
8006
  input: 2,
7853
8007
  output: 6,
7854
- cacheRead: 0,
8008
+ cacheRead: 0.19999999999999998,
7855
8009
  cacheWrite: 0,
7856
8010
  },
7857
8011
  contextWindow: 131072,
@@ -7868,7 +8022,7 @@ export const MODELS = {
7868
8022
  cost: {
7869
8023
  input: 0.5,
7870
8024
  output: 1.5,
7871
- cacheRead: 0,
8025
+ cacheRead: 0.049999999999999996,
7872
8026
  cacheWrite: 0,
7873
8027
  },
7874
8028
  contextWindow: 262144,
@@ -7885,7 +8039,7 @@ export const MODELS = {
7885
8039
  cost: {
7886
8040
  input: 0.39999999999999997,
7887
8041
  output: 2,
7888
- cacheRead: 0,
8042
+ cacheRead: 0.04,
7889
8043
  cacheWrite: 0,
7890
8044
  },
7891
8045
  contextWindow: 131072,
@@ -7902,7 +8056,7 @@ export const MODELS = {
7902
8056
  cost: {
7903
8057
  input: 0.39999999999999997,
7904
8058
  output: 2,
7905
- cacheRead: 0,
8059
+ cacheRead: 0.04,
7906
8060
  cacheWrite: 0,
7907
8061
  },
7908
8062
  contextWindow: 131072,
@@ -7936,7 +8090,7 @@ export const MODELS = {
7936
8090
  cost: {
7937
8091
  input: 0.19999999999999998,
7938
8092
  output: 0.6,
7939
- cacheRead: 0,
8093
+ cacheRead: 0.02,
7940
8094
  cacheWrite: 0,
7941
8095
  },
7942
8096
  contextWindow: 32768,
@@ -7959,6 +8113,23 @@ export const MODELS = {
7959
8113
  contextWindow: 32768,
7960
8114
  maxTokens: 16384,
7961
8115
  },
8116
+ "mistralai/mistral-small-2603": {
8117
+ id: "mistralai/mistral-small-2603",
8118
+ name: "Mistral: Mistral Small 4",
8119
+ api: "openai-completions",
8120
+ provider: "openrouter",
8121
+ baseUrl: "https://openrouter.ai/api/v1",
8122
+ reasoning: true,
8123
+ input: ["text", "image"],
8124
+ cost: {
8125
+ input: 0.15,
8126
+ output: 0.6,
8127
+ cacheRead: 0.015,
8128
+ cacheWrite: 0,
8129
+ },
8130
+ contextWindow: 262144,
8131
+ maxTokens: 4096,
8132
+ },
7962
8133
  "mistralai/mistral-small-3.1-24b-instruct:free": {
7963
8134
  id: "mistralai/mistral-small-3.1-24b-instruct:free",
7964
8135
  name: "Mistral: Mistral Small 3.1 24B (free)",
@@ -7985,13 +8156,13 @@ export const MODELS = {
7985
8156
  reasoning: false,
7986
8157
  input: ["text", "image"],
7987
8158
  cost: {
7988
- input: 0.06,
7989
- output: 0.18,
7990
- cacheRead: 0.03,
8159
+ input: 0.075,
8160
+ output: 0.19999999999999998,
8161
+ cacheRead: 0,
7991
8162
  cacheWrite: 0,
7992
8163
  },
7993
- contextWindow: 131072,
7994
- maxTokens: 131072,
8164
+ contextWindow: 128000,
8165
+ maxTokens: 4096,
7995
8166
  },
7996
8167
  "mistralai/mistral-small-creative": {
7997
8168
  id: "mistralai/mistral-small-creative",
@@ -8004,7 +8175,7 @@ export const MODELS = {
8004
8175
  cost: {
8005
8176
  input: 0.09999999999999999,
8006
8177
  output: 0.3,
8007
- cacheRead: 0,
8178
+ cacheRead: 0.01,
8008
8179
  cacheWrite: 0,
8009
8180
  },
8010
8181
  contextWindow: 32768,
@@ -8021,7 +8192,7 @@ export const MODELS = {
8021
8192
  cost: {
8022
8193
  input: 2,
8023
8194
  output: 6,
8024
- cacheRead: 0,
8195
+ cacheRead: 0.19999999999999998,
8025
8196
  cacheWrite: 0,
8026
8197
  },
8027
8198
  contextWindow: 65536,
@@ -8055,7 +8226,7 @@ export const MODELS = {
8055
8226
  cost: {
8056
8227
  input: 2,
8057
8228
  output: 6,
8058
- cacheRead: 0,
8229
+ cacheRead: 0.19999999999999998,
8059
8230
  cacheWrite: 0,
8060
8231
  },
8061
8232
  contextWindow: 131072,
@@ -8072,7 +8243,7 @@ export const MODELS = {
8072
8243
  cost: {
8073
8244
  input: 0.09999999999999999,
8074
8245
  output: 0.3,
8075
- cacheRead: 0,
8246
+ cacheRead: 0.01,
8076
8247
  cacheWrite: 0,
8077
8248
  },
8078
8249
  contextWindow: 32000,
@@ -8231,6 +8402,23 @@ export const MODELS = {
8231
8402
  contextWindow: 256000,
8232
8403
  maxTokens: 4096,
8233
8404
  },
8405
+ "nvidia/nemotron-3-super-120b-a12b": {
8406
+ id: "nvidia/nemotron-3-super-120b-a12b",
8407
+ name: "NVIDIA: Nemotron 3 Super",
8408
+ api: "openai-completions",
8409
+ provider: "openrouter",
8410
+ baseUrl: "https://openrouter.ai/api/v1",
8411
+ reasoning: true,
8412
+ input: ["text"],
8413
+ cost: {
8414
+ input: 0.09999999999999999,
8415
+ output: 0.5,
8416
+ cacheRead: 0.04,
8417
+ cacheWrite: 0,
8418
+ },
8419
+ contextWindow: 262144,
8420
+ maxTokens: 4096,
8421
+ },
8234
8422
  "nvidia/nemotron-3-super-120b-a12b:free": {
8235
8423
  id: "nvidia/nemotron-3-super-120b-a12b:free",
8236
8424
  name: "NVIDIA: Nemotron 3 Super (free)",
@@ -8945,6 +9133,40 @@ export const MODELS = {
8945
9133
  contextWindow: 1050000,
8946
9134
  maxTokens: 128000,
8947
9135
  },
9136
+ "openai/gpt-5.4-mini": {
9137
+ id: "openai/gpt-5.4-mini",
9138
+ name: "OpenAI: GPT-5.4 Mini",
9139
+ api: "openai-completions",
9140
+ provider: "openrouter",
9141
+ baseUrl: "https://openrouter.ai/api/v1",
9142
+ reasoning: true,
9143
+ input: ["text", "image"],
9144
+ cost: {
9145
+ input: 0.75,
9146
+ output: 4.5,
9147
+ cacheRead: 0.075,
9148
+ cacheWrite: 0,
9149
+ },
9150
+ contextWindow: 400000,
9151
+ maxTokens: 128000,
9152
+ },
9153
+ "openai/gpt-5.4-nano": {
9154
+ id: "openai/gpt-5.4-nano",
9155
+ name: "OpenAI: GPT-5.4 Nano",
9156
+ api: "openai-completions",
9157
+ provider: "openrouter",
9158
+ baseUrl: "https://openrouter.ai/api/v1",
9159
+ reasoning: true,
9160
+ input: ["text", "image"],
9161
+ cost: {
9162
+ input: 0.19999999999999998,
9163
+ output: 1.25,
9164
+ cacheRead: 0.02,
9165
+ cacheWrite: 0,
9166
+ },
9167
+ contextWindow: 400000,
9168
+ maxTokens: 128000,
9169
+ },
8948
9170
  "openai/gpt-5.4-pro": {
8949
9171
  id: "openai/gpt-5.4-pro",
8950
9172
  name: "OpenAI: GPT-5.4 Pro",
@@ -9053,7 +9275,7 @@ export const MODELS = {
9053
9275
  api: "openai-completions",
9054
9276
  provider: "openrouter",
9055
9277
  baseUrl: "https://openrouter.ai/api/v1",
9056
- reasoning: false,
9278
+ reasoning: true,
9057
9279
  input: ["text", "image"],
9058
9280
  cost: {
9059
9281
  input: 15,
@@ -9104,7 +9326,7 @@ export const MODELS = {
9104
9326
  api: "openai-completions",
9105
9327
  provider: "openrouter",
9106
9328
  baseUrl: "https://openrouter.ai/api/v1",
9107
- reasoning: false,
9329
+ reasoning: true,
9108
9330
  input: ["text"],
9109
9331
  cost: {
9110
9332
  input: 1.1,
@@ -9121,7 +9343,7 @@ export const MODELS = {
9121
9343
  api: "openai-completions",
9122
9344
  provider: "openrouter",
9123
9345
  baseUrl: "https://openrouter.ai/api/v1",
9124
- reasoning: false,
9346
+ reasoning: true,
9125
9347
  input: ["text"],
9126
9348
  cost: {
9127
9349
  input: 1.1,
@@ -9234,40 +9456,6 @@ export const MODELS = {
9234
9456
  contextWindow: 200000,
9235
9457
  maxTokens: 4096,
9236
9458
  },
9237
- "openrouter/healer-alpha": {
9238
- id: "openrouter/healer-alpha",
9239
- name: "Healer Alpha",
9240
- api: "openai-completions",
9241
- provider: "openrouter",
9242
- baseUrl: "https://openrouter.ai/api/v1",
9243
- reasoning: true,
9244
- input: ["text", "image"],
9245
- cost: {
9246
- input: 0,
9247
- output: 0,
9248
- cacheRead: 0,
9249
- cacheWrite: 0,
9250
- },
9251
- contextWindow: 262144,
9252
- maxTokens: 32000,
9253
- },
9254
- "openrouter/hunter-alpha": {
9255
- id: "openrouter/hunter-alpha",
9256
- name: "Hunter Alpha",
9257
- api: "openai-completions",
9258
- provider: "openrouter",
9259
- baseUrl: "https://openrouter.ai/api/v1",
9260
- reasoning: true,
9261
- input: ["text", "image"],
9262
- cost: {
9263
- input: 0,
9264
- output: 0,
9265
- cacheRead: 0,
9266
- cacheWrite: 0,
9267
- },
9268
- contextWindow: 1048576,
9269
- maxTokens: 32000,
9270
- },
9271
9459
  "prime-intellect/intellect-3": {
9272
9460
  id: "prime-intellect/intellect-3",
9273
9461
  name: "Prime Intellect: INTELLECT-3",
@@ -9345,9 +9533,9 @@ export const MODELS = {
9345
9533
  reasoning: false,
9346
9534
  input: ["text"],
9347
9535
  cost: {
9348
- input: 0.39999999999999997,
9349
- output: 1.2,
9350
- cacheRead: 0.08,
9536
+ input: 0.26,
9537
+ output: 0.78,
9538
+ cacheRead: 0.052000000000000005,
9351
9539
  cacheWrite: 0,
9352
9540
  },
9353
9541
  contextWindow: 1000000,
@@ -9413,8 +9601,8 @@ export const MODELS = {
9413
9601
  reasoning: false,
9414
9602
  input: ["text", "image"],
9415
9603
  cost: {
9416
- input: 0.7999999999999999,
9417
- output: 3.1999999999999997,
9604
+ input: 0.52,
9605
+ output: 2.08,
9418
9606
  cacheRead: 0,
9419
9607
  cacheWrite: 0,
9420
9608
  },
@@ -9481,13 +9669,13 @@ export const MODELS = {
9481
9669
  reasoning: true,
9482
9670
  input: ["text"],
9483
9671
  cost: {
9484
- input: 0.11,
9485
- output: 0.6,
9486
- cacheRead: 0.055,
9672
+ input: 0.14950000000000002,
9673
+ output: 1.495,
9674
+ cacheRead: 0,
9487
9675
  cacheWrite: 0,
9488
9676
  },
9489
- contextWindow: 262144,
9490
- maxTokens: 262144,
9677
+ contextWindow: 131072,
9678
+ maxTokens: 4096,
9491
9679
  },
9492
9680
  "qwen/qwen3-30b-a3b": {
9493
9681
  id: "qwen/qwen3-30b-a3b",
@@ -9532,13 +9720,13 @@ export const MODELS = {
9532
9720
  reasoning: true,
9533
9721
  input: ["text"],
9534
9722
  cost: {
9535
- input: 0.051,
9536
- output: 0.33999999999999997,
9537
- cacheRead: 0,
9723
+ input: 0.08,
9724
+ output: 0.39999999999999997,
9725
+ cacheRead: 0.08,
9538
9726
  cacheWrite: 0,
9539
9727
  },
9540
- contextWindow: 32768,
9541
- maxTokens: 4096,
9728
+ contextWindow: 131072,
9729
+ maxTokens: 131072,
9542
9730
  },
9543
9731
  "qwen/qwen3-32b": {
9544
9732
  id: "qwen/qwen3-32b",
@@ -9702,9 +9890,9 @@ export const MODELS = {
9702
9890
  reasoning: false,
9703
9891
  input: ["text"],
9704
9892
  cost: {
9705
- input: 1.2,
9706
- output: 6,
9707
- cacheRead: 0.24,
9893
+ input: 0.78,
9894
+ output: 3.9,
9895
+ cacheRead: 0.156,
9708
9896
  cacheWrite: 0,
9709
9897
  },
9710
9898
  contextWindow: 262144,
@@ -9741,7 +9929,7 @@ export const MODELS = {
9741
9929
  cacheRead: 0,
9742
9930
  cacheWrite: 0,
9743
9931
  },
9744
- contextWindow: 131072,
9932
+ contextWindow: 262144,
9745
9933
  maxTokens: 4096,
9746
9934
  },
9747
9935
  "qwen/qwen3-next-80b-a3b-instruct:free": {
@@ -9991,8 +10179,8 @@ export const MODELS = {
9991
10179
  reasoning: true,
9992
10180
  input: ["text", "image"],
9993
10181
  cost: {
9994
- input: 0.09999999999999999,
9995
- output: 0.39999999999999997,
10182
+ input: 0.065,
10183
+ output: 0.26,
9996
10184
  cacheRead: 0,
9997
10185
  cacheWrite: 0,
9998
10186
  },
@@ -10026,12 +10214,12 @@ export const MODELS = {
10026
10214
  input: ["text"],
10027
10215
  cost: {
10028
10216
  input: 0.15,
10029
- output: 0.39999999999999997,
10217
+ output: 0.58,
10030
10218
  cacheRead: 0,
10031
10219
  cacheWrite: 0,
10032
10220
  },
10033
- contextWindow: 32768,
10034
- maxTokens: 32768,
10221
+ contextWindow: 131072,
10222
+ maxTokens: 131072,
10035
10223
  },
10036
10224
  "relace/relace-search": {
10037
10225
  id: "relace/relace-search",
@@ -10356,6 +10544,40 @@ export const MODELS = {
10356
10544
  contextWindow: 262144,
10357
10545
  maxTokens: 65536,
10358
10546
  },
10547
+ "xiaomi/mimo-v2-omni": {
10548
+ id: "xiaomi/mimo-v2-omni",
10549
+ name: "Xiaomi: MiMo-V2-Omni",
10550
+ api: "openai-completions",
10551
+ provider: "openrouter",
10552
+ baseUrl: "https://openrouter.ai/api/v1",
10553
+ reasoning: true,
10554
+ input: ["text", "image"],
10555
+ cost: {
10556
+ input: 0.39999999999999997,
10557
+ output: 2,
10558
+ cacheRead: 0.08,
10559
+ cacheWrite: 0,
10560
+ },
10561
+ contextWindow: 262144,
10562
+ maxTokens: 65536,
10563
+ },
10564
+ "xiaomi/mimo-v2-pro": {
10565
+ id: "xiaomi/mimo-v2-pro",
10566
+ name: "Xiaomi: MiMo-V2-Pro",
10567
+ api: "openai-completions",
10568
+ provider: "openrouter",
10569
+ baseUrl: "https://openrouter.ai/api/v1",
10570
+ reasoning: true,
10571
+ input: ["text"],
10572
+ cost: {
10573
+ input: 1,
10574
+ output: 3,
10575
+ cacheRead: 0.19999999999999998,
10576
+ cacheWrite: 0,
10577
+ },
10578
+ contextWindow: 1048576,
10579
+ maxTokens: 131072,
10580
+ },
10359
10581
  "z-ai/glm-4-32b": {
10360
10582
  id: "z-ai/glm-4-32b",
10361
10583
  name: "Z.ai: GLM 4 32B ",
@@ -10484,13 +10706,13 @@ export const MODELS = {
10484
10706
  reasoning: true,
10485
10707
  input: ["text"],
10486
10708
  cost: {
10487
- input: 0.38,
10488
- output: 1.9800000000000002,
10489
- cacheRead: 0.19,
10709
+ input: 0.39,
10710
+ output: 1.75,
10711
+ cacheRead: 0.195,
10490
10712
  cacheWrite: 0,
10491
10713
  },
10492
10714
  contextWindow: 202752,
10493
- maxTokens: 4096,
10715
+ maxTokens: 65535,
10494
10716
  },
10495
10717
  "z-ai/glm-4.7-flash": {
10496
10718
  id: "z-ai/glm-4.7-flash",
@@ -10523,7 +10745,7 @@ export const MODELS = {
10523
10745
  cacheRead: 0.119,
10524
10746
  cacheWrite: 0,
10525
10747
  },
10526
- contextWindow: 202752,
10748
+ contextWindow: 80000,
10527
10749
  maxTokens: 131072,
10528
10750
  },
10529
10751
  "z-ai/glm-5-turbo": {
@@ -10554,7 +10776,7 @@ export const MODELS = {
10554
10776
  reasoning: true,
10555
10777
  input: ["text"],
10556
10778
  cost: {
10557
- input: 0.06,
10779
+ input: 0.12,
10558
10780
  output: 0.24,
10559
10781
  cacheRead: 0,
10560
10782
  cacheWrite: 0,
@@ -10607,7 +10829,7 @@ export const MODELS = {
10607
10829
  cost: {
10608
10830
  input: 0.29,
10609
10831
  output: 0.59,
10610
- cacheRead: 0,
10832
+ cacheRead: 0.145,
10611
10833
  cacheWrite: 0,
10612
10834
  },
10613
10835
  contextWindow: 131072,
@@ -10622,9 +10844,9 @@ export const MODELS = {
10622
10844
  reasoning: true,
10623
10845
  input: ["text", "image"],
10624
10846
  cost: {
10625
- input: 0.3,
10626
- output: 2.9000000000000004,
10627
- cacheRead: 0,
10847
+ input: 0.22999999999999998,
10848
+ output: 2.3,
10849
+ cacheRead: 0.19999999999999998,
10628
10850
  cacheWrite: 0,
10629
10851
  },
10630
10852
  contextWindow: 262114,
@@ -10641,7 +10863,7 @@ export const MODELS = {
10641
10863
  cost: {
10642
10864
  input: 0.39999999999999997,
10643
10865
  output: 1.5999999999999999,
10644
- cacheRead: 0,
10866
+ cacheRead: 0.022,
10645
10867
  cacheWrite: 0,
10646
10868
  },
10647
10869
  contextWindow: 262144,
@@ -11134,7 +11356,7 @@ export const MODELS = {
11134
11356
  cost: {
11135
11357
  input: 0.27,
11136
11358
  output: 1,
11137
- cacheRead: 0,
11359
+ cacheRead: 0.135,
11138
11360
  cacheWrite: 0,
11139
11361
  },
11140
11362
  contextWindow: 131072,
@@ -11149,9 +11371,9 @@ export const MODELS = {
11149
11371
  reasoning: false,
11150
11372
  input: ["text"],
11151
11373
  cost: {
11152
- input: 0.26,
11153
- output: 0.38,
11154
- cacheRead: 0.13,
11374
+ input: 0.28,
11375
+ output: 0.42,
11376
+ cacheRead: 0.028,
11155
11377
  cacheWrite: 0,
11156
11378
  },
11157
11379
  contextWindow: 128000,
@@ -11185,7 +11407,7 @@ export const MODELS = {
11185
11407
  cost: {
11186
11408
  input: 0.15,
11187
11409
  output: 0.6,
11188
- cacheRead: 0,
11410
+ cacheRead: 0.024999999999999998,
11189
11411
  cacheWrite: 0,
11190
11412
  },
11191
11413
  contextWindow: 1048576,
@@ -11202,7 +11424,7 @@ export const MODELS = {
11202
11424
  cost: {
11203
11425
  input: 0.075,
11204
11426
  output: 0.3,
11205
- cacheRead: 0,
11427
+ cacheRead: 0.02,
11206
11428
  cacheWrite: 0,
11207
11429
  },
11208
11430
  contextWindow: 1048576,
@@ -11242,40 +11464,6 @@ export const MODELS = {
11242
11464
  contextWindow: 1048576,
11243
11465
  maxTokens: 65536,
11244
11466
  },
11245
- "google/gemini-2.5-flash-lite-preview-09-2025": {
11246
- id: "google/gemini-2.5-flash-lite-preview-09-2025",
11247
- name: "Gemini 2.5 Flash Lite Preview 09-2025",
11248
- api: "anthropic-messages",
11249
- provider: "vercel-ai-gateway",
11250
- baseUrl: "https://ai-gateway.vercel.sh",
11251
- reasoning: true,
11252
- input: ["text", "image"],
11253
- cost: {
11254
- input: 0.09999999999999999,
11255
- output: 0.39999999999999997,
11256
- cacheRead: 0.01,
11257
- cacheWrite: 0,
11258
- },
11259
- contextWindow: 1048576,
11260
- maxTokens: 65536,
11261
- },
11262
- "google/gemini-2.5-flash-preview-09-2025": {
11263
- id: "google/gemini-2.5-flash-preview-09-2025",
11264
- name: "Gemini 2.5 Flash Preview 09-2025",
11265
- api: "anthropic-messages",
11266
- provider: "vercel-ai-gateway",
11267
- baseUrl: "https://ai-gateway.vercel.sh",
11268
- reasoning: true,
11269
- input: ["text", "image"],
11270
- cost: {
11271
- input: 0.3,
11272
- output: 2.5,
11273
- cacheRead: 0.03,
11274
- cacheWrite: 0,
11275
- },
11276
- contextWindow: 1000000,
11277
- maxTokens: 65536,
11278
- },
11279
11467
  "google/gemini-2.5-pro": {
11280
11468
  id: "google/gemini-2.5-pro",
11281
11469
  name: "Gemini 2.5 Pro",
@@ -11457,7 +11645,7 @@ export const MODELS = {
11457
11645
  cost: {
11458
11646
  input: 0.09999999999999999,
11459
11647
  output: 0.09999999999999999,
11460
- cacheRead: 0,
11648
+ cacheRead: 0.09999999999999999,
11461
11649
  cacheWrite: 0,
11462
11650
  },
11463
11651
  contextWindow: 128000,
@@ -11630,8 +11818,42 @@ export const MODELS = {
11630
11818
  cacheRead: 0.03,
11631
11819
  cacheWrite: 0.375,
11632
11820
  },
11633
- contextWindow: 4096,
11634
- maxTokens: 4096,
11821
+ contextWindow: 204800,
11822
+ maxTokens: 131000,
11823
+ },
11824
+ "minimax/minimax-m2.7": {
11825
+ id: "minimax/minimax-m2.7",
11826
+ name: "Minimax M2.7",
11827
+ api: "anthropic-messages",
11828
+ provider: "vercel-ai-gateway",
11829
+ baseUrl: "https://ai-gateway.vercel.sh",
11830
+ reasoning: true,
11831
+ input: ["text", "image"],
11832
+ cost: {
11833
+ input: 0.3,
11834
+ output: 1.2,
11835
+ cacheRead: 0.06,
11836
+ cacheWrite: 0.375,
11837
+ },
11838
+ contextWindow: 204800,
11839
+ maxTokens: 131000,
11840
+ },
11841
+ "minimax/minimax-m2.7-highspeed": {
11842
+ id: "minimax/minimax-m2.7-highspeed",
11843
+ name: "MiniMax M2.7 High Speed",
11844
+ api: "anthropic-messages",
11845
+ provider: "vercel-ai-gateway",
11846
+ baseUrl: "https://ai-gateway.vercel.sh",
11847
+ reasoning: true,
11848
+ input: ["text", "image"],
11849
+ cost: {
11850
+ input: 0.6,
11851
+ output: 2.4,
11852
+ cacheRead: 0.06,
11853
+ cacheWrite: 0.375,
11854
+ },
11855
+ contextWindow: 204800,
11856
+ maxTokens: 131100,
11635
11857
  },
11636
11858
  "mistral/codestral": {
11637
11859
  id: "mistral/codestral",
@@ -11659,8 +11881,8 @@ export const MODELS = {
11659
11881
  reasoning: false,
11660
11882
  input: ["text"],
11661
11883
  cost: {
11662
- input: 0,
11663
- output: 0,
11884
+ input: 0.39999999999999997,
11885
+ output: 2,
11664
11886
  cacheRead: 0,
11665
11887
  cacheWrite: 0,
11666
11888
  },
@@ -11693,8 +11915,8 @@ export const MODELS = {
11693
11915
  reasoning: false,
11694
11916
  input: ["text"],
11695
11917
  cost: {
11696
- input: 0,
11697
- output: 0,
11918
+ input: 0.09999999999999999,
11919
+ output: 0.3,
11698
11920
  cacheRead: 0,
11699
11921
  cacheWrite: 0,
11700
11922
  },
@@ -11710,8 +11932,8 @@ export const MODELS = {
11710
11932
  reasoning: false,
11711
11933
  input: ["text"],
11712
11934
  cost: {
11713
- input: 0.04,
11714
- output: 0.04,
11935
+ input: 0.09999999999999999,
11936
+ output: 0.09999999999999999,
11715
11937
  cacheRead: 0,
11716
11938
  cacheWrite: 0,
11717
11939
  },
@@ -11727,8 +11949,8 @@ export const MODELS = {
11727
11949
  reasoning: false,
11728
11950
  input: ["text"],
11729
11951
  cost: {
11730
- input: 0.09999999999999999,
11731
- output: 0.09999999999999999,
11952
+ input: 0.15,
11953
+ output: 0.15,
11732
11954
  cacheRead: 0,
11733
11955
  cacheWrite: 0,
11734
11956
  },
@@ -11814,7 +12036,7 @@ export const MODELS = {
11814
12036
  cost: {
11815
12037
  input: 0.6,
11816
12038
  output: 2.5,
11817
- cacheRead: 0,
12039
+ cacheRead: 0.15,
11818
12040
  cacheWrite: 0,
11819
12041
  },
11820
12042
  contextWindow: 131072,
@@ -11831,7 +12053,7 @@ export const MODELS = {
11831
12053
  cost: {
11832
12054
  input: 0.6,
11833
12055
  output: 2.5,
11834
- cacheRead: 0,
12056
+ cacheRead: 0.15,
11835
12057
  cacheWrite: 0,
11836
12058
  },
11837
12059
  contextWindow: 256000,
@@ -11880,9 +12102,9 @@ export const MODELS = {
11880
12102
  reasoning: false,
11881
12103
  input: ["text"],
11882
12104
  cost: {
11883
- input: 2.4,
11884
- output: 10,
11885
- cacheRead: 0,
12105
+ input: 1.15,
12106
+ output: 8,
12107
+ cacheRead: 0.15,
11886
12108
  cacheWrite: 0,
11887
12109
  },
11888
12110
  contextWindow: 256000,
@@ -12347,6 +12569,40 @@ export const MODELS = {
12347
12569
  contextWindow: 1050000,
12348
12570
  maxTokens: 128000,
12349
12571
  },
12572
+ "openai/gpt-5.4-mini": {
12573
+ id: "openai/gpt-5.4-mini",
12574
+ name: "GPT 5.4 Mini",
12575
+ api: "anthropic-messages",
12576
+ provider: "vercel-ai-gateway",
12577
+ baseUrl: "https://ai-gateway.vercel.sh",
12578
+ reasoning: true,
12579
+ input: ["text", "image"],
12580
+ cost: {
12581
+ input: 0.75,
12582
+ output: 4.5,
12583
+ cacheRead: 0.075,
12584
+ cacheWrite: 0,
12585
+ },
12586
+ contextWindow: 400000,
12587
+ maxTokens: 128000,
12588
+ },
12589
+ "openai/gpt-5.4-nano": {
12590
+ id: "openai/gpt-5.4-nano",
12591
+ name: "GPT 5.4 Nano",
12592
+ api: "anthropic-messages",
12593
+ provider: "vercel-ai-gateway",
12594
+ baseUrl: "https://ai-gateway.vercel.sh",
12595
+ reasoning: true,
12596
+ input: ["text", "image"],
12597
+ cost: {
12598
+ input: 0.19999999999999998,
12599
+ output: 1.25,
12600
+ cacheRead: 0.02,
12601
+ cacheWrite: 0,
12602
+ },
12603
+ contextWindow: 400000,
12604
+ maxTokens: 128000,
12605
+ },
12350
12606
  "openai/gpt-5.4-pro": {
12351
12607
  id: "openai/gpt-5.4-pro",
12352
12608
  name: "GPT 5.4 Pro",
@@ -12551,40 +12807,6 @@ export const MODELS = {
12551
12807
  contextWindow: 131072,
12552
12808
  maxTokens: 131072,
12553
12809
  },
12554
- "vercel/v0-1.0-md": {
12555
- id: "vercel/v0-1.0-md",
12556
- name: "v0-1.0-md",
12557
- api: "anthropic-messages",
12558
- provider: "vercel-ai-gateway",
12559
- baseUrl: "https://ai-gateway.vercel.sh",
12560
- reasoning: false,
12561
- input: ["text", "image"],
12562
- cost: {
12563
- input: 3,
12564
- output: 15,
12565
- cacheRead: 0,
12566
- cacheWrite: 0,
12567
- },
12568
- contextWindow: 128000,
12569
- maxTokens: 32000,
12570
- },
12571
- "vercel/v0-1.5-md": {
12572
- id: "vercel/v0-1.5-md",
12573
- name: "v0-1.5-md",
12574
- api: "anthropic-messages",
12575
- provider: "vercel-ai-gateway",
12576
- baseUrl: "https://ai-gateway.vercel.sh",
12577
- reasoning: false,
12578
- input: ["text", "image"],
12579
- cost: {
12580
- input: 3,
12581
- output: 15,
12582
- cacheRead: 0,
12583
- cacheWrite: 0,
12584
- },
12585
- contextWindow: 128000,
12586
- maxTokens: 32768,
12587
- },
12588
12810
  "xai/grok-2-vision": {
12589
12811
  id: "xai/grok-2-vision",
12590
12812
  name: "Grok 2 Vision",
@@ -12613,7 +12835,7 @@ export const MODELS = {
12613
12835
  cost: {
12614
12836
  input: 3,
12615
12837
  output: 15,
12616
- cacheRead: 0,
12838
+ cacheRead: 0.75,
12617
12839
  cacheWrite: 0,
12618
12840
  },
12619
12841
  contextWindow: 131072,
@@ -12630,7 +12852,7 @@ export const MODELS = {
12630
12852
  cost: {
12631
12853
  input: 5,
12632
12854
  output: 25,
12633
- cacheRead: 0,
12855
+ cacheRead: 1.25,
12634
12856
  cacheWrite: 0,
12635
12857
  },
12636
12858
  contextWindow: 131072,
@@ -12647,7 +12869,7 @@ export const MODELS = {
12647
12869
  cost: {
12648
12870
  input: 0.3,
12649
12871
  output: 0.5,
12650
- cacheRead: 0,
12872
+ cacheRead: 0.075,
12651
12873
  cacheWrite: 0,
12652
12874
  },
12653
12875
  contextWindow: 131072,
@@ -12900,8 +13122,8 @@ export const MODELS = {
12900
13122
  reasoning: true,
12901
13123
  input: ["text"],
12902
13124
  cost: {
12903
- input: 0.44999999999999996,
12904
- output: 1.7999999999999998,
13125
+ input: 0.6,
13126
+ output: 2.2,
12905
13127
  cacheRead: 0.11,
12906
13128
  cacheWrite: 0,
12907
13129
  },
@@ -13010,6 +13232,23 @@ export const MODELS = {
13010
13232
  contextWindow: 202800,
13011
13233
  maxTokens: 131100,
13012
13234
  },
13235
+ "zai/glm-5-turbo": {
13236
+ id: "zai/glm-5-turbo",
13237
+ name: "GLM 5 Turbo",
13238
+ api: "anthropic-messages",
13239
+ provider: "vercel-ai-gateway",
13240
+ baseUrl: "https://ai-gateway.vercel.sh",
13241
+ reasoning: true,
13242
+ input: ["text"],
13243
+ cost: {
13244
+ input: 1.2,
13245
+ output: 4,
13246
+ cacheRead: 0.24,
13247
+ cacheWrite: 0,
13248
+ },
13249
+ contextWindow: 202800,
13250
+ maxTokens: 131100,
13251
+ },
13013
13252
  },
13014
13253
  "xai": {
13015
13254
  "grok-2": {
@@ -13369,23 +13608,6 @@ export const MODELS = {
13369
13608
  contextWindow: 2000000,
13370
13609
  maxTokens: 30000,
13371
13610
  },
13372
- "grok-4.20-multi-agent-beta-latest": {
13373
- id: "grok-4.20-multi-agent-beta-latest",
13374
- name: "Grok 4.20 Multi-Agent Beta",
13375
- api: "openai-completions",
13376
- provider: "xai",
13377
- baseUrl: "https://api.x.ai/v1",
13378
- reasoning: true,
13379
- input: ["text", "image"],
13380
- cost: {
13381
- input: 2,
13382
- output: 6,
13383
- cacheRead: 0.2,
13384
- cacheWrite: 0,
13385
- },
13386
- contextWindow: 2000000,
13387
- maxTokens: 30000,
13388
- },
13389
13611
  "grok-beta": {
13390
13612
  id: "grok-beta",
13391
13613
  name: "Grok Beta",
@@ -13444,7 +13666,7 @@ export const MODELS = {
13444
13666
  name: "GLM-4.5",
13445
13667
  api: "openai-completions",
13446
13668
  provider: "zai",
13447
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13669
+ baseUrl: "https://api.z.ai/api/paas/v4",
13448
13670
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13449
13671
  reasoning: true,
13450
13672
  input: ["text"],
@@ -13462,7 +13684,7 @@ export const MODELS = {
13462
13684
  name: "GLM-4.5-Air",
13463
13685
  api: "openai-completions",
13464
13686
  provider: "zai",
13465
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13687
+ baseUrl: "https://api.z.ai/api/paas/v4",
13466
13688
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13467
13689
  reasoning: true,
13468
13690
  input: ["text"],
@@ -13480,7 +13702,7 @@ export const MODELS = {
13480
13702
  name: "GLM-4.5-Flash",
13481
13703
  api: "openai-completions",
13482
13704
  provider: "zai",
13483
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13705
+ baseUrl: "https://api.z.ai/api/paas/v4",
13484
13706
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13485
13707
  reasoning: true,
13486
13708
  input: ["text"],
@@ -13498,7 +13720,7 @@ export const MODELS = {
13498
13720
  name: "GLM-4.5V",
13499
13721
  api: "openai-completions",
13500
13722
  provider: "zai",
13501
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13723
+ baseUrl: "https://api.z.ai/api/paas/v4",
13502
13724
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13503
13725
  reasoning: true,
13504
13726
  input: ["text", "image"],
@@ -13516,7 +13738,7 @@ export const MODELS = {
13516
13738
  name: "GLM-4.6",
13517
13739
  api: "openai-completions",
13518
13740
  provider: "zai",
13519
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13741
+ baseUrl: "https://api.z.ai/api/paas/v4",
13520
13742
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13521
13743
  reasoning: true,
13522
13744
  input: ["text"],
@@ -13534,7 +13756,7 @@ export const MODELS = {
13534
13756
  name: "GLM-4.6V",
13535
13757
  api: "openai-completions",
13536
13758
  provider: "zai",
13537
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13759
+ baseUrl: "https://api.z.ai/api/paas/v4",
13538
13760
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13539
13761
  reasoning: true,
13540
13762
  input: ["text", "image"],
@@ -13552,7 +13774,7 @@ export const MODELS = {
13552
13774
  name: "GLM-4.7",
13553
13775
  api: "openai-completions",
13554
13776
  provider: "zai",
13555
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13777
+ baseUrl: "https://api.z.ai/api/paas/v4",
13556
13778
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13557
13779
  reasoning: true,
13558
13780
  input: ["text"],
@@ -13570,7 +13792,7 @@ export const MODELS = {
13570
13792
  name: "GLM-4.7-Flash",
13571
13793
  api: "openai-completions",
13572
13794
  provider: "zai",
13573
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13795
+ baseUrl: "https://api.z.ai/api/paas/v4",
13574
13796
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13575
13797
  reasoning: true,
13576
13798
  input: ["text"],
@@ -13588,7 +13810,7 @@ export const MODELS = {
13588
13810
  name: "GLM-5",
13589
13811
  api: "openai-completions",
13590
13812
  provider: "zai",
13591
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13813
+ baseUrl: "https://api.z.ai/api/paas/v4",
13592
13814
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13593
13815
  reasoning: true,
13594
13816
  input: ["text"],
@@ -13601,6 +13823,24 @@ export const MODELS = {
13601
13823
  contextWindow: 204800,
13602
13824
  maxTokens: 131072,
13603
13825
  },
13826
+ "glm-5-turbo": {
13827
+ id: "glm-5-turbo",
13828
+ name: "GLM-5-Turbo",
13829
+ api: "openai-completions",
13830
+ provider: "zai",
13831
+ baseUrl: "https://api.z.ai/api/paas/v4",
13832
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13833
+ reasoning: true,
13834
+ input: ["text"],
13835
+ cost: {
13836
+ input: 1.2,
13837
+ output: 4,
13838
+ cacheRead: 0.24,
13839
+ cacheWrite: 0,
13840
+ },
13841
+ contextWindow: 200000,
13842
+ maxTokens: 131072,
13843
+ },
13604
13844
  },
13605
13845
  };
13606
13846
  //# sourceMappingURL=models.generated.js.map