@apholdings/jensen-ai 0.1.0 → 0.1.2

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 +377 -129
  11. package/dist/models.generated.d.ts.map +1 -1
  12. package/dist/models.generated.js +493 -253
  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",
@@ -6289,23 +6443,6 @@ export const MODELS = {
6289
6443
  contextWindow: 262144,
6290
6444
  maxTokens: 65536,
6291
6445
  },
6292
- "minimax-m2.1": {
6293
- id: "minimax-m2.1",
6294
- name: "MiniMax M2.1",
6295
- api: "openai-completions",
6296
- provider: "opencode",
6297
- baseUrl: "https://opencode.ai/zen/v1",
6298
- reasoning: true,
6299
- input: ["text"],
6300
- cost: {
6301
- input: 0.3,
6302
- output: 1.2,
6303
- cacheRead: 0.1,
6304
- cacheWrite: 0,
6305
- },
6306
- contextWindow: 204800,
6307
- maxTokens: 131072,
6308
- },
6309
6446
  "minimax-m2.5": {
6310
6447
  id: "minimax-m2.5",
6311
6448
  name: "MiniMax M2.5",
@@ -6410,10 +6547,27 @@ export const MODELS = {
6410
6547
  contextWindow: 204800,
6411
6548
  maxTokens: 131072,
6412
6549
  },
6413
- },
6414
- "openrouter": {
6415
- "ai21/jamba-large-1.7": {
6416
- id: "ai21/jamba-large-1.7",
6550
+ "minimax-m2.7": {
6551
+ id: "minimax-m2.7",
6552
+ name: "MiniMax M2.7",
6553
+ api: "anthropic-messages",
6554
+ provider: "opencode-go",
6555
+ baseUrl: "https://opencode.ai/zen/go",
6556
+ reasoning: true,
6557
+ input: ["text"],
6558
+ cost: {
6559
+ input: 0.3,
6560
+ output: 1.2,
6561
+ cacheRead: 0.06,
6562
+ cacheWrite: 0,
6563
+ },
6564
+ contextWindow: 204800,
6565
+ maxTokens: 131072,
6566
+ },
6567
+ },
6568
+ "openrouter": {
6569
+ "ai21/jamba-large-1.7": {
6570
+ id: "ai21/jamba-large-1.7",
6417
6571
  name: "AI21: Jamba Large 1.7",
6418
6572
  api: "openai-completions",
6419
6573
  provider: "openrouter",
@@ -7381,23 +7535,6 @@ export const MODELS = {
7381
7535
  contextWindow: 128000,
7382
7536
  maxTokens: 65536,
7383
7537
  },
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)",
@@ -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,
@@ -8945,6 +9116,40 @@ export const MODELS = {
8945
9116
  contextWindow: 1050000,
8946
9117
  maxTokens: 128000,
8947
9118
  },
9119
+ "openai/gpt-5.4-mini": {
9120
+ id: "openai/gpt-5.4-mini",
9121
+ name: "OpenAI: GPT-5.4 Mini",
9122
+ api: "openai-completions",
9123
+ provider: "openrouter",
9124
+ baseUrl: "https://openrouter.ai/api/v1",
9125
+ reasoning: true,
9126
+ input: ["text", "image"],
9127
+ cost: {
9128
+ input: 0.75,
9129
+ output: 4.5,
9130
+ cacheRead: 0.075,
9131
+ cacheWrite: 0,
9132
+ },
9133
+ contextWindow: 400000,
9134
+ maxTokens: 128000,
9135
+ },
9136
+ "openai/gpt-5.4-nano": {
9137
+ id: "openai/gpt-5.4-nano",
9138
+ name: "OpenAI: GPT-5.4 Nano",
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.19999999999999998,
9146
+ output: 1.25,
9147
+ cacheRead: 0.02,
9148
+ cacheWrite: 0,
9149
+ },
9150
+ contextWindow: 400000,
9151
+ maxTokens: 128000,
9152
+ },
8948
9153
  "openai/gpt-5.4-pro": {
8949
9154
  id: "openai/gpt-5.4-pro",
8950
9155
  name: "OpenAI: GPT-5.4 Pro",
@@ -9053,7 +9258,7 @@ export const MODELS = {
9053
9258
  api: "openai-completions",
9054
9259
  provider: "openrouter",
9055
9260
  baseUrl: "https://openrouter.ai/api/v1",
9056
- reasoning: false,
9261
+ reasoning: true,
9057
9262
  input: ["text", "image"],
9058
9263
  cost: {
9059
9264
  input: 15,
@@ -9104,7 +9309,7 @@ export const MODELS = {
9104
9309
  api: "openai-completions",
9105
9310
  provider: "openrouter",
9106
9311
  baseUrl: "https://openrouter.ai/api/v1",
9107
- reasoning: false,
9312
+ reasoning: true,
9108
9313
  input: ["text"],
9109
9314
  cost: {
9110
9315
  input: 1.1,
@@ -9121,7 +9326,7 @@ export const MODELS = {
9121
9326
  api: "openai-completions",
9122
9327
  provider: "openrouter",
9123
9328
  baseUrl: "https://openrouter.ai/api/v1",
9124
- reasoning: false,
9329
+ reasoning: true,
9125
9330
  input: ["text"],
9126
9331
  cost: {
9127
9332
  input: 1.1,
@@ -9345,9 +9550,9 @@ export const MODELS = {
9345
9550
  reasoning: false,
9346
9551
  input: ["text"],
9347
9552
  cost: {
9348
- input: 0.39999999999999997,
9349
- output: 1.2,
9350
- cacheRead: 0.08,
9553
+ input: 0.26,
9554
+ output: 0.78,
9555
+ cacheRead: 0.052000000000000005,
9351
9556
  cacheWrite: 0,
9352
9557
  },
9353
9558
  contextWindow: 1000000,
@@ -9413,8 +9618,8 @@ export const MODELS = {
9413
9618
  reasoning: false,
9414
9619
  input: ["text", "image"],
9415
9620
  cost: {
9416
- input: 0.7999999999999999,
9417
- output: 3.1999999999999997,
9621
+ input: 0.52,
9622
+ output: 2.08,
9418
9623
  cacheRead: 0,
9419
9624
  cacheWrite: 0,
9420
9625
  },
@@ -9702,9 +9907,9 @@ export const MODELS = {
9702
9907
  reasoning: false,
9703
9908
  input: ["text"],
9704
9909
  cost: {
9705
- input: 1.2,
9706
- output: 6,
9707
- cacheRead: 0.24,
9910
+ input: 0.78,
9911
+ output: 3.9,
9912
+ cacheRead: 0.156,
9708
9913
  cacheWrite: 0,
9709
9914
  },
9710
9915
  contextWindow: 262144,
@@ -9741,7 +9946,7 @@ export const MODELS = {
9741
9946
  cacheRead: 0,
9742
9947
  cacheWrite: 0,
9743
9948
  },
9744
- contextWindow: 131072,
9949
+ contextWindow: 262144,
9745
9950
  maxTokens: 4096,
9746
9951
  },
9747
9952
  "qwen/qwen3-next-80b-a3b-instruct:free": {
@@ -9991,8 +10196,8 @@ export const MODELS = {
9991
10196
  reasoning: true,
9992
10197
  input: ["text", "image"],
9993
10198
  cost: {
9994
- input: 0.09999999999999999,
9995
- output: 0.39999999999999997,
10199
+ input: 0.065,
10200
+ output: 0.26,
9996
10201
  cacheRead: 0,
9997
10202
  cacheWrite: 0,
9998
10203
  },
@@ -10026,12 +10231,12 @@ export const MODELS = {
10026
10231
  input: ["text"],
10027
10232
  cost: {
10028
10233
  input: 0.15,
10029
- output: 0.39999999999999997,
10234
+ output: 0.58,
10030
10235
  cacheRead: 0,
10031
10236
  cacheWrite: 0,
10032
10237
  },
10033
- contextWindow: 32768,
10034
- maxTokens: 32768,
10238
+ contextWindow: 131072,
10239
+ maxTokens: 131072,
10035
10240
  },
10036
10241
  "relace/relace-search": {
10037
10242
  id: "relace/relace-search",
@@ -10484,9 +10689,9 @@ export const MODELS = {
10484
10689
  reasoning: true,
10485
10690
  input: ["text"],
10486
10691
  cost: {
10487
- input: 0.38,
10488
- output: 1.9800000000000002,
10489
- cacheRead: 0.19,
10692
+ input: 0.39999999999999997,
10693
+ output: 1.75,
10694
+ cacheRead: 0.08,
10490
10695
  cacheWrite: 0,
10491
10696
  },
10492
10697
  contextWindow: 202752,
@@ -10523,7 +10728,7 @@ export const MODELS = {
10523
10728
  cacheRead: 0.119,
10524
10729
  cacheWrite: 0,
10525
10730
  },
10526
- contextWindow: 202752,
10731
+ contextWindow: 80000,
10527
10732
  maxTokens: 131072,
10528
10733
  },
10529
10734
  "z-ai/glm-5-turbo": {
@@ -10554,7 +10759,7 @@ export const MODELS = {
10554
10759
  reasoning: true,
10555
10760
  input: ["text"],
10556
10761
  cost: {
10557
- input: 0.06,
10762
+ input: 0.12,
10558
10763
  output: 0.24,
10559
10764
  cacheRead: 0,
10560
10765
  cacheWrite: 0,
@@ -10607,7 +10812,7 @@ export const MODELS = {
10607
10812
  cost: {
10608
10813
  input: 0.29,
10609
10814
  output: 0.59,
10610
- cacheRead: 0,
10815
+ cacheRead: 0.145,
10611
10816
  cacheWrite: 0,
10612
10817
  },
10613
10818
  contextWindow: 131072,
@@ -10622,9 +10827,9 @@ export const MODELS = {
10622
10827
  reasoning: true,
10623
10828
  input: ["text", "image"],
10624
10829
  cost: {
10625
- input: 0.3,
10626
- output: 2.9000000000000004,
10627
- cacheRead: 0,
10830
+ input: 0.22999999999999998,
10831
+ output: 2.3,
10832
+ cacheRead: 0.19999999999999998,
10628
10833
  cacheWrite: 0,
10629
10834
  },
10630
10835
  contextWindow: 262114,
@@ -10641,7 +10846,7 @@ export const MODELS = {
10641
10846
  cost: {
10642
10847
  input: 0.39999999999999997,
10643
10848
  output: 1.5999999999999999,
10644
- cacheRead: 0,
10849
+ cacheRead: 0.022,
10645
10850
  cacheWrite: 0,
10646
10851
  },
10647
10852
  contextWindow: 262144,
@@ -11134,7 +11339,7 @@ export const MODELS = {
11134
11339
  cost: {
11135
11340
  input: 0.27,
11136
11341
  output: 1,
11137
- cacheRead: 0,
11342
+ cacheRead: 0.135,
11138
11343
  cacheWrite: 0,
11139
11344
  },
11140
11345
  contextWindow: 131072,
@@ -11149,9 +11354,9 @@ export const MODELS = {
11149
11354
  reasoning: false,
11150
11355
  input: ["text"],
11151
11356
  cost: {
11152
- input: 0.26,
11153
- output: 0.38,
11154
- cacheRead: 0.13,
11357
+ input: 0.28,
11358
+ output: 0.42,
11359
+ cacheRead: 0.028,
11155
11360
  cacheWrite: 0,
11156
11361
  },
11157
11362
  contextWindow: 128000,
@@ -11185,7 +11390,7 @@ export const MODELS = {
11185
11390
  cost: {
11186
11391
  input: 0.15,
11187
11392
  output: 0.6,
11188
- cacheRead: 0,
11393
+ cacheRead: 0.024999999999999998,
11189
11394
  cacheWrite: 0,
11190
11395
  },
11191
11396
  contextWindow: 1048576,
@@ -11202,7 +11407,7 @@ export const MODELS = {
11202
11407
  cost: {
11203
11408
  input: 0.075,
11204
11409
  output: 0.3,
11205
- cacheRead: 0,
11410
+ cacheRead: 0.02,
11206
11411
  cacheWrite: 0,
11207
11412
  },
11208
11413
  contextWindow: 1048576,
@@ -11242,40 +11447,6 @@ export const MODELS = {
11242
11447
  contextWindow: 1048576,
11243
11448
  maxTokens: 65536,
11244
11449
  },
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
11450
  "google/gemini-2.5-pro": {
11280
11451
  id: "google/gemini-2.5-pro",
11281
11452
  name: "Gemini 2.5 Pro",
@@ -11457,7 +11628,7 @@ export const MODELS = {
11457
11628
  cost: {
11458
11629
  input: 0.09999999999999999,
11459
11630
  output: 0.09999999999999999,
11460
- cacheRead: 0,
11631
+ cacheRead: 0.09999999999999999,
11461
11632
  cacheWrite: 0,
11462
11633
  },
11463
11634
  contextWindow: 128000,
@@ -11630,8 +11801,42 @@ export const MODELS = {
11630
11801
  cacheRead: 0.03,
11631
11802
  cacheWrite: 0.375,
11632
11803
  },
11633
- contextWindow: 4096,
11634
- maxTokens: 4096,
11804
+ contextWindow: 204800,
11805
+ maxTokens: 131000,
11806
+ },
11807
+ "minimax/minimax-m2.7": {
11808
+ id: "minimax/minimax-m2.7",
11809
+ name: "Minimax M2.7",
11810
+ api: "anthropic-messages",
11811
+ provider: "vercel-ai-gateway",
11812
+ baseUrl: "https://ai-gateway.vercel.sh",
11813
+ reasoning: true,
11814
+ input: ["text", "image"],
11815
+ cost: {
11816
+ input: 0.3,
11817
+ output: 1.2,
11818
+ cacheRead: 0.06,
11819
+ cacheWrite: 0.375,
11820
+ },
11821
+ contextWindow: 204800,
11822
+ maxTokens: 131000,
11823
+ },
11824
+ "minimax/minimax-m2.7-highspeed": {
11825
+ id: "minimax/minimax-m2.7-highspeed",
11826
+ name: "MiniMax M2.7 High Speed",
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.6,
11834
+ output: 2.4,
11835
+ cacheRead: 0.06,
11836
+ cacheWrite: 0.375,
11837
+ },
11838
+ contextWindow: 204800,
11839
+ maxTokens: 131100,
11635
11840
  },
11636
11841
  "mistral/codestral": {
11637
11842
  id: "mistral/codestral",
@@ -11659,8 +11864,8 @@ export const MODELS = {
11659
11864
  reasoning: false,
11660
11865
  input: ["text"],
11661
11866
  cost: {
11662
- input: 0,
11663
- output: 0,
11867
+ input: 0.39999999999999997,
11868
+ output: 2,
11664
11869
  cacheRead: 0,
11665
11870
  cacheWrite: 0,
11666
11871
  },
@@ -11693,8 +11898,8 @@ export const MODELS = {
11693
11898
  reasoning: false,
11694
11899
  input: ["text"],
11695
11900
  cost: {
11696
- input: 0,
11697
- output: 0,
11901
+ input: 0.09999999999999999,
11902
+ output: 0.3,
11698
11903
  cacheRead: 0,
11699
11904
  cacheWrite: 0,
11700
11905
  },
@@ -11710,8 +11915,8 @@ export const MODELS = {
11710
11915
  reasoning: false,
11711
11916
  input: ["text"],
11712
11917
  cost: {
11713
- input: 0.04,
11714
- output: 0.04,
11918
+ input: 0.09999999999999999,
11919
+ output: 0.09999999999999999,
11715
11920
  cacheRead: 0,
11716
11921
  cacheWrite: 0,
11717
11922
  },
@@ -11727,8 +11932,8 @@ export const MODELS = {
11727
11932
  reasoning: false,
11728
11933
  input: ["text"],
11729
11934
  cost: {
11730
- input: 0.09999999999999999,
11731
- output: 0.09999999999999999,
11935
+ input: 0.15,
11936
+ output: 0.15,
11732
11937
  cacheRead: 0,
11733
11938
  cacheWrite: 0,
11734
11939
  },
@@ -11814,7 +12019,7 @@ export const MODELS = {
11814
12019
  cost: {
11815
12020
  input: 0.6,
11816
12021
  output: 2.5,
11817
- cacheRead: 0,
12022
+ cacheRead: 0.15,
11818
12023
  cacheWrite: 0,
11819
12024
  },
11820
12025
  contextWindow: 131072,
@@ -11831,7 +12036,7 @@ export const MODELS = {
11831
12036
  cost: {
11832
12037
  input: 0.6,
11833
12038
  output: 2.5,
11834
- cacheRead: 0,
12039
+ cacheRead: 0.15,
11835
12040
  cacheWrite: 0,
11836
12041
  },
11837
12042
  contextWindow: 256000,
@@ -11880,9 +12085,9 @@ export const MODELS = {
11880
12085
  reasoning: false,
11881
12086
  input: ["text"],
11882
12087
  cost: {
11883
- input: 2.4,
11884
- output: 10,
11885
- cacheRead: 0,
12088
+ input: 1.15,
12089
+ output: 8,
12090
+ cacheRead: 0.15,
11886
12091
  cacheWrite: 0,
11887
12092
  },
11888
12093
  contextWindow: 256000,
@@ -12347,6 +12552,40 @@ export const MODELS = {
12347
12552
  contextWindow: 1050000,
12348
12553
  maxTokens: 128000,
12349
12554
  },
12555
+ "openai/gpt-5.4-mini": {
12556
+ id: "openai/gpt-5.4-mini",
12557
+ name: "GPT 5.4 Mini",
12558
+ api: "anthropic-messages",
12559
+ provider: "vercel-ai-gateway",
12560
+ baseUrl: "https://ai-gateway.vercel.sh",
12561
+ reasoning: true,
12562
+ input: ["text", "image"],
12563
+ cost: {
12564
+ input: 0.75,
12565
+ output: 4.5,
12566
+ cacheRead: 0.075,
12567
+ cacheWrite: 0,
12568
+ },
12569
+ contextWindow: 400000,
12570
+ maxTokens: 128000,
12571
+ },
12572
+ "openai/gpt-5.4-nano": {
12573
+ id: "openai/gpt-5.4-nano",
12574
+ name: "GPT 5.4 Nano",
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.19999999999999998,
12582
+ output: 1.25,
12583
+ cacheRead: 0.02,
12584
+ cacheWrite: 0,
12585
+ },
12586
+ contextWindow: 400000,
12587
+ maxTokens: 128000,
12588
+ },
12350
12589
  "openai/gpt-5.4-pro": {
12351
12590
  id: "openai/gpt-5.4-pro",
12352
12591
  name: "GPT 5.4 Pro",
@@ -12551,40 +12790,6 @@ export const MODELS = {
12551
12790
  contextWindow: 131072,
12552
12791
  maxTokens: 131072,
12553
12792
  },
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
12793
  "xai/grok-2-vision": {
12589
12794
  id: "xai/grok-2-vision",
12590
12795
  name: "Grok 2 Vision",
@@ -12613,7 +12818,7 @@ export const MODELS = {
12613
12818
  cost: {
12614
12819
  input: 3,
12615
12820
  output: 15,
12616
- cacheRead: 0,
12821
+ cacheRead: 0.75,
12617
12822
  cacheWrite: 0,
12618
12823
  },
12619
12824
  contextWindow: 131072,
@@ -12630,7 +12835,7 @@ export const MODELS = {
12630
12835
  cost: {
12631
12836
  input: 5,
12632
12837
  output: 25,
12633
- cacheRead: 0,
12838
+ cacheRead: 1.25,
12634
12839
  cacheWrite: 0,
12635
12840
  },
12636
12841
  contextWindow: 131072,
@@ -12647,7 +12852,7 @@ export const MODELS = {
12647
12852
  cost: {
12648
12853
  input: 0.3,
12649
12854
  output: 0.5,
12650
- cacheRead: 0,
12855
+ cacheRead: 0.075,
12651
12856
  cacheWrite: 0,
12652
12857
  },
12653
12858
  contextWindow: 131072,
@@ -12900,8 +13105,8 @@ export const MODELS = {
12900
13105
  reasoning: true,
12901
13106
  input: ["text"],
12902
13107
  cost: {
12903
- input: 0.44999999999999996,
12904
- output: 1.7999999999999998,
13108
+ input: 0.6,
13109
+ output: 2.2,
12905
13110
  cacheRead: 0.11,
12906
13111
  cacheWrite: 0,
12907
13112
  },
@@ -13010,6 +13215,23 @@ export const MODELS = {
13010
13215
  contextWindow: 202800,
13011
13216
  maxTokens: 131100,
13012
13217
  },
13218
+ "zai/glm-5-turbo": {
13219
+ id: "zai/glm-5-turbo",
13220
+ name: "GLM 5 Turbo",
13221
+ api: "anthropic-messages",
13222
+ provider: "vercel-ai-gateway",
13223
+ baseUrl: "https://ai-gateway.vercel.sh",
13224
+ reasoning: true,
13225
+ input: ["text"],
13226
+ cost: {
13227
+ input: 1.2,
13228
+ output: 4,
13229
+ cacheRead: 0.24,
13230
+ cacheWrite: 0,
13231
+ },
13232
+ contextWindow: 202800,
13233
+ maxTokens: 131100,
13234
+ },
13013
13235
  },
13014
13236
  "xai": {
13015
13237
  "grok-2": {
@@ -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