@earendil-works/pi-ai 0.80.5 → 0.80.7
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.map +1 -1
- package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/dist/api/bedrock-converse-stream.js +19 -11
- 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 +6 -3
- 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 +12 -3
- 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 +57 -4
- 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 +24 -8
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/pi-messages.d.ts +97 -0
- package/dist/api/pi-messages.d.ts.map +1 -0
- package/dist/api/pi-messages.js +309 -0
- package/dist/api/pi-messages.js.map +1 -0
- package/dist/api/pi-messages.lazy.d.ts +3 -0
- package/dist/api/pi-messages.lazy.d.ts.map +1 -0
- package/dist/api/pi-messages.lazy.js +3 -0
- package/dist/api/pi-messages.lazy.js.map +1 -0
- 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/compat.d.ts +2 -0
- package/dist/compat.d.ts.map +1 -1
- package/dist/compat.js +5 -1
- package/dist/compat.js.map +1 -1
- package/dist/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +1 -0
- package/dist/env-api-keys.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +706 -215
- 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/all.d.ts +9 -5
- package/dist/providers/all.d.ts.map +1 -1
- package/dist/providers/all.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 +122 -5
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +86 -20
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/anthropic.models.d.ts +11 -1
- package/dist/providers/anthropic.models.d.ts.map +1 -1
- package/dist/providers/anthropic.models.js +6 -4
- package/dist/providers/anthropic.models.js.map +1 -1
- package/dist/providers/azure-openai-responses.models.d.ts +7 -8
- package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.models.js +20 -21
- package/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/dist/providers/cerebras.models.d.ts.map +1 -1
- package/dist/providers/cerebras.models.js +1 -1
- package/dist/providers/cerebras.models.js.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts +103 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.js +78 -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 +2 -2
- package/dist/providers/fireworks.models.d.ts.map +1 -1
- package/dist/providers/fireworks.models.js +2 -2
- package/dist/providers/fireworks.models.js.map +1 -1
- package/dist/providers/github-copilot.models.d.ts +101 -8
- package/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/dist/providers/github-copilot.models.js +65 -7
- package/dist/providers/github-copilot.models.js.map +1 -1
- package/dist/providers/openai-codex.models.d.ts +56 -0
- package/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/dist/providers/openai-codex.models.js +20 -9
- package/dist/providers/openai-codex.models.js.map +1 -1
- package/dist/providers/openai.models.d.ts +77 -8
- package/dist/providers/openai.models.d.ts.map +1 -1
- package/dist/providers/openai.models.js +37 -24
- 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 +3 -3
- package/dist/providers/opencode-go.models.js.map +1 -1
- package/dist/providers/opencode.models.d.ts +137 -4
- package/dist/providers/opencode.models.d.ts.map +1 -1
- package/dist/providers/opencode.models.js +83 -8
- package/dist/providers/opencode.models.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +48 -44
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +112 -127
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +19 -111
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +42 -142
- package/dist/providers/vercel-ai-gateway.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 +41 -13
- 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/index.d.ts +1 -0
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +9 -0
- package/dist/utils/oauth/index.js.map +1 -1
- package/dist/utils/oauth/radius.d.ts +39 -0
- package/dist/utils/oauth/radius.d.ts.map +1 -0
- package/dist/utils/oauth/radius.js +415 -0
- package/dist/utils/oauth/radius.js.map +1 -0
- package/package.json +1 -1
|
@@ -494,23 +494,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
494
494
|
contextWindow: 200000,
|
|
495
495
|
maxTokens: 4096,
|
|
496
496
|
},
|
|
497
|
-
"anthropic/claude-3.5-haiku": {
|
|
498
|
-
id: "anthropic/claude-3.5-haiku",
|
|
499
|
-
name: "Claude 3.5 Haiku",
|
|
500
|
-
api: "anthropic-messages",
|
|
501
|
-
provider: "vercel-ai-gateway",
|
|
502
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
503
|
-
reasoning: false,
|
|
504
|
-
input: ["text", "image"],
|
|
505
|
-
cost: {
|
|
506
|
-
input: 0.8,
|
|
507
|
-
output: 4,
|
|
508
|
-
cacheRead: 0.08,
|
|
509
|
-
cacheWrite: 1,
|
|
510
|
-
},
|
|
511
|
-
contextWindow: 200000,
|
|
512
|
-
maxTokens: 8192,
|
|
513
|
-
},
|
|
514
497
|
"anthropic/claude-fable-5": {
|
|
515
498
|
id: "anthropic/claude-fable-5",
|
|
516
499
|
name: "Claude Fable 5",
|
|
@@ -519,7 +502,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
519
502
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
520
503
|
compat: { "forceAdaptiveThinking": true },
|
|
521
504
|
reasoning: true,
|
|
522
|
-
thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
|
|
505
|
+
thinkingLevelMap: { "off": null, "xhigh": "xhigh", "max": "max" },
|
|
523
506
|
input: ["text", "image"],
|
|
524
507
|
cost: {
|
|
525
508
|
input: 10,
|
|
@@ -562,7 +545,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
562
545
|
cacheWrite: 18.75,
|
|
563
546
|
},
|
|
564
547
|
contextWindow: 200000,
|
|
565
|
-
maxTokens:
|
|
548
|
+
maxTokens: 8192,
|
|
566
549
|
},
|
|
567
550
|
"anthropic/claude-opus-4.1": {
|
|
568
551
|
id: "anthropic/claude-opus-4.1",
|
|
@@ -606,7 +589,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
606
589
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
607
590
|
compat: { "forceAdaptiveThinking": true },
|
|
608
591
|
reasoning: true,
|
|
609
|
-
thinkingLevelMap: { "
|
|
592
|
+
thinkingLevelMap: { "max": "max" },
|
|
610
593
|
input: ["text", "image"],
|
|
611
594
|
cost: {
|
|
612
595
|
input: 5,
|
|
@@ -625,7 +608,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
625
608
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
626
609
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
627
610
|
reasoning: true,
|
|
628
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
611
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
629
612
|
input: ["text", "image"],
|
|
630
613
|
cost: {
|
|
631
614
|
input: 5,
|
|
@@ -644,7 +627,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
644
627
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
645
628
|
compat: { "forceAdaptiveThinking": true, "supportsTemperature": false },
|
|
646
629
|
reasoning: true,
|
|
647
|
-
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
630
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
648
631
|
input: ["text", "image"],
|
|
649
632
|
cost: {
|
|
650
633
|
input: 5,
|
|
@@ -670,7 +653,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
670
653
|
cacheWrite: 3.75,
|
|
671
654
|
},
|
|
672
655
|
contextWindow: 1000000,
|
|
673
|
-
maxTokens:
|
|
656
|
+
maxTokens: 8192,
|
|
674
657
|
},
|
|
675
658
|
"anthropic/claude-sonnet-4.5": {
|
|
676
659
|
id: "anthropic/claude-sonnet-4.5",
|
|
@@ -697,6 +680,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
697
680
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
698
681
|
compat: { "forceAdaptiveThinking": true },
|
|
699
682
|
reasoning: true,
|
|
683
|
+
thinkingLevelMap: { "max": "max" },
|
|
700
684
|
input: ["text", "image"],
|
|
701
685
|
cost: {
|
|
702
686
|
input: 3,
|
|
@@ -715,6 +699,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
715
699
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
716
700
|
compat: { "forceAdaptiveThinking": true },
|
|
717
701
|
reasoning: true,
|
|
702
|
+
thinkingLevelMap: { "xhigh": "xhigh", "max": "max" },
|
|
718
703
|
input: ["text", "image"],
|
|
719
704
|
cost: {
|
|
720
705
|
input: 2,
|
|
@@ -725,23 +710,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
725
710
|
contextWindow: 1000000,
|
|
726
711
|
maxTokens: 128000,
|
|
727
712
|
},
|
|
728
|
-
"arcee-ai/trinity-large-preview": {
|
|
729
|
-
id: "arcee-ai/trinity-large-preview",
|
|
730
|
-
name: "Trinity Large Preview",
|
|
731
|
-
api: "anthropic-messages",
|
|
732
|
-
provider: "vercel-ai-gateway",
|
|
733
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
734
|
-
reasoning: false,
|
|
735
|
-
input: ["text"],
|
|
736
|
-
cost: {
|
|
737
|
-
input: 0.25,
|
|
738
|
-
output: 1,
|
|
739
|
-
cacheRead: 0,
|
|
740
|
-
cacheWrite: 0,
|
|
741
|
-
},
|
|
742
|
-
contextWindow: 131000,
|
|
743
|
-
maxTokens: 131000,
|
|
744
|
-
},
|
|
745
713
|
"arcee-ai/trinity-large-thinking": {
|
|
746
714
|
id: "arcee-ai/trinity-large-thinking",
|
|
747
715
|
name: "Trinity Large Thinking",
|
|
@@ -870,12 +838,12 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
870
838
|
reasoning: true,
|
|
871
839
|
input: ["text"],
|
|
872
840
|
cost: {
|
|
873
|
-
input: 0.
|
|
874
|
-
output:
|
|
875
|
-
cacheRead: 0,
|
|
841
|
+
input: 0.21,
|
|
842
|
+
output: 0.79,
|
|
843
|
+
cacheRead: 0.13,
|
|
876
844
|
cacheWrite: 0,
|
|
877
845
|
},
|
|
878
|
-
contextWindow:
|
|
846
|
+
contextWindow: 163840,
|
|
879
847
|
maxTokens: 128000,
|
|
880
848
|
},
|
|
881
849
|
"deepseek/deepseek-v3.1-terminus": {
|
|
@@ -940,7 +908,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
940
908
|
cost: {
|
|
941
909
|
input: 0.14,
|
|
942
910
|
output: 0.28,
|
|
943
|
-
cacheRead: 0.
|
|
911
|
+
cacheRead: 0.028,
|
|
944
912
|
cacheWrite: 0,
|
|
945
913
|
},
|
|
946
914
|
contextWindow: 1000000,
|
|
@@ -1201,6 +1169,23 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1201
1169
|
contextWindow: 1000000,
|
|
1202
1170
|
maxTokens: 32000,
|
|
1203
1171
|
},
|
|
1172
|
+
"kwaipilot/kat-coder-air-v2.5": {
|
|
1173
|
+
id: "kwaipilot/kat-coder-air-v2.5",
|
|
1174
|
+
name: "Kat Coder Air V2.5",
|
|
1175
|
+
api: "anthropic-messages",
|
|
1176
|
+
provider: "vercel-ai-gateway",
|
|
1177
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1178
|
+
reasoning: true,
|
|
1179
|
+
input: ["text"],
|
|
1180
|
+
cost: {
|
|
1181
|
+
input: 0.15,
|
|
1182
|
+
output: 0.6,
|
|
1183
|
+
cacheRead: 0.03,
|
|
1184
|
+
cacheWrite: 0,
|
|
1185
|
+
},
|
|
1186
|
+
contextWindow: 256000,
|
|
1187
|
+
maxTokens: 80000,
|
|
1188
|
+
},
|
|
1204
1189
|
"kwaipilot/kat-coder-pro-v1": {
|
|
1205
1190
|
id: "kwaipilot/kat-coder-pro-v1",
|
|
1206
1191
|
name: "KAT-Coder-Pro V1",
|
|
@@ -1235,39 +1220,22 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1235
1220
|
contextWindow: 256000,
|
|
1236
1221
|
maxTokens: 256000,
|
|
1237
1222
|
},
|
|
1238
|
-
"
|
|
1239
|
-
id: "
|
|
1240
|
-
name: "
|
|
1241
|
-
api: "anthropic-messages",
|
|
1242
|
-
provider: "vercel-ai-gateway",
|
|
1243
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1244
|
-
reasoning: false,
|
|
1245
|
-
input: ["text"],
|
|
1246
|
-
cost: {
|
|
1247
|
-
input: 0,
|
|
1248
|
-
output: 0,
|
|
1249
|
-
cacheRead: 0,
|
|
1250
|
-
cacheWrite: 0,
|
|
1251
|
-
},
|
|
1252
|
-
contextWindow: 128000,
|
|
1253
|
-
maxTokens: 100000,
|
|
1254
|
-
},
|
|
1255
|
-
"meituan/longcat-flash-thinking-2601": {
|
|
1256
|
-
id: "meituan/longcat-flash-thinking-2601",
|
|
1257
|
-
name: "LongCat Flash Thinking 2601",
|
|
1223
|
+
"kwaipilot/kat-coder-pro-v2.5": {
|
|
1224
|
+
id: "kwaipilot/kat-coder-pro-v2.5",
|
|
1225
|
+
name: "Kat Coder Pro V2.5",
|
|
1258
1226
|
api: "anthropic-messages",
|
|
1259
1227
|
provider: "vercel-ai-gateway",
|
|
1260
1228
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1261
1229
|
reasoning: true,
|
|
1262
1230
|
input: ["text"],
|
|
1263
1231
|
cost: {
|
|
1264
|
-
input: 0,
|
|
1265
|
-
output:
|
|
1266
|
-
cacheRead: 0,
|
|
1232
|
+
input: 0.74,
|
|
1233
|
+
output: 2.96,
|
|
1234
|
+
cacheRead: 0.15,
|
|
1267
1235
|
cacheWrite: 0,
|
|
1268
1236
|
},
|
|
1269
|
-
contextWindow:
|
|
1270
|
-
maxTokens:
|
|
1237
|
+
contextWindow: 256000,
|
|
1238
|
+
maxTokens: 80000,
|
|
1271
1239
|
},
|
|
1272
1240
|
"meta/llama-3.1-70b": {
|
|
1273
1241
|
id: "meta/llama-3.1-70b",
|
|
@@ -1395,7 +1363,7 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1395
1363
|
provider: "vercel-ai-gateway",
|
|
1396
1364
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1397
1365
|
reasoning: true,
|
|
1398
|
-
input: ["text"],
|
|
1366
|
+
input: ["text", "image"],
|
|
1399
1367
|
cost: {
|
|
1400
1368
|
input: 1.25,
|
|
1401
1369
|
output: 4.25,
|
|
@@ -1575,23 +1543,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1575
1543
|
contextWindow: 256000,
|
|
1576
1544
|
maxTokens: 256000,
|
|
1577
1545
|
},
|
|
1578
|
-
"mistral/devstral-small": {
|
|
1579
|
-
id: "mistral/devstral-small",
|
|
1580
|
-
name: "Devstral Small 1.1",
|
|
1581
|
-
api: "anthropic-messages",
|
|
1582
|
-
provider: "vercel-ai-gateway",
|
|
1583
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1584
|
-
reasoning: false,
|
|
1585
|
-
input: ["text"],
|
|
1586
|
-
cost: {
|
|
1587
|
-
input: 0.1,
|
|
1588
|
-
output: 0.3,
|
|
1589
|
-
cacheRead: 0,
|
|
1590
|
-
cacheWrite: 0,
|
|
1591
|
-
},
|
|
1592
|
-
contextWindow: 128000,
|
|
1593
|
-
maxTokens: 64000,
|
|
1594
|
-
},
|
|
1595
1546
|
"mistral/devstral-small-2": {
|
|
1596
1547
|
id: "mistral/devstral-small-2",
|
|
1597
1548
|
name: "Devstral Small 2",
|
|
@@ -1796,23 +1747,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
1796
1747
|
contextWindow: 128000,
|
|
1797
1748
|
maxTokens: 4000,
|
|
1798
1749
|
},
|
|
1799
|
-
"mistral/pixtral-large": {
|
|
1800
|
-
id: "mistral/pixtral-large",
|
|
1801
|
-
name: "Pixtral Large",
|
|
1802
|
-
api: "anthropic-messages",
|
|
1803
|
-
provider: "vercel-ai-gateway",
|
|
1804
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
1805
|
-
reasoning: false,
|
|
1806
|
-
input: ["text", "image"],
|
|
1807
|
-
cost: {
|
|
1808
|
-
input: 2,
|
|
1809
|
-
output: 6,
|
|
1810
|
-
cacheRead: 0,
|
|
1811
|
-
cacheWrite: 0,
|
|
1812
|
-
},
|
|
1813
|
-
contextWindow: 128000,
|
|
1814
|
-
maxTokens: 4000,
|
|
1815
|
-
},
|
|
1816
1750
|
"moonshotai/kimi-k2": {
|
|
1817
1751
|
id: "moonshotai/kimi-k2",
|
|
1818
1752
|
name: "Kimi K2 Instruct",
|
|
@@ -2967,40 +2901,6 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
2967
2901
|
contextWindow: 256000,
|
|
2968
2902
|
maxTokens: 256000,
|
|
2969
2903
|
},
|
|
2970
|
-
"xiaomi/mimo-v2-flash": {
|
|
2971
|
-
id: "xiaomi/mimo-v2-flash",
|
|
2972
|
-
name: "MiMo V2 Flash",
|
|
2973
|
-
api: "anthropic-messages",
|
|
2974
|
-
provider: "vercel-ai-gateway",
|
|
2975
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2976
|
-
reasoning: true,
|
|
2977
|
-
input: ["text"],
|
|
2978
|
-
cost: {
|
|
2979
|
-
input: 0.1,
|
|
2980
|
-
output: 0.3,
|
|
2981
|
-
cacheRead: 0.01,
|
|
2982
|
-
cacheWrite: 0,
|
|
2983
|
-
},
|
|
2984
|
-
contextWindow: 262144,
|
|
2985
|
-
maxTokens: 32000,
|
|
2986
|
-
},
|
|
2987
|
-
"xiaomi/mimo-v2-pro": {
|
|
2988
|
-
id: "xiaomi/mimo-v2-pro",
|
|
2989
|
-
name: "MiMo V2 Pro",
|
|
2990
|
-
api: "anthropic-messages",
|
|
2991
|
-
provider: "vercel-ai-gateway",
|
|
2992
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
2993
|
-
reasoning: true,
|
|
2994
|
-
input: ["text"],
|
|
2995
|
-
cost: {
|
|
2996
|
-
input: 1,
|
|
2997
|
-
output: 3,
|
|
2998
|
-
cacheRead: 0.2,
|
|
2999
|
-
cacheWrite: 0,
|
|
3000
|
-
},
|
|
3001
|
-
contextWindow: 1000000,
|
|
3002
|
-
maxTokens: 128000,
|
|
3003
|
-
},
|
|
3004
2904
|
"xiaomi/mimo-v2.5": {
|
|
3005
2905
|
id: "xiaomi/mimo-v2.5",
|
|
3006
2906
|
name: "MiMo M2.5",
|
|
@@ -3265,9 +3165,9 @@ export const VERCEL_AI_GATEWAY_MODELS = {
|
|
|
3265
3165
|
reasoning: true,
|
|
3266
3166
|
input: ["text"],
|
|
3267
3167
|
cost: {
|
|
3268
|
-
input:
|
|
3269
|
-
output:
|
|
3270
|
-
cacheRead: 0.
|
|
3168
|
+
input: 2.1,
|
|
3169
|
+
output: 6.6,
|
|
3170
|
+
cacheRead: 0.21,
|
|
3271
3171
|
cacheWrite: 0,
|
|
3272
3172
|
},
|
|
3273
3173
|
contextWindow: 1000000,
|