@earendil-works/pi-ai 0.80.2 → 0.80.3
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 +1 -1
- package/dist/api/anthropic-messages.d.ts.map +1 -1
- package/dist/api/anthropic-messages.js +13 -4
- package/dist/api/anthropic-messages.js.map +1 -1
- package/dist/api/azure-openai-responses.d.ts.map +1 -1
- package/dist/api/azure-openai-responses.js +11 -17
- 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 +17 -8
- 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 +4 -2
- 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 +4 -2
- package/dist/api/google-vertex.js.map +1 -1
- package/dist/api/mistral-conversations.d.ts.map +1 -1
- package/dist/api/mistral-conversations.js +1 -1
- package/dist/api/mistral-conversations.js.map +1 -1
- package/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/dist/api/openai-codex-responses.js +11 -25
- package/dist/api/openai-codex-responses.js.map +1 -1
- package/dist/api/openai-completions.d.ts.map +1 -1
- package/dist/api/openai-completions.js +10 -4
- package/dist/api/openai-completions.js.map +1 -1
- package/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/dist/api/openai-responses-shared.js +152 -175
- package/dist/api/openai-responses-shared.js.map +1 -1
- package/dist/api/openai-responses.d.ts.map +1 -1
- package/dist/api/openai-responses.js +3 -15
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/openrouter-images.d.ts.map +1 -1
- package/dist/api/openrouter-images.js +2 -1
- package/dist/api/openrouter-images.js.map +1 -1
- package/dist/api/simple-options.d.ts +3 -2
- package/dist/api/simple-options.d.ts.map +1 -1
- package/dist/api/simple-options.js +11 -2
- package/dist/api/simple-options.js.map +1 -1
- package/dist/image-models.generated.d.ts +34 -19
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +60 -45
- package/dist/image-models.generated.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +754 -198
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.d.ts +119 -0
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +127 -8
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/anthropic.models.d.ts +20 -34
- package/dist/providers/anthropic.models.d.ts.map +1 -1
- package/dist/providers/anthropic.models.js +18 -34
- package/dist/providers/anthropic.models.js.map +1 -1
- package/dist/providers/fireworks.models.d.ts +23 -0
- package/dist/providers/fireworks.models.d.ts.map +1 -1
- package/dist/providers/fireworks.models.js +19 -1
- package/dist/providers/fireworks.models.js.map +1 -1
- package/dist/providers/groq.models.d.ts.map +1 -1
- package/dist/providers/groq.models.js +1 -1
- package/dist/providers/groq.models.js.map +1 -1
- package/dist/providers/huggingface.models.d.ts +80 -0
- package/dist/providers/huggingface.models.d.ts.map +1 -1
- package/dist/providers/huggingface.models.js +72 -0
- package/dist/providers/huggingface.models.js.map +1 -1
- package/dist/providers/minimax-cn.models.d.ts.map +1 -1
- package/dist/providers/minimax-cn.models.js +4 -4
- package/dist/providers/minimax-cn.models.js.map +1 -1
- package/dist/providers/minimax.models.d.ts.map +1 -1
- package/dist/providers/minimax.models.js +4 -4
- package/dist/providers/minimax.models.js.map +1 -1
- package/dist/providers/nvidia.models.d.ts +28 -0
- package/dist/providers/nvidia.models.d.ts.map +1 -1
- package/dist/providers/nvidia.models.js +19 -0
- package/dist/providers/nvidia.models.js.map +1 -1
- package/dist/providers/opencode-go.models.d.ts.map +1 -1
- package/dist/providers/opencode-go.models.js +4 -4
- package/dist/providers/opencode-go.models.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +29 -32
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +93 -94
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/together.models.d.ts +31 -0
- package/dist/providers/together.models.d.ts.map +1 -1
- package/dist/providers/together.models.js +19 -0
- package/dist/providers/together.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +343 -51
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +367 -77
- package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-ams.models.js +12 -12
- package/dist/providers/xiaomi-token-plan-ams.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-cn.models.js +12 -12
- package/dist/providers/xiaomi-token-plan-cn.models.js.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.d.ts.map +1 -1
- package/dist/providers/xiaomi-token-plan-sgp.models.js +12 -12
- package/dist/providers/xiaomi-token-plan-sgp.models.js.map +1 -1
- package/dist/providers/xiaomi.models.d.ts.map +1 -1
- package/dist/providers/xiaomi.models.js +15 -15
- package/dist/providers/xiaomi.models.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/error-body.d.ts +25 -0
- package/dist/utils/error-body.d.ts.map +1 -0
- package/dist/utils/error-body.js +109 -0
- package/dist/utils/error-body.js.map +1 -0
- package/dist/utils/estimate.d.ts +17 -0
- package/dist/utils/estimate.d.ts.map +1 -0
- package/dist/utils/estimate.js +95 -0
- package/dist/utils/estimate.js.map +1 -0
- package/dist/utils/retry.d.ts +12 -0
- package/dist/utils/retry.d.ts.map +1 -0
- package/dist/utils/retry.js +86 -0
- package/dist/utils/retry.js.map +1 -0
- package/package.json +1 -1
|
@@ -107,7 +107,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
107
107
|
api: "anthropic-messages";
|
|
108
108
|
provider: string;
|
|
109
109
|
baseUrl: string;
|
|
110
|
-
reasoning:
|
|
110
|
+
reasoning: false;
|
|
111
111
|
input: "text"[];
|
|
112
112
|
cost: {
|
|
113
113
|
input: number;
|
|
@@ -124,7 +124,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
124
124
|
api: "anthropic-messages";
|
|
125
125
|
provider: string;
|
|
126
126
|
baseUrl: string;
|
|
127
|
-
reasoning:
|
|
127
|
+
reasoning: false;
|
|
128
128
|
input: "text"[];
|
|
129
129
|
cost: {
|
|
130
130
|
input: number;
|
|
@@ -141,7 +141,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
141
141
|
api: "anthropic-messages";
|
|
142
142
|
provider: string;
|
|
143
143
|
baseUrl: string;
|
|
144
|
-
reasoning:
|
|
144
|
+
reasoning: false;
|
|
145
145
|
input: "text"[];
|
|
146
146
|
cost: {
|
|
147
147
|
input: number;
|
|
@@ -254,6 +254,40 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
254
254
|
contextWindow: number;
|
|
255
255
|
maxTokens: number;
|
|
256
256
|
};
|
|
257
|
+
readonly "alibaba/qwen3-vl-235b-a22b-instruct": {
|
|
258
|
+
id: string;
|
|
259
|
+
name: string;
|
|
260
|
+
api: "anthropic-messages";
|
|
261
|
+
provider: string;
|
|
262
|
+
baseUrl: string;
|
|
263
|
+
reasoning: false;
|
|
264
|
+
input: ("image" | "text")[];
|
|
265
|
+
cost: {
|
|
266
|
+
input: number;
|
|
267
|
+
output: number;
|
|
268
|
+
cacheRead: number;
|
|
269
|
+
cacheWrite: number;
|
|
270
|
+
};
|
|
271
|
+
contextWindow: number;
|
|
272
|
+
maxTokens: number;
|
|
273
|
+
};
|
|
274
|
+
readonly "alibaba/qwen3-vl-instruct": {
|
|
275
|
+
id: string;
|
|
276
|
+
name: string;
|
|
277
|
+
api: "anthropic-messages";
|
|
278
|
+
provider: string;
|
|
279
|
+
baseUrl: string;
|
|
280
|
+
reasoning: false;
|
|
281
|
+
input: ("image" | "text")[];
|
|
282
|
+
cost: {
|
|
283
|
+
input: number;
|
|
284
|
+
output: number;
|
|
285
|
+
cacheRead: number;
|
|
286
|
+
cacheWrite: number;
|
|
287
|
+
};
|
|
288
|
+
contextWindow: number;
|
|
289
|
+
maxTokens: number;
|
|
290
|
+
};
|
|
257
291
|
readonly "alibaba/qwen3-vl-thinking": {
|
|
258
292
|
id: string;
|
|
259
293
|
name: string;
|
|
@@ -373,6 +407,74 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
373
407
|
contextWindow: number;
|
|
374
408
|
maxTokens: number;
|
|
375
409
|
};
|
|
410
|
+
readonly "amazon/nova-2-lite": {
|
|
411
|
+
id: string;
|
|
412
|
+
name: string;
|
|
413
|
+
api: "anthropic-messages";
|
|
414
|
+
provider: string;
|
|
415
|
+
baseUrl: string;
|
|
416
|
+
reasoning: true;
|
|
417
|
+
input: ("image" | "text")[];
|
|
418
|
+
cost: {
|
|
419
|
+
input: number;
|
|
420
|
+
output: number;
|
|
421
|
+
cacheRead: number;
|
|
422
|
+
cacheWrite: number;
|
|
423
|
+
};
|
|
424
|
+
contextWindow: number;
|
|
425
|
+
maxTokens: number;
|
|
426
|
+
};
|
|
427
|
+
readonly "amazon/nova-lite": {
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
api: "anthropic-messages";
|
|
431
|
+
provider: string;
|
|
432
|
+
baseUrl: string;
|
|
433
|
+
reasoning: false;
|
|
434
|
+
input: ("image" | "text")[];
|
|
435
|
+
cost: {
|
|
436
|
+
input: number;
|
|
437
|
+
output: number;
|
|
438
|
+
cacheRead: number;
|
|
439
|
+
cacheWrite: number;
|
|
440
|
+
};
|
|
441
|
+
contextWindow: number;
|
|
442
|
+
maxTokens: number;
|
|
443
|
+
};
|
|
444
|
+
readonly "amazon/nova-micro": {
|
|
445
|
+
id: string;
|
|
446
|
+
name: string;
|
|
447
|
+
api: "anthropic-messages";
|
|
448
|
+
provider: string;
|
|
449
|
+
baseUrl: string;
|
|
450
|
+
reasoning: false;
|
|
451
|
+
input: "text"[];
|
|
452
|
+
cost: {
|
|
453
|
+
input: number;
|
|
454
|
+
output: number;
|
|
455
|
+
cacheRead: number;
|
|
456
|
+
cacheWrite: number;
|
|
457
|
+
};
|
|
458
|
+
contextWindow: number;
|
|
459
|
+
maxTokens: number;
|
|
460
|
+
};
|
|
461
|
+
readonly "amazon/nova-pro": {
|
|
462
|
+
id: string;
|
|
463
|
+
name: string;
|
|
464
|
+
api: "anthropic-messages";
|
|
465
|
+
provider: string;
|
|
466
|
+
baseUrl: string;
|
|
467
|
+
reasoning: false;
|
|
468
|
+
input: ("image" | "text")[];
|
|
469
|
+
cost: {
|
|
470
|
+
input: number;
|
|
471
|
+
output: number;
|
|
472
|
+
cacheRead: number;
|
|
473
|
+
cacheWrite: number;
|
|
474
|
+
};
|
|
475
|
+
contextWindow: number;
|
|
476
|
+
maxTokens: number;
|
|
477
|
+
};
|
|
376
478
|
readonly "anthropic/claude-3-haiku": {
|
|
377
479
|
id: string;
|
|
378
480
|
name: string;
|
|
@@ -600,6 +702,26 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
600
702
|
contextWindow: number;
|
|
601
703
|
maxTokens: number;
|
|
602
704
|
};
|
|
705
|
+
readonly "anthropic/claude-sonnet-5": {
|
|
706
|
+
id: string;
|
|
707
|
+
name: string;
|
|
708
|
+
api: "anthropic-messages";
|
|
709
|
+
provider: string;
|
|
710
|
+
baseUrl: string;
|
|
711
|
+
compat: {
|
|
712
|
+
forceAdaptiveThinking: true;
|
|
713
|
+
};
|
|
714
|
+
reasoning: true;
|
|
715
|
+
input: ("image" | "text")[];
|
|
716
|
+
cost: {
|
|
717
|
+
input: number;
|
|
718
|
+
output: number;
|
|
719
|
+
cacheRead: number;
|
|
720
|
+
cacheWrite: number;
|
|
721
|
+
};
|
|
722
|
+
contextWindow: number;
|
|
723
|
+
maxTokens: number;
|
|
724
|
+
};
|
|
603
725
|
readonly "arcee-ai/trinity-large-preview": {
|
|
604
726
|
id: string;
|
|
605
727
|
name: string;
|
|
@@ -634,6 +756,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
634
756
|
contextWindow: number;
|
|
635
757
|
maxTokens: number;
|
|
636
758
|
};
|
|
759
|
+
readonly "arcee-ai/trinity-mini": {
|
|
760
|
+
id: string;
|
|
761
|
+
name: string;
|
|
762
|
+
api: "anthropic-messages";
|
|
763
|
+
provider: string;
|
|
764
|
+
baseUrl: string;
|
|
765
|
+
reasoning: false;
|
|
766
|
+
input: "text"[];
|
|
767
|
+
cost: {
|
|
768
|
+
input: number;
|
|
769
|
+
output: number;
|
|
770
|
+
cacheRead: number;
|
|
771
|
+
cacheWrite: number;
|
|
772
|
+
};
|
|
773
|
+
contextWindow: number;
|
|
774
|
+
maxTokens: number;
|
|
775
|
+
};
|
|
637
776
|
readonly "bytedance/seed-1.6": {
|
|
638
777
|
id: string;
|
|
639
778
|
name: string;
|
|
@@ -641,7 +780,24 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
641
780
|
provider: string;
|
|
642
781
|
baseUrl: string;
|
|
643
782
|
reasoning: true;
|
|
644
|
-
input: "text"[];
|
|
783
|
+
input: ("image" | "text")[];
|
|
784
|
+
cost: {
|
|
785
|
+
input: number;
|
|
786
|
+
output: number;
|
|
787
|
+
cacheRead: number;
|
|
788
|
+
cacheWrite: number;
|
|
789
|
+
};
|
|
790
|
+
contextWindow: number;
|
|
791
|
+
maxTokens: number;
|
|
792
|
+
};
|
|
793
|
+
readonly "bytedance/seed-1.8": {
|
|
794
|
+
id: string;
|
|
795
|
+
name: string;
|
|
796
|
+
api: "anthropic-messages";
|
|
797
|
+
provider: string;
|
|
798
|
+
baseUrl: string;
|
|
799
|
+
reasoning: true;
|
|
800
|
+
input: ("image" | "text")[];
|
|
645
801
|
cost: {
|
|
646
802
|
input: number;
|
|
647
803
|
output: number;
|
|
@@ -742,8 +898,8 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
742
898
|
api: "anthropic-messages";
|
|
743
899
|
provider: string;
|
|
744
900
|
baseUrl: string;
|
|
745
|
-
reasoning:
|
|
746
|
-
input:
|
|
901
|
+
reasoning: false;
|
|
902
|
+
input: "text"[];
|
|
747
903
|
cost: {
|
|
748
904
|
input: number;
|
|
749
905
|
output: number;
|
|
@@ -760,7 +916,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
760
916
|
provider: string;
|
|
761
917
|
baseUrl: string;
|
|
762
918
|
reasoning: true;
|
|
763
|
-
input:
|
|
919
|
+
input: "text"[];
|
|
764
920
|
cost: {
|
|
765
921
|
input: number;
|
|
766
922
|
output: number;
|
|
@@ -777,7 +933,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
777
933
|
provider: string;
|
|
778
934
|
baseUrl: string;
|
|
779
935
|
reasoning: true;
|
|
780
|
-
input:
|
|
936
|
+
input: "text"[];
|
|
781
937
|
cost: {
|
|
782
938
|
input: number;
|
|
783
939
|
output: number;
|
|
@@ -980,7 +1136,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
980
1136
|
api: "anthropic-messages";
|
|
981
1137
|
provider: string;
|
|
982
1138
|
baseUrl: string;
|
|
983
|
-
reasoning:
|
|
1139
|
+
reasoning: true;
|
|
984
1140
|
input: ("image" | "text")[];
|
|
985
1141
|
cost: {
|
|
986
1142
|
input: number;
|
|
@@ -1025,6 +1181,40 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1025
1181
|
contextWindow: number;
|
|
1026
1182
|
maxTokens: number;
|
|
1027
1183
|
};
|
|
1184
|
+
readonly "interfaze/interfaze-beta": {
|
|
1185
|
+
id: string;
|
|
1186
|
+
name: string;
|
|
1187
|
+
api: "anthropic-messages";
|
|
1188
|
+
provider: string;
|
|
1189
|
+
baseUrl: string;
|
|
1190
|
+
reasoning: true;
|
|
1191
|
+
input: ("image" | "text")[];
|
|
1192
|
+
cost: {
|
|
1193
|
+
input: number;
|
|
1194
|
+
output: number;
|
|
1195
|
+
cacheRead: number;
|
|
1196
|
+
cacheWrite: number;
|
|
1197
|
+
};
|
|
1198
|
+
contextWindow: number;
|
|
1199
|
+
maxTokens: number;
|
|
1200
|
+
};
|
|
1201
|
+
readonly "kwaipilot/kat-coder-pro-v1": {
|
|
1202
|
+
id: string;
|
|
1203
|
+
name: string;
|
|
1204
|
+
api: "anthropic-messages";
|
|
1205
|
+
provider: string;
|
|
1206
|
+
baseUrl: string;
|
|
1207
|
+
reasoning: false;
|
|
1208
|
+
input: "text"[];
|
|
1209
|
+
cost: {
|
|
1210
|
+
input: number;
|
|
1211
|
+
output: number;
|
|
1212
|
+
cacheRead: number;
|
|
1213
|
+
cacheWrite: number;
|
|
1214
|
+
};
|
|
1215
|
+
contextWindow: number;
|
|
1216
|
+
maxTokens: number;
|
|
1217
|
+
};
|
|
1028
1218
|
readonly "kwaipilot/kat-coder-pro-v2": {
|
|
1029
1219
|
id: string;
|
|
1030
1220
|
name: string;
|
|
@@ -1059,6 +1249,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1059
1249
|
contextWindow: number;
|
|
1060
1250
|
maxTokens: number;
|
|
1061
1251
|
};
|
|
1252
|
+
readonly "meituan/longcat-flash-thinking-2601": {
|
|
1253
|
+
id: string;
|
|
1254
|
+
name: string;
|
|
1255
|
+
api: "anthropic-messages";
|
|
1256
|
+
provider: string;
|
|
1257
|
+
baseUrl: string;
|
|
1258
|
+
reasoning: true;
|
|
1259
|
+
input: "text"[];
|
|
1260
|
+
cost: {
|
|
1261
|
+
input: number;
|
|
1262
|
+
output: number;
|
|
1263
|
+
cacheRead: number;
|
|
1264
|
+
cacheWrite: number;
|
|
1265
|
+
};
|
|
1266
|
+
contextWindow: number;
|
|
1267
|
+
maxTokens: number;
|
|
1268
|
+
};
|
|
1062
1269
|
readonly "meta/llama-3.1-70b": {
|
|
1063
1270
|
id: string;
|
|
1064
1271
|
name: string;
|
|
@@ -1372,7 +1579,58 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1372
1579
|
provider: string;
|
|
1373
1580
|
baseUrl: string;
|
|
1374
1581
|
reasoning: false;
|
|
1375
|
-
input: "text"[];
|
|
1582
|
+
input: ("image" | "text")[];
|
|
1583
|
+
cost: {
|
|
1584
|
+
input: number;
|
|
1585
|
+
output: number;
|
|
1586
|
+
cacheRead: number;
|
|
1587
|
+
cacheWrite: number;
|
|
1588
|
+
};
|
|
1589
|
+
contextWindow: number;
|
|
1590
|
+
maxTokens: number;
|
|
1591
|
+
};
|
|
1592
|
+
readonly "mistral/magistral-medium": {
|
|
1593
|
+
id: string;
|
|
1594
|
+
name: string;
|
|
1595
|
+
api: "anthropic-messages";
|
|
1596
|
+
provider: string;
|
|
1597
|
+
baseUrl: string;
|
|
1598
|
+
reasoning: true;
|
|
1599
|
+
input: ("image" | "text")[];
|
|
1600
|
+
cost: {
|
|
1601
|
+
input: number;
|
|
1602
|
+
output: number;
|
|
1603
|
+
cacheRead: number;
|
|
1604
|
+
cacheWrite: number;
|
|
1605
|
+
};
|
|
1606
|
+
contextWindow: number;
|
|
1607
|
+
maxTokens: number;
|
|
1608
|
+
};
|
|
1609
|
+
readonly "mistral/magistral-small": {
|
|
1610
|
+
id: string;
|
|
1611
|
+
name: string;
|
|
1612
|
+
api: "anthropic-messages";
|
|
1613
|
+
provider: string;
|
|
1614
|
+
baseUrl: string;
|
|
1615
|
+
reasoning: true;
|
|
1616
|
+
input: ("image" | "text")[];
|
|
1617
|
+
cost: {
|
|
1618
|
+
input: number;
|
|
1619
|
+
output: number;
|
|
1620
|
+
cacheRead: number;
|
|
1621
|
+
cacheWrite: number;
|
|
1622
|
+
};
|
|
1623
|
+
contextWindow: number;
|
|
1624
|
+
maxTokens: number;
|
|
1625
|
+
};
|
|
1626
|
+
readonly "mistral/ministral-14b": {
|
|
1627
|
+
id: string;
|
|
1628
|
+
name: string;
|
|
1629
|
+
api: "anthropic-messages";
|
|
1630
|
+
provider: string;
|
|
1631
|
+
baseUrl: string;
|
|
1632
|
+
reasoning: false;
|
|
1633
|
+
input: ("image" | "text")[];
|
|
1376
1634
|
cost: {
|
|
1377
1635
|
input: number;
|
|
1378
1636
|
output: number;
|
|
@@ -1416,6 +1674,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1416
1674
|
contextWindow: number;
|
|
1417
1675
|
maxTokens: number;
|
|
1418
1676
|
};
|
|
1677
|
+
readonly "mistral/mistral-large-3": {
|
|
1678
|
+
id: string;
|
|
1679
|
+
name: string;
|
|
1680
|
+
api: "anthropic-messages";
|
|
1681
|
+
provider: string;
|
|
1682
|
+
baseUrl: string;
|
|
1683
|
+
reasoning: false;
|
|
1684
|
+
input: ("image" | "text")[];
|
|
1685
|
+
cost: {
|
|
1686
|
+
input: number;
|
|
1687
|
+
output: number;
|
|
1688
|
+
cacheRead: number;
|
|
1689
|
+
cacheWrite: number;
|
|
1690
|
+
};
|
|
1691
|
+
contextWindow: number;
|
|
1692
|
+
maxTokens: number;
|
|
1693
|
+
};
|
|
1419
1694
|
readonly "mistral/mistral-medium": {
|
|
1420
1695
|
id: string;
|
|
1421
1696
|
name: string;
|
|
@@ -1440,7 +1715,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1440
1715
|
provider: string;
|
|
1441
1716
|
baseUrl: string;
|
|
1442
1717
|
reasoning: true;
|
|
1443
|
-
input: "text"[];
|
|
1718
|
+
input: ("image" | "text")[];
|
|
1444
1719
|
cost: {
|
|
1445
1720
|
input: number;
|
|
1446
1721
|
output: number;
|
|
@@ -1620,6 +1895,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1620
1895
|
contextWindow: number;
|
|
1621
1896
|
maxTokens: number;
|
|
1622
1897
|
};
|
|
1898
|
+
readonly "nvidia/nemotron-3-nano-30b-a3b": {
|
|
1899
|
+
id: string;
|
|
1900
|
+
name: string;
|
|
1901
|
+
api: "anthropic-messages";
|
|
1902
|
+
provider: string;
|
|
1903
|
+
baseUrl: string;
|
|
1904
|
+
reasoning: true;
|
|
1905
|
+
input: "text"[];
|
|
1906
|
+
cost: {
|
|
1907
|
+
input: number;
|
|
1908
|
+
output: number;
|
|
1909
|
+
cacheRead: number;
|
|
1910
|
+
cacheWrite: number;
|
|
1911
|
+
};
|
|
1912
|
+
contextWindow: number;
|
|
1913
|
+
maxTokens: number;
|
|
1914
|
+
};
|
|
1623
1915
|
readonly "nvidia/nemotron-3-super-120b-a12b": {
|
|
1624
1916
|
id: string;
|
|
1625
1917
|
name: string;
|
|
@@ -1688,6 +1980,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1688
1980
|
contextWindow: number;
|
|
1689
1981
|
maxTokens: number;
|
|
1690
1982
|
};
|
|
1983
|
+
readonly "openai/gpt-3.5-turbo": {
|
|
1984
|
+
id: string;
|
|
1985
|
+
name: string;
|
|
1986
|
+
api: "anthropic-messages";
|
|
1987
|
+
provider: string;
|
|
1988
|
+
baseUrl: string;
|
|
1989
|
+
reasoning: false;
|
|
1990
|
+
input: "text"[];
|
|
1991
|
+
cost: {
|
|
1992
|
+
input: number;
|
|
1993
|
+
output: number;
|
|
1994
|
+
cacheRead: number;
|
|
1995
|
+
cacheWrite: number;
|
|
1996
|
+
};
|
|
1997
|
+
contextWindow: number;
|
|
1998
|
+
maxTokens: number;
|
|
1999
|
+
};
|
|
1691
2000
|
readonly "openai/gpt-4-turbo": {
|
|
1692
2001
|
id: string;
|
|
1693
2002
|
name: string;
|
|
@@ -1813,7 +2122,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1813
2122
|
api: "anthropic-messages";
|
|
1814
2123
|
provider: string;
|
|
1815
2124
|
baseUrl: string;
|
|
1816
|
-
reasoning:
|
|
2125
|
+
reasoning: false;
|
|
1817
2126
|
input: ("image" | "text")[];
|
|
1818
2127
|
cost: {
|
|
1819
2128
|
input: number;
|
|
@@ -1949,7 +2258,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
1949
2258
|
api: "anthropic-messages";
|
|
1950
2259
|
provider: string;
|
|
1951
2260
|
baseUrl: string;
|
|
1952
|
-
reasoning:
|
|
2261
|
+
reasoning: false;
|
|
1953
2262
|
input: ("image" | "text")[];
|
|
1954
2263
|
cost: {
|
|
1955
2264
|
input: number;
|
|
@@ -2003,7 +2312,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2003
2312
|
api: "anthropic-messages";
|
|
2004
2313
|
provider: string;
|
|
2005
2314
|
baseUrl: string;
|
|
2006
|
-
reasoning:
|
|
2315
|
+
reasoning: false;
|
|
2007
2316
|
thinkingLevelMap: {
|
|
2008
2317
|
xhigh: string;
|
|
2009
2318
|
};
|
|
@@ -2063,7 +2372,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2063
2372
|
api: "anthropic-messages";
|
|
2064
2373
|
provider: string;
|
|
2065
2374
|
baseUrl: string;
|
|
2066
|
-
reasoning:
|
|
2375
|
+
reasoning: false;
|
|
2067
2376
|
thinkingLevelMap: {
|
|
2068
2377
|
xhigh: string;
|
|
2069
2378
|
};
|
|
@@ -2373,40 +2682,6 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2373
2682
|
contextWindow: number;
|
|
2374
2683
|
maxTokens: number;
|
|
2375
2684
|
};
|
|
2376
|
-
readonly "perplexity/sonar": {
|
|
2377
|
-
id: string;
|
|
2378
|
-
name: string;
|
|
2379
|
-
api: "anthropic-messages";
|
|
2380
|
-
provider: string;
|
|
2381
|
-
baseUrl: string;
|
|
2382
|
-
reasoning: false;
|
|
2383
|
-
input: ("image" | "text")[];
|
|
2384
|
-
cost: {
|
|
2385
|
-
input: number;
|
|
2386
|
-
output: number;
|
|
2387
|
-
cacheRead: number;
|
|
2388
|
-
cacheWrite: number;
|
|
2389
|
-
};
|
|
2390
|
-
contextWindow: number;
|
|
2391
|
-
maxTokens: number;
|
|
2392
|
-
};
|
|
2393
|
-
readonly "perplexity/sonar-pro": {
|
|
2394
|
-
id: string;
|
|
2395
|
-
name: string;
|
|
2396
|
-
api: "anthropic-messages";
|
|
2397
|
-
provider: string;
|
|
2398
|
-
baseUrl: string;
|
|
2399
|
-
reasoning: false;
|
|
2400
|
-
input: ("image" | "text")[];
|
|
2401
|
-
cost: {
|
|
2402
|
-
input: number;
|
|
2403
|
-
output: number;
|
|
2404
|
-
cacheRead: number;
|
|
2405
|
-
cacheWrite: number;
|
|
2406
|
-
};
|
|
2407
|
-
contextWindow: number;
|
|
2408
|
-
maxTokens: number;
|
|
2409
|
-
};
|
|
2410
2685
|
readonly "sakana/fugu-ultra": {
|
|
2411
2686
|
id: string;
|
|
2412
2687
|
name: string;
|
|
@@ -2686,7 +2961,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2686
2961
|
provider: string;
|
|
2687
2962
|
baseUrl: string;
|
|
2688
2963
|
reasoning: true;
|
|
2689
|
-
input:
|
|
2964
|
+
input: "text"[];
|
|
2690
2965
|
cost: {
|
|
2691
2966
|
input: number;
|
|
2692
2967
|
output: number;
|
|
@@ -2890,7 +3165,7 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2890
3165
|
provider: string;
|
|
2891
3166
|
baseUrl: string;
|
|
2892
3167
|
reasoning: true;
|
|
2893
|
-
input:
|
|
3168
|
+
input: "text"[];
|
|
2894
3169
|
cost: {
|
|
2895
3170
|
input: number;
|
|
2896
3171
|
output: number;
|
|
@@ -2917,6 +3192,23 @@ export declare const VERCEL_AI_GATEWAY_MODELS: {
|
|
|
2917
3192
|
contextWindow: number;
|
|
2918
3193
|
maxTokens: number;
|
|
2919
3194
|
};
|
|
3195
|
+
readonly "zai/glm-5.2-fast": {
|
|
3196
|
+
id: string;
|
|
3197
|
+
name: string;
|
|
3198
|
+
api: "anthropic-messages";
|
|
3199
|
+
provider: string;
|
|
3200
|
+
baseUrl: string;
|
|
3201
|
+
reasoning: true;
|
|
3202
|
+
input: "text"[];
|
|
3203
|
+
cost: {
|
|
3204
|
+
input: number;
|
|
3205
|
+
output: number;
|
|
3206
|
+
cacheRead: number;
|
|
3207
|
+
cacheWrite: number;
|
|
3208
|
+
};
|
|
3209
|
+
contextWindow: number;
|
|
3210
|
+
maxTokens: number;
|
|
3211
|
+
};
|
|
2920
3212
|
readonly "zai/glm-5v-turbo": {
|
|
2921
3213
|
id: string;
|
|
2922
3214
|
name: string;
|