@apholdings/jensen-ai 0.0.2 → 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 +412 -130
  11. package/dist/models.generated.d.ts.map +1 -1
  12. package/dist/models.generated.js +527 -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 +4 -3
@@ -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,
@@ -7670,6 +7807,40 @@ export const MODELS = {
7670
7807
  contextWindow: 196608,
7671
7808
  maxTokens: 196608,
7672
7809
  },
7810
+ "minimax/minimax-m2.5:free": {
7811
+ id: "minimax/minimax-m2.5:free",
7812
+ name: "MiniMax: MiniMax M2.5 (free)",
7813
+ api: "openai-completions",
7814
+ provider: "openrouter",
7815
+ baseUrl: "https://openrouter.ai/api/v1",
7816
+ reasoning: true,
7817
+ input: ["text"],
7818
+ cost: {
7819
+ input: 0,
7820
+ output: 0,
7821
+ cacheRead: 0,
7822
+ cacheWrite: 0,
7823
+ },
7824
+ contextWindow: 196608,
7825
+ maxTokens: 196608,
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
+ },
7673
7844
  "mistralai/codestral-2508": {
7674
7845
  id: "mistralai/codestral-2508",
7675
7846
  name: "Mistral: Codestral 2508",
@@ -7681,7 +7852,7 @@ export const MODELS = {
7681
7852
  cost: {
7682
7853
  input: 0.3,
7683
7854
  output: 0.8999999999999999,
7684
- cacheRead: 0,
7855
+ cacheRead: 0.03,
7685
7856
  cacheWrite: 0,
7686
7857
  },
7687
7858
  contextWindow: 256000,
@@ -7698,7 +7869,7 @@ export const MODELS = {
7698
7869
  cost: {
7699
7870
  input: 0.39999999999999997,
7700
7871
  output: 2,
7701
- cacheRead: 0,
7872
+ cacheRead: 0.04,
7702
7873
  cacheWrite: 0,
7703
7874
  },
7704
7875
  contextWindow: 262144,
@@ -7715,7 +7886,7 @@ export const MODELS = {
7715
7886
  cost: {
7716
7887
  input: 0.39999999999999997,
7717
7888
  output: 2,
7718
- cacheRead: 0,
7889
+ cacheRead: 0.04,
7719
7890
  cacheWrite: 0,
7720
7891
  },
7721
7892
  contextWindow: 131072,
@@ -7732,7 +7903,7 @@ export const MODELS = {
7732
7903
  cost: {
7733
7904
  input: 0.09999999999999999,
7734
7905
  output: 0.3,
7735
- cacheRead: 0,
7906
+ cacheRead: 0.01,
7736
7907
  cacheWrite: 0,
7737
7908
  },
7738
7909
  contextWindow: 131072,
@@ -7749,7 +7920,7 @@ export const MODELS = {
7749
7920
  cost: {
7750
7921
  input: 0.19999999999999998,
7751
7922
  output: 0.19999999999999998,
7752
- cacheRead: 0,
7923
+ cacheRead: 0.02,
7753
7924
  cacheWrite: 0,
7754
7925
  },
7755
7926
  contextWindow: 262144,
@@ -7766,7 +7937,7 @@ export const MODELS = {
7766
7937
  cost: {
7767
7938
  input: 0.09999999999999999,
7768
7939
  output: 0.09999999999999999,
7769
- cacheRead: 0,
7940
+ cacheRead: 0.01,
7770
7941
  cacheWrite: 0,
7771
7942
  },
7772
7943
  contextWindow: 131072,
@@ -7783,7 +7954,7 @@ export const MODELS = {
7783
7954
  cost: {
7784
7955
  input: 0.15,
7785
7956
  output: 0.15,
7786
- cacheRead: 0,
7957
+ cacheRead: 0.015,
7787
7958
  cacheWrite: 0,
7788
7959
  },
7789
7960
  contextWindow: 262144,
@@ -7800,7 +7971,7 @@ export const MODELS = {
7800
7971
  cost: {
7801
7972
  input: 2,
7802
7973
  output: 6,
7803
- cacheRead: 0,
7974
+ cacheRead: 0.19999999999999998,
7804
7975
  cacheWrite: 0,
7805
7976
  },
7806
7977
  contextWindow: 128000,
@@ -7817,7 +7988,7 @@ export const MODELS = {
7817
7988
  cost: {
7818
7989
  input: 2,
7819
7990
  output: 6,
7820
- cacheRead: 0,
7991
+ cacheRead: 0.19999999999999998,
7821
7992
  cacheWrite: 0,
7822
7993
  },
7823
7994
  contextWindow: 131072,
@@ -7834,7 +8005,7 @@ export const MODELS = {
7834
8005
  cost: {
7835
8006
  input: 2,
7836
8007
  output: 6,
7837
- cacheRead: 0,
8008
+ cacheRead: 0.19999999999999998,
7838
8009
  cacheWrite: 0,
7839
8010
  },
7840
8011
  contextWindow: 131072,
@@ -7851,7 +8022,7 @@ export const MODELS = {
7851
8022
  cost: {
7852
8023
  input: 0.5,
7853
8024
  output: 1.5,
7854
- cacheRead: 0,
8025
+ cacheRead: 0.049999999999999996,
7855
8026
  cacheWrite: 0,
7856
8027
  },
7857
8028
  contextWindow: 262144,
@@ -7868,7 +8039,7 @@ export const MODELS = {
7868
8039
  cost: {
7869
8040
  input: 0.39999999999999997,
7870
8041
  output: 2,
7871
- cacheRead: 0,
8042
+ cacheRead: 0.04,
7872
8043
  cacheWrite: 0,
7873
8044
  },
7874
8045
  contextWindow: 131072,
@@ -7885,7 +8056,7 @@ export const MODELS = {
7885
8056
  cost: {
7886
8057
  input: 0.39999999999999997,
7887
8058
  output: 2,
7888
- cacheRead: 0,
8059
+ cacheRead: 0.04,
7889
8060
  cacheWrite: 0,
7890
8061
  },
7891
8062
  contextWindow: 131072,
@@ -7919,7 +8090,7 @@ export const MODELS = {
7919
8090
  cost: {
7920
8091
  input: 0.19999999999999998,
7921
8092
  output: 0.6,
7922
- cacheRead: 0,
8093
+ cacheRead: 0.02,
7923
8094
  cacheWrite: 0,
7924
8095
  },
7925
8096
  contextWindow: 32768,
@@ -7942,6 +8113,23 @@ export const MODELS = {
7942
8113
  contextWindow: 32768,
7943
8114
  maxTokens: 16384,
7944
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
+ },
7945
8133
  "mistralai/mistral-small-3.1-24b-instruct:free": {
7946
8134
  id: "mistralai/mistral-small-3.1-24b-instruct:free",
7947
8135
  name: "Mistral: Mistral Small 3.1 24B (free)",
@@ -7987,7 +8175,7 @@ export const MODELS = {
7987
8175
  cost: {
7988
8176
  input: 0.09999999999999999,
7989
8177
  output: 0.3,
7990
- cacheRead: 0,
8178
+ cacheRead: 0.01,
7991
8179
  cacheWrite: 0,
7992
8180
  },
7993
8181
  contextWindow: 32768,
@@ -8004,7 +8192,7 @@ export const MODELS = {
8004
8192
  cost: {
8005
8193
  input: 2,
8006
8194
  output: 6,
8007
- cacheRead: 0,
8195
+ cacheRead: 0.19999999999999998,
8008
8196
  cacheWrite: 0,
8009
8197
  },
8010
8198
  contextWindow: 65536,
@@ -8038,7 +8226,7 @@ export const MODELS = {
8038
8226
  cost: {
8039
8227
  input: 2,
8040
8228
  output: 6,
8041
- cacheRead: 0,
8229
+ cacheRead: 0.19999999999999998,
8042
8230
  cacheWrite: 0,
8043
8231
  },
8044
8232
  contextWindow: 131072,
@@ -8055,7 +8243,7 @@ export const MODELS = {
8055
8243
  cost: {
8056
8244
  input: 0.09999999999999999,
8057
8245
  output: 0.3,
8058
- cacheRead: 0,
8246
+ cacheRead: 0.01,
8059
8247
  cacheWrite: 0,
8060
8248
  },
8061
8249
  contextWindow: 32000,
@@ -8928,6 +9116,40 @@ export const MODELS = {
8928
9116
  contextWindow: 1050000,
8929
9117
  maxTokens: 128000,
8930
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
+ },
8931
9153
  "openai/gpt-5.4-pro": {
8932
9154
  id: "openai/gpt-5.4-pro",
8933
9155
  name: "OpenAI: GPT-5.4 Pro",
@@ -9036,7 +9258,7 @@ export const MODELS = {
9036
9258
  api: "openai-completions",
9037
9259
  provider: "openrouter",
9038
9260
  baseUrl: "https://openrouter.ai/api/v1",
9039
- reasoning: false,
9261
+ reasoning: true,
9040
9262
  input: ["text", "image"],
9041
9263
  cost: {
9042
9264
  input: 15,
@@ -9087,7 +9309,7 @@ export const MODELS = {
9087
9309
  api: "openai-completions",
9088
9310
  provider: "openrouter",
9089
9311
  baseUrl: "https://openrouter.ai/api/v1",
9090
- reasoning: false,
9312
+ reasoning: true,
9091
9313
  input: ["text"],
9092
9314
  cost: {
9093
9315
  input: 1.1,
@@ -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,
@@ -9241,7 +9463,7 @@ export const MODELS = {
9241
9463
  provider: "openrouter",
9242
9464
  baseUrl: "https://openrouter.ai/api/v1",
9243
9465
  reasoning: true,
9244
- input: ["text"],
9466
+ input: ["text", "image"],
9245
9467
  cost: {
9246
9468
  input: 0,
9247
9469
  output: 0,
@@ -9328,9 +9550,9 @@ export const MODELS = {
9328
9550
  reasoning: false,
9329
9551
  input: ["text"],
9330
9552
  cost: {
9331
- input: 0.39999999999999997,
9332
- output: 1.2,
9333
- cacheRead: 0.08,
9553
+ input: 0.26,
9554
+ output: 0.78,
9555
+ cacheRead: 0.052000000000000005,
9334
9556
  cacheWrite: 0,
9335
9557
  },
9336
9558
  contextWindow: 1000000,
@@ -9396,8 +9618,8 @@ export const MODELS = {
9396
9618
  reasoning: false,
9397
9619
  input: ["text", "image"],
9398
9620
  cost: {
9399
- input: 0.7999999999999999,
9400
- output: 3.1999999999999997,
9621
+ input: 0.52,
9622
+ output: 2.08,
9401
9623
  cacheRead: 0,
9402
9624
  cacheWrite: 0,
9403
9625
  },
@@ -9685,9 +9907,9 @@ export const MODELS = {
9685
9907
  reasoning: false,
9686
9908
  input: ["text"],
9687
9909
  cost: {
9688
- input: 1.2,
9689
- output: 6,
9690
- cacheRead: 0.24,
9910
+ input: 0.78,
9911
+ output: 3.9,
9912
+ cacheRead: 0.156,
9691
9913
  cacheWrite: 0,
9692
9914
  },
9693
9915
  contextWindow: 262144,
@@ -9724,7 +9946,7 @@ export const MODELS = {
9724
9946
  cacheRead: 0,
9725
9947
  cacheWrite: 0,
9726
9948
  },
9727
- contextWindow: 131072,
9949
+ contextWindow: 262144,
9728
9950
  maxTokens: 4096,
9729
9951
  },
9730
9952
  "qwen/qwen3-next-80b-a3b-instruct:free": {
@@ -9974,8 +10196,8 @@ export const MODELS = {
9974
10196
  reasoning: true,
9975
10197
  input: ["text", "image"],
9976
10198
  cost: {
9977
- input: 0.09999999999999999,
9978
- output: 0.39999999999999997,
10199
+ input: 0.065,
10200
+ output: 0.26,
9979
10201
  cacheRead: 0,
9980
10202
  cacheWrite: 0,
9981
10203
  },
@@ -10009,12 +10231,12 @@ export const MODELS = {
10009
10231
  input: ["text"],
10010
10232
  cost: {
10011
10233
  input: 0.15,
10012
- output: 0.39999999999999997,
10234
+ output: 0.58,
10013
10235
  cacheRead: 0,
10014
10236
  cacheWrite: 0,
10015
10237
  },
10016
- contextWindow: 32768,
10017
- maxTokens: 32768,
10238
+ contextWindow: 131072,
10239
+ maxTokens: 131072,
10018
10240
  },
10019
10241
  "relace/relace-search": {
10020
10242
  id: "relace/relace-search",
@@ -10467,9 +10689,9 @@ export const MODELS = {
10467
10689
  reasoning: true,
10468
10690
  input: ["text"],
10469
10691
  cost: {
10470
- input: 0.38,
10471
- output: 1.9800000000000002,
10472
- cacheRead: 0.19,
10692
+ input: 0.39999999999999997,
10693
+ output: 1.75,
10694
+ cacheRead: 0.08,
10473
10695
  cacheWrite: 0,
10474
10696
  },
10475
10697
  contextWindow: 202752,
@@ -10506,6 +10728,23 @@ export const MODELS = {
10506
10728
  cacheRead: 0.119,
10507
10729
  cacheWrite: 0,
10508
10730
  },
10731
+ contextWindow: 80000,
10732
+ maxTokens: 131072,
10733
+ },
10734
+ "z-ai/glm-5-turbo": {
10735
+ id: "z-ai/glm-5-turbo",
10736
+ name: "Z.ai: GLM 5 Turbo",
10737
+ api: "openai-completions",
10738
+ provider: "openrouter",
10739
+ baseUrl: "https://openrouter.ai/api/v1",
10740
+ reasoning: true,
10741
+ input: ["text"],
10742
+ cost: {
10743
+ input: 0.96,
10744
+ output: 3.1999999999999997,
10745
+ cacheRead: 0.192,
10746
+ cacheWrite: 0,
10747
+ },
10509
10748
  contextWindow: 202752,
10510
10749
  maxTokens: 131072,
10511
10750
  },
@@ -10520,7 +10759,7 @@ export const MODELS = {
10520
10759
  reasoning: true,
10521
10760
  input: ["text"],
10522
10761
  cost: {
10523
- input: 0.06,
10762
+ input: 0.12,
10524
10763
  output: 0.24,
10525
10764
  cacheRead: 0,
10526
10765
  cacheWrite: 0,
@@ -10573,7 +10812,7 @@ export const MODELS = {
10573
10812
  cost: {
10574
10813
  input: 0.29,
10575
10814
  output: 0.59,
10576
- cacheRead: 0,
10815
+ cacheRead: 0.145,
10577
10816
  cacheWrite: 0,
10578
10817
  },
10579
10818
  contextWindow: 131072,
@@ -10588,9 +10827,9 @@ export const MODELS = {
10588
10827
  reasoning: true,
10589
10828
  input: ["text", "image"],
10590
10829
  cost: {
10591
- input: 0.3,
10592
- output: 2.9000000000000004,
10593
- cacheRead: 0,
10830
+ input: 0.22999999999999998,
10831
+ output: 2.3,
10832
+ cacheRead: 0.19999999999999998,
10594
10833
  cacheWrite: 0,
10595
10834
  },
10596
10835
  contextWindow: 262114,
@@ -10607,7 +10846,7 @@ export const MODELS = {
10607
10846
  cost: {
10608
10847
  input: 0.39999999999999997,
10609
10848
  output: 1.5999999999999999,
10610
- cacheRead: 0,
10849
+ cacheRead: 0.022,
10611
10850
  cacheWrite: 0,
10612
10851
  },
10613
10852
  contextWindow: 262144,
@@ -11100,7 +11339,7 @@ export const MODELS = {
11100
11339
  cost: {
11101
11340
  input: 0.27,
11102
11341
  output: 1,
11103
- cacheRead: 0,
11342
+ cacheRead: 0.135,
11104
11343
  cacheWrite: 0,
11105
11344
  },
11106
11345
  contextWindow: 131072,
@@ -11115,9 +11354,9 @@ export const MODELS = {
11115
11354
  reasoning: false,
11116
11355
  input: ["text"],
11117
11356
  cost: {
11118
- input: 0.26,
11119
- output: 0.38,
11120
- cacheRead: 0.13,
11357
+ input: 0.28,
11358
+ output: 0.42,
11359
+ cacheRead: 0.028,
11121
11360
  cacheWrite: 0,
11122
11361
  },
11123
11362
  contextWindow: 128000,
@@ -11151,7 +11390,7 @@ export const MODELS = {
11151
11390
  cost: {
11152
11391
  input: 0.15,
11153
11392
  output: 0.6,
11154
- cacheRead: 0,
11393
+ cacheRead: 0.024999999999999998,
11155
11394
  cacheWrite: 0,
11156
11395
  },
11157
11396
  contextWindow: 1048576,
@@ -11168,7 +11407,7 @@ export const MODELS = {
11168
11407
  cost: {
11169
11408
  input: 0.075,
11170
11409
  output: 0.3,
11171
- cacheRead: 0,
11410
+ cacheRead: 0.02,
11172
11411
  cacheWrite: 0,
11173
11412
  },
11174
11413
  contextWindow: 1048576,
@@ -11208,40 +11447,6 @@ export const MODELS = {
11208
11447
  contextWindow: 1048576,
11209
11448
  maxTokens: 65536,
11210
11449
  },
11211
- "google/gemini-2.5-flash-lite-preview-09-2025": {
11212
- id: "google/gemini-2.5-flash-lite-preview-09-2025",
11213
- name: "Gemini 2.5 Flash Lite Preview 09-2025",
11214
- api: "anthropic-messages",
11215
- provider: "vercel-ai-gateway",
11216
- baseUrl: "https://ai-gateway.vercel.sh",
11217
- reasoning: true,
11218
- input: ["text", "image"],
11219
- cost: {
11220
- input: 0.09999999999999999,
11221
- output: 0.39999999999999997,
11222
- cacheRead: 0.01,
11223
- cacheWrite: 0,
11224
- },
11225
- contextWindow: 1048576,
11226
- maxTokens: 65536,
11227
- },
11228
- "google/gemini-2.5-flash-preview-09-2025": {
11229
- id: "google/gemini-2.5-flash-preview-09-2025",
11230
- name: "Gemini 2.5 Flash Preview 09-2025",
11231
- api: "anthropic-messages",
11232
- provider: "vercel-ai-gateway",
11233
- baseUrl: "https://ai-gateway.vercel.sh",
11234
- reasoning: true,
11235
- input: ["text", "image"],
11236
- cost: {
11237
- input: 0.3,
11238
- output: 2.5,
11239
- cacheRead: 0.03,
11240
- cacheWrite: 0,
11241
- },
11242
- contextWindow: 1000000,
11243
- maxTokens: 65536,
11244
- },
11245
11450
  "google/gemini-2.5-pro": {
11246
11451
  id: "google/gemini-2.5-pro",
11247
11452
  name: "Gemini 2.5 Pro",
@@ -11423,7 +11628,7 @@ export const MODELS = {
11423
11628
  cost: {
11424
11629
  input: 0.09999999999999999,
11425
11630
  output: 0.09999999999999999,
11426
- cacheRead: 0,
11631
+ cacheRead: 0.09999999999999999,
11427
11632
  cacheWrite: 0,
11428
11633
  },
11429
11634
  contextWindow: 128000,
@@ -11596,8 +11801,42 @@ export const MODELS = {
11596
11801
  cacheRead: 0.03,
11597
11802
  cacheWrite: 0.375,
11598
11803
  },
11599
- contextWindow: 4096,
11600
- 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,
11601
11840
  },
11602
11841
  "mistral/codestral": {
11603
11842
  id: "mistral/codestral",
@@ -11625,8 +11864,8 @@ export const MODELS = {
11625
11864
  reasoning: false,
11626
11865
  input: ["text"],
11627
11866
  cost: {
11628
- input: 0,
11629
- output: 0,
11867
+ input: 0.39999999999999997,
11868
+ output: 2,
11630
11869
  cacheRead: 0,
11631
11870
  cacheWrite: 0,
11632
11871
  },
@@ -11659,8 +11898,8 @@ export const MODELS = {
11659
11898
  reasoning: false,
11660
11899
  input: ["text"],
11661
11900
  cost: {
11662
- input: 0,
11663
- output: 0,
11901
+ input: 0.09999999999999999,
11902
+ output: 0.3,
11664
11903
  cacheRead: 0,
11665
11904
  cacheWrite: 0,
11666
11905
  },
@@ -11676,8 +11915,8 @@ export const MODELS = {
11676
11915
  reasoning: false,
11677
11916
  input: ["text"],
11678
11917
  cost: {
11679
- input: 0.04,
11680
- output: 0.04,
11918
+ input: 0.09999999999999999,
11919
+ output: 0.09999999999999999,
11681
11920
  cacheRead: 0,
11682
11921
  cacheWrite: 0,
11683
11922
  },
@@ -11693,8 +11932,8 @@ export const MODELS = {
11693
11932
  reasoning: false,
11694
11933
  input: ["text"],
11695
11934
  cost: {
11696
- input: 0.09999999999999999,
11697
- output: 0.09999999999999999,
11935
+ input: 0.15,
11936
+ output: 0.15,
11698
11937
  cacheRead: 0,
11699
11938
  cacheWrite: 0,
11700
11939
  },
@@ -11780,7 +12019,7 @@ export const MODELS = {
11780
12019
  cost: {
11781
12020
  input: 0.6,
11782
12021
  output: 2.5,
11783
- cacheRead: 0,
12022
+ cacheRead: 0.15,
11784
12023
  cacheWrite: 0,
11785
12024
  },
11786
12025
  contextWindow: 131072,
@@ -11797,7 +12036,7 @@ export const MODELS = {
11797
12036
  cost: {
11798
12037
  input: 0.6,
11799
12038
  output: 2.5,
11800
- cacheRead: 0,
12039
+ cacheRead: 0.15,
11801
12040
  cacheWrite: 0,
11802
12041
  },
11803
12042
  contextWindow: 256000,
@@ -11846,9 +12085,9 @@ export const MODELS = {
11846
12085
  reasoning: false,
11847
12086
  input: ["text"],
11848
12087
  cost: {
11849
- input: 2.4,
11850
- output: 10,
11851
- cacheRead: 0,
12088
+ input: 1.15,
12089
+ output: 8,
12090
+ cacheRead: 0.15,
11852
12091
  cacheWrite: 0,
11853
12092
  },
11854
12093
  contextWindow: 256000,
@@ -12313,6 +12552,40 @@ export const MODELS = {
12313
12552
  contextWindow: 1050000,
12314
12553
  maxTokens: 128000,
12315
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
+ },
12316
12589
  "openai/gpt-5.4-pro": {
12317
12590
  id: "openai/gpt-5.4-pro",
12318
12591
  name: "GPT 5.4 Pro",
@@ -12517,40 +12790,6 @@ export const MODELS = {
12517
12790
  contextWindow: 131072,
12518
12791
  maxTokens: 131072,
12519
12792
  },
12520
- "vercel/v0-1.0-md": {
12521
- id: "vercel/v0-1.0-md",
12522
- name: "v0-1.0-md",
12523
- api: "anthropic-messages",
12524
- provider: "vercel-ai-gateway",
12525
- baseUrl: "https://ai-gateway.vercel.sh",
12526
- reasoning: false,
12527
- input: ["text", "image"],
12528
- cost: {
12529
- input: 3,
12530
- output: 15,
12531
- cacheRead: 0,
12532
- cacheWrite: 0,
12533
- },
12534
- contextWindow: 128000,
12535
- maxTokens: 32000,
12536
- },
12537
- "vercel/v0-1.5-md": {
12538
- id: "vercel/v0-1.5-md",
12539
- name: "v0-1.5-md",
12540
- api: "anthropic-messages",
12541
- provider: "vercel-ai-gateway",
12542
- baseUrl: "https://ai-gateway.vercel.sh",
12543
- reasoning: false,
12544
- input: ["text", "image"],
12545
- cost: {
12546
- input: 3,
12547
- output: 15,
12548
- cacheRead: 0,
12549
- cacheWrite: 0,
12550
- },
12551
- contextWindow: 128000,
12552
- maxTokens: 32768,
12553
- },
12554
12793
  "xai/grok-2-vision": {
12555
12794
  id: "xai/grok-2-vision",
12556
12795
  name: "Grok 2 Vision",
@@ -12579,7 +12818,7 @@ export const MODELS = {
12579
12818
  cost: {
12580
12819
  input: 3,
12581
12820
  output: 15,
12582
- cacheRead: 0,
12821
+ cacheRead: 0.75,
12583
12822
  cacheWrite: 0,
12584
12823
  },
12585
12824
  contextWindow: 131072,
@@ -12596,7 +12835,7 @@ export const MODELS = {
12596
12835
  cost: {
12597
12836
  input: 5,
12598
12837
  output: 25,
12599
- cacheRead: 0,
12838
+ cacheRead: 1.25,
12600
12839
  cacheWrite: 0,
12601
12840
  },
12602
12841
  contextWindow: 131072,
@@ -12613,7 +12852,7 @@ export const MODELS = {
12613
12852
  cost: {
12614
12853
  input: 0.3,
12615
12854
  output: 0.5,
12616
- cacheRead: 0,
12855
+ cacheRead: 0.075,
12617
12856
  cacheWrite: 0,
12618
12857
  },
12619
12858
  contextWindow: 131072,
@@ -12866,8 +13105,8 @@ export const MODELS = {
12866
13105
  reasoning: true,
12867
13106
  input: ["text"],
12868
13107
  cost: {
12869
- input: 0.44999999999999996,
12870
- output: 1.7999999999999998,
13108
+ input: 0.6,
13109
+ output: 2.2,
12871
13110
  cacheRead: 0.11,
12872
13111
  cacheWrite: 0,
12873
13112
  },
@@ -12976,6 +13215,23 @@ export const MODELS = {
12976
13215
  contextWindow: 202800,
12977
13216
  maxTokens: 131100,
12978
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
+ },
12979
13235
  },
12980
13236
  "xai": {
12981
13237
  "grok-2": {
@@ -13410,7 +13666,7 @@ export const MODELS = {
13410
13666
  name: "GLM-4.5",
13411
13667
  api: "openai-completions",
13412
13668
  provider: "zai",
13413
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13669
+ baseUrl: "https://api.z.ai/api/paas/v4",
13414
13670
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13415
13671
  reasoning: true,
13416
13672
  input: ["text"],
@@ -13428,7 +13684,7 @@ export const MODELS = {
13428
13684
  name: "GLM-4.5-Air",
13429
13685
  api: "openai-completions",
13430
13686
  provider: "zai",
13431
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13687
+ baseUrl: "https://api.z.ai/api/paas/v4",
13432
13688
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13433
13689
  reasoning: true,
13434
13690
  input: ["text"],
@@ -13446,7 +13702,7 @@ export const MODELS = {
13446
13702
  name: "GLM-4.5-Flash",
13447
13703
  api: "openai-completions",
13448
13704
  provider: "zai",
13449
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13705
+ baseUrl: "https://api.z.ai/api/paas/v4",
13450
13706
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13451
13707
  reasoning: true,
13452
13708
  input: ["text"],
@@ -13464,7 +13720,7 @@ export const MODELS = {
13464
13720
  name: "GLM-4.5V",
13465
13721
  api: "openai-completions",
13466
13722
  provider: "zai",
13467
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13723
+ baseUrl: "https://api.z.ai/api/paas/v4",
13468
13724
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13469
13725
  reasoning: true,
13470
13726
  input: ["text", "image"],
@@ -13482,7 +13738,7 @@ export const MODELS = {
13482
13738
  name: "GLM-4.6",
13483
13739
  api: "openai-completions",
13484
13740
  provider: "zai",
13485
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13741
+ baseUrl: "https://api.z.ai/api/paas/v4",
13486
13742
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13487
13743
  reasoning: true,
13488
13744
  input: ["text"],
@@ -13500,7 +13756,7 @@ export const MODELS = {
13500
13756
  name: "GLM-4.6V",
13501
13757
  api: "openai-completions",
13502
13758
  provider: "zai",
13503
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13759
+ baseUrl: "https://api.z.ai/api/paas/v4",
13504
13760
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13505
13761
  reasoning: true,
13506
13762
  input: ["text", "image"],
@@ -13518,7 +13774,7 @@ export const MODELS = {
13518
13774
  name: "GLM-4.7",
13519
13775
  api: "openai-completions",
13520
13776
  provider: "zai",
13521
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13777
+ baseUrl: "https://api.z.ai/api/paas/v4",
13522
13778
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13523
13779
  reasoning: true,
13524
13780
  input: ["text"],
@@ -13536,7 +13792,7 @@ export const MODELS = {
13536
13792
  name: "GLM-4.7-Flash",
13537
13793
  api: "openai-completions",
13538
13794
  provider: "zai",
13539
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13795
+ baseUrl: "https://api.z.ai/api/paas/v4",
13540
13796
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13541
13797
  reasoning: true,
13542
13798
  input: ["text"],
@@ -13554,7 +13810,7 @@ export const MODELS = {
13554
13810
  name: "GLM-5",
13555
13811
  api: "openai-completions",
13556
13812
  provider: "zai",
13557
- baseUrl: "https://api.z.ai/api/coding/paas/v4",
13813
+ baseUrl: "https://api.z.ai/api/paas/v4",
13558
13814
  compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
13559
13815
  reasoning: true,
13560
13816
  input: ["text"],
@@ -13567,6 +13823,24 @@ export const MODELS = {
13567
13823
  contextWindow: 204800,
13568
13824
  maxTokens: 131072,
13569
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
+ },
13570
13844
  },
13571
13845
  };
13572
13846
  //# sourceMappingURL=models.generated.js.map