@averyyy/pi-ai 0.80.4 → 0.80.6-piclient.11
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.
- package/README.md +7 -4
- package/dist/api/anthropic-messages.d.ts.map +1 -1
- package/dist/api/anthropic-messages.js +102 -50
- package/dist/api/anthropic-messages.js.map +1 -1
- package/dist/api/azure-openai-responses.d.ts +1 -1
- package/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/dist/api/azure-openai-responses.js +3 -1
- package/dist/api/azure-openai-responses.js.map +1 -1
- package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/dist/api/bedrock-converse-stream.js +23 -12
- package/dist/api/bedrock-converse-stream.js.map +1 -1
- package/dist/api/google-generative-ai.d.ts.map +1 -1
- package/dist/api/google-generative-ai.js.map +1 -1
- package/dist/api/google-vertex.d.ts.map +1 -1
- package/dist/api/google-vertex.js.map +1 -1
- package/dist/api/openai-codex-responses.d.ts +2 -1
- package/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/dist/api/openai-codex-responses.js +16 -5
- package/dist/api/openai-codex-responses.js.map +1 -1
- package/dist/api/openai-completions.d.ts +1 -1
- package/dist/api/openai-completions.d.ts.map +1 -1
- package/dist/api/openai-completions.js +14 -4
- package/dist/api/openai-completions.js.map +1 -1
- package/dist/api/openai-responses-shared.d.ts +3 -1
- package/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/dist/api/openai-responses-shared.js +58 -5
- package/dist/api/openai-responses-shared.js.map +1 -1
- package/dist/api/openai-responses.d.ts +2 -1
- package/dist/api/openai-responses.d.ts.map +1 -1
- package/dist/api/openai-responses.js +27 -9
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/simple-options.d.ts +1 -1
- package/dist/api/simple-options.d.ts.map +1 -1
- package/dist/api/simple-options.js +1 -1
- package/dist/api/simple-options.js.map +1 -1
- package/dist/api/transform-messages.d.ts.map +1 -1
- package/dist/api/transform-messages.js +4 -1
- package/dist/api/transform-messages.js.map +1 -1
- package/dist/cli.js +0 -0
- package/dist/compat.d.ts.map +1 -1
- package/dist/compat.js +2 -1
- package/dist/compat.js.map +1 -1
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +176 -176
- package/dist/image-models.generated.js.map +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +1818 -597
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.js +15 -6
- package/dist/models.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +5 -1
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/amazon-bedrock.models.d.ts +160 -5
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +124 -23
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/anthropic.models.d.ts +11 -171
- package/dist/providers/anthropic.models.d.ts.map +1 -1
- package/dist/providers/anthropic.models.js +9 -177
- package/dist/providers/anthropic.models.js.map +1 -1
- package/dist/providers/azure-openai-responses.models.d.ts +83 -0
- package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.models.js +71 -0
- package/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/dist/providers/cerebras.models.d.ts +21 -0
- package/dist/providers/cerebras.models.d.ts.map +1 -1
- package/dist/providers/cerebras.models.js +19 -1
- package/dist/providers/cerebras.models.js.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts +124 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.js +96 -4
- package/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/dist/providers/cloudflare-auth.d.ts.map +1 -1
- package/dist/providers/cloudflare-auth.js +9 -6
- package/dist/providers/cloudflare-auth.js.map +1 -1
- package/dist/providers/deepseek.models.d.ts +2 -2
- package/dist/providers/deepseek.models.d.ts.map +1 -1
- package/dist/providers/deepseek.models.js +2 -2
- package/dist/providers/deepseek.models.js.map +1 -1
- package/dist/providers/fireworks.models.d.ts +11 -6
- package/dist/providers/fireworks.models.d.ts.map +1 -1
- package/dist/providers/fireworks.models.js +6 -5
- package/dist/providers/fireworks.models.js.map +1 -1
- package/dist/providers/github-copilot.models.d.ts +176 -1
- package/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/dist/providers/github-copilot.models.js +125 -10
- package/dist/providers/github-copilot.models.js.map +1 -1
- package/dist/providers/huggingface.models.d.ts +20 -0
- package/dist/providers/huggingface.models.d.ts.map +1 -1
- package/dist/providers/huggingface.models.js +18 -0
- package/dist/providers/huggingface.models.js.map +1 -1
- package/dist/providers/kimi-coding.models.d.ts +20 -0
- package/dist/providers/kimi-coding.models.d.ts.map +1 -1
- package/dist/providers/kimi-coding.models.js +18 -0
- package/dist/providers/kimi-coding.models.js.map +1 -1
- package/dist/providers/mistral.models.d.ts +1 -1
- package/dist/providers/mistral.models.d.ts.map +1 -1
- package/dist/providers/mistral.models.js +4 -4
- package/dist/providers/mistral.models.js.map +1 -1
- package/dist/providers/nvidia.models.d.ts +1 -1
- package/dist/providers/nvidia.models.d.ts.map +1 -1
- package/dist/providers/nvidia.models.js +4 -4
- package/dist/providers/nvidia.models.js.map +1 -1
- package/dist/providers/openai-codex.models.d.ts +119 -0
- package/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/dist/providers/openai-codex.models.js +65 -0
- package/dist/providers/openai-codex.models.js.map +1 -1
- package/dist/providers/openai.models.d.ts +153 -0
- package/dist/providers/openai.models.d.ts.map +1 -1
- package/dist/providers/openai.models.js +85 -0
- package/dist/providers/openai.models.js.map +1 -1
- package/dist/providers/opencode-go.models.d.ts +3 -3
- package/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/dist/providers/opencode-go.models.js +5 -5
- package/dist/providers/opencode-go.models.js.map +1 -1
- package/dist/providers/opencode.models.d.ts +212 -4
- package/dist/providers/opencode.models.d.ts.map +1 -1
- package/dist/providers/opencode.models.js +173 -8
- package/dist/providers/opencode.models.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +367 -57
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +500 -257
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/together.models.d.ts.map +1 -1
- package/dist/providers/together.models.js +2 -2
- package/dist/providers/together.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +163 -70
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +197 -135
- package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/dist/providers/xai.models.d.ts +22 -0
- package/dist/providers/xai.models.d.ts.map +1 -1
- package/dist/providers/xai.models.js +18 -0
- package/dist/providers/xai.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-ams.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-cn.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts +0 -42
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.js +9 -45
- package/dist/providers/xiaomi-token-plan-sgp.models.js.map +1 -1
- package/dist/providers/zai-coding-cn.models.d.ts +1 -1
- package/dist/providers/zai-coding-cn.models.d.ts.map +1 -1
- package/dist/providers/zai-coding-cn.models.js +1 -1
- package/dist/providers/zai-coding-cn.models.js.map +1 -1
- package/dist/providers/zai.models.d.ts +1 -1
- package/dist/providers/zai.models.d.ts.map +1 -1
- package/dist/providers/zai.models.js +1 -1
- package/dist/providers/zai.models.js.map +1 -1
- package/dist/types.d.ts +37 -11
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/deferred-tools.d.ts +9 -0
- package/dist/utils/deferred-tools.d.ts.map +1 -0
- package/dist/utils/deferred-tools.js +36 -0
- package/dist/utils/deferred-tools.js.map +1 -0
- package/dist/utils/estimate.d.ts +3 -3
- package/dist/utils/estimate.d.ts.map +1 -1
- package/dist/utils/estimate.js +35 -14
- package/dist/utils/estimate.js.map +1 -1
- package/dist/utils/oauth/device-code.d.ts +2 -0
- package/dist/utils/oauth/device-code.d.ts.map +1 -1
- package/dist/utils/oauth/device-code.js +15 -2
- package/dist/utils/oauth/device-code.js.map +1 -1
- package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/dist/utils/oauth/github-copilot.js +3 -2
- package/dist/utils/oauth/github-copilot.js.map +1 -1
- package/dist/utils/overflow.d.ts +1 -0
- package/dist/utils/overflow.d.ts.map +1 -1
- package/dist/utils/overflow.js +3 -0
- package/dist/utils/overflow.js.map +1 -1
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +4 -0
- package/dist/utils/retry.js.map +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +9 -21
- package/dist/utils/validation.js.map +1 -1
- package/package.json +5 -2
- package/dist/api-registry.d.ts +0 -20
- package/dist/api-registry.d.ts.map +0 -1
- package/dist/api-registry.js +0 -44
- package/dist/api-registry.js.map +0 -1
- package/dist/providers/cloudflare.d.ts +0 -13
- package/dist/providers/cloudflare.d.ts.map +0 -1
- package/dist/providers/cloudflare.js +0 -26
- package/dist/providers/cloudflare.js.map +0 -1
- package/dist/providers/github-copilot-headers.d.ts +0 -8
- package/dist/providers/github-copilot-headers.d.ts.map +0 -1
- package/dist/providers/github-copilot-headers.js +0 -29
- package/dist/providers/github-copilot-headers.js.map +0 -1
- package/dist/providers/google-shared.d.ts +0 -70
- package/dist/providers/google-shared.d.ts.map +0 -1
- package/dist/providers/google-shared.js +0 -329
- package/dist/providers/google-shared.js.map +0 -1
- package/dist/providers/images/openrouter.d.ts +0 -3
- package/dist/providers/images/openrouter.d.ts.map +0 -1
- package/dist/providers/images/openrouter.js +0 -128
- package/dist/providers/images/openrouter.js.map +0 -1
- package/dist/providers/openai-codex-responses.d.ts +0 -30
- package/dist/providers/openai-codex-responses.d.ts.map +0 -1
- package/dist/providers/openai-codex-responses.js +0 -1173
- package/dist/providers/openai-codex-responses.js.map +0 -1
- package/dist/providers/openai-completions.d.ts +0 -19
- package/dist/providers/openai-completions.d.ts.map +0 -1
- package/dist/providers/openai-completions.js +0 -977
- package/dist/providers/openai-completions.js.map +0 -1
- package/dist/providers/openai-prompt-cache.d.ts +0 -3
- package/dist/providers/openai-prompt-cache.d.ts.map +0 -1
- package/dist/providers/openai-prompt-cache.js +0 -10
- package/dist/providers/openai-prompt-cache.js.map +0 -1
- package/dist/providers/openai-responses-shared.d.ts +0 -18
- package/dist/providers/openai-responses-shared.d.ts.map +0 -1
- package/dist/providers/openai-responses-shared.js +0 -496
- package/dist/providers/openai-responses-shared.js.map +0 -1
- package/dist/providers/openai-responses.d.ts +0 -13
- package/dist/providers/openai-responses.d.ts.map +0 -1
- package/dist/providers/openai-responses.js +0 -234
- package/dist/providers/openai-responses.js.map +0 -1
- package/dist/providers/register-builtins.d.ts +0 -35
- package/dist/providers/register-builtins.d.ts.map +0 -1
- package/dist/providers/register-builtins.js +0 -254
- package/dist/providers/register-builtins.js.map +0 -1
- package/dist/providers/simple-options.d.ts +0 -8
- package/dist/providers/simple-options.d.ts.map +0 -1
- package/dist/providers/simple-options.js +0 -42
- package/dist/providers/simple-options.js.map +0 -1
- package/dist/providers/transform-messages.d.ts +0 -8
- package/dist/providers/transform-messages.d.ts.map +0 -1
- package/dist/providers/transform-messages.js +0 -184
- package/dist/providers/transform-messages.js.map +0 -1
- package/dist/stream.d.ts +0 -8
- package/dist/stream.d.ts.map +0 -1
- package/dist/stream.js +0 -39
- package/dist/stream.js.map +0 -1
|
@@ -494,22 +494,24 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
494
494
|
contextWindow: 200000,
|
|
495
495
|
maxTokens: 4096,
|
|
496
496
|
},
|
|
497
|
-
"anthropic/claude-
|
|
498
|
-
id: "anthropic/claude-
|
|
499
|
-
name: "Claude
|
|
497
|
+
"anthropic/claude-fable-5": {
|
|
498
|
+
id: "anthropic/claude-fable-5",
|
|
499
|
+
name: "Claude Fable 5",
|
|
500
500
|
api: "anthropic-messages",
|
|
501
501
|
provider: "vercel-ai-gateway",
|
|
502
502
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
503
|
-
|
|
503
|
+
compat: { "forceAdaptiveThinking": true },
|
|
504
|
+
reasoning: true,
|
|
505
|
+
thinkingLevelMap: { "off": null, "xhigh": "xhigh", "max": "max" },
|
|
504
506
|
input: ["text", "image"],
|
|
505
507
|
cost: {
|
|
506
|
-
input:
|
|
507
|
-
output:
|
|
508
|
-
cacheRead:
|
|
509
|
-
cacheWrite:
|
|
508
|
+
input: 10,
|
|
509
|
+
output: 50,
|
|
510
|
+
cacheRead: 1,
|
|
511
|
+
cacheWrite: 12.5,
|
|
510
512
|
},
|
|
511
|
-
contextWindow:
|
|
512
|
-
maxTokens:
|
|
513
|
+
contextWindow: 1000000,
|
|
514
|
+
maxTokens: 128000,
|
|
513
515
|
},
|
|
514
516
|
"anthropic/claude-haiku-4.5": {
|
|
515
517
|
id: "anthropic/claude-haiku-4.5",
|
|
@@ -543,7 +545,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
543
545
|
cacheWrite: 18.75,
|
|
544
546
|
},
|
|
545
547
|
contextWindow: 200000,
|
|
546
|
-
maxTokens:
|
|
548
|
+
maxTokens: 8192,
|
|
547
549
|
},
|
|
548
550
|
"anthropic/claude-opus-4.1": {
|
|
549
551
|
id: "anthropic/claude-opus-4.1",
|
|
@@ -587,7 +589,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
587
589
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
588
590
|
compat: { "forceAdaptiveThinking": true },
|
|
589
591
|
reasoning: true,
|
|
590
|
-
thinkingLevelMap: { "
|
|
592
|
+
thinkingLevelMap: { "max": "max" },
|
|
591
593
|
input: ["text", "image"],
|
|
592
594
|
cost: {
|
|
593
595
|
input: 5,
|
|
@@ -606,7 +608,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
606
608
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
607
609
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
608
610
|
reasoning: true,
|
|
609
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
611
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
610
612
|
input: ["text", "image"],
|
|
611
613
|
cost: {
|
|
612
614
|
input: 5,
|
|
@@ -617,6 +619,25 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
617
619
|
contextWindow: 1000000,
|
|
618
620
|
maxTokens: 128000,
|
|
619
621
|
},
|
|
622
|
+
"anthropic/claude-opus-4.7-fast": {
|
|
623
|
+
id: "anthropic/claude-opus-4.7-fast",
|
|
624
|
+
name: "Claude Opus 4.7 (Fast)",
|
|
625
|
+
api: "anthropic-messages",
|
|
626
|
+
provider: "vercel-ai-gateway",
|
|
627
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
628
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
629
|
+
reasoning: true,
|
|
630
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
631
|
+
input: ["text", "image"],
|
|
632
|
+
cost: {
|
|
633
|
+
input: 30,
|
|
634
|
+
output: 150,
|
|
635
|
+
cacheRead: 3,
|
|
636
|
+
cacheWrite: 37.5,
|
|
637
|
+
},
|
|
638
|
+
contextWindow: 1000000,
|
|
639
|
+
maxTokens: 128000,
|
|
640
|
+
},
|
|
620
641
|
"anthropic/claude-opus-4.8": {
|
|
621
642
|
id: "anthropic/claude-opus-4.8",
|
|
622
643
|
name: "Claude Opus 4.8",
|
|
@@ -625,7 +646,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
625
646
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
626
647
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
627
648
|
reasoning: true,
|
|
628
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
649
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
629
650
|
input: ["text", "image"],
|
|
630
651
|
cost: {
|
|
631
652
|
input: 5,
|
|
@@ -636,6 +657,25 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
636
657
|
contextWindow: 1000000,
|
|
637
658
|
maxTokens: 128000,
|
|
638
659
|
},
|
|
660
|
+
"anthropic/claude-opus-4.8-fast": {
|
|
661
|
+
id: "anthropic/claude-opus-4.8-fast",
|
|
662
|
+
name: "Claude Opus 4.8 (Fast)",
|
|
663
|
+
api: "anthropic-messages",
|
|
664
|
+
provider: "vercel-ai-gateway",
|
|
665
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
666
|
+
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
667
|
+
reasoning: true,
|
|
668
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
669
|
+
input: ["text", "image"],
|
|
670
|
+
cost: {
|
|
671
|
+
input: 10,
|
|
672
|
+
output: 50,
|
|
673
|
+
cacheRead: 1,
|
|
674
|
+
cacheWrite: 12.5,
|
|
675
|
+
},
|
|
676
|
+
contextWindow: 1000000,
|
|
677
|
+
maxTokens: 128000,
|
|
678
|
+
},
|
|
639
679
|
"anthropic/claude-sonnet-4": {
|
|
640
680
|
id: "anthropic/claude-sonnet-4",
|
|
641
681
|
name: "Claude Sonnet 4",
|
|
@@ -651,7 +691,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
651
691
|
cacheWrite: 3.75,
|
|
652
692
|
},
|
|
653
693
|
contextWindow: 1000000,
|
|
654
|
-
maxTokens:
|
|
694
|
+
maxTokens: 8192,
|
|
655
695
|
},
|
|
656
696
|
"anthropic/claude-sonnet-4.5": {
|
|
657
697
|
id: "anthropic/claude-sonnet-4.5",
|
|
@@ -678,6 +718,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
678
718
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
679
719
|
compat: { "forceAdaptiveThinking": true },
|
|
680
720
|
reasoning: true,
|
|
721
|
+
thinkingLevelMap: { "max": "max" },
|
|
681
722
|
input: ["text", "image"],
|
|
682
723
|
cost: {
|
|
683
724
|
input: 3,
|
|
@@ -696,6 +737,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
696
737
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
697
738
|
compat: { "forceAdaptiveThinking": true },
|
|
698
739
|
reasoning: true,
|
|
740
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
699
741
|
input: ["text", "image"],
|
|
700
742
|
cost: {
|
|
701
743
|
input: 2,
|
|
@@ -706,23 +748,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
706
748
|
contextWindow: 1000000,
|
|
707
749
|
maxTokens: 128000,
|
|
708
750
|
},
|
|
709
|
-
"arcee-ai/trinity-large-preview": {
|
|
710
|
-
id: "arcee-ai/trinity-large-preview",
|
|
711
|
-
name: "Trinity Large Preview",
|
|
712
|
-
api: "anthropic-messages",
|
|
713
|
-
provider: "vercel-ai-gateway",
|
|
714
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
715
|
-
reasoning: false,
|
|
716
|
-
input: ["text"],
|
|
717
|
-
cost: {
|
|
718
|
-
input: 0.25,
|
|
719
|
-
output: 1,
|
|
720
|
-
cacheRead: 0,
|
|
721
|
-
cacheWrite: 0,
|
|
722
|
-
},
|
|
723
|
-
contextWindow: 131000,
|
|
724
|
-
maxTokens: 131000,
|
|
725
|
-
},
|
|
726
751
|
"arcee-ai/trinity-large-thinking": {
|
|
727
752
|
id: "arcee-ai/trinity-large-thinking",
|
|
728
753
|
name: "Trinity Large Thinking",
|
|
@@ -851,12 +876,12 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
851
876
|
reasoning: true,
|
|
852
877
|
input: ["text"],
|
|
853
878
|
cost: {
|
|
854
|
-
input: 0.
|
|
855
|
-
output:
|
|
856
|
-
cacheRead: 0,
|
|
879
|
+
input: 0.25,
|
|
880
|
+
output: 0.95,
|
|
881
|
+
cacheRead: 0.13,
|
|
857
882
|
cacheWrite: 0,
|
|
858
883
|
},
|
|
859
|
-
contextWindow:
|
|
884
|
+
contextWindow: 163840,
|
|
860
885
|
maxTokens: 128000,
|
|
861
886
|
},
|
|
862
887
|
"deepseek/deepseek-v3.1-terminus": {
|
|
@@ -921,7 +946,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
921
946
|
cost: {
|
|
922
947
|
input: 0.14,
|
|
923
948
|
output: 0.28,
|
|
924
|
-
cacheRead: 0.
|
|
949
|
+
cacheRead: 0.028,
|
|
925
950
|
cacheWrite: 0,
|
|
926
951
|
},
|
|
927
952
|
contextWindow: 1000000,
|
|
@@ -1182,6 +1207,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1182
1207
|
contextWindow: 1000000,
|
|
1183
1208
|
maxTokens: 32000,
|
|
1184
1209
|
},
|
|
1210
|
+
"kwaipilot/kat-coder-air-v2.5": {
|
|
1211
|
+
id: "kwaipilot/kat-coder-air-v2.5",
|
|
1212
|
+
name: "Kat Coder Air V2.5",
|
|
1213
|
+
api: "anthropic-messages",
|
|
1214
|
+
provider: "vercel-ai-gateway",
|
|
1215
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1216
|
+
reasoning: true,
|
|
1217
|
+
input: ["text"],
|
|
1218
|
+
cost: {
|
|
1219
|
+
input: 0.15,
|
|
1220
|
+
output: 0.6,
|
|
1221
|
+
cacheRead: 0.03,
|
|
1222
|
+
cacheWrite: 0,
|
|
1223
|
+
},
|
|
1224
|
+
contextWindow: 256000,
|
|
1225
|
+
maxTokens: 80000,
|
|
1226
|
+
},
|
|
1185
1227
|
"kwaipilot/kat-coder-pro-v1": {
|
|
1186
1228
|
id: "kwaipilot/kat-coder-pro-v1",
|
|
1187
1229
|
name: "KAT-Coder-Pro V1",
|
|
@@ -1216,39 +1258,22 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1216
1258
|
contextWindow: 256000,
|
|
1217
1259
|
maxTokens: 256000,
|
|
1218
1260
|
},
|
|
1219
|
-
"
|
|
1220
|
-
id: "
|
|
1221
|
-
name: "
|
|
1222
|
-
api: "anthropic-messages",
|
|
1223
|
-
provider: "vercel-ai-gateway",
|
|
1224
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1225
|
-
reasoning: false,
|
|
1226
|
-
input: ["text"],
|
|
1227
|
-
cost: {
|
|
1228
|
-
input: 0,
|
|
1229
|
-
output: 0,
|
|
1230
|
-
cacheRead: 0,
|
|
1231
|
-
cacheWrite: 0,
|
|
1232
|
-
},
|
|
1233
|
-
contextWindow: 128000,
|
|
1234
|
-
maxTokens: 100000,
|
|
1235
|
-
},
|
|
1236
|
-
"meituan/longcat-flash-thinking-2601": {
|
|
1237
|
-
id: "meituan/longcat-flash-thinking-2601",
|
|
1238
|
-
name: "LongCat Flash Thinking 2601",
|
|
1261
|
+
"kwaipilot/kat-coder-pro-v2.5": {
|
|
1262
|
+
id: "kwaipilot/kat-coder-pro-v2.5",
|
|
1263
|
+
name: "Kat Coder Pro V2.5",
|
|
1239
1264
|
api: "anthropic-messages",
|
|
1240
1265
|
provider: "vercel-ai-gateway",
|
|
1241
1266
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1242
1267
|
reasoning: true,
|
|
1243
1268
|
input: ["text"],
|
|
1244
1269
|
cost: {
|
|
1245
|
-
input: 0,
|
|
1246
|
-
output:
|
|
1247
|
-
cacheRead: 0,
|
|
1270
|
+
input: 0.74,
|
|
1271
|
+
output: 2.96,
|
|
1272
|
+
cacheRead: 0.15,
|
|
1248
1273
|
cacheWrite: 0,
|
|
1249
1274
|
},
|
|
1250
|
-
contextWindow:
|
|
1251
|
-
maxTokens:
|
|
1275
|
+
contextWindow: 256000,
|
|
1276
|
+
maxTokens: 80000,
|
|
1252
1277
|
},
|
|
1253
1278
|
"meta/llama-3.1-70b": {
|
|
1254
1279
|
id: "meta/llama-3.1-70b",
|
|
@@ -1369,6 +1394,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1369
1394
|
contextWindow: 128000,
|
|
1370
1395
|
maxTokens: 8192,
|
|
1371
1396
|
},
|
|
1397
|
+
"meta/muse-spark-1.1": {
|
|
1398
|
+
id: "meta/muse-spark-1.1",
|
|
1399
|
+
name: "Muse Spark 1.1",
|
|
1400
|
+
api: "anthropic-messages",
|
|
1401
|
+
provider: "vercel-ai-gateway",
|
|
1402
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1403
|
+
reasoning: true,
|
|
1404
|
+
input: ["text", "image"],
|
|
1405
|
+
cost: {
|
|
1406
|
+
input: 1.25,
|
|
1407
|
+
output: 4.25,
|
|
1408
|
+
cacheRead: 0.15,
|
|
1409
|
+
cacheWrite: 0,
|
|
1410
|
+
},
|
|
1411
|
+
contextWindow: 1048576,
|
|
1412
|
+
maxTokens: 1048576,
|
|
1413
|
+
},
|
|
1372
1414
|
"minimax/minimax-m2": {
|
|
1373
1415
|
id: "minimax/minimax-m2",
|
|
1374
1416
|
name: "MiniMax M2",
|
|
@@ -1539,23 +1581,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1539
1581
|
contextWindow: 256000,
|
|
1540
1582
|
maxTokens: 256000,
|
|
1541
1583
|
},
|
|
1542
|
-
"mistral/devstral-small": {
|
|
1543
|
-
id: "mistral/devstral-small",
|
|
1544
|
-
name: "Devstral Small 1.1",
|
|
1545
|
-
api: "anthropic-messages",
|
|
1546
|
-
provider: "vercel-ai-gateway",
|
|
1547
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1548
|
-
reasoning: false,
|
|
1549
|
-
input: ["text"],
|
|
1550
|
-
cost: {
|
|
1551
|
-
input: 0.1,
|
|
1552
|
-
output: 0.3,
|
|
1553
|
-
cacheRead: 0,
|
|
1554
|
-
cacheWrite: 0,
|
|
1555
|
-
},
|
|
1556
|
-
contextWindow: 128000,
|
|
1557
|
-
maxTokens: 64000,
|
|
1558
|
-
},
|
|
1559
1584
|
"mistral/devstral-small-2": {
|
|
1560
1585
|
id: "mistral/devstral-small-2",
|
|
1561
1586
|
name: "Devstral Small 2",
|
|
@@ -1760,23 +1785,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1760
1785
|
contextWindow: 128000,
|
|
1761
1786
|
maxTokens: 4000,
|
|
1762
1787
|
},
|
|
1763
|
-
"mistral/pixtral-large": {
|
|
1764
|
-
id: "mistral/pixtral-large",
|
|
1765
|
-
name: "Pixtral Large",
|
|
1766
|
-
api: "anthropic-messages",
|
|
1767
|
-
provider: "vercel-ai-gateway",
|
|
1768
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1769
|
-
reasoning: false,
|
|
1770
|
-
input: ["text", "image"],
|
|
1771
|
-
cost: {
|
|
1772
|
-
input: 2,
|
|
1773
|
-
output: 6,
|
|
1774
|
-
cacheRead: 0,
|
|
1775
|
-
cacheWrite: 0,
|
|
1776
|
-
},
|
|
1777
|
-
contextWindow: 128000,
|
|
1778
|
-
maxTokens: 4000,
|
|
1779
|
-
},
|
|
1780
1788
|
"moonshotai/kimi-k2": {
|
|
1781
1789
|
id: "moonshotai/kimi-k2",
|
|
1782
1790
|
name: "Kimi K2 Instruct",
|
|
@@ -2486,6 +2494,60 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
2486
2494
|
contextWindow: 1000000,
|
|
2487
2495
|
maxTokens: 128000,
|
|
2488
2496
|
},
|
|
2497
|
+
"openai/gpt-5.6-luna": {
|
|
2498
|
+
id: "openai/gpt-5.6-luna",
|
|
2499
|
+
name: "GPT 5.6 Luna",
|
|
2500
|
+
api: "anthropic-messages",
|
|
2501
|
+
provider: "vercel-ai-gateway",
|
|
2502
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2503
|
+
reasoning: true,
|
|
2504
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2505
|
+
input: ["text", "image"],
|
|
2506
|
+
cost: {
|
|
2507
|
+
input: 1,
|
|
2508
|
+
output: 6,
|
|
2509
|
+
cacheRead: 0.1,
|
|
2510
|
+
cacheWrite: 1.25,
|
|
2511
|
+
},
|
|
2512
|
+
contextWindow: 1050000,
|
|
2513
|
+
maxTokens: 128000,
|
|
2514
|
+
},
|
|
2515
|
+
"openai/gpt-5.6-sol": {
|
|
2516
|
+
id: "openai/gpt-5.6-sol",
|
|
2517
|
+
name: "GPT 5.6 Sol",
|
|
2518
|
+
api: "anthropic-messages",
|
|
2519
|
+
provider: "vercel-ai-gateway",
|
|
2520
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2521
|
+
reasoning: true,
|
|
2522
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2523
|
+
input: ["text", "image"],
|
|
2524
|
+
cost: {
|
|
2525
|
+
input: 5,
|
|
2526
|
+
output: 30,
|
|
2527
|
+
cacheRead: 0.5,
|
|
2528
|
+
cacheWrite: 6.25,
|
|
2529
|
+
},
|
|
2530
|
+
contextWindow: 1050000,
|
|
2531
|
+
maxTokens: 128000,
|
|
2532
|
+
},
|
|
2533
|
+
"openai/gpt-5.6-terra": {
|
|
2534
|
+
id: "openai/gpt-5.6-terra",
|
|
2535
|
+
name: "GPT 5.6 Terra",
|
|
2536
|
+
api: "anthropic-messages",
|
|
2537
|
+
provider: "vercel-ai-gateway",
|
|
2538
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2539
|
+
reasoning: true,
|
|
2540
|
+
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
2541
|
+
input: ["text", "image"],
|
|
2542
|
+
cost: {
|
|
2543
|
+
input: 2.5,
|
|
2544
|
+
output: 15,
|
|
2545
|
+
cacheRead: 0.25,
|
|
2546
|
+
cacheWrite: 3.125,
|
|
2547
|
+
},
|
|
2548
|
+
contextWindow: 1050000,
|
|
2549
|
+
maxTokens: 128000,
|
|
2550
|
+
},
|
|
2489
2551
|
"openai/gpt-oss-120b": {
|
|
2490
2552
|
id: "openai/gpt-oss-120b",
|
|
2491
2553
|
name: "GPT OSS 120B",
|
|
@@ -2690,6 +2752,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
2690
2752
|
contextWindow: 256000,
|
|
2691
2753
|
maxTokens: 256000,
|
|
2692
2754
|
},
|
|
2755
|
+
"thinkingmachines/inkling": {
|
|
2756
|
+
id: "thinkingmachines/inkling",
|
|
2757
|
+
name: "Inkling",
|
|
2758
|
+
api: "anthropic-messages",
|
|
2759
|
+
provider: "vercel-ai-gateway",
|
|
2760
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2761
|
+
reasoning: true,
|
|
2762
|
+
input: ["text", "image"],
|
|
2763
|
+
cost: {
|
|
2764
|
+
input: 1,
|
|
2765
|
+
output: 4.05,
|
|
2766
|
+
cacheRead: 0.17,
|
|
2767
|
+
cacheWrite: 0,
|
|
2768
|
+
},
|
|
2769
|
+
contextWindow: 256000,
|
|
2770
|
+
maxTokens: 256000,
|
|
2771
|
+
},
|
|
2693
2772
|
"xai/grok-4.1-fast-non-reasoning": {
|
|
2694
2773
|
id: "xai/grok-4.1-fast-non-reasoning",
|
|
2695
2774
|
name: "Grok 4.1 Fast Non-Reasoning",
|
|
@@ -2843,56 +2922,39 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
2843
2922
|
contextWindow: 1000000,
|
|
2844
2923
|
maxTokens: 1000000,
|
|
2845
2924
|
},
|
|
2846
|
-
"xai/grok-
|
|
2847
|
-
id: "xai/grok-
|
|
2848
|
-
name: "Grok
|
|
2925
|
+
"xai/grok-4.5": {
|
|
2926
|
+
id: "xai/grok-4.5",
|
|
2927
|
+
name: "Grok 4.5",
|
|
2849
2928
|
api: "anthropic-messages",
|
|
2850
2929
|
provider: "vercel-ai-gateway",
|
|
2851
2930
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2852
2931
|
reasoning: true,
|
|
2853
2932
|
input: ["text", "image"],
|
|
2854
2933
|
cost: {
|
|
2855
|
-
input:
|
|
2856
|
-
output:
|
|
2857
|
-
cacheRead: 0.
|
|
2858
|
-
cacheWrite: 0,
|
|
2859
|
-
},
|
|
2860
|
-
contextWindow: 256000,
|
|
2861
|
-
maxTokens: 256000,
|
|
2862
|
-
},
|
|
2863
|
-
"xiaomi/mimo-v2-flash": {
|
|
2864
|
-
id: "xiaomi/mimo-v2-flash",
|
|
2865
|
-
name: "MiMo V2 Flash",
|
|
2866
|
-
api: "anthropic-messages",
|
|
2867
|
-
provider: "vercel-ai-gateway",
|
|
2868
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2869
|
-
reasoning: true,
|
|
2870
|
-
input: ["text"],
|
|
2871
|
-
cost: {
|
|
2872
|
-
input: 0.1,
|
|
2873
|
-
output: 0.3,
|
|
2874
|
-
cacheRead: 0.01,
|
|
2934
|
+
input: 2,
|
|
2935
|
+
output: 6,
|
|
2936
|
+
cacheRead: 0.5,
|
|
2875
2937
|
cacheWrite: 0,
|
|
2876
2938
|
},
|
|
2877
|
-
contextWindow:
|
|
2878
|
-
maxTokens:
|
|
2939
|
+
contextWindow: 500000,
|
|
2940
|
+
maxTokens: 500000,
|
|
2879
2941
|
},
|
|
2880
|
-
"
|
|
2881
|
-
id: "
|
|
2882
|
-
name: "
|
|
2942
|
+
"xai/grok-build-0.1": {
|
|
2943
|
+
id: "xai/grok-build-0.1",
|
|
2944
|
+
name: "Grok Build 0.1",
|
|
2883
2945
|
api: "anthropic-messages",
|
|
2884
2946
|
provider: "vercel-ai-gateway",
|
|
2885
2947
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2886
2948
|
reasoning: true,
|
|
2887
|
-
input: ["text"],
|
|
2949
|
+
input: ["text", "image"],
|
|
2888
2950
|
cost: {
|
|
2889
2951
|
input: 1,
|
|
2890
|
-
output:
|
|
2952
|
+
output: 2,
|
|
2891
2953
|
cacheRead: 0.2,
|
|
2892
2954
|
cacheWrite: 0,
|
|
2893
2955
|
},
|
|
2894
|
-
contextWindow:
|
|
2895
|
-
maxTokens:
|
|
2956
|
+
contextWindow: 256000,
|
|
2957
|
+
maxTokens: 256000,
|
|
2896
2958
|
},
|
|
2897
2959
|
"xiaomi/mimo-v2.5": {
|
|
2898
2960
|
id: "xiaomi/mimo-v2.5",
|
|
@@ -3141,12 +3203,12 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
3141
3203
|
reasoning: true,
|
|
3142
3204
|
input: ["text"],
|
|
3143
3205
|
cost: {
|
|
3144
|
-
input: 1.
|
|
3145
|
-
output: 4.
|
|
3146
|
-
cacheRead: 0.
|
|
3206
|
+
input: 1.4,
|
|
3207
|
+
output: 4.4,
|
|
3208
|
+
cacheRead: 0.26,
|
|
3147
3209
|
cacheWrite: 0,
|
|
3148
3210
|
},
|
|
3149
|
-
contextWindow:
|
|
3211
|
+
contextWindow: 1040000,
|
|
3150
3212
|
maxTokens: 128000,
|
|
3151
3213
|
},
|
|
3152
3214
|
"zai/glm-5.2-fast": {
|
|
@@ -3158,9 +3220,9 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
3158
3220
|
reasoning: true,
|
|
3159
3221
|
input: ["text"],
|
|
3160
3222
|
cost: {
|
|
3161
|
-
input:
|
|
3162
|
-
output:
|
|
3163
|
-
cacheRead: 0.
|
|
3223
|
+
input: 2.1,
|
|
3224
|
+
output: 6.6,
|
|
3225
|
+
cacheRead: 0.21,
|
|
3164
3226
|
cacheWrite: 0,
|
|
3165
3227
|
},
|
|
3166
3228
|
contextWindow: 1000000,
|