@earendil-works/pi-ai 0.80.2 → 0.80.5

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 (176) hide show
  1. package/README.md +1 -1
  2. package/dist/api/anthropic-messages.d.ts.map +1 -1
  3. package/dist/api/anthropic-messages.js +13 -4
  4. package/dist/api/anthropic-messages.js.map +1 -1
  5. package/dist/api/azure-openai-responses.d.ts.map +1 -1
  6. package/dist/api/azure-openai-responses.js +14 -18
  7. package/dist/api/azure-openai-responses.js.map +1 -1
  8. package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
  9. package/dist/api/bedrock-converse-stream.js +21 -9
  10. package/dist/api/bedrock-converse-stream.js.map +1 -1
  11. package/dist/api/google-generative-ai.d.ts.map +1 -1
  12. package/dist/api/google-generative-ai.js +4 -2
  13. package/dist/api/google-generative-ai.js.map +1 -1
  14. package/dist/api/google-vertex.d.ts.map +1 -1
  15. package/dist/api/google-vertex.js +4 -2
  16. package/dist/api/google-vertex.js.map +1 -1
  17. package/dist/api/mistral-conversations.d.ts.map +1 -1
  18. package/dist/api/mistral-conversations.js +1 -1
  19. package/dist/api/mistral-conversations.js.map +1 -1
  20. package/dist/api/openai-codex-responses.d.ts.map +1 -1
  21. package/dist/api/openai-codex-responses.js +62 -42
  22. package/dist/api/openai-codex-responses.js.map +1 -1
  23. package/dist/api/openai-completions.d.ts.map +1 -1
  24. package/dist/api/openai-completions.js +12 -5
  25. package/dist/api/openai-completions.js.map +1 -1
  26. package/dist/api/openai-responses-shared.d.ts.map +1 -1
  27. package/dist/api/openai-responses-shared.js +153 -176
  28. package/dist/api/openai-responses-shared.js.map +1 -1
  29. package/dist/api/openai-responses.d.ts.map +1 -1
  30. package/dist/api/openai-responses.js +6 -16
  31. package/dist/api/openai-responses.js.map +1 -1
  32. package/dist/api/openrouter-images.d.ts.map +1 -1
  33. package/dist/api/openrouter-images.js +2 -1
  34. package/dist/api/openrouter-images.js.map +1 -1
  35. package/dist/api/simple-options.d.ts +3 -2
  36. package/dist/api/simple-options.d.ts.map +1 -1
  37. package/dist/api/simple-options.js +11 -2
  38. package/dist/api/simple-options.js.map +1 -1
  39. package/dist/api/transform-messages.d.ts.map +1 -1
  40. package/dist/api/transform-messages.js +4 -1
  41. package/dist/api/transform-messages.js.map +1 -1
  42. package/dist/image-models.generated.d.ts +34 -19
  43. package/dist/image-models.generated.d.ts.map +1 -1
  44. package/dist/image-models.generated.js +60 -45
  45. package/dist/image-models.generated.js.map +1 -1
  46. package/dist/index.d.ts +1 -0
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +1 -0
  49. package/dist/index.js.map +1 -1
  50. package/dist/models.generated.d.ts +1754 -498
  51. package/dist/models.generated.d.ts.map +1 -1
  52. package/dist/providers/amazon-bedrock.models.d.ts +157 -0
  53. package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
  54. package/dist/providers/amazon-bedrock.models.js +166 -12
  55. package/dist/providers/amazon-bedrock.models.js.map +1 -1
  56. package/dist/providers/anthropic.models.d.ts +6 -190
  57. package/dist/providers/anthropic.models.d.ts.map +1 -1
  58. package/dist/providers/anthropic.models.js +21 -207
  59. package/dist/providers/anthropic.models.js.map +1 -1
  60. package/dist/providers/azure-openai-responses.models.d.ts +84 -0
  61. package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
  62. package/dist/providers/azure-openai-responses.models.js +72 -0
  63. package/dist/providers/azure-openai-responses.models.js.map +1 -1
  64. package/dist/providers/cerebras.models.d.ts +21 -0
  65. package/dist/providers/cerebras.models.d.ts.map +1 -1
  66. package/dist/providers/cerebras.models.js +18 -0
  67. package/dist/providers/cerebras.models.js.map +1 -1
  68. package/dist/providers/cloudflare-ai-gateway.models.d.ts +21 -0
  69. package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
  70. package/dist/providers/cloudflare-ai-gateway.models.js +18 -0
  71. package/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
  72. package/dist/providers/fireworks.models.d.ts +28 -0
  73. package/dist/providers/fireworks.models.d.ts.map +1 -1
  74. package/dist/providers/fireworks.models.js +21 -2
  75. package/dist/providers/fireworks.models.js.map +1 -1
  76. package/dist/providers/github-copilot.models.d.ts +82 -0
  77. package/dist/providers/github-copilot.models.d.ts.map +1 -1
  78. package/dist/providers/github-copilot.models.js +62 -5
  79. package/dist/providers/github-copilot.models.js.map +1 -1
  80. package/dist/providers/groq.models.d.ts.map +1 -1
  81. package/dist/providers/groq.models.js +1 -1
  82. package/dist/providers/groq.models.js.map +1 -1
  83. package/dist/providers/huggingface.models.d.ts +100 -0
  84. package/dist/providers/huggingface.models.d.ts.map +1 -1
  85. package/dist/providers/huggingface.models.js +90 -0
  86. package/dist/providers/huggingface.models.js.map +1 -1
  87. package/dist/providers/minimax-cn.models.d.ts.map +1 -1
  88. package/dist/providers/minimax-cn.models.js +4 -4
  89. package/dist/providers/minimax-cn.models.js.map +1 -1
  90. package/dist/providers/minimax.models.d.ts.map +1 -1
  91. package/dist/providers/minimax.models.js +4 -4
  92. package/dist/providers/minimax.models.js.map +1 -1
  93. package/dist/providers/mistral.models.d.ts +1 -1
  94. package/dist/providers/mistral.models.d.ts.map +1 -1
  95. package/dist/providers/mistral.models.js +4 -4
  96. package/dist/providers/mistral.models.js.map +1 -1
  97. package/dist/providers/nvidia.models.d.ts +29 -1
  98. package/dist/providers/nvidia.models.d.ts.map +1 -1
  99. package/dist/providers/nvidia.models.js +23 -4
  100. package/dist/providers/nvidia.models.js.map +1 -1
  101. package/dist/providers/openai-codex.models.d.ts +63 -0
  102. package/dist/providers/openai-codex.models.d.ts.map +1 -1
  103. package/dist/providers/openai-codex.models.js +54 -0
  104. package/dist/providers/openai-codex.models.js.map +1 -1
  105. package/dist/providers/openai.models.d.ts +84 -0
  106. package/dist/providers/openai.models.d.ts.map +1 -1
  107. package/dist/providers/openai.models.js +72 -0
  108. package/dist/providers/openai.models.js.map +1 -1
  109. package/dist/providers/opencode-go.models.d.ts.map +1 -1
  110. package/dist/providers/opencode-go.models.js +6 -6
  111. package/dist/providers/opencode-go.models.js.map +1 -1
  112. package/dist/providers/opencode.models.d.ts +132 -0
  113. package/dist/providers/opencode.models.d.ts.map +1 -1
  114. package/dist/providers/opencode.models.js +111 -2
  115. package/dist/providers/opencode.models.js.map +1 -1
  116. package/dist/providers/openrouter.models.d.ts +358 -55
  117. package/dist/providers/openrouter.models.d.ts.map +1 -1
  118. package/dist/providers/openrouter.models.js +395 -138
  119. package/dist/providers/openrouter.models.js.map +1 -1
  120. package/dist/providers/together.models.d.ts +31 -0
  121. package/dist/providers/together.models.d.ts.map +1 -1
  122. package/dist/providers/together.models.js +21 -2
  123. package/dist/providers/together.models.js.map +1 -1
  124. package/dist/providers/vercel-ai-gateway.models.d.ts +446 -36
  125. package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
  126. package/dist/providers/vercel-ai-gateway.models.js +477 -80
  127. package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
  128. package/dist/providers/xai.models.d.ts +22 -0
  129. package/dist/providers/xai.models.d.ts.map +1 -1
  130. package/dist/providers/xai.models.js +18 -0
  131. package/dist/providers/xai.models.js.map +1 -1
  132. package/dist/providers/xiaomi-token-plan-ams.models.d.ts +0 -42
  133. package/dist/providers/xiaomi-token-plan-ams.models.d.ts.map +1 -1
  134. package/dist/providers/xiaomi-token-plan-ams.models.js +9 -45
  135. package/dist/providers/xiaomi-token-plan-ams.models.js.map +1 -1
  136. package/dist/providers/xiaomi-token-plan-cn.models.d.ts +0 -42
  137. package/dist/providers/xiaomi-token-plan-cn.models.d.ts.map +1 -1
  138. package/dist/providers/xiaomi-token-plan-cn.models.js +9 -45
  139. package/dist/providers/xiaomi-token-plan-cn.models.js.map +1 -1
  140. package/dist/providers/xiaomi-token-plan-sgp.models.d.ts +0 -42
  141. package/dist/providers/xiaomi-token-plan-sgp.models.d.ts.map +1 -1
  142. package/dist/providers/xiaomi-token-plan-sgp.models.js +9 -45
  143. package/dist/providers/xiaomi-token-plan-sgp.models.js.map +1 -1
  144. package/dist/providers/xiaomi.models.d.ts.map +1 -1
  145. package/dist/providers/xiaomi.models.js +15 -15
  146. package/dist/providers/xiaomi.models.js.map +1 -1
  147. package/dist/types.d.ts +6 -0
  148. package/dist/types.d.ts.map +1 -1
  149. package/dist/types.js.map +1 -1
  150. package/dist/utils/error-body.d.ts +25 -0
  151. package/dist/utils/error-body.d.ts.map +1 -0
  152. package/dist/utils/error-body.js +109 -0
  153. package/dist/utils/error-body.js.map +1 -0
  154. package/dist/utils/estimate.d.ts +17 -0
  155. package/dist/utils/estimate.d.ts.map +1 -0
  156. package/dist/utils/estimate.js +95 -0
  157. package/dist/utils/estimate.js.map +1 -0
  158. package/dist/utils/oauth/device-code.d.ts +2 -0
  159. package/dist/utils/oauth/device-code.d.ts.map +1 -1
  160. package/dist/utils/oauth/device-code.js +15 -2
  161. package/dist/utils/oauth/device-code.js.map +1 -1
  162. package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
  163. package/dist/utils/oauth/github-copilot.js +3 -2
  164. package/dist/utils/oauth/github-copilot.js.map +1 -1
  165. package/dist/utils/overflow.d.ts +1 -0
  166. package/dist/utils/overflow.d.ts.map +1 -1
  167. package/dist/utils/overflow.js +3 -0
  168. package/dist/utils/overflow.js.map +1 -1
  169. package/dist/utils/retry.d.ts +12 -0
  170. package/dist/utils/retry.d.ts.map +1 -0
  171. package/dist/utils/retry.js +90 -0
  172. package/dist/utils/retry.js.map +1 -0
  173. package/dist/utils/validation.d.ts.map +1 -1
  174. package/dist/utils/validation.js +9 -21
  175. package/dist/utils/validation.js.map +1 -1
  176. package/package.json +1 -1
@@ -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",
@@ -409,6 +511,25 @@ export const VERCEL_AI_GATEWAY_MODELS = {
409
511
  contextWindow: 200000,
410
512
  maxTokens: 8192,
411
513
  },
514
+ "anthropic/claude-fable-5": {
515
+ id: "anthropic/claude-fable-5",
516
+ name: "Claude Fable 5",
517
+ api: "anthropic-messages",
518
+ provider: "vercel-ai-gateway",
519
+ baseUrl: "https://ai-gateway.vercel.sh",
520
+ compat: { "forceAdaptiveThinking": true },
521
+ reasoning: true,
522
+ thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
523
+ input: ["text", "image"],
524
+ cost: {
525
+ input: 10,
526
+ output: 50,
527
+ cacheRead: 1,
528
+ cacheWrite: 12.5,
529
+ },
530
+ contextWindow: 1000000,
531
+ maxTokens: 128000,
532
+ },
412
533
  "anthropic/claude-haiku-4.5": {
413
534
  id: "anthropic/claude-haiku-4.5",
414
535
  name: "Claude Haiku 4.5",
@@ -586,6 +707,24 @@ export const VERCEL_AI_GATEWAY_MODELS = {
586
707
  contextWindow: 1000000,
587
708
  maxTokens: 128000,
588
709
  },
710
+ "anthropic/claude-sonnet-5": {
711
+ id: "anthropic/claude-sonnet-5",
712
+ name: "Claude Sonnet 5",
713
+ api: "anthropic-messages",
714
+ provider: "vercel-ai-gateway",
715
+ baseUrl: "https://ai-gateway.vercel.sh",
716
+ compat: { "forceAdaptiveThinking": true },
717
+ reasoning: true,
718
+ input: ["text", "image"],
719
+ cost: {
720
+ input: 2,
721
+ output: 10,
722
+ cacheRead: 0.2,
723
+ cacheWrite: 2.5,
724
+ },
725
+ contextWindow: 1000000,
726
+ maxTokens: 128000,
727
+ },
589
728
  "arcee-ai/trinity-large-preview": {
590
729
  id: "arcee-ai/trinity-large-preview",
591
730
  name: "Trinity Large Preview",
@@ -620,6 +759,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
620
759
  contextWindow: 262100,
621
760
  maxTokens: 80000,
622
761
  },
762
+ "arcee-ai/trinity-mini": {
763
+ id: "arcee-ai/trinity-mini",
764
+ name: "Trinity Mini",
765
+ api: "anthropic-messages",
766
+ provider: "vercel-ai-gateway",
767
+ baseUrl: "https://ai-gateway.vercel.sh",
768
+ reasoning: false,
769
+ input: ["text"],
770
+ cost: {
771
+ input: 0.045,
772
+ output: 0.15,
773
+ cacheRead: 0,
774
+ cacheWrite: 0,
775
+ },
776
+ contextWindow: 131072,
777
+ maxTokens: 131072,
778
+ },
623
779
  "bytedance/seed-1.6": {
624
780
  id: "bytedance/seed-1.6",
625
781
  name: "Seed 1.6",
@@ -627,7 +783,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
627
783
  provider: "vercel-ai-gateway",
628
784
  baseUrl: "https://ai-gateway.vercel.sh",
629
785
  reasoning: true,
630
- input: ["text"],
786
+ input: ["text", "image"],
631
787
  cost: {
632
788
  input: 0.25,
633
789
  output: 2,
@@ -637,6 +793,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
637
793
  contextWindow: 256000,
638
794
  maxTokens: 32000,
639
795
  },
796
+ "bytedance/seed-1.8": {
797
+ id: "bytedance/seed-1.8",
798
+ name: "Bytedance Seed 1.8",
799
+ api: "anthropic-messages",
800
+ provider: "vercel-ai-gateway",
801
+ baseUrl: "https://ai-gateway.vercel.sh",
802
+ reasoning: true,
803
+ input: ["text", "image"],
804
+ cost: {
805
+ input: 0.25,
806
+ output: 2,
807
+ cacheRead: 0.05,
808
+ cacheWrite: 0,
809
+ },
810
+ contextWindow: 256000,
811
+ maxTokens: 64000,
812
+ },
640
813
  "cohere/command-a": {
641
814
  id: "cohere/command-a",
642
815
  name: "Command A",
@@ -697,13 +870,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
697
870
  reasoning: true,
698
871
  input: ["text"],
699
872
  cost: {
700
- input: 0.56,
701
- output: 1.68,
702
- cacheRead: 0.28,
873
+ input: 0.6,
874
+ output: 1.7,
875
+ cacheRead: 0,
703
876
  cacheWrite: 0,
704
877
  },
705
- contextWindow: 163840,
706
- maxTokens: 8192,
878
+ contextWindow: 128000,
879
+ maxTokens: 128000,
707
880
  },
708
881
  "deepseek/deepseek-v3.1-terminus": {
709
882
  id: "deepseek/deepseek-v3.1-terminus",
@@ -728,8 +901,8 @@ export const VERCEL_AI_GATEWAY_MODELS = {
728
901
  api: "anthropic-messages",
729
902
  provider: "vercel-ai-gateway",
730
903
  baseUrl: "https://ai-gateway.vercel.sh",
731
- reasoning: true,
732
- input: ["text", "image"],
904
+ reasoning: false,
905
+ input: ["text"],
733
906
  cost: {
734
907
  input: 0.28,
735
908
  output: 0.42,
@@ -746,7 +919,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
746
919
  provider: "vercel-ai-gateway",
747
920
  baseUrl: "https://ai-gateway.vercel.sh",
748
921
  reasoning: true,
749
- input: ["text", "image"],
922
+ input: ["text"],
750
923
  cost: {
751
924
  input: 0.62,
752
925
  output: 1.85,
@@ -763,7 +936,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
763
936
  provider: "vercel-ai-gateway",
764
937
  baseUrl: "https://ai-gateway.vercel.sh",
765
938
  reasoning: true,
766
- input: ["text", "image"],
939
+ input: ["text"],
767
940
  cost: {
768
941
  input: 0.14,
769
942
  output: 0.28,
@@ -966,7 +1139,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
966
1139
  api: "anthropic-messages",
967
1140
  provider: "vercel-ai-gateway",
968
1141
  baseUrl: "https://ai-gateway.vercel.sh",
969
- reasoning: false,
1142
+ reasoning: true,
970
1143
  input: ["text", "image"],
971
1144
  cost: {
972
1145
  input: 0.14,
@@ -1011,6 +1184,40 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1011
1184
  contextWindow: 32000,
1012
1185
  maxTokens: 16384,
1013
1186
  },
1187
+ "interfaze/interfaze-beta": {
1188
+ id: "interfaze/interfaze-beta",
1189
+ name: "Interfaze Beta",
1190
+ api: "anthropic-messages",
1191
+ provider: "vercel-ai-gateway",
1192
+ baseUrl: "https://ai-gateway.vercel.sh",
1193
+ reasoning: true,
1194
+ input: ["text", "image"],
1195
+ cost: {
1196
+ input: 1.5,
1197
+ output: 3.5,
1198
+ cacheRead: 0,
1199
+ cacheWrite: 0,
1200
+ },
1201
+ contextWindow: 1000000,
1202
+ maxTokens: 32000,
1203
+ },
1204
+ "kwaipilot/kat-coder-pro-v1": {
1205
+ id: "kwaipilot/kat-coder-pro-v1",
1206
+ name: "KAT-Coder-Pro V1",
1207
+ api: "anthropic-messages",
1208
+ provider: "vercel-ai-gateway",
1209
+ baseUrl: "https://ai-gateway.vercel.sh",
1210
+ reasoning: false,
1211
+ input: ["text"],
1212
+ cost: {
1213
+ input: 0.3,
1214
+ output: 1.2,
1215
+ cacheRead: 0.06,
1216
+ cacheWrite: 0,
1217
+ },
1218
+ contextWindow: 256000,
1219
+ maxTokens: 32000,
1220
+ },
1014
1221
  "kwaipilot/kat-coder-pro-v2": {
1015
1222
  id: "kwaipilot/kat-coder-pro-v2",
1016
1223
  name: "Kat Coder Pro V2",
@@ -1045,6 +1252,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1045
1252
  contextWindow: 128000,
1046
1253
  maxTokens: 100000,
1047
1254
  },
1255
+ "meituan/longcat-flash-thinking-2601": {
1256
+ id: "meituan/longcat-flash-thinking-2601",
1257
+ name: "LongCat Flash Thinking 2601",
1258
+ api: "anthropic-messages",
1259
+ provider: "vercel-ai-gateway",
1260
+ baseUrl: "https://ai-gateway.vercel.sh",
1261
+ reasoning: true,
1262
+ input: ["text"],
1263
+ cost: {
1264
+ input: 0,
1265
+ output: 0,
1266
+ cacheRead: 0,
1267
+ cacheWrite: 0,
1268
+ },
1269
+ contextWindow: 32768,
1270
+ maxTokens: 32768,
1271
+ },
1048
1272
  "meta/llama-3.1-70b": {
1049
1273
  id: "meta/llama-3.1-70b",
1050
1274
  name: "Llama 3.1 70B Instruct",
@@ -1164,6 +1388,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1164
1388
  contextWindow: 128000,
1165
1389
  maxTokens: 8192,
1166
1390
  },
1391
+ "meta/muse-spark-1.1": {
1392
+ id: "meta/muse-spark-1.1",
1393
+ name: "Muse Spark 1.1",
1394
+ api: "anthropic-messages",
1395
+ provider: "vercel-ai-gateway",
1396
+ baseUrl: "https://ai-gateway.vercel.sh",
1397
+ reasoning: true,
1398
+ input: ["text"],
1399
+ cost: {
1400
+ input: 1.25,
1401
+ output: 4.25,
1402
+ cacheRead: 0.15,
1403
+ cacheWrite: 0,
1404
+ },
1405
+ contextWindow: 1048576,
1406
+ maxTokens: 1048576,
1407
+ },
1167
1408
  "minimax/minimax-m2": {
1168
1409
  id: "minimax/minimax-m2",
1169
1410
  name: "MiniMax M2",
@@ -1358,7 +1599,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1358
1599
  provider: "vercel-ai-gateway",
1359
1600
  baseUrl: "https://ai-gateway.vercel.sh",
1360
1601
  reasoning: false,
1361
- input: ["text"],
1602
+ input: ["text", "image"],
1362
1603
  cost: {
1363
1604
  input: 0.1,
1364
1605
  output: 0.3,
@@ -1368,6 +1609,57 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1368
1609
  contextWindow: 256000,
1369
1610
  maxTokens: 256000,
1370
1611
  },
1612
+ "mistral/magistral-medium": {
1613
+ id: "mistral/magistral-medium",
1614
+ name: "Magistral Medium 2509",
1615
+ api: "anthropic-messages",
1616
+ provider: "vercel-ai-gateway",
1617
+ baseUrl: "https://ai-gateway.vercel.sh",
1618
+ reasoning: true,
1619
+ input: ["text", "image"],
1620
+ cost: {
1621
+ input: 2,
1622
+ output: 5,
1623
+ cacheRead: 0,
1624
+ cacheWrite: 0,
1625
+ },
1626
+ contextWindow: 128000,
1627
+ maxTokens: 64000,
1628
+ },
1629
+ "mistral/magistral-small": {
1630
+ id: "mistral/magistral-small",
1631
+ name: "Magistral Small 2509",
1632
+ api: "anthropic-messages",
1633
+ provider: "vercel-ai-gateway",
1634
+ baseUrl: "https://ai-gateway.vercel.sh",
1635
+ reasoning: true,
1636
+ input: ["text", "image"],
1637
+ cost: {
1638
+ input: 0.5,
1639
+ output: 1.5,
1640
+ cacheRead: 0,
1641
+ cacheWrite: 0,
1642
+ },
1643
+ contextWindow: 128000,
1644
+ maxTokens: 64000,
1645
+ },
1646
+ "mistral/ministral-14b": {
1647
+ id: "mistral/ministral-14b",
1648
+ name: "Ministral 14B",
1649
+ api: "anthropic-messages",
1650
+ provider: "vercel-ai-gateway",
1651
+ baseUrl: "https://ai-gateway.vercel.sh",
1652
+ reasoning: false,
1653
+ input: ["text", "image"],
1654
+ cost: {
1655
+ input: 0.2,
1656
+ output: 0.2,
1657
+ cacheRead: 0,
1658
+ cacheWrite: 0,
1659
+ },
1660
+ contextWindow: 256000,
1661
+ maxTokens: 256000,
1662
+ },
1371
1663
  "mistral/ministral-3b": {
1372
1664
  id: "mistral/ministral-3b",
1373
1665
  name: "Ministral 3B",
@@ -1402,6 +1694,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1402
1694
  contextWindow: 128000,
1403
1695
  maxTokens: 4000,
1404
1696
  },
1697
+ "mistral/mistral-large-3": {
1698
+ id: "mistral/mistral-large-3",
1699
+ name: "Mistral Large 3",
1700
+ api: "anthropic-messages",
1701
+ provider: "vercel-ai-gateway",
1702
+ baseUrl: "https://ai-gateway.vercel.sh",
1703
+ reasoning: false,
1704
+ input: ["text", "image"],
1705
+ cost: {
1706
+ input: 0.5,
1707
+ output: 1.5,
1708
+ cacheRead: 0,
1709
+ cacheWrite: 0,
1710
+ },
1711
+ contextWindow: 256000,
1712
+ maxTokens: 256000,
1713
+ },
1405
1714
  "mistral/mistral-medium": {
1406
1715
  id: "mistral/mistral-medium",
1407
1716
  name: "Mistral Medium 3.1",
@@ -1426,7 +1735,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1426
1735
  provider: "vercel-ai-gateway",
1427
1736
  baseUrl: "https://ai-gateway.vercel.sh",
1428
1737
  reasoning: true,
1429
- input: ["text"],
1738
+ input: ["text", "image"],
1430
1739
  cost: {
1431
1740
  input: 1.5,
1432
1741
  output: 7.5,
@@ -1530,13 +1839,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1530
1839
  reasoning: true,
1531
1840
  input: ["text"],
1532
1841
  cost: {
1533
- input: 0.6,
1534
- output: 2.5,
1535
- cacheRead: 0.15,
1842
+ input: 0.47,
1843
+ output: 2,
1844
+ cacheRead: 0.141,
1536
1845
  cacheWrite: 0,
1537
1846
  },
1538
- contextWindow: 262114,
1539
- maxTokens: 262114,
1847
+ contextWindow: 216144,
1848
+ maxTokens: 216144,
1540
1849
  },
1541
1850
  "moonshotai/kimi-k2.5": {
1542
1851
  id: "moonshotai/kimi-k2.5",
@@ -1606,6 +1915,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1606
1915
  contextWindow: 262144,
1607
1916
  maxTokens: 32768,
1608
1917
  },
1918
+ "nvidia/nemotron-3-nano-30b-a3b": {
1919
+ id: "nvidia/nemotron-3-nano-30b-a3b",
1920
+ name: "Nemotron 3 Nano 30B A3B",
1921
+ api: "anthropic-messages",
1922
+ provider: "vercel-ai-gateway",
1923
+ baseUrl: "https://ai-gateway.vercel.sh",
1924
+ reasoning: true,
1925
+ input: ["text"],
1926
+ cost: {
1927
+ input: 0.05,
1928
+ output: 0.24,
1929
+ cacheRead: 0,
1930
+ cacheWrite: 0,
1931
+ },
1932
+ contextWindow: 262144,
1933
+ maxTokens: 262144,
1934
+ },
1609
1935
  "nvidia/nemotron-3-super-120b-a12b": {
1610
1936
  id: "nvidia/nemotron-3-super-120b-a12b",
1611
1937
  name: "NVIDIA Nemotron 3 Super 120B A12B",
@@ -1674,6 +2000,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1674
2000
  contextWindow: 131072,
1675
2001
  maxTokens: 131072,
1676
2002
  },
2003
+ "openai/gpt-3.5-turbo": {
2004
+ id: "openai/gpt-3.5-turbo",
2005
+ name: "GPT-3.5 Turbo",
2006
+ api: "anthropic-messages",
2007
+ provider: "vercel-ai-gateway",
2008
+ baseUrl: "https://ai-gateway.vercel.sh",
2009
+ reasoning: false,
2010
+ input: ["text"],
2011
+ cost: {
2012
+ input: 0.5,
2013
+ output: 1.5,
2014
+ cacheRead: 0,
2015
+ cacheWrite: 0,
2016
+ },
2017
+ contextWindow: 16385,
2018
+ maxTokens: 4096,
2019
+ },
1677
2020
  "openai/gpt-4-turbo": {
1678
2021
  id: "openai/gpt-4-turbo",
1679
2022
  name: "GPT-4 Turbo",
@@ -1799,7 +2142,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1799
2142
  api: "anthropic-messages",
1800
2143
  provider: "vercel-ai-gateway",
1801
2144
  baseUrl: "https://ai-gateway.vercel.sh",
1802
- reasoning: true,
2145
+ reasoning: false,
1803
2146
  input: ["text", "image"],
1804
2147
  cost: {
1805
2148
  input: 1.25,
@@ -1935,7 +2278,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1935
2278
  api: "anthropic-messages",
1936
2279
  provider: "vercel-ai-gateway",
1937
2280
  baseUrl: "https://ai-gateway.vercel.sh",
1938
- reasoning: true,
2281
+ reasoning: false,
1939
2282
  input: ["text", "image"],
1940
2283
  cost: {
1941
2284
  input: 1.25,
@@ -1987,7 +2330,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
1987
2330
  api: "anthropic-messages",
1988
2331
  provider: "vercel-ai-gateway",
1989
2332
  baseUrl: "https://ai-gateway.vercel.sh",
1990
- reasoning: true,
2333
+ reasoning: false,
1991
2334
  thinkingLevelMap: { "xhigh": "xhigh" },
1992
2335
  input: ["text", "image"],
1993
2336
  cost: {
@@ -2041,7 +2384,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2041
2384
  api: "anthropic-messages",
2042
2385
  provider: "vercel-ai-gateway",
2043
2386
  baseUrl: "https://ai-gateway.vercel.sh",
2044
- reasoning: true,
2387
+ reasoning: false,
2045
2388
  thinkingLevelMap: { "xhigh": "xhigh" },
2046
2389
  input: ["text", "image"],
2047
2390
  cost: {
@@ -2179,6 +2522,60 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2179
2522
  contextWindow: 1000000,
2180
2523
  maxTokens: 128000,
2181
2524
  },
2525
+ "openai/gpt-5.6-luna": {
2526
+ id: "openai/gpt-5.6-luna",
2527
+ name: "GPT 5.6 Luna",
2528
+ api: "anthropic-messages",
2529
+ provider: "vercel-ai-gateway",
2530
+ baseUrl: "https://ai-gateway.vercel.sh",
2531
+ reasoning: true,
2532
+ thinkingLevelMap: { "xhigh": "xhigh" },
2533
+ input: ["text", "image"],
2534
+ cost: {
2535
+ input: 1,
2536
+ output: 6,
2537
+ cacheRead: 0.1,
2538
+ cacheWrite: 1.25,
2539
+ },
2540
+ contextWindow: 1050000,
2541
+ maxTokens: 128000,
2542
+ },
2543
+ "openai/gpt-5.6-sol": {
2544
+ id: "openai/gpt-5.6-sol",
2545
+ name: "GPT 5.6 Sol",
2546
+ api: "anthropic-messages",
2547
+ provider: "vercel-ai-gateway",
2548
+ baseUrl: "https://ai-gateway.vercel.sh",
2549
+ reasoning: true,
2550
+ thinkingLevelMap: { "xhigh": "xhigh" },
2551
+ input: ["text", "image"],
2552
+ cost: {
2553
+ input: 5,
2554
+ output: 30,
2555
+ cacheRead: 0.5,
2556
+ cacheWrite: 6.25,
2557
+ },
2558
+ contextWindow: 1050000,
2559
+ maxTokens: 128000,
2560
+ },
2561
+ "openai/gpt-5.6-terra": {
2562
+ id: "openai/gpt-5.6-terra",
2563
+ name: "GPT 5.6 Terra",
2564
+ api: "anthropic-messages",
2565
+ provider: "vercel-ai-gateway",
2566
+ baseUrl: "https://ai-gateway.vercel.sh",
2567
+ reasoning: true,
2568
+ thinkingLevelMap: { "xhigh": "xhigh" },
2569
+ input: ["text", "image"],
2570
+ cost: {
2571
+ input: 2.5,
2572
+ output: 15,
2573
+ cacheRead: 0.25,
2574
+ cacheWrite: 3.125,
2575
+ },
2576
+ contextWindow: 1050000,
2577
+ maxTokens: 128000,
2578
+ },
2182
2579
  "openai/gpt-oss-120b": {
2183
2580
  id: "openai/gpt-oss-120b",
2184
2581
  name: "GPT OSS 120B",
@@ -2188,13 +2585,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2188
2585
  reasoning: true,
2189
2586
  input: ["text"],
2190
2587
  cost: {
2191
- input: 0.35,
2192
- output: 0.75,
2193
- cacheRead: 0.25,
2588
+ input: 0.1,
2589
+ output: 0.5,
2590
+ cacheRead: 0,
2194
2591
  cacheWrite: 0,
2195
2592
  },
2196
2593
  contextWindow: 131072,
2197
- maxTokens: 131000,
2594
+ maxTokens: 131072,
2198
2595
  },
2199
2596
  "openai/gpt-oss-20b": {
2200
2597
  id: "openai/gpt-oss-20b",
@@ -2332,40 +2729,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2332
2729
  contextWindow: 200000,
2333
2730
  maxTokens: 100000,
2334
2731
  },
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
2732
  "sakana/fugu-ultra": {
2370
2733
  id: "sakana/fugu-ultra",
2371
2734
  name: "Fugu Ultra",
@@ -2570,6 +2933,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2570
2933
  contextWindow: 1000000,
2571
2934
  maxTokens: 1000000,
2572
2935
  },
2936
+ "xai/grok-4.5": {
2937
+ id: "xai/grok-4.5",
2938
+ name: "Grok 4.5",
2939
+ api: "anthropic-messages",
2940
+ provider: "vercel-ai-gateway",
2941
+ baseUrl: "https://ai-gateway.vercel.sh",
2942
+ reasoning: true,
2943
+ input: ["text", "image"],
2944
+ cost: {
2945
+ input: 2,
2946
+ output: 6,
2947
+ cacheRead: 0.5,
2948
+ cacheWrite: 0,
2949
+ },
2950
+ contextWindow: 500000,
2951
+ maxTokens: 500000,
2952
+ },
2573
2953
  "xai/grok-build-0.1": {
2574
2954
  id: "xai/grok-build-0.1",
2575
2955
  name: "Grok Build 0.1",
@@ -2645,7 +3025,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2645
3025
  provider: "vercel-ai-gateway",
2646
3026
  baseUrl: "https://ai-gateway.vercel.sh",
2647
3027
  reasoning: true,
2648
- input: ["text", "image"],
3028
+ input: ["text"],
2649
3029
  cost: {
2650
3030
  input: 0.435,
2651
3031
  output: 0.87,
@@ -2657,7 +3037,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2657
3037
  },
2658
3038
  "zai/glm-4.5": {
2659
3039
  id: "zai/glm-4.5",
2660
- name: "GLM-4.5",
3040
+ name: "GLM 4.5",
2661
3041
  api: "anthropic-messages",
2662
3042
  provider: "vercel-ai-gateway",
2663
3043
  baseUrl: "https://ai-gateway.vercel.sh",
@@ -2766,13 +3146,13 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2766
3146
  reasoning: true,
2767
3147
  input: ["text"],
2768
3148
  cost: {
2769
- input: 2.25,
2770
- output: 2.75,
2771
- cacheRead: 2.25,
3149
+ input: 0.6,
3150
+ output: 2.2,
3151
+ cacheRead: 0.12,
2772
3152
  cacheWrite: 0,
2773
3153
  },
2774
- contextWindow: 131000,
2775
- maxTokens: 40000,
3154
+ contextWindow: 200000,
3155
+ maxTokens: 120000,
2776
3156
  },
2777
3157
  "zai/glm-4.7-flash": {
2778
3158
  id: "zai/glm-4.7-flash",
@@ -2817,8 +3197,8 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2817
3197
  reasoning: true,
2818
3198
  input: ["text"],
2819
3199
  cost: {
2820
- input: 1,
2821
- output: 3.2,
3200
+ input: 0.95,
3201
+ output: 3.15,
2822
3202
  cacheRead: 0.2,
2823
3203
  cacheWrite: 0,
2824
3204
  },
@@ -2849,15 +3229,15 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2849
3229
  provider: "vercel-ai-gateway",
2850
3230
  baseUrl: "https://ai-gateway.vercel.sh",
2851
3231
  reasoning: true,
2852
- input: ["text", "image"],
3232
+ input: ["text"],
2853
3233
  cost: {
2854
- input: 1.4,
2855
- output: 4.4,
3234
+ input: 1.3,
3235
+ output: 4.3,
2856
3236
  cacheRead: 0.26,
2857
3237
  cacheWrite: 0,
2858
3238
  },
2859
- contextWindow: 202800,
2860
- maxTokens: 64000,
3239
+ contextWindow: 202000,
3240
+ maxTokens: 202000,
2861
3241
  },
2862
3242
  "zai/glm-5.2": {
2863
3243
  id: "zai/glm-5.2",
@@ -2868,9 +3248,26 @@ export const VERCEL_AI_GATEWAY_MODELS = {
2868
3248
  reasoning: true,
2869
3249
  input: ["text"],
2870
3250
  cost: {
2871
- input: 1.5,
2872
- output: 4.5,
2873
- cacheRead: 0.3,
3251
+ input: 1.4,
3252
+ output: 4.4,
3253
+ cacheRead: 0.26,
3254
+ cacheWrite: 0,
3255
+ },
3256
+ contextWindow: 1040000,
3257
+ maxTokens: 128000,
3258
+ },
3259
+ "zai/glm-5.2-fast": {
3260
+ id: "zai/glm-5.2-fast",
3261
+ name: "GLM 5.2 Fast",
3262
+ api: "anthropic-messages",
3263
+ provider: "vercel-ai-gateway",
3264
+ baseUrl: "https://ai-gateway.vercel.sh",
3265
+ reasoning: true,
3266
+ input: ["text"],
3267
+ cost: {
3268
+ input: 3,
3269
+ output: 10.25,
3270
+ cacheRead: 0.5,
2874
3271
  cacheWrite: 0,
2875
3272
  },
2876
3273
  contextWindow: 1000000,