@psnext/slingcli 2.5.20260623-1 → 2.5.20260629-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +5 -2
  2. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +2 -1
  3. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +1 -1
  4. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  5. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +51 -47
  6. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +9 -3
  7. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +9 -6
  8. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare.js +0 -18
  9. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +6 -3
  10. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +6 -3
  11. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +1 -1
  12. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +15 -25
  13. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +30 -26
  14. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +189 -204
  15. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +24 -21
  16. package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +2 -5
  17. package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +11 -2
  18. package/node_modules/@earendil-works/pi-ai/dist/auth/helpers.js +2 -2
  19. package/node_modules/@earendil-works/pi-ai/dist/auth/resolve.js +19 -4
  20. package/node_modules/@earendil-works/pi-ai/dist/compat.js +81 -7
  21. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +45 -0
  22. package/node_modules/@earendil-works/pi-ai/dist/images-models.js +7 -3
  23. package/node_modules/@earendil-works/pi-ai/dist/index.js +1 -0
  24. package/node_modules/@earendil-works/pi-ai/dist/legacy-api-aliases.js +49 -0
  25. package/node_modules/@earendil-works/pi-ai/dist/models.js +7 -3
  26. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +25 -8
  27. package/node_modules/@earendil-works/pi-ai/dist/providers/ant-ling.models.js +3 -3
  28. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +0 -34
  29. package/node_modules/@earendil-works/pi-ai/dist/providers/cerebras.models.js +2 -0
  30. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js +2 -2
  31. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +21 -9
  32. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js +85 -0
  33. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.js +2 -2
  34. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.models.js +13 -13
  35. package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +2 -2
  36. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +1 -20
  37. package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +19 -1
  38. package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +72 -0
  39. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax-cn.models.js +4 -4
  40. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax.models.js +4 -4
  41. package/node_modules/@earendil-works/pi-ai/dist/providers/nvidia.models.js +19 -0
  42. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +11 -11
  43. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +15 -15
  44. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +310 -39
  45. package/node_modules/@earendil-works/pi-ai/dist/providers/together.models.js +37 -18
  46. package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +349 -77
  47. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +7 -0
  48. package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +6 -6
  49. package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +6 -6
  50. package/node_modules/@earendil-works/pi-ai/dist/utils/estimate.js +95 -0
  51. package/node_modules/@earendil-works/pi-ai/dist/utils/headers.js +10 -0
  52. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +2 -2
  53. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +86 -0
  54. package/node_modules/@earendil-works/pi-ai/package.json +1 -33
  55. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/file-processor.js +13 -25
  56. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +15 -30
  57. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +6 -3
  58. package/node_modules/@earendil-works/pi-coding-agent/dist/core/extensions/loader.js +5 -1
  59. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +2 -4
  60. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +1 -1
  61. package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.js +2 -0
  62. package/node_modules/@earendil-works/pi-coding-agent/dist/core/session-manager.js +9 -5
  63. package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js +11 -0
  64. package/node_modules/@earendil-works/pi-coding-agent/dist/core/timings.js +24 -14
  65. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +12 -25
  66. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +20 -4
  67. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +9 -9
  68. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +12 -3
  69. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +14 -3
  70. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/user-message.js +1 -1
  71. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +37 -25
  72. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-client.js +14 -0
  73. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/rpc/rpc-mode.js +16 -0
  74. package/node_modules/@earendil-works/pi-coding-agent/dist/rpc-entry.js +10 -0
  75. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-convert.js +21 -15
  76. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/image-process.js +83 -0
  77. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/mime.js +41 -0
  78. package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +12 -12
  79. package/node_modules/@earendil-works/pi-coding-agent/package.json +8 -5
  80. package/node_modules/@earendil-works/pi-orchestrator/dist/cli.js +136 -0
  81. package/node_modules/@earendil-works/pi-orchestrator/dist/config.js +55 -0
  82. package/node_modules/@earendil-works/pi-orchestrator/dist/handler.js +105 -0
  83. package/node_modules/@earendil-works/pi-orchestrator/dist/index.js +11 -0
  84. package/node_modules/@earendil-works/pi-orchestrator/dist/ipc/client.js +56 -0
  85. package/node_modules/@earendil-works/pi-orchestrator/dist/ipc/protocol.js +12 -0
  86. package/node_modules/@earendil-works/pi-orchestrator/dist/ipc/server.js +145 -0
  87. package/node_modules/@earendil-works/pi-orchestrator/dist/radius.js +365 -0
  88. package/node_modules/@earendil-works/pi-orchestrator/dist/rpc-process.js +168 -0
  89. package/node_modules/@earendil-works/pi-orchestrator/dist/serve.js +70 -0
  90. package/node_modules/@earendil-works/pi-orchestrator/dist/storage.js +58 -0
  91. package/node_modules/@earendil-works/pi-orchestrator/dist/supervisor.js +290 -0
  92. package/node_modules/@earendil-works/pi-orchestrator/dist/types.js +2 -0
  93. package/node_modules/@earendil-works/pi-orchestrator/package.json +45 -0
  94. package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +3 -0
  95. package/node_modules/@earendil-works/pi-tui/package.json +1 -1
  96. package/node_modules/@types/node/README.md +1 -1
  97. package/node_modules/@types/node/diagnostics_channel.d.ts +17 -20
  98. package/node_modules/@types/node/package.json +2 -2
  99. package/node_modules/brace-expansion/dist/commonjs/index.js +24 -14
  100. package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
  101. package/node_modules/brace-expansion/dist/esm/index.js +24 -14
  102. package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
  103. package/node_modules/brace-expansion/package.json +2 -2
  104. package/node_modules/google-auth-library/build/src/auth/googleauth.js +1 -1
  105. package/node_modules/google-auth-library/package.json +4 -4
  106. package/package.json +7 -6
  107. package/slingshot/index.js +302 -304
  108. package/node_modules/@earendil-works/pi-ai/dist/api-registry.js +0 -44
@@ -109,7 +109,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
109
109
  api: "anthropic-messages",
110
110
  provider: "vercel-ai-gateway",
111
111
  baseUrl: "https://ai-gateway.vercel.sh",
112
- reasoning: true,
112
+ reasoning: false,
113
113
  input: ["text"],
114
114
  cost: {
115
115
  input: 1.5,
@@ -126,7 +126,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
126
126
  api: "anthropic-messages",
127
127
  provider: "vercel-ai-gateway",
128
128
  baseUrl: "https://ai-gateway.vercel.sh",
129
- reasoning: true,
129
+ reasoning: false,
130
130
  input: ["text"],
131
131
  cost: {
132
132
  input: 0.15,
@@ -143,7 +143,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
143
143
  api: "anthropic-messages",
144
144
  provider: "vercel-ai-gateway",
145
145
  baseUrl: "https://ai-gateway.vercel.sh",
146
- reasoning: true,
146
+ reasoning: false,
147
147
  input: ["text"],
148
148
  cost: {
149
149
  input: 0.5,
@@ -256,6 +256,40 @@ export const VERCEL_AI_GATEWAY_MODELS = {
256
256
  contextWindow: 131072,
257
257
  maxTokens: 32768,
258
258
  },
259
+ "alibaba/qwen3-vl-235b-a22b-instruct": {
260
+ id: "alibaba/qwen3-vl-235b-a22b-instruct",
261
+ name: "Qwen3 VL 235B A22B Instruct",
262
+ api: "anthropic-messages",
263
+ provider: "vercel-ai-gateway",
264
+ baseUrl: "https://ai-gateway.vercel.sh",
265
+ reasoning: false,
266
+ input: ["text", "image"],
267
+ cost: {
268
+ input: 0.4,
269
+ output: 1.6,
270
+ cacheRead: 0,
271
+ cacheWrite: 0,
272
+ },
273
+ contextWindow: 131072,
274
+ maxTokens: 129024,
275
+ },
276
+ "alibaba/qwen3-vl-instruct": {
277
+ id: "alibaba/qwen3-vl-instruct",
278
+ name: "Qwen3 VL 235B A22B Instruct",
279
+ api: "anthropic-messages",
280
+ provider: "vercel-ai-gateway",
281
+ baseUrl: "https://ai-gateway.vercel.sh",
282
+ reasoning: false,
283
+ input: ["text", "image"],
284
+ cost: {
285
+ input: 0.4,
286
+ output: 1.6,
287
+ cacheRead: 0,
288
+ cacheWrite: 0,
289
+ },
290
+ contextWindow: 131072,
291
+ maxTokens: 129024,
292
+ },
259
293
  "alibaba/qwen3-vl-thinking": {
260
294
  id: "alibaba/qwen3-vl-thinking",
261
295
  name: "Qwen3 VL 235B A22B Thinking",
@@ -375,6 +409,74 @@ export const VERCEL_AI_GATEWAY_MODELS = {
375
409
  contextWindow: 1000000,
376
410
  maxTokens: 64000,
377
411
  },
412
+ "amazon/nova-2-lite": {
413
+ id: "amazon/nova-2-lite",
414
+ name: "Nova 2 Lite",
415
+ api: "anthropic-messages",
416
+ provider: "vercel-ai-gateway",
417
+ baseUrl: "https://ai-gateway.vercel.sh",
418
+ reasoning: true,
419
+ input: ["text", "image"],
420
+ cost: {
421
+ input: 0.3,
422
+ output: 2.5,
423
+ cacheRead: 0.075,
424
+ cacheWrite: 0,
425
+ },
426
+ contextWindow: 1000000,
427
+ maxTokens: 1000000,
428
+ },
429
+ "amazon/nova-lite": {
430
+ id: "amazon/nova-lite",
431
+ name: "Nova Lite",
432
+ api: "anthropic-messages",
433
+ provider: "vercel-ai-gateway",
434
+ baseUrl: "https://ai-gateway.vercel.sh",
435
+ reasoning: false,
436
+ input: ["text", "image"],
437
+ cost: {
438
+ input: 0.06,
439
+ output: 0.24,
440
+ cacheRead: 0,
441
+ cacheWrite: 0,
442
+ },
443
+ contextWindow: 300000,
444
+ maxTokens: 8192,
445
+ },
446
+ "amazon/nova-micro": {
447
+ id: "amazon/nova-micro",
448
+ name: "Nova Micro",
449
+ api: "anthropic-messages",
450
+ provider: "vercel-ai-gateway",
451
+ baseUrl: "https://ai-gateway.vercel.sh",
452
+ reasoning: false,
453
+ input: ["text"],
454
+ cost: {
455
+ input: 0.035,
456
+ output: 0.14,
457
+ cacheRead: 0,
458
+ cacheWrite: 0,
459
+ },
460
+ contextWindow: 128000,
461
+ maxTokens: 8192,
462
+ },
463
+ "amazon/nova-pro": {
464
+ id: "amazon/nova-pro",
465
+ name: "Nova Pro",
466
+ api: "anthropic-messages",
467
+ provider: "vercel-ai-gateway",
468
+ baseUrl: "https://ai-gateway.vercel.sh",
469
+ reasoning: false,
470
+ input: ["text", "image"],
471
+ cost: {
472
+ input: 0.8,
473
+ output: 3.2,
474
+ cacheRead: 0,
475
+ cacheWrite: 0,
476
+ },
477
+ contextWindow: 300000,
478
+ maxTokens: 8192,
479
+ },
378
480
  "anthropic/claude-3-haiku": {
379
481
  id: "anthropic/claude-3-haiku",
380
482
  name: "Claude 3 Haiku",
@@ -620,6 +722,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
620
722
  contextWindow: 262100,
621
723
  maxTokens: 80000,
622
724
  },
725
+ "arcee-ai/trinity-mini": {
726
+ id: "arcee-ai/trinity-mini",
727
+ name: "Trinity Mini",
728
+ api: "anthropic-messages",
729
+ provider: "vercel-ai-gateway",
730
+ baseUrl: "https://ai-gateway.vercel.sh",
731
+ reasoning: false,
732
+ input: ["text"],
733
+ cost: {
734
+ input: 0.045,
735
+ output: 0.15,
736
+ cacheRead: 0,
737
+ cacheWrite: 0,
738
+ },
739
+ contextWindow: 131072,
740
+ maxTokens: 131072,
741
+ },
623
742
  "bytedance/seed-1.6": {
624
743
  id: "bytedance/seed-1.6",
625
744
  name: "Seed 1.6",
@@ -627,7 +746,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
627
746
  provider: "vercel-ai-gateway",
628
747
  baseUrl: "https://ai-gateway.vercel.sh",
629
748
  reasoning: true,
630
- input: ["text"],
749
+ input: ["text", "image"],
631
750
  cost: {
632
751
  input: 0.25,
633
752
  output: 2,
@@ -637,6 +756,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
637
756
  contextWindow: 256000,
638
757
  maxTokens: 32000,
639
758
  },
759
+ "bytedance/seed-1.8": {
760
+ id: "bytedance/seed-1.8",
761
+ name: "Bytedance Seed 1.8",
762
+ api: "anthropic-messages",
763
+ provider: "vercel-ai-gateway",
764
+ baseUrl: "https://ai-gateway.vercel.sh",
765
+ reasoning: true,
766
+ input: ["text", "image"],
767
+ cost: {
768
+ input: 0.25,
769
+ output: 2,
770
+ cacheRead: 0.05,
771
+ cacheWrite: 0,
772
+ },
773
+ contextWindow: 256000,
774
+ maxTokens: 64000,
775
+ },
640
776
  "cohere/command-a": {
641
777
  id: "cohere/command-a",
642
778
  name: "Command A",
@@ -697,13 +833,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
697
833
  reasoning: true,
698
834
  input: ["text"],
699
835
  cost: {
700
- input: 0.56,
701
- output: 1.68,
702
- cacheRead: 0.28,
836
+ input: 0.6,
837
+ output: 1.7,
838
+ cacheRead: 0,
703
839
  cacheWrite: 0,
704
840
  },
705
- contextWindow: 163840,
706
- maxTokens: 8192,
841
+ contextWindow: 128000,
842
+ maxTokens: 128000,
707
843
  },
708
844
  "deepseek/deepseek-v3.1-terminus": {
709
845
  id: "deepseek/deepseek-v3.1-terminus",
@@ -728,8 +864,8 @@ export const VERCEL_AI_GATEWAY_MODELS = {
728
864
  api: "anthropic-messages",
729
865
  provider: "vercel-ai-gateway",
730
866
  baseUrl: "https://ai-gateway.vercel.sh",
731
- reasoning: true,
732
- input: ["text", "image"],
867
+ reasoning: false,
868
+ input: ["text"],
733
869
  cost: {
734
870
  input: 0.28,
735
871
  output: 0.42,
@@ -746,7 +882,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
746
882
  provider: "vercel-ai-gateway",
747
883
  baseUrl: "https://ai-gateway.vercel.sh",
748
884
  reasoning: true,
749
- input: ["text", "image"],
885
+ input: ["text"],
750
886
  cost: {
751
887
  input: 0.62,
752
888
  output: 1.85,
@@ -763,7 +899,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
763
899
  provider: "vercel-ai-gateway",
764
900
  baseUrl: "https://ai-gateway.vercel.sh",
765
901
  reasoning: true,
766
- input: ["text", "image"],
902
+ input: ["text"],
767
903
  cost: {
768
904
  input: 0.14,
769
905
  output: 0.28,
@@ -966,7 +1102,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
966
1102
  api: "anthropic-messages",
967
1103
  provider: "vercel-ai-gateway",
968
1104
  baseUrl: "https://ai-gateway.vercel.sh",
969
- reasoning: false,
1105
+ reasoning: true,
970
1106
  input: ["text", "image"],
971
1107
  cost: {
972
1108
  input: 0.14,
@@ -1011,6 +1147,40 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1011
1147
  contextWindow: 32000,
1012
1148
  maxTokens: 16384,
1013
1149
  },
1150
+ "interfaze/interfaze-beta": {
1151
+ id: "interfaze/interfaze-beta",
1152
+ name: "Interfaze Beta",
1153
+ api: "anthropic-messages",
1154
+ provider: "vercel-ai-gateway",
1155
+ baseUrl: "https://ai-gateway.vercel.sh",
1156
+ reasoning: true,
1157
+ input: ["text", "image"],
1158
+ cost: {
1159
+ input: 1.5,
1160
+ output: 3.5,
1161
+ cacheRead: 0,
1162
+ cacheWrite: 0,
1163
+ },
1164
+ contextWindow: 1000000,
1165
+ maxTokens: 32000,
1166
+ },
1167
+ "kwaipilot/kat-coder-pro-v1": {
1168
+ id: "kwaipilot/kat-coder-pro-v1",
1169
+ name: "KAT-Coder-Pro V1",
1170
+ api: "anthropic-messages",
1171
+ provider: "vercel-ai-gateway",
1172
+ baseUrl: "https://ai-gateway.vercel.sh",
1173
+ reasoning: false,
1174
+ input: ["text"],
1175
+ cost: {
1176
+ input: 0.3,
1177
+ output: 1.2,
1178
+ cacheRead: 0.06,
1179
+ cacheWrite: 0,
1180
+ },
1181
+ contextWindow: 256000,
1182
+ maxTokens: 32000,
1183
+ },
1014
1184
  "kwaipilot/kat-coder-pro-v2": {
1015
1185
  id: "kwaipilot/kat-coder-pro-v2",
1016
1186
  name: "Kat Coder Pro V2",
@@ -1045,6 +1215,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1045
1215
  contextWindow: 128000,
1046
1216
  maxTokens: 100000,
1047
1217
  },
1218
+ "meituan/longcat-flash-thinking-2601": {
1219
+ id: "meituan/longcat-flash-thinking-2601",
1220
+ name: "LongCat Flash Thinking 2601",
1221
+ api: "anthropic-messages",
1222
+ provider: "vercel-ai-gateway",
1223
+ baseUrl: "https://ai-gateway.vercel.sh",
1224
+ reasoning: true,
1225
+ input: ["text"],
1226
+ cost: {
1227
+ input: 0,
1228
+ output: 0,
1229
+ cacheRead: 0,
1230
+ cacheWrite: 0,
1231
+ },
1232
+ contextWindow: 32768,
1233
+ maxTokens: 32768,
1234
+ },
1048
1235
  "meta/llama-3.1-70b": {
1049
1236
  id: "meta/llama-3.1-70b",
1050
1237
  name: "Llama 3.1 70B Instruct",
@@ -1358,7 +1545,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1358
1545
  provider: "vercel-ai-gateway",
1359
1546
  baseUrl: "https://ai-gateway.vercel.sh",
1360
1547
  reasoning: false,
1361
- input: ["text"],
1548
+ input: ["text", "image"],
1362
1549
  cost: {
1363
1550
  input: 0.1,
1364
1551
  output: 0.3,
@@ -1368,6 +1555,57 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1368
1555
  contextWindow: 256000,
1369
1556
  maxTokens: 256000,
1370
1557
  },
1558
+ "mistral/magistral-medium": {
1559
+ id: "mistral/magistral-medium",
1560
+ name: "Magistral Medium 2509",
1561
+ api: "anthropic-messages",
1562
+ provider: "vercel-ai-gateway",
1563
+ baseUrl: "https://ai-gateway.vercel.sh",
1564
+ reasoning: true,
1565
+ input: ["text", "image"],
1566
+ cost: {
1567
+ input: 2,
1568
+ output: 5,
1569
+ cacheRead: 0,
1570
+ cacheWrite: 0,
1571
+ },
1572
+ contextWindow: 128000,
1573
+ maxTokens: 64000,
1574
+ },
1575
+ "mistral/magistral-small": {
1576
+ id: "mistral/magistral-small",
1577
+ name: "Magistral Small 2509",
1578
+ api: "anthropic-messages",
1579
+ provider: "vercel-ai-gateway",
1580
+ baseUrl: "https://ai-gateway.vercel.sh",
1581
+ reasoning: true,
1582
+ input: ["text", "image"],
1583
+ cost: {
1584
+ input: 0.5,
1585
+ output: 1.5,
1586
+ cacheRead: 0,
1587
+ cacheWrite: 0,
1588
+ },
1589
+ contextWindow: 128000,
1590
+ maxTokens: 64000,
1591
+ },
1592
+ "mistral/ministral-14b": {
1593
+ id: "mistral/ministral-14b",
1594
+ name: "Ministral 14B",
1595
+ api: "anthropic-messages",
1596
+ provider: "vercel-ai-gateway",
1597
+ baseUrl: "https://ai-gateway.vercel.sh",
1598
+ reasoning: false,
1599
+ input: ["text", "image"],
1600
+ cost: {
1601
+ input: 0.2,
1602
+ output: 0.2,
1603
+ cacheRead: 0,
1604
+ cacheWrite: 0,
1605
+ },
1606
+ contextWindow: 256000,
1607
+ maxTokens: 256000,
1608
+ },
1371
1609
  "mistral/ministral-3b": {
1372
1610
  id: "mistral/ministral-3b",
1373
1611
  name: "Ministral 3B",
@@ -1402,6 +1640,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1402
1640
  contextWindow: 128000,
1403
1641
  maxTokens: 4000,
1404
1642
  },
1643
+ "mistral/mistral-large-3": {
1644
+ id: "mistral/mistral-large-3",
1645
+ name: "Mistral Large 3",
1646
+ api: "anthropic-messages",
1647
+ provider: "vercel-ai-gateway",
1648
+ baseUrl: "https://ai-gateway.vercel.sh",
1649
+ reasoning: false,
1650
+ input: ["text", "image"],
1651
+ cost: {
1652
+ input: 0.5,
1653
+ output: 1.5,
1654
+ cacheRead: 0,
1655
+ cacheWrite: 0,
1656
+ },
1657
+ contextWindow: 256000,
1658
+ maxTokens: 256000,
1659
+ },
1405
1660
  "mistral/mistral-medium": {
1406
1661
  id: "mistral/mistral-medium",
1407
1662
  name: "Mistral Medium 3.1",
@@ -1426,7 +1681,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1426
1681
  provider: "vercel-ai-gateway",
1427
1682
  baseUrl: "https://ai-gateway.vercel.sh",
1428
1683
  reasoning: true,
1429
- input: ["text"],
1684
+ input: ["text", "image"],
1430
1685
  cost: {
1431
1686
  input: 1.5,
1432
1687
  output: 7.5,
@@ -1530,13 +1785,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1530
1785
  reasoning: true,
1531
1786
  input: ["text"],
1532
1787
  cost: {
1533
- input: 0.6,
1534
- output: 2.5,
1535
- cacheRead: 0.15,
1788
+ input: 0.47,
1789
+ output: 2,
1790
+ cacheRead: 0.141,
1536
1791
  cacheWrite: 0,
1537
1792
  },
1538
- contextWindow: 262114,
1539
- maxTokens: 262114,
1793
+ contextWindow: 216144,
1794
+ maxTokens: 216144,
1540
1795
  },
1541
1796
  "moonshotai/kimi-k2.5": {
1542
1797
  id: "moonshotai/kimi-k2.5",
@@ -1606,6 +1861,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1606
1861
  contextWindow: 262144,
1607
1862
  maxTokens: 32768,
1608
1863
  },
1864
+ "nvidia/nemotron-3-nano-30b-a3b": {
1865
+ id: "nvidia/nemotron-3-nano-30b-a3b",
1866
+ name: "Nemotron 3 Nano 30B A3B",
1867
+ api: "anthropic-messages",
1868
+ provider: "vercel-ai-gateway",
1869
+ baseUrl: "https://ai-gateway.vercel.sh",
1870
+ reasoning: true,
1871
+ input: ["text"],
1872
+ cost: {
1873
+ input: 0.05,
1874
+ output: 0.24,
1875
+ cacheRead: 0,
1876
+ cacheWrite: 0,
1877
+ },
1878
+ contextWindow: 262144,
1879
+ maxTokens: 262144,
1880
+ },
1609
1881
  "nvidia/nemotron-3-super-120b-a12b": {
1610
1882
  id: "nvidia/nemotron-3-super-120b-a12b",
1611
1883
  name: "NVIDIA Nemotron 3 Super 120B A12B",
@@ -1674,6 +1946,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1674
1946
  contextWindow: 131072,
1675
1947
  maxTokens: 131072,
1676
1948
  },
1949
+ "openai/gpt-3.5-turbo": {
1950
+ id: "openai/gpt-3.5-turbo",
1951
+ name: "GPT-3.5 Turbo",
1952
+ api: "anthropic-messages",
1953
+ provider: "vercel-ai-gateway",
1954
+ baseUrl: "https://ai-gateway.vercel.sh",
1955
+ reasoning: false,
1956
+ input: ["text"],
1957
+ cost: {
1958
+ input: 0.5,
1959
+ output: 1.5,
1960
+ cacheRead: 0,
1961
+ cacheWrite: 0,
1962
+ },
1963
+ contextWindow: 16385,
1964
+ maxTokens: 4096,
1965
+ },
1677
1966
  "openai/gpt-4-turbo": {
1678
1967
  id: "openai/gpt-4-turbo",
1679
1968
  name: "GPT-4 Turbo",
@@ -1799,7 +2088,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1799
2088
  api: "anthropic-messages",
1800
2089
  provider: "vercel-ai-gateway",
1801
2090
  baseUrl: "https://ai-gateway.vercel.sh",
1802
- reasoning: true,
2091
+ reasoning: false,
1803
2092
  input: ["text", "image"],
1804
2093
  cost: {
1805
2094
  input: 1.25,
@@ -1935,7 +2224,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1935
2224
  api: "anthropic-messages",
1936
2225
  provider: "vercel-ai-gateway",
1937
2226
  baseUrl: "https://ai-gateway.vercel.sh",
1938
- reasoning: true,
2227
+ reasoning: false,
1939
2228
  input: ["text", "image"],
1940
2229
  cost: {
1941
2230
  input: 1.25,
@@ -1987,7 +2276,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1987
2276
  api: "anthropic-messages",
1988
2277
  provider: "vercel-ai-gateway",
1989
2278
  baseUrl: "https://ai-gateway.vercel.sh",
1990
- reasoning: true,
2279
+ reasoning: false,
1991
2280
  thinkingLevelMap: { "xhigh": "xhigh" },
1992
2281
  input: ["text", "image"],
1993
2282
  cost: {
@@ -2041,7 +2330,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2041
2330
  api: "anthropic-messages",
2042
2331
  provider: "vercel-ai-gateway",
2043
2332
  baseUrl: "https://ai-gateway.vercel.sh",
2044
- reasoning: true,
2333
+ reasoning: false,
2045
2334
  thinkingLevelMap: { "xhigh": "xhigh" },
2046
2335
  input: ["text", "image"],
2047
2336
  cost: {
@@ -2188,13 +2477,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2188
2477
  reasoning: true,
2189
2478
  input: ["text"],
2190
2479
  cost: {
2191
- input: 0.35,
2192
- output: 0.75,
2193
- cacheRead: 0.25,
2480
+ input: 0.1,
2481
+ output: 0.5,
2482
+ cacheRead: 0,
2194
2483
  cacheWrite: 0,
2195
2484
  },
2196
2485
  contextWindow: 131072,
2197
- maxTokens: 131000,
2486
+ maxTokens: 131072,
2198
2487
  },
2199
2488
  "openai/gpt-oss-20b": {
2200
2489
  id: "openai/gpt-oss-20b",
@@ -2332,40 +2621,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2332
2621
  contextWindow: 200000,
2333
2622
  maxTokens: 100000,
2334
2623
  },
2335
- "perplexity/sonar": {
2336
- id: "perplexity/sonar",
2337
- name: "Sonar",
2338
- api: "anthropic-messages",
2339
- provider: "vercel-ai-gateway",
2340
- baseUrl: "https://ai-gateway.vercel.sh",
2341
- reasoning: false,
2342
- input: ["text", "image"],
2343
- cost: {
2344
- input: 0,
2345
- output: 0,
2346
- cacheRead: 0,
2347
- cacheWrite: 0,
2348
- },
2349
- contextWindow: 127000,
2350
- maxTokens: 8000,
2351
- },
2352
- "perplexity/sonar-pro": {
2353
- id: "perplexity/sonar-pro",
2354
- name: "Sonar Pro",
2355
- api: "anthropic-messages",
2356
- provider: "vercel-ai-gateway",
2357
- baseUrl: "https://ai-gateway.vercel.sh",
2358
- reasoning: false,
2359
- input: ["text", "image"],
2360
- cost: {
2361
- input: 0,
2362
- output: 0,
2363
- cacheRead: 0,
2364
- cacheWrite: 0,
2365
- },
2366
- contextWindow: 200000,
2367
- maxTokens: 8000,
2368
- },
2369
2624
  "sakana/fugu-ultra": {
2370
2625
  id: "sakana/fugu-ultra",
2371
2626
  name: "Fugu Ultra",
@@ -2645,7 +2900,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2645
2900
  provider: "vercel-ai-gateway",
2646
2901
  baseUrl: "https://ai-gateway.vercel.sh",
2647
2902
  reasoning: true,
2648
- input: ["text", "image"],
2903
+ input: ["text"],
2649
2904
  cost: {
2650
2905
  input: 0.435,
2651
2906
  output: 0.87,
@@ -2657,7 +2912,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2657
2912
  },
2658
2913
  "zai/glm-4.5": {
2659
2914
  id: "zai/glm-4.5",
2660
- name: "GLM-4.5",
2915
+ name: "GLM 4.5",
2661
2916
  api: "anthropic-messages",
2662
2917
  provider: "vercel-ai-gateway",
2663
2918
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -2766,13 +3021,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2766
3021
  reasoning: true,
2767
3022
  input: ["text"],
2768
3023
  cost: {
2769
- input: 2.25,
2770
- output: 2.75,
2771
- cacheRead: 2.25,
3024
+ input: 0.6,
3025
+ output: 2.2,
3026
+ cacheRead: 0.12,
2772
3027
  cacheWrite: 0,
2773
3028
  },
2774
- contextWindow: 131000,
2775
- maxTokens: 40000,
3029
+ contextWindow: 200000,
3030
+ maxTokens: 120000,
2776
3031
  },
2777
3032
  "zai/glm-4.7-flash": {
2778
3033
  id: "zai/glm-4.7-flash",
@@ -2817,8 +3072,8 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2817
3072
  reasoning: true,
2818
3073
  input: ["text"],
2819
3074
  cost: {
2820
- input: 1,
2821
- output: 3.2,
3075
+ input: 0.95,
3076
+ output: 3.15,
2822
3077
  cacheRead: 0.2,
2823
3078
  cacheWrite: 0,
2824
3079
  },
@@ -2849,15 +3104,15 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2849
3104
  provider: "vercel-ai-gateway",
2850
3105
  baseUrl: "https://ai-gateway.vercel.sh",
2851
3106
  reasoning: true,
2852
- input: ["text", "image"],
3107
+ input: ["text"],
2853
3108
  cost: {
2854
- input: 1.4,
2855
- output: 4.4,
3109
+ input: 1.3,
3110
+ output: 4.3,
2856
3111
  cacheRead: 0.26,
2857
3112
  cacheWrite: 0,
2858
3113
  },
2859
- contextWindow: 202800,
2860
- maxTokens: 64000,
3114
+ contextWindow: 202000,
3115
+ maxTokens: 202000,
2861
3116
  },
2862
3117
  "zai/glm-5.2": {
2863
3118
  id: "zai/glm-5.2",
@@ -2876,6 +3131,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2876
3131
  contextWindow: 1000000,
2877
3132
  maxTokens: 128000,
2878
3133
  },
3134
+ "zai/glm-5.2-fast": {
3135
+ id: "zai/glm-5.2-fast",
3136
+ name: "GLM 5.2 Fast",
3137
+ api: "anthropic-messages",
3138
+ provider: "vercel-ai-gateway",
3139
+ baseUrl: "https://ai-gateway.vercel.sh",
3140
+ reasoning: true,
3141
+ input: ["text"],
3142
+ cost: {
3143
+ input: 3,
3144
+ output: 10.25,
3145
+ cacheRead: 0.5,
3146
+ cacheWrite: 0,
3147
+ },
3148
+ contextWindow: 1000000,
3149
+ maxTokens: 128000,
3150
+ },
2879
3151
  "zai/glm-5v-turbo": {
2880
3152
  id: "zai/glm-5v-turbo",
2881
3153
  name: "GLM 5V Turbo",