@mariozechner/pi-ai 0.52.9 → 0.52.10

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 (30) hide show
  1. package/dist/models.generated.d.ts +288 -170
  2. package/dist/models.generated.d.ts.map +1 -1
  3. package/dist/models.generated.js +374 -241
  4. package/dist/models.generated.js.map +1 -1
  5. package/dist/providers/amazon-bedrock.d.ts.map +1 -1
  6. package/dist/providers/amazon-bedrock.js +2 -2
  7. package/dist/providers/amazon-bedrock.js.map +1 -1
  8. package/dist/providers/anthropic.d.ts.map +1 -1
  9. package/dist/providers/anthropic.js +51 -19
  10. package/dist/providers/anthropic.js.map +1 -1
  11. package/dist/providers/github-copilot-headers.d.ts +8 -0
  12. package/dist/providers/github-copilot-headers.d.ts.map +1 -0
  13. package/dist/providers/github-copilot-headers.js +29 -0
  14. package/dist/providers/github-copilot-headers.js.map +1 -0
  15. package/dist/providers/openai-completions.d.ts.map +1 -1
  16. package/dist/providers/openai-completions.js +7 -25
  17. package/dist/providers/openai-completions.js.map +1 -1
  18. package/dist/providers/openai-responses-shared.d.ts.map +1 -1
  19. package/dist/providers/openai-responses-shared.js +2 -2
  20. package/dist/providers/openai-responses-shared.js.map +1 -1
  21. package/dist/providers/openai-responses.d.ts.map +1 -1
  22. package/dist/providers/openai-responses.js +6 -20
  23. package/dist/providers/openai-responses.js.map +1 -1
  24. package/dist/providers/simple-options.d.ts.map +1 -1
  25. package/dist/providers/simple-options.js +1 -0
  26. package/dist/providers/simple-options.js.map +1 -1
  27. package/dist/types.d.ts +6 -0
  28. package/dist/types.d.ts.map +1 -1
  29. package/dist/types.js.map +1 -1
  30. package/package.json +1 -1
@@ -801,6 +801,23 @@ export const MODELS = {
801
801
  contextWindow: 204608,
802
802
  maxTokens: 128000,
803
803
  },
804
+ "minimax.minimax-m2.1": {
805
+ id: "minimax.minimax-m2.1",
806
+ name: "MiniMax M2.1",
807
+ api: "bedrock-converse-stream",
808
+ provider: "amazon-bedrock",
809
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
810
+ reasoning: true,
811
+ input: ["text"],
812
+ cost: {
813
+ input: 0.3,
814
+ output: 1.2,
815
+ cacheRead: 0,
816
+ cacheWrite: 0,
817
+ },
818
+ contextWindow: 204800,
819
+ maxTokens: 131072,
820
+ },
804
821
  "mistral.ministral-3-14b-instruct": {
805
822
  id: "mistral.ministral-3-14b-instruct",
806
823
  name: "Ministral 14B 3.0",
@@ -903,6 +920,23 @@ export const MODELS = {
903
920
  contextWindow: 256000,
904
921
  maxTokens: 256000,
905
922
  },
923
+ "moonshotai.kimi-k2.5": {
924
+ id: "moonshotai.kimi-k2.5",
925
+ name: "Kimi K2.5",
926
+ api: "bedrock-converse-stream",
927
+ provider: "amazon-bedrock",
928
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
929
+ reasoning: true,
930
+ input: ["text", "image"],
931
+ cost: {
932
+ input: 0.6,
933
+ output: 3,
934
+ cacheRead: 0,
935
+ cacheWrite: 0,
936
+ },
937
+ contextWindow: 256000,
938
+ maxTokens: 256000,
939
+ },
906
940
  "nvidia.nemotron-nano-12b-v2": {
907
941
  id: "nvidia.nemotron-nano-12b-v2",
908
942
  name: "NVIDIA Nemotron Nano 12B v2 VL BF16",
@@ -1226,6 +1260,40 @@ export const MODELS = {
1226
1260
  contextWindow: 200000,
1227
1261
  maxTokens: 64000,
1228
1262
  },
1263
+ "zai.glm-4.7": {
1264
+ id: "zai.glm-4.7",
1265
+ name: "GLM-4.7",
1266
+ api: "bedrock-converse-stream",
1267
+ provider: "amazon-bedrock",
1268
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1269
+ reasoning: true,
1270
+ input: ["text"],
1271
+ cost: {
1272
+ input: 0.6,
1273
+ output: 2.2,
1274
+ cacheRead: 0,
1275
+ cacheWrite: 0,
1276
+ },
1277
+ contextWindow: 204800,
1278
+ maxTokens: 131072,
1279
+ },
1280
+ "zai.glm-4.7-flash": {
1281
+ id: "zai.glm-4.7-flash",
1282
+ name: "GLM-4.7-Flash",
1283
+ api: "bedrock-converse-stream",
1284
+ provider: "amazon-bedrock",
1285
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1286
+ reasoning: true,
1287
+ input: ["text"],
1288
+ cost: {
1289
+ input: 0.07,
1290
+ output: 0.4,
1291
+ cacheRead: 0,
1292
+ cacheWrite: 0,
1293
+ },
1294
+ contextWindow: 200000,
1295
+ maxTokens: 131072,
1296
+ },
1229
1297
  },
1230
1298
  "anthropic": {
1231
1299
  "claude-3-5-haiku-20241022": {
@@ -2063,6 +2131,23 @@ export const MODELS = {
2063
2131
  contextWindow: 400000,
2064
2132
  maxTokens: 128000,
2065
2133
  },
2134
+ "gpt-5.3-codex-spark": {
2135
+ id: "gpt-5.3-codex-spark",
2136
+ name: "GPT-5.3 Codex Spark",
2137
+ api: "azure-openai-responses",
2138
+ provider: "azure-openai-responses",
2139
+ baseUrl: "",
2140
+ reasoning: true,
2141
+ input: ["text", "image"],
2142
+ cost: {
2143
+ input: 1.75,
2144
+ output: 14,
2145
+ cacheRead: 0.175,
2146
+ cacheWrite: 0,
2147
+ },
2148
+ contextWindow: 128000,
2149
+ maxTokens: 32000,
2150
+ },
2066
2151
  "o1": {
2067
2152
  id: "o1",
2068
2153
  name: "o1",
@@ -2218,6 +2303,23 @@ export const MODELS = {
2218
2303
  contextWindow: 131072,
2219
2304
  maxTokens: 32768,
2220
2305
  },
2306
+ "llama3.1-8b": {
2307
+ id: "llama3.1-8b",
2308
+ name: "Llama 3.1 8B",
2309
+ api: "openai-completions",
2310
+ provider: "cerebras",
2311
+ baseUrl: "https://api.cerebras.ai/v1",
2312
+ reasoning: false,
2313
+ input: ["text"],
2314
+ cost: {
2315
+ input: 0.1,
2316
+ output: 0.1,
2317
+ cacheRead: 0,
2318
+ cacheWrite: 0,
2319
+ },
2320
+ contextWindow: 32000,
2321
+ maxTokens: 8000,
2322
+ },
2221
2323
  "qwen-3-235b-a22b-instruct-2507": {
2222
2324
  id: "qwen-3-235b-a22b-instruct-2507",
2223
2325
  name: "Qwen 3 235B Instruct",
@@ -2257,11 +2359,10 @@ export const MODELS = {
2257
2359
  "claude-haiku-4.5": {
2258
2360
  id: "claude-haiku-4.5",
2259
2361
  name: "Claude Haiku 4.5",
2260
- api: "openai-completions",
2362
+ api: "anthropic-messages",
2261
2363
  provider: "github-copilot",
2262
2364
  baseUrl: "https://api.individual.githubcopilot.com",
2263
2365
  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" },
2264
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
2265
2366
  reasoning: true,
2266
2367
  input: ["text", "image"],
2267
2368
  cost: {
@@ -2271,16 +2372,15 @@ export const MODELS = {
2271
2372
  cacheWrite: 0,
2272
2373
  },
2273
2374
  contextWindow: 128000,
2274
- maxTokens: 16000,
2375
+ maxTokens: 32000,
2275
2376
  },
2276
2377
  "claude-opus-4.5": {
2277
2378
  id: "claude-opus-4.5",
2278
2379
  name: "Claude Opus 4.5",
2279
- api: "openai-completions",
2380
+ api: "anthropic-messages",
2280
2381
  provider: "github-copilot",
2281
2382
  baseUrl: "https://api.individual.githubcopilot.com",
2282
2383
  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" },
2283
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
2284
2384
  reasoning: true,
2285
2385
  input: ["text", "image"],
2286
2386
  cost: {
@@ -2290,16 +2390,15 @@ export const MODELS = {
2290
2390
  cacheWrite: 0,
2291
2391
  },
2292
2392
  contextWindow: 128000,
2293
- maxTokens: 16000,
2393
+ maxTokens: 32000,
2294
2394
  },
2295
2395
  "claude-opus-4.6": {
2296
2396
  id: "claude-opus-4.6",
2297
2397
  name: "Claude Opus 4.6",
2298
- api: "openai-completions",
2398
+ api: "anthropic-messages",
2299
2399
  provider: "github-copilot",
2300
2400
  baseUrl: "https://api.individual.githubcopilot.com",
2301
2401
  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" },
2302
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
2303
2402
  reasoning: true,
2304
2403
  input: ["text", "image"],
2305
2404
  cost: {
@@ -2314,11 +2413,10 @@ export const MODELS = {
2314
2413
  "claude-sonnet-4": {
2315
2414
  id: "claude-sonnet-4",
2316
2415
  name: "Claude Sonnet 4",
2317
- api: "openai-completions",
2416
+ api: "anthropic-messages",
2318
2417
  provider: "github-copilot",
2319
2418
  baseUrl: "https://api.individual.githubcopilot.com",
2320
2419
  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" },
2321
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
2322
2420
  reasoning: true,
2323
2421
  input: ["text", "image"],
2324
2422
  cost: {
@@ -2333,11 +2431,10 @@ export const MODELS = {
2333
2431
  "claude-sonnet-4.5": {
2334
2432
  id: "claude-sonnet-4.5",
2335
2433
  name: "Claude Sonnet 4.5",
2336
- api: "openai-completions",
2434
+ api: "anthropic-messages",
2337
2435
  provider: "github-copilot",
2338
2436
  baseUrl: "https://api.individual.githubcopilot.com",
2339
2437
  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" },
2340
- compat: { "supportsStore": false, "supportsDeveloperRole": false, "supportsReasoningEffort": false },
2341
2438
  reasoning: true,
2342
2439
  input: ["text", "image"],
2343
2440
  cost: {
@@ -2347,7 +2444,7 @@ export const MODELS = {
2347
2444
  cacheWrite: 0,
2348
2445
  },
2349
2446
  contextWindow: 128000,
2350
- maxTokens: 16000,
2447
+ maxTokens: 32000,
2351
2448
  },
2352
2449
  "gemini-2.5-pro": {
2353
2450
  id: "gemini-2.5-pro",
@@ -2422,7 +2519,7 @@ export const MODELS = {
2422
2519
  cacheRead: 0,
2423
2520
  cacheWrite: 0,
2424
2521
  },
2425
- contextWindow: 128000,
2522
+ contextWindow: 64000,
2426
2523
  maxTokens: 16384,
2427
2524
  },
2428
2525
  "gpt-4o": {
@@ -2496,7 +2593,7 @@ export const MODELS = {
2496
2593
  cacheWrite: 0,
2497
2594
  },
2498
2595
  contextWindow: 128000,
2499
- maxTokens: 128000,
2596
+ maxTokens: 64000,
2500
2597
  },
2501
2598
  "gpt-5.1-codex": {
2502
2599
  id: "gpt-5.1-codex",
@@ -2550,7 +2647,7 @@ export const MODELS = {
2550
2647
  cacheWrite: 0,
2551
2648
  },
2552
2649
  contextWindow: 128000,
2553
- maxTokens: 100000,
2650
+ maxTokens: 128000,
2554
2651
  },
2555
2652
  "gpt-5.2": {
2556
2653
  id: "gpt-5.2",
@@ -3874,6 +3971,24 @@ export const MODELS = {
3874
3971
  contextWindow: 200000,
3875
3972
  maxTokens: 128000,
3876
3973
  },
3974
+ "zai-org/GLM-5": {
3975
+ id: "zai-org/GLM-5",
3976
+ name: "GLM-5",
3977
+ api: "openai-completions",
3978
+ provider: "huggingface",
3979
+ baseUrl: "https://router.huggingface.co/v1",
3980
+ compat: { "supportsDeveloperRole": false },
3981
+ reasoning: true,
3982
+ input: ["text"],
3983
+ cost: {
3984
+ input: 1,
3985
+ output: 3.2,
3986
+ cacheRead: 0.2,
3987
+ cacheWrite: 0,
3988
+ },
3989
+ contextWindow: 202752,
3990
+ maxTokens: 131072,
3991
+ },
3877
3992
  },
3878
3993
  "kimi-coding": {
3879
3994
  "k2p5": {
@@ -4870,6 +4985,23 @@ export const MODELS = {
4870
4985
  contextWindow: 400000,
4871
4986
  maxTokens: 128000,
4872
4987
  },
4988
+ "gpt-5.3-codex-spark": {
4989
+ id: "gpt-5.3-codex-spark",
4990
+ name: "GPT-5.3 Codex Spark",
4991
+ api: "openai-responses",
4992
+ provider: "openai",
4993
+ baseUrl: "https://api.openai.com/v1",
4994
+ reasoning: true,
4995
+ input: ["text", "image"],
4996
+ cost: {
4997
+ input: 1.75,
4998
+ output: 14,
4999
+ cacheRead: 0.175,
5000
+ cacheWrite: 0,
5001
+ },
5002
+ contextWindow: 128000,
5003
+ maxTokens: 32000,
5004
+ },
4873
5005
  "o1": {
4874
5006
  id: "o1",
4875
5007
  name: "o1",
@@ -5110,6 +5242,23 @@ export const MODELS = {
5110
5242
  contextWindow: 272000,
5111
5243
  maxTokens: 128000,
5112
5244
  },
5245
+ "gpt-5.3-codex-spark": {
5246
+ id: "gpt-5.3-codex-spark",
5247
+ name: "GPT-5.3 Codex Spark",
5248
+ api: "openai-codex-responses",
5249
+ provider: "openai-codex",
5250
+ baseUrl: "https://chatgpt.com/backend-api",
5251
+ reasoning: true,
5252
+ input: ["text"],
5253
+ cost: {
5254
+ input: 0,
5255
+ output: 0,
5256
+ cacheRead: 0,
5257
+ cacheWrite: 0,
5258
+ },
5259
+ contextWindow: 128000,
5260
+ maxTokens: 128000,
5261
+ },
5113
5262
  },
5114
5263
  "opencode": {
5115
5264
  "big-pickle": {
@@ -5316,23 +5465,6 @@ export const MODELS = {
5316
5465
  contextWindow: 204800,
5317
5466
  maxTokens: 131072,
5318
5467
  },
5319
- "glm-4.7-free": {
5320
- id: "glm-4.7-free",
5321
- name: "GLM-4.7 Free",
5322
- api: "openai-completions",
5323
- provider: "opencode",
5324
- baseUrl: "https://opencode.ai/zen/v1",
5325
- reasoning: true,
5326
- input: ["text"],
5327
- cost: {
5328
- input: 0,
5329
- output: 0,
5330
- cacheRead: 0,
5331
- cacheWrite: 0,
5332
- },
5333
- contextWindow: 204800,
5334
- maxTokens: 131072,
5335
- },
5336
5468
  "gpt-5": {
5337
5469
  id: "gpt-5",
5338
5470
  name: "GPT-5",
@@ -5571,47 +5703,13 @@ export const MODELS = {
5571
5703
  contextWindow: 204800,
5572
5704
  maxTokens: 131072,
5573
5705
  },
5574
- "minimax-m2.1-free": {
5575
- id: "minimax-m2.1-free",
5576
- name: "MiniMax M2.1 Free",
5577
- api: "anthropic-messages",
5578
- provider: "opencode",
5579
- baseUrl: "https://opencode.ai/zen",
5580
- reasoning: true,
5581
- input: ["text"],
5582
- cost: {
5583
- input: 0,
5584
- output: 0,
5585
- cacheRead: 0,
5586
- cacheWrite: 0,
5587
- },
5588
- contextWindow: 204800,
5589
- maxTokens: 131072,
5590
- },
5591
- "qwen3-coder": {
5592
- id: "qwen3-coder",
5593
- name: "Qwen3 Coder",
5706
+ "minimax-m2.5-free": {
5707
+ id: "minimax-m2.5-free",
5708
+ name: "MiniMax M2.5 Free",
5594
5709
  api: "openai-completions",
5595
5710
  provider: "opencode",
5596
5711
  baseUrl: "https://opencode.ai/zen/v1",
5597
- reasoning: false,
5598
- input: ["text"],
5599
- cost: {
5600
- input: 0.45,
5601
- output: 1.8,
5602
- cacheRead: 0,
5603
- cacheWrite: 0,
5604
- },
5605
- contextWindow: 262144,
5606
- maxTokens: 65536,
5607
- },
5608
- "trinity-large-preview-free": {
5609
- id: "trinity-large-preview-free",
5610
- name: "Trinity Large Preview",
5611
- api: "openai-completions",
5612
- provider: "opencode",
5613
- baseUrl: "https://opencode.ai/zen/v1",
5614
- reasoning: false,
5712
+ reasoning: true,
5615
5713
  input: ["text"],
5616
5714
  cost: {
5617
5715
  input: 0,
@@ -5619,7 +5717,7 @@ export const MODELS = {
5619
5717
  cacheRead: 0,
5620
5718
  cacheWrite: 0,
5621
5719
  },
5622
- contextWindow: 131072,
5720
+ contextWindow: 204800,
5623
5721
  maxTokens: 131072,
5624
5722
  },
5625
5723
  },
@@ -5641,23 +5739,6 @@ export const MODELS = {
5641
5739
  contextWindow: 256000,
5642
5740
  maxTokens: 4096,
5643
5741
  },
5644
- "ai21/jamba-mini-1.7": {
5645
- id: "ai21/jamba-mini-1.7",
5646
- name: "AI21: Jamba Mini 1.7",
5647
- api: "openai-completions",
5648
- provider: "openrouter",
5649
- baseUrl: "https://openrouter.ai/api/v1",
5650
- reasoning: false,
5651
- input: ["text"],
5652
- cost: {
5653
- input: 0.19999999999999998,
5654
- output: 0.39999999999999997,
5655
- cacheRead: 0,
5656
- cacheWrite: 0,
5657
- },
5658
- contextWindow: 256000,
5659
- maxTokens: 4096,
5660
- },
5661
5742
  "alibaba/tongyi-deepresearch-30b-a3b": {
5662
5743
  id: "alibaba/tongyi-deepresearch-30b-a3b",
5663
5744
  name: "Tongyi DeepResearch 30B A3B",
@@ -6780,6 +6861,23 @@ export const MODELS = {
6780
6861
  contextWindow: 196608,
6781
6862
  maxTokens: 4096,
6782
6863
  },
6864
+ "minimax/minimax-m2.5": {
6865
+ id: "minimax/minimax-m2.5",
6866
+ name: "MiniMax: MiniMax M2.5",
6867
+ api: "openai-completions",
6868
+ provider: "openrouter",
6869
+ baseUrl: "https://openrouter.ai/api/v1",
6870
+ reasoning: true,
6871
+ input: ["text"],
6872
+ cost: {
6873
+ input: 0.3,
6874
+ output: 1.2,
6875
+ cacheRead: 0.03,
6876
+ cacheWrite: 0,
6877
+ },
6878
+ contextWindow: 204800,
6879
+ maxTokens: 131072,
6880
+ },
6783
6881
  "mistralai/codestral-2508": {
6784
6882
  id: "mistralai/codestral-2508",
6785
6883
  name: "Mistral: Codestral 2508",
@@ -6865,23 +6963,6 @@ export const MODELS = {
6865
6963
  contextWindow: 262144,
6866
6964
  maxTokens: 4096,
6867
6965
  },
6868
- "mistralai/ministral-3b": {
6869
- id: "mistralai/ministral-3b",
6870
- name: "Mistral: Ministral 3B",
6871
- api: "openai-completions",
6872
- provider: "openrouter",
6873
- baseUrl: "https://openrouter.ai/api/v1",
6874
- reasoning: false,
6875
- input: ["text"],
6876
- cost: {
6877
- input: 0.04,
6878
- output: 0.04,
6879
- cacheRead: 0,
6880
- cacheWrite: 0,
6881
- },
6882
- contextWindow: 131072,
6883
- maxTokens: 4096,
6884
- },
6885
6966
  "mistralai/ministral-3b-2512": {
6886
6967
  id: "mistralai/ministral-3b-2512",
6887
6968
  name: "Mistral: Ministral 3 3B 2512",
@@ -6899,23 +6980,6 @@ export const MODELS = {
6899
6980
  contextWindow: 131072,
6900
6981
  maxTokens: 4096,
6901
6982
  },
6902
- "mistralai/ministral-8b": {
6903
- id: "mistralai/ministral-8b",
6904
- name: "Mistral: Ministral 8B",
6905
- api: "openai-completions",
6906
- provider: "openrouter",
6907
- baseUrl: "https://openrouter.ai/api/v1",
6908
- reasoning: false,
6909
- input: ["text"],
6910
- cost: {
6911
- input: 0.09999999999999999,
6912
- output: 0.09999999999999999,
6913
- cacheRead: 0,
6914
- cacheWrite: 0,
6915
- },
6916
- contextWindow: 131072,
6917
- maxTokens: 4096,
6918
- },
6919
6983
  "mistralai/ministral-8b-2512": {
6920
6984
  id: "mistralai/ministral-8b-2512",
6921
6985
  name: "Mistral: Ministral 3 8B 2512",
@@ -7154,23 +7218,6 @@ export const MODELS = {
7154
7218
  contextWindow: 32768,
7155
7219
  maxTokens: 4096,
7156
7220
  },
7157
- "mistralai/mistral-tiny": {
7158
- id: "mistralai/mistral-tiny",
7159
- name: "Mistral Tiny",
7160
- api: "openai-completions",
7161
- provider: "openrouter",
7162
- baseUrl: "https://openrouter.ai/api/v1",
7163
- reasoning: false,
7164
- input: ["text"],
7165
- cost: {
7166
- input: 0.25,
7167
- output: 0.25,
7168
- cacheRead: 0,
7169
- cacheWrite: 0,
7170
- },
7171
- contextWindow: 32768,
7172
- maxTokens: 4096,
7173
- },
7174
7221
  "mistralai/mixtral-8x22b-instruct": {
7175
7222
  id: "mistralai/mixtral-8x22b-instruct",
7176
7223
  name: "Mistral: Mixtral 8x22B Instruct",
@@ -7205,23 +7252,6 @@ export const MODELS = {
7205
7252
  contextWindow: 32768,
7206
7253
  maxTokens: 16384,
7207
7254
  },
7208
- "mistralai/pixtral-12b": {
7209
- id: "mistralai/pixtral-12b",
7210
- name: "Mistral: Pixtral 12B",
7211
- api: "openai-completions",
7212
- provider: "openrouter",
7213
- baseUrl: "https://openrouter.ai/api/v1",
7214
- reasoning: false,
7215
- input: ["text", "image"],
7216
- cost: {
7217
- input: 0.09999999999999999,
7218
- output: 0.09999999999999999,
7219
- cacheRead: 0,
7220
- cacheWrite: 0,
7221
- },
7222
- contextWindow: 32768,
7223
- maxTokens: 4096,
7224
- },
7225
7255
  "mistralai/pixtral-large-2411": {
7226
7256
  id: "mistralai/pixtral-large-2411",
7227
7257
  name: "Mistral: Pixtral Large 2411",
@@ -7333,9 +7363,9 @@ export const MODELS = {
7333
7363
  reasoning: true,
7334
7364
  input: ["text", "image"],
7335
7365
  cost: {
7336
- input: 0.3,
7337
- output: 1.5,
7338
- cacheRead: 0.049999999999999996,
7366
+ input: 0.44999999999999996,
7367
+ output: 2.25,
7368
+ cacheRead: 0.070000002,
7339
7369
  cacheWrite: 0,
7340
7370
  },
7341
7371
  contextWindow: 262144,
@@ -8361,6 +8391,23 @@ export const MODELS = {
8361
8391
  contextWindow: 200000,
8362
8392
  maxTokens: 100000,
8363
8393
  },
8394
+ "openrouter/aurora-alpha": {
8395
+ id: "openrouter/aurora-alpha",
8396
+ name: "Aurora Alpha",
8397
+ api: "openai-completions",
8398
+ provider: "openrouter",
8399
+ baseUrl: "https://openrouter.ai/api/v1",
8400
+ reasoning: true,
8401
+ input: ["text"],
8402
+ cost: {
8403
+ input: 0,
8404
+ output: 0,
8405
+ cacheRead: 0,
8406
+ cacheWrite: 0,
8407
+ },
8408
+ contextWindow: 128000,
8409
+ maxTokens: 50000,
8410
+ },
8364
8411
  "openrouter/auto": {
8365
8412
  id: "openrouter/auto",
8366
8413
  name: "Auto Router",
@@ -8395,23 +8442,6 @@ export const MODELS = {
8395
8442
  contextWindow: 200000,
8396
8443
  maxTokens: 4096,
8397
8444
  },
8398
- "openrouter/pony-alpha": {
8399
- id: "openrouter/pony-alpha",
8400
- name: "Pony Alpha",
8401
- api: "openai-completions",
8402
- provider: "openrouter",
8403
- baseUrl: "https://openrouter.ai/api/v1",
8404
- reasoning: true,
8405
- input: ["text"],
8406
- cost: {
8407
- input: 0,
8408
- output: 0,
8409
- cacheRead: 0,
8410
- cacheWrite: 0,
8411
- },
8412
- contextWindow: 200000,
8413
- maxTokens: 131000,
8414
- },
8415
8445
  "prime-intellect/intellect-3": {
8416
8446
  id: "prime-intellect/intellect-3",
8417
8447
  name: "Prime Intellect: INTELLECT-3",
@@ -8474,7 +8504,7 @@ export const MODELS = {
8474
8504
  cost: {
8475
8505
  input: 1.5999999999999999,
8476
8506
  output: 6.3999999999999995,
8477
- cacheRead: 0.64,
8507
+ cacheRead: 0.32,
8478
8508
  cacheWrite: 0,
8479
8509
  },
8480
8510
  contextWindow: 32768,
@@ -8491,11 +8521,11 @@ export const MODELS = {
8491
8521
  cost: {
8492
8522
  input: 0.39999999999999997,
8493
8523
  output: 1.2,
8494
- cacheRead: 0.16,
8524
+ cacheRead: 0.08,
8495
8525
  cacheWrite: 0,
8496
8526
  },
8497
- contextWindow: 131072,
8498
- maxTokens: 8192,
8527
+ contextWindow: 1000000,
8528
+ maxTokens: 32768,
8499
8529
  },
8500
8530
  "qwen/qwen-plus-2025-07-28": {
8501
8531
  id: "qwen/qwen-plus-2025-07-28",
@@ -8524,7 +8554,7 @@ export const MODELS = {
8524
8554
  input: ["text"],
8525
8555
  cost: {
8526
8556
  input: 0.39999999999999997,
8527
- output: 4,
8557
+ output: 1.2,
8528
8558
  cacheRead: 0,
8529
8559
  cacheWrite: 0,
8530
8560
  },
@@ -8542,10 +8572,10 @@ export const MODELS = {
8542
8572
  cost: {
8543
8573
  input: 0.049999999999999996,
8544
8574
  output: 0.19999999999999998,
8545
- cacheRead: 0.02,
8575
+ cacheRead: 0.01,
8546
8576
  cacheWrite: 0,
8547
8577
  },
8548
- contextWindow: 1000000,
8578
+ contextWindow: 131072,
8549
8579
  maxTokens: 8192,
8550
8580
  },
8551
8581
  "qwen/qwen-vl-max": {
@@ -8563,7 +8593,7 @@ export const MODELS = {
8563
8593
  cacheWrite: 0,
8564
8594
  },
8565
8595
  contextWindow: 131072,
8566
- maxTokens: 8192,
8596
+ maxTokens: 32768,
8567
8597
  },
8568
8598
  "qwen/qwen3-14b": {
8569
8599
  id: "qwen/qwen3-14b",
@@ -8591,13 +8621,13 @@ export const MODELS = {
8591
8621
  reasoning: true,
8592
8622
  input: ["text"],
8593
8623
  cost: {
8594
- input: 0.19999999999999998,
8595
- output: 0.6,
8596
- cacheRead: 0,
8624
+ input: 0.3,
8625
+ output: 1.2,
8626
+ cacheRead: 0.15,
8597
8627
  cacheWrite: 0,
8598
8628
  },
8599
8629
  contextWindow: 40960,
8600
- maxTokens: 4096,
8630
+ maxTokens: 40960,
8601
8631
  },
8602
8632
  "qwen/qwen3-235b-a22b-2507": {
8603
8633
  id: "qwen/qwen3-235b-a22b-2507",
@@ -8741,7 +8771,7 @@ export const MODELS = {
8741
8771
  api: "openai-completions",
8742
8772
  provider: "openrouter",
8743
8773
  baseUrl: "https://openrouter.ai/api/v1",
8744
- reasoning: true,
8774
+ reasoning: false,
8745
8775
  input: ["text"],
8746
8776
  cost: {
8747
8777
  input: 0.22,
@@ -8780,10 +8810,10 @@ export const MODELS = {
8780
8810
  cost: {
8781
8811
  input: 0.3,
8782
8812
  output: 1.5,
8783
- cacheRead: 0.08,
8813
+ cacheRead: 0.06,
8784
8814
  cacheWrite: 0,
8785
8815
  },
8786
- contextWindow: 128000,
8816
+ contextWindow: 1000000,
8787
8817
  maxTokens: 65536,
8788
8818
  },
8789
8819
  "qwen/qwen3-coder-next": {
@@ -8814,10 +8844,10 @@ export const MODELS = {
8814
8844
  cost: {
8815
8845
  input: 1,
8816
8846
  output: 5,
8817
- cacheRead: 0.09999999999999999,
8847
+ cacheRead: 0.19999999999999998,
8818
8848
  cacheWrite: 0,
8819
8849
  },
8820
- contextWindow: 128000,
8850
+ contextWindow: 1000000,
8821
8851
  maxTokens: 65536,
8822
8852
  },
8823
8853
  "qwen/qwen3-coder:exacto": {
@@ -8868,8 +8898,25 @@ export const MODELS = {
8868
8898
  cacheRead: 0.24,
8869
8899
  cacheWrite: 0,
8870
8900
  },
8871
- contextWindow: 256000,
8872
- maxTokens: 32768,
8901
+ contextWindow: 262144,
8902
+ maxTokens: 65536,
8903
+ },
8904
+ "qwen/qwen3-max-thinking": {
8905
+ id: "qwen/qwen3-max-thinking",
8906
+ name: "Qwen: Qwen3 Max Thinking",
8907
+ api: "openai-completions",
8908
+ provider: "openrouter",
8909
+ baseUrl: "https://openrouter.ai/api/v1",
8910
+ reasoning: true,
8911
+ input: ["text"],
8912
+ cost: {
8913
+ input: 1.2,
8914
+ output: 6,
8915
+ cacheRead: 0,
8916
+ cacheWrite: 0,
8917
+ },
8918
+ contextWindow: 262144,
8919
+ maxTokens: 65536,
8873
8920
  },
8874
8921
  "qwen/qwen3-next-80b-a3b-instruct": {
8875
8922
  id: "qwen/qwen3-next-80b-a3b-instruct",
@@ -8948,13 +8995,13 @@ export const MODELS = {
8948
8995
  reasoning: true,
8949
8996
  input: ["text", "image"],
8950
8997
  cost: {
8951
- input: 0.44999999999999996,
8952
- output: 3.5,
8998
+ input: 0,
8999
+ output: 0,
8953
9000
  cacheRead: 0,
8954
9001
  cacheWrite: 0,
8955
9002
  },
8956
- contextWindow: 262144,
8957
- maxTokens: 262144,
9003
+ contextWindow: 131072,
9004
+ maxTokens: 32768,
8958
9005
  },
8959
9006
  "qwen/qwen3-vl-30b-a3b-instruct": {
8960
9007
  id: "qwen/qwen3-vl-30b-a3b-instruct",
@@ -8965,13 +9012,13 @@ export const MODELS = {
8965
9012
  reasoning: false,
8966
9013
  input: ["text", "image"],
8967
9014
  cost: {
8968
- input: 0.15,
8969
- output: 0.6,
8970
- cacheRead: 0.075,
9015
+ input: 0.13,
9016
+ output: 0.52,
9017
+ cacheRead: 0,
8971
9018
  cacheWrite: 0,
8972
9019
  },
8973
- contextWindow: 262144,
8974
- maxTokens: 4096,
9020
+ contextWindow: 131072,
9021
+ maxTokens: 32768,
8975
9022
  },
8976
9023
  "qwen/qwen3-vl-30b-a3b-thinking": {
8977
9024
  id: "qwen/qwen3-vl-30b-a3b-thinking",
@@ -8982,8 +9029,25 @@ export const MODELS = {
8982
9029
  reasoning: true,
8983
9030
  input: ["text", "image"],
8984
9031
  cost: {
8985
- input: 0.19999999999999998,
8986
- output: 1,
9032
+ input: 0,
9033
+ output: 0,
9034
+ cacheRead: 0,
9035
+ cacheWrite: 0,
9036
+ },
9037
+ contextWindow: 131072,
9038
+ maxTokens: 32768,
9039
+ },
9040
+ "qwen/qwen3-vl-32b-instruct": {
9041
+ id: "qwen/qwen3-vl-32b-instruct",
9042
+ name: "Qwen: Qwen3 VL 32B Instruct",
9043
+ api: "openai-completions",
9044
+ provider: "openrouter",
9045
+ baseUrl: "https://openrouter.ai/api/v1",
9046
+ reasoning: false,
9047
+ input: ["text", "image"],
9048
+ cost: {
9049
+ input: 0.10400000000000001,
9050
+ output: 0.41600000000000004,
8987
9051
  cacheRead: 0,
8988
9052
  cacheWrite: 0,
8989
9053
  },
@@ -9016,12 +9080,12 @@ export const MODELS = {
9016
9080
  reasoning: true,
9017
9081
  input: ["text", "image"],
9018
9082
  cost: {
9019
- input: 0.18,
9020
- output: 2.0999999999999996,
9083
+ input: 0.117,
9084
+ output: 1.365,
9021
9085
  cacheRead: 0,
9022
9086
  cacheWrite: 0,
9023
9087
  },
9024
- contextWindow: 256000,
9088
+ contextWindow: 131072,
9025
9089
  maxTokens: 32768,
9026
9090
  },
9027
9091
  "qwen/qwq-32b": {
@@ -9092,22 +9156,22 @@ export const MODELS = {
9092
9156
  contextWindow: 32768,
9093
9157
  maxTokens: 32768,
9094
9158
  },
9095
- "stepfun-ai/step3": {
9096
- id: "stepfun-ai/step3",
9097
- name: "StepFun: Step3",
9159
+ "stepfun/step-3.5-flash": {
9160
+ id: "stepfun/step-3.5-flash",
9161
+ name: "StepFun: Step 3.5 Flash",
9098
9162
  api: "openai-completions",
9099
9163
  provider: "openrouter",
9100
9164
  baseUrl: "https://openrouter.ai/api/v1",
9101
9165
  reasoning: true,
9102
- input: ["text", "image"],
9166
+ input: ["text"],
9103
9167
  cost: {
9104
- input: 0.5700000000000001,
9105
- output: 1.42,
9106
- cacheRead: 0,
9168
+ input: 0.09999999999999999,
9169
+ output: 0.3,
9170
+ cacheRead: 0.02,
9107
9171
  cacheWrite: 0,
9108
9172
  },
9109
- contextWindow: 65536,
9110
- maxTokens: 65536,
9173
+ contextWindow: 256000,
9174
+ maxTokens: 256000,
9111
9175
  },
9112
9176
  "stepfun/step-3.5-flash:free": {
9113
9177
  id: "stepfun/step-3.5-flash:free",
@@ -9383,7 +9447,7 @@ export const MODELS = {
9383
9447
  },
9384
9448
  "z-ai/glm-4-32b": {
9385
9449
  id: "z-ai/glm-4-32b",
9386
- name: "Z.AI: GLM 4 32B ",
9450
+ name: "Z.ai: GLM 4 32B ",
9387
9451
  api: "openai-completions",
9388
9452
  provider: "openrouter",
9389
9453
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9400,7 +9464,7 @@ export const MODELS = {
9400
9464
  },
9401
9465
  "z-ai/glm-4.5": {
9402
9466
  id: "z-ai/glm-4.5",
9403
- name: "Z.AI: GLM 4.5",
9467
+ name: "Z.ai: GLM 4.5",
9404
9468
  api: "openai-completions",
9405
9469
  provider: "openrouter",
9406
9470
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9417,7 +9481,7 @@ export const MODELS = {
9417
9481
  },
9418
9482
  "z-ai/glm-4.5-air": {
9419
9483
  id: "z-ai/glm-4.5-air",
9420
- name: "Z.AI: GLM 4.5 Air",
9484
+ name: "Z.ai: GLM 4.5 Air",
9421
9485
  api: "openai-completions",
9422
9486
  provider: "openrouter",
9423
9487
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9434,7 +9498,7 @@ export const MODELS = {
9434
9498
  },
9435
9499
  "z-ai/glm-4.5-air:free": {
9436
9500
  id: "z-ai/glm-4.5-air:free",
9437
- name: "Z.AI: GLM 4.5 Air (free)",
9501
+ name: "Z.ai: GLM 4.5 Air (free)",
9438
9502
  api: "openai-completions",
9439
9503
  provider: "openrouter",
9440
9504
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9451,7 +9515,7 @@ export const MODELS = {
9451
9515
  },
9452
9516
  "z-ai/glm-4.5v": {
9453
9517
  id: "z-ai/glm-4.5v",
9454
- name: "Z.AI: GLM 4.5V",
9518
+ name: "Z.ai: GLM 4.5V",
9455
9519
  api: "openai-completions",
9456
9520
  provider: "openrouter",
9457
9521
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9468,7 +9532,7 @@ export const MODELS = {
9468
9532
  },
9469
9533
  "z-ai/glm-4.6": {
9470
9534
  id: "z-ai/glm-4.6",
9471
- name: "Z.AI: GLM 4.6",
9535
+ name: "Z.ai: GLM 4.6",
9472
9536
  api: "openai-completions",
9473
9537
  provider: "openrouter",
9474
9538
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9485,7 +9549,7 @@ export const MODELS = {
9485
9549
  },
9486
9550
  "z-ai/glm-4.6:exacto": {
9487
9551
  id: "z-ai/glm-4.6:exacto",
9488
- name: "Z.AI: GLM 4.6 (exacto)",
9552
+ name: "Z.ai: GLM 4.6 (exacto)",
9489
9553
  api: "openai-completions",
9490
9554
  provider: "openrouter",
9491
9555
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9502,7 +9566,7 @@ export const MODELS = {
9502
9566
  },
9503
9567
  "z-ai/glm-4.6v": {
9504
9568
  id: "z-ai/glm-4.6v",
9505
- name: "Z.AI: GLM 4.6V",
9569
+ name: "Z.ai: GLM 4.6V",
9506
9570
  api: "openai-completions",
9507
9571
  provider: "openrouter",
9508
9572
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9519,7 +9583,7 @@ export const MODELS = {
9519
9583
  },
9520
9584
  "z-ai/glm-4.7": {
9521
9585
  id: "z-ai/glm-4.7",
9522
- name: "Z.AI: GLM 4.7",
9586
+ name: "Z.ai: GLM 4.7",
9523
9587
  api: "openai-completions",
9524
9588
  provider: "openrouter",
9525
9589
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9536,7 +9600,7 @@ export const MODELS = {
9536
9600
  },
9537
9601
  "z-ai/glm-4.7-flash": {
9538
9602
  id: "z-ai/glm-4.7-flash",
9539
- name: "Z.AI: GLM 4.7 Flash",
9603
+ name: "Z.ai: GLM 4.7 Flash",
9540
9604
  api: "openai-completions",
9541
9605
  provider: "openrouter",
9542
9606
  baseUrl: "https://openrouter.ai/api/v1",
@@ -9551,6 +9615,23 @@ export const MODELS = {
9551
9615
  contextWindow: 202752,
9552
9616
  maxTokens: 4096,
9553
9617
  },
9618
+ "z-ai/glm-5": {
9619
+ id: "z-ai/glm-5",
9620
+ name: "Z.ai: GLM 5",
9621
+ api: "openai-completions",
9622
+ provider: "openrouter",
9623
+ baseUrl: "https://openrouter.ai/api/v1",
9624
+ reasoning: true,
9625
+ input: ["text"],
9626
+ cost: {
9627
+ input: 0.7999999999999999,
9628
+ output: 2.56,
9629
+ cacheRead: 0.16,
9630
+ cacheWrite: 0,
9631
+ },
9632
+ contextWindow: 202752,
9633
+ maxTokens: 131072,
9634
+ },
9554
9635
  },
9555
9636
  "vercel-ai-gateway": {
9556
9637
  "alibaba/qwen-3-14b": {
@@ -10038,8 +10119,8 @@ export const MODELS = {
10038
10119
  reasoning: true,
10039
10120
  input: ["text"],
10040
10121
  cost: {
10041
- input: 0.3,
10042
- output: 1,
10122
+ input: 0.21,
10123
+ output: 0.7899999999999999,
10043
10124
  cacheRead: 0,
10044
10125
  cacheWrite: 0,
10045
10126
  },
@@ -10063,22 +10144,22 @@ export const MODELS = {
10063
10144
  contextWindow: 131072,
10064
10145
  maxTokens: 65536,
10065
10146
  },
10066
- "deepseek/deepseek-v3.2-exp": {
10067
- id: "deepseek/deepseek-v3.2-exp",
10068
- name: "DeepSeek V3.2 Exp",
10147
+ "deepseek/deepseek-v3.2": {
10148
+ id: "deepseek/deepseek-v3.2",
10149
+ name: "DeepSeek V3.2",
10069
10150
  api: "anthropic-messages",
10070
10151
  provider: "vercel-ai-gateway",
10071
10152
  baseUrl: "https://ai-gateway.vercel.sh",
10072
- reasoning: true,
10153
+ reasoning: false,
10073
10154
  input: ["text"],
10074
10155
  cost: {
10075
- input: 0.27,
10076
- output: 0.39999999999999997,
10077
- cacheRead: 0,
10156
+ input: 0.26,
10157
+ output: 0.38,
10158
+ cacheRead: 0.13,
10078
10159
  cacheWrite: 0,
10079
10160
  },
10080
- contextWindow: 163840,
10081
- maxTokens: 163840,
10161
+ contextWindow: 128000,
10162
+ maxTokens: 8000,
10082
10163
  },
10083
10164
  "deepseek/deepseek-v3.2-thinking": {
10084
10165
  id: "deepseek/deepseek-v3.2-thinking",
@@ -10437,6 +10518,23 @@ export const MODELS = {
10437
10518
  contextWindow: 204800,
10438
10519
  maxTokens: 131072,
10439
10520
  },
10521
+ "minimax/minimax-m2.5": {
10522
+ id: "minimax/minimax-m2.5",
10523
+ name: "MiniMax M2.5",
10524
+ api: "anthropic-messages",
10525
+ provider: "vercel-ai-gateway",
10526
+ baseUrl: "https://ai-gateway.vercel.sh",
10527
+ reasoning: true,
10528
+ input: ["text"],
10529
+ cost: {
10530
+ input: 0.3,
10531
+ output: 1.2,
10532
+ cacheRead: 0.03,
10533
+ cacheWrite: 0.375,
10534
+ },
10535
+ contextWindow: 204800,
10536
+ maxTokens: 131000,
10537
+ },
10440
10538
  "mistral/codestral": {
10441
10539
  id: "mistral/codestral",
10442
10540
  name: "Mistral Codestral",
@@ -10958,7 +11056,7 @@ export const MODELS = {
10958
11056
  cost: {
10959
11057
  input: 1.25,
10960
11058
  output: 10,
10961
- cacheRead: 0.125,
11059
+ cacheRead: 0.13,
10962
11060
  cacheWrite: 0,
10963
11061
  },
10964
11062
  contextWindow: 400000,
@@ -11678,6 +11776,23 @@ export const MODELS = {
11678
11776
  contextWindow: 200000,
11679
11777
  maxTokens: 128000,
11680
11778
  },
11779
+ "zai/glm-5": {
11780
+ id: "zai/glm-5",
11781
+ name: "GLM-5",
11782
+ api: "anthropic-messages",
11783
+ provider: "vercel-ai-gateway",
11784
+ baseUrl: "https://ai-gateway.vercel.sh",
11785
+ reasoning: true,
11786
+ input: ["text"],
11787
+ cost: {
11788
+ input: 1,
11789
+ output: 3.1999999999999997,
11790
+ cacheRead: 0.19999999999999998,
11791
+ cacheWrite: 0,
11792
+ },
11793
+ contextWindow: 202800,
11794
+ maxTokens: 131072,
11795
+ },
11681
11796
  },
11682
11797
  "xai": {
11683
11798
  "grok-2": {
@@ -12200,6 +12315,24 @@ export const MODELS = {
12200
12315
  contextWindow: 200000,
12201
12316
  maxTokens: 131072,
12202
12317
  },
12318
+ "glm-5": {
12319
+ id: "glm-5",
12320
+ name: "GLM-5",
12321
+ api: "openai-completions",
12322
+ provider: "zai",
12323
+ baseUrl: "https://api.z.ai/api/coding/paas/v4",
12324
+ compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
12325
+ reasoning: true,
12326
+ input: ["text"],
12327
+ cost: {
12328
+ input: 1,
12329
+ output: 3.2,
12330
+ cacheRead: 0.2,
12331
+ cacheWrite: 0,
12332
+ },
12333
+ contextWindow: 204800,
12334
+ maxTokens: 131072,
12335
+ },
12203
12336
  },
12204
12337
  };
12205
12338
  //# sourceMappingURL=models.generated.js.map