@caupulican/pi-ai 0.81.11 → 0.81.13
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/dist/api-registry.d.ts.map +1 -1
- package/dist/api-registry.js +17 -1
- package/dist/api-registry.js.map +1 -1
- package/dist/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +27 -16
- package/dist/env-api-keys.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +120 -0
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +124 -4
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +39 -6
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/google-shared.d.ts +13 -4
- package/dist/providers/google-shared.d.ts.map +1 -1
- package/dist/providers/google-shared.js +132 -11
- package/dist/providers/google-shared.js.map +1 -1
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js +16 -98
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js +16 -116
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/openai-completions.d.ts +2 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +56 -22
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses-shared.d.ts.map +1 -1
- package/dist/providers/openai-responses-shared.js +34 -15
- package/dist/providers/openai-responses-shared.js.map +1 -1
- package/dist/providers/transform-messages.d.ts.map +1 -1
- package/dist/providers/transform-messages.js +25 -6
- package/dist/providers/transform-messages.js.map +1 -1
- package/dist/stream.d.ts +2 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +79 -2
- package/dist/stream.js.map +1 -1
- package/dist/types.d.ts +29 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/json-parse.d.ts +5 -0
- package/dist/utils/json-parse.d.ts.map +1 -1
- package/dist/utils/json-parse.js +9 -13
- package/dist/utils/json-parse.js.map +1 -1
- package/dist/utils/tool-names.d.ts +7 -0
- package/dist/utils/tool-names.d.ts.map +1 -0
- package/dist/utils/tool-names.js +46 -0
- package/dist/utils/tool-names.js.map +1 -0
- package/dist/utils/tool-repair/analyzer.d.ts +45 -0
- package/dist/utils/tool-repair/analyzer.d.ts.map +1 -0
- package/dist/utils/tool-repair/analyzer.js +255 -0
- package/dist/utils/tool-repair/analyzer.js.map +1 -0
- package/dist/utils/tool-repair/registry.d.ts +32 -0
- package/dist/utils/tool-repair/registry.d.ts.map +1 -0
- package/dist/utils/tool-repair/registry.js +129 -0
- package/dist/utils/tool-repair/registry.js.map +1 -0
- package/dist/utils/tool-repair/repairer.d.ts +16 -0
- package/dist/utils/tool-repair/repairer.d.ts.map +1 -0
- package/dist/utils/tool-repair/repairer.js +254 -0
- package/dist/utils/tool-repair/repairer.js.map +1 -0
- package/dist/utils/tool-repair/replay.d.ts +35 -0
- package/dist/utils/tool-repair/replay.d.ts.map +1 -0
- package/dist/utils/tool-repair/replay.js +200 -0
- package/dist/utils/tool-repair/replay.js.map +1 -0
- package/dist/utils/tool-repair/text-protocol.d.ts +16 -0
- package/dist/utils/tool-repair/text-protocol.d.ts.map +1 -0
- package/dist/utils/tool-repair/text-protocol.js +198 -0
- package/dist/utils/tool-repair/text-protocol.js.map +1 -0
- package/dist/utils/validation.d.ts +47 -4
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +300 -217
- package/dist/utils/validation.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -10,6 +10,7 @@ export const MODELS = {
|
|
|
10
10
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
11
11
|
reasoning: true,
|
|
12
12
|
input: ["text", "image"],
|
|
13
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
13
14
|
cost: {
|
|
14
15
|
input: 0.33,
|
|
15
16
|
output: 2.75,
|
|
@@ -27,6 +28,7 @@ export const MODELS = {
|
|
|
27
28
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
28
29
|
reasoning: false,
|
|
29
30
|
input: ["text", "image"],
|
|
31
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
30
32
|
cost: {
|
|
31
33
|
input: 0.06,
|
|
32
34
|
output: 0.24,
|
|
@@ -61,6 +63,7 @@ export const MODELS = {
|
|
|
61
63
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
62
64
|
reasoning: false,
|
|
63
65
|
input: ["text", "image"],
|
|
66
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
64
67
|
cost: {
|
|
65
68
|
input: 0.8,
|
|
66
69
|
output: 3.2,
|
|
@@ -78,6 +81,7 @@ export const MODELS = {
|
|
|
78
81
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
79
82
|
reasoning: true,
|
|
80
83
|
input: ["text", "image"],
|
|
84
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
81
85
|
cost: {
|
|
82
86
|
input: 10,
|
|
83
87
|
output: 50,
|
|
@@ -95,6 +99,7 @@ export const MODELS = {
|
|
|
95
99
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
96
100
|
reasoning: true,
|
|
97
101
|
input: ["text", "image"],
|
|
102
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
98
103
|
cost: {
|
|
99
104
|
input: 1,
|
|
100
105
|
output: 5,
|
|
@@ -112,6 +117,7 @@ export const MODELS = {
|
|
|
112
117
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
113
118
|
reasoning: true,
|
|
114
119
|
input: ["text", "image"],
|
|
120
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
115
121
|
cost: {
|
|
116
122
|
input: 15,
|
|
117
123
|
output: 75,
|
|
@@ -129,6 +135,7 @@ export const MODELS = {
|
|
|
129
135
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
130
136
|
reasoning: true,
|
|
131
137
|
input: ["text", "image"],
|
|
138
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
132
139
|
cost: {
|
|
133
140
|
input: 5,
|
|
134
141
|
output: 25,
|
|
@@ -147,6 +154,7 @@ export const MODELS = {
|
|
|
147
154
|
reasoning: true,
|
|
148
155
|
thinkingLevelMap: { "xhigh": "max" },
|
|
149
156
|
input: ["text", "image"],
|
|
157
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
150
158
|
cost: {
|
|
151
159
|
input: 5,
|
|
152
160
|
output: 25,
|
|
@@ -165,6 +173,7 @@ export const MODELS = {
|
|
|
165
173
|
reasoning: true,
|
|
166
174
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
167
175
|
input: ["text", "image"],
|
|
176
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
168
177
|
cost: {
|
|
169
178
|
input: 5,
|
|
170
179
|
output: 25,
|
|
@@ -183,6 +192,7 @@ export const MODELS = {
|
|
|
183
192
|
reasoning: true,
|
|
184
193
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
185
194
|
input: ["text", "image"],
|
|
195
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
186
196
|
cost: {
|
|
187
197
|
input: 5,
|
|
188
198
|
output: 25,
|
|
@@ -200,6 +210,7 @@ export const MODELS = {
|
|
|
200
210
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
201
211
|
reasoning: true,
|
|
202
212
|
input: ["text", "image"],
|
|
213
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
203
214
|
cost: {
|
|
204
215
|
input: 3,
|
|
205
216
|
output: 15,
|
|
@@ -217,6 +228,7 @@ export const MODELS = {
|
|
|
217
228
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
218
229
|
reasoning: true,
|
|
219
230
|
input: ["text", "image"],
|
|
231
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
220
232
|
cost: {
|
|
221
233
|
input: 3,
|
|
222
234
|
output: 15,
|
|
@@ -234,6 +246,7 @@ export const MODELS = {
|
|
|
234
246
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
235
247
|
reasoning: true,
|
|
236
248
|
input: ["text", "image"],
|
|
249
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
237
250
|
cost: {
|
|
238
251
|
input: 2,
|
|
239
252
|
output: 10,
|
|
@@ -251,6 +264,7 @@ export const MODELS = {
|
|
|
251
264
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
252
265
|
reasoning: true,
|
|
253
266
|
input: ["text", "image"],
|
|
267
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
254
268
|
cost: {
|
|
255
269
|
input: 1,
|
|
256
270
|
output: 5,
|
|
@@ -269,6 +283,7 @@ export const MODELS = {
|
|
|
269
283
|
reasoning: true,
|
|
270
284
|
thinkingLevelMap: { "xhigh": "max" },
|
|
271
285
|
input: ["text", "image"],
|
|
286
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
272
287
|
cost: {
|
|
273
288
|
input: 16.5,
|
|
274
289
|
output: 82.5,
|
|
@@ -287,6 +302,7 @@ export const MODELS = {
|
|
|
287
302
|
reasoning: true,
|
|
288
303
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
289
304
|
input: ["text", "image"],
|
|
305
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
290
306
|
cost: {
|
|
291
307
|
input: 5,
|
|
292
308
|
output: 25,
|
|
@@ -304,6 +320,7 @@ export const MODELS = {
|
|
|
304
320
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
305
321
|
reasoning: true,
|
|
306
322
|
input: ["text", "image"],
|
|
323
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
307
324
|
cost: {
|
|
308
325
|
input: 3,
|
|
309
326
|
output: 15,
|
|
@@ -321,6 +338,7 @@ export const MODELS = {
|
|
|
321
338
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
322
339
|
reasoning: true,
|
|
323
340
|
input: ["text", "image"],
|
|
341
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
324
342
|
cost: {
|
|
325
343
|
input: 3.3,
|
|
326
344
|
output: 16.5,
|
|
@@ -338,6 +356,7 @@ export const MODELS = {
|
|
|
338
356
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
339
357
|
reasoning: true,
|
|
340
358
|
input: ["text", "image"],
|
|
359
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
341
360
|
cost: {
|
|
342
361
|
input: 2,
|
|
343
362
|
output: 10,
|
|
@@ -406,6 +425,7 @@ export const MODELS = {
|
|
|
406
425
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
407
426
|
reasoning: true,
|
|
408
427
|
input: ["text", "image"],
|
|
428
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
409
429
|
cost: {
|
|
410
430
|
input: 11,
|
|
411
431
|
output: 55,
|
|
@@ -423,6 +443,7 @@ export const MODELS = {
|
|
|
423
443
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
424
444
|
reasoning: true,
|
|
425
445
|
input: ["text", "image"],
|
|
446
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
426
447
|
cost: {
|
|
427
448
|
input: 1.1,
|
|
428
449
|
output: 5.5,
|
|
@@ -440,6 +461,7 @@ export const MODELS = {
|
|
|
440
461
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
441
462
|
reasoning: true,
|
|
442
463
|
input: ["text", "image"],
|
|
464
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
443
465
|
cost: {
|
|
444
466
|
input: 5.5,
|
|
445
467
|
output: 27.5,
|
|
@@ -458,6 +480,7 @@ export const MODELS = {
|
|
|
458
480
|
reasoning: true,
|
|
459
481
|
thinkingLevelMap: { "xhigh": "max" },
|
|
460
482
|
input: ["text", "image"],
|
|
483
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
461
484
|
cost: {
|
|
462
485
|
input: 5.5,
|
|
463
486
|
output: 27.5,
|
|
@@ -476,6 +499,7 @@ export const MODELS = {
|
|
|
476
499
|
reasoning: true,
|
|
477
500
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
478
501
|
input: ["text", "image"],
|
|
502
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
479
503
|
cost: {
|
|
480
504
|
input: 5.5,
|
|
481
505
|
output: 27.5,
|
|
@@ -494,6 +518,7 @@ export const MODELS = {
|
|
|
494
518
|
reasoning: true,
|
|
495
519
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
496
520
|
input: ["text", "image"],
|
|
521
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
497
522
|
cost: {
|
|
498
523
|
input: 5.5,
|
|
499
524
|
output: 27.5,
|
|
@@ -511,6 +536,7 @@ export const MODELS = {
|
|
|
511
536
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
512
537
|
reasoning: true,
|
|
513
538
|
input: ["text", "image"],
|
|
539
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
514
540
|
cost: {
|
|
515
541
|
input: 3.3,
|
|
516
542
|
output: 16.5,
|
|
@@ -528,6 +554,7 @@ export const MODELS = {
|
|
|
528
554
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
529
555
|
reasoning: true,
|
|
530
556
|
input: ["text", "image"],
|
|
557
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
531
558
|
cost: {
|
|
532
559
|
input: 3.3,
|
|
533
560
|
output: 16.5,
|
|
@@ -545,6 +572,7 @@ export const MODELS = {
|
|
|
545
572
|
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
546
573
|
reasoning: true,
|
|
547
574
|
input: ["text", "image"],
|
|
575
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
548
576
|
cost: {
|
|
549
577
|
input: 2.2,
|
|
550
578
|
output: 11,
|
|
@@ -562,6 +590,7 @@ export const MODELS = {
|
|
|
562
590
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
563
591
|
reasoning: true,
|
|
564
592
|
input: ["text", "image"],
|
|
593
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
565
594
|
cost: {
|
|
566
595
|
input: 10,
|
|
567
596
|
output: 50,
|
|
@@ -579,6 +608,7 @@ export const MODELS = {
|
|
|
579
608
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
580
609
|
reasoning: true,
|
|
581
610
|
input: ["text", "image"],
|
|
611
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
582
612
|
cost: {
|
|
583
613
|
input: 1,
|
|
584
614
|
output: 5,
|
|
@@ -596,6 +626,7 @@ export const MODELS = {
|
|
|
596
626
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
597
627
|
reasoning: true,
|
|
598
628
|
input: ["text", "image"],
|
|
629
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
599
630
|
cost: {
|
|
600
631
|
input: 5,
|
|
601
632
|
output: 25,
|
|
@@ -614,6 +645,7 @@ export const MODELS = {
|
|
|
614
645
|
reasoning: true,
|
|
615
646
|
thinkingLevelMap: { "xhigh": "max" },
|
|
616
647
|
input: ["text", "image"],
|
|
648
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
617
649
|
cost: {
|
|
618
650
|
input: 5,
|
|
619
651
|
output: 25,
|
|
@@ -632,6 +664,7 @@ export const MODELS = {
|
|
|
632
664
|
reasoning: true,
|
|
633
665
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
634
666
|
input: ["text", "image"],
|
|
667
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
635
668
|
cost: {
|
|
636
669
|
input: 5,
|
|
637
670
|
output: 25,
|
|
@@ -650,6 +683,7 @@ export const MODELS = {
|
|
|
650
683
|
reasoning: true,
|
|
651
684
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
652
685
|
input: ["text", "image"],
|
|
686
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
653
687
|
cost: {
|
|
654
688
|
input: 5,
|
|
655
689
|
output: 25,
|
|
@@ -667,6 +701,7 @@ export const MODELS = {
|
|
|
667
701
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
668
702
|
reasoning: true,
|
|
669
703
|
input: ["text", "image"],
|
|
704
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
670
705
|
cost: {
|
|
671
706
|
input: 3,
|
|
672
707
|
output: 15,
|
|
@@ -684,6 +719,7 @@ export const MODELS = {
|
|
|
684
719
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
685
720
|
reasoning: true,
|
|
686
721
|
input: ["text", "image"],
|
|
722
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
687
723
|
cost: {
|
|
688
724
|
input: 3,
|
|
689
725
|
output: 15,
|
|
@@ -701,6 +737,7 @@ export const MODELS = {
|
|
|
701
737
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
702
738
|
reasoning: true,
|
|
703
739
|
input: ["text", "image"],
|
|
740
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
704
741
|
cost: {
|
|
705
742
|
input: 2,
|
|
706
743
|
output: 10,
|
|
@@ -718,6 +755,7 @@ export const MODELS = {
|
|
|
718
755
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
719
756
|
reasoning: false,
|
|
720
757
|
input: ["text", "image"],
|
|
758
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
721
759
|
cost: {
|
|
722
760
|
input: 0.12,
|
|
723
761
|
output: 0.2,
|
|
@@ -735,6 +773,7 @@ export const MODELS = {
|
|
|
735
773
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
736
774
|
reasoning: false,
|
|
737
775
|
input: ["text", "image"],
|
|
776
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
738
777
|
cost: {
|
|
739
778
|
input: 0.04,
|
|
740
779
|
output: 0.08,
|
|
@@ -752,6 +791,7 @@ export const MODELS = {
|
|
|
752
791
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
753
792
|
reasoning: true,
|
|
754
793
|
input: ["text", "image"],
|
|
794
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
755
795
|
cost: {
|
|
756
796
|
input: 1,
|
|
757
797
|
output: 5,
|
|
@@ -770,6 +810,7 @@ export const MODELS = {
|
|
|
770
810
|
reasoning: true,
|
|
771
811
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
772
812
|
input: ["text", "image"],
|
|
813
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
773
814
|
cost: {
|
|
774
815
|
input: 5,
|
|
775
816
|
output: 25,
|
|
@@ -788,6 +829,7 @@ export const MODELS = {
|
|
|
788
829
|
reasoning: true,
|
|
789
830
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
790
831
|
input: ["text", "image"],
|
|
832
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
791
833
|
cost: {
|
|
792
834
|
input: 5,
|
|
793
835
|
output: 25,
|
|
@@ -805,6 +847,7 @@ export const MODELS = {
|
|
|
805
847
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
806
848
|
reasoning: true,
|
|
807
849
|
input: ["text", "image"],
|
|
850
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
808
851
|
cost: {
|
|
809
852
|
input: 3,
|
|
810
853
|
output: 15,
|
|
@@ -822,6 +865,7 @@ export const MODELS = {
|
|
|
822
865
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
823
866
|
reasoning: true,
|
|
824
867
|
input: ["text", "image"],
|
|
868
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
825
869
|
cost: {
|
|
826
870
|
input: 3,
|
|
827
871
|
output: 15,
|
|
@@ -839,6 +883,7 @@ export const MODELS = {
|
|
|
839
883
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
840
884
|
reasoning: true,
|
|
841
885
|
input: ["text", "image"],
|
|
886
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
842
887
|
cost: {
|
|
843
888
|
input: 2,
|
|
844
889
|
output: 10,
|
|
@@ -907,6 +952,7 @@ export const MODELS = {
|
|
|
907
952
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
908
953
|
reasoning: false,
|
|
909
954
|
input: ["text", "image"],
|
|
955
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
910
956
|
cost: {
|
|
911
957
|
input: 0.24,
|
|
912
958
|
output: 0.97,
|
|
@@ -924,6 +970,7 @@ export const MODELS = {
|
|
|
924
970
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
925
971
|
reasoning: false,
|
|
926
972
|
input: ["text", "image"],
|
|
973
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
927
974
|
cost: {
|
|
928
975
|
input: 0.17,
|
|
929
976
|
output: 0.66,
|
|
@@ -1009,6 +1056,7 @@ export const MODELS = {
|
|
|
1009
1056
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1010
1057
|
reasoning: true,
|
|
1011
1058
|
input: ["text", "image"],
|
|
1059
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1012
1060
|
cost: {
|
|
1013
1061
|
input: 0.5,
|
|
1014
1062
|
output: 1.5,
|
|
@@ -1043,6 +1091,7 @@ export const MODELS = {
|
|
|
1043
1091
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1044
1092
|
reasoning: false,
|
|
1045
1093
|
input: ["text", "image"],
|
|
1094
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1046
1095
|
cost: {
|
|
1047
1096
|
input: 0.1,
|
|
1048
1097
|
output: 0.1,
|
|
@@ -1077,6 +1126,7 @@ export const MODELS = {
|
|
|
1077
1126
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1078
1127
|
reasoning: false,
|
|
1079
1128
|
input: ["text", "image"],
|
|
1129
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1080
1130
|
cost: {
|
|
1081
1131
|
input: 0.5,
|
|
1082
1132
|
output: 1.5,
|
|
@@ -1094,6 +1144,7 @@ export const MODELS = {
|
|
|
1094
1144
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1095
1145
|
reasoning: false,
|
|
1096
1146
|
input: ["text", "image"],
|
|
1147
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1097
1148
|
cost: {
|
|
1098
1149
|
input: 2,
|
|
1099
1150
|
output: 6,
|
|
@@ -1162,6 +1213,7 @@ export const MODELS = {
|
|
|
1162
1213
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1163
1214
|
reasoning: true,
|
|
1164
1215
|
input: ["text", "image"],
|
|
1216
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1165
1217
|
cost: {
|
|
1166
1218
|
input: 0.6,
|
|
1167
1219
|
output: 3,
|
|
@@ -1179,6 +1231,7 @@ export const MODELS = {
|
|
|
1179
1231
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1180
1232
|
reasoning: false,
|
|
1181
1233
|
input: ["text", "image"],
|
|
1234
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1182
1235
|
cost: {
|
|
1183
1236
|
input: 0.2,
|
|
1184
1237
|
output: 0.6,
|
|
@@ -1248,6 +1301,7 @@ export const MODELS = {
|
|
|
1248
1301
|
reasoning: true,
|
|
1249
1302
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1250
1303
|
input: ["text", "image"],
|
|
1304
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1251
1305
|
cost: {
|
|
1252
1306
|
input: 2.75,
|
|
1253
1307
|
output: 16.5,
|
|
@@ -1266,6 +1320,7 @@ export const MODELS = {
|
|
|
1266
1320
|
reasoning: true,
|
|
1267
1321
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1268
1322
|
input: ["text", "image"],
|
|
1323
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1269
1324
|
cost: {
|
|
1270
1325
|
input: 5.5,
|
|
1271
1326
|
output: 33,
|
|
@@ -1487,6 +1542,7 @@ export const MODELS = {
|
|
|
1487
1542
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1488
1543
|
reasoning: false,
|
|
1489
1544
|
input: ["text", "image"],
|
|
1545
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1490
1546
|
cost: {
|
|
1491
1547
|
input: 0.3,
|
|
1492
1548
|
output: 1.5,
|
|
@@ -1504,6 +1560,7 @@ export const MODELS = {
|
|
|
1504
1560
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1505
1561
|
reasoning: true,
|
|
1506
1562
|
input: ["text", "image"],
|
|
1563
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1507
1564
|
cost: {
|
|
1508
1565
|
input: 10,
|
|
1509
1566
|
output: 50,
|
|
@@ -1521,6 +1578,7 @@ export const MODELS = {
|
|
|
1521
1578
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1522
1579
|
reasoning: true,
|
|
1523
1580
|
input: ["text", "image"],
|
|
1581
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1524
1582
|
cost: {
|
|
1525
1583
|
input: 1,
|
|
1526
1584
|
output: 5,
|
|
@@ -1538,6 +1596,7 @@ export const MODELS = {
|
|
|
1538
1596
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1539
1597
|
reasoning: true,
|
|
1540
1598
|
input: ["text", "image"],
|
|
1599
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1541
1600
|
cost: {
|
|
1542
1601
|
input: 15,
|
|
1543
1602
|
output: 75,
|
|
@@ -1555,6 +1614,7 @@ export const MODELS = {
|
|
|
1555
1614
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1556
1615
|
reasoning: true,
|
|
1557
1616
|
input: ["text", "image"],
|
|
1617
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1558
1618
|
cost: {
|
|
1559
1619
|
input: 5,
|
|
1560
1620
|
output: 25,
|
|
@@ -1573,6 +1633,7 @@ export const MODELS = {
|
|
|
1573
1633
|
reasoning: true,
|
|
1574
1634
|
thinkingLevelMap: { "xhigh": "max" },
|
|
1575
1635
|
input: ["text", "image"],
|
|
1636
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1576
1637
|
cost: {
|
|
1577
1638
|
input: 5,
|
|
1578
1639
|
output: 25,
|
|
@@ -1591,6 +1652,7 @@ export const MODELS = {
|
|
|
1591
1652
|
reasoning: true,
|
|
1592
1653
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1593
1654
|
input: ["text", "image"],
|
|
1655
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1594
1656
|
cost: {
|
|
1595
1657
|
input: 5,
|
|
1596
1658
|
output: 25,
|
|
@@ -1609,6 +1671,7 @@ export const MODELS = {
|
|
|
1609
1671
|
reasoning: true,
|
|
1610
1672
|
thinkingLevelMap: { "xhigh": "xhigh" },
|
|
1611
1673
|
input: ["text", "image"],
|
|
1674
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1612
1675
|
cost: {
|
|
1613
1676
|
input: 5,
|
|
1614
1677
|
output: 25,
|
|
@@ -1626,6 +1689,7 @@ export const MODELS = {
|
|
|
1626
1689
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1627
1690
|
reasoning: true,
|
|
1628
1691
|
input: ["text", "image"],
|
|
1692
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1629
1693
|
cost: {
|
|
1630
1694
|
input: 3,
|
|
1631
1695
|
output: 15,
|
|
@@ -1643,6 +1707,7 @@ export const MODELS = {
|
|
|
1643
1707
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1644
1708
|
reasoning: true,
|
|
1645
1709
|
input: ["text", "image"],
|
|
1710
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1646
1711
|
cost: {
|
|
1647
1712
|
input: 3,
|
|
1648
1713
|
output: 15,
|
|
@@ -1660,6 +1725,7 @@ export const MODELS = {
|
|
|
1660
1725
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1661
1726
|
reasoning: true,
|
|
1662
1727
|
input: ["text", "image"],
|
|
1728
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1663
1729
|
cost: {
|
|
1664
1730
|
input: 2,
|
|
1665
1731
|
output: 10,
|
|
@@ -1694,6 +1760,7 @@ export const MODELS = {
|
|
|
1694
1760
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1695
1761
|
reasoning: false,
|
|
1696
1762
|
input: ["text", "image"],
|
|
1763
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1697
1764
|
cost: {
|
|
1698
1765
|
input: 0.24,
|
|
1699
1766
|
output: 0.97,
|
|
@@ -1711,6 +1778,7 @@ export const MODELS = {
|
|
|
1711
1778
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1712
1779
|
reasoning: false,
|
|
1713
1780
|
input: ["text", "image"],
|
|
1781
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1714
1782
|
cost: {
|
|
1715
1783
|
input: 0.17,
|
|
1716
1784
|
output: 0.66,
|
|
@@ -1762,6 +1830,7 @@ export const MODELS = {
|
|
|
1762
1830
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1763
1831
|
reasoning: true,
|
|
1764
1832
|
input: ["text", "image"],
|
|
1833
|
+
supportedImageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp"],
|
|
1765
1834
|
cost: {
|
|
1766
1835
|
input: 1.25,
|
|
1767
1836
|
output: 2.5,
|
|
@@ -8651,6 +8720,23 @@ export const MODELS = {
|
|
|
8651
8720
|
contextWindow: 256000,
|
|
8652
8721
|
maxTokens: 256000,
|
|
8653
8722
|
},
|
|
8723
|
+
"hy3-free": {
|
|
8724
|
+
id: "hy3-free",
|
|
8725
|
+
name: "Hy3 Free",
|
|
8726
|
+
api: "openai-completions",
|
|
8727
|
+
provider: "opencode",
|
|
8728
|
+
baseUrl: "https://opencode.ai/zen/v1",
|
|
8729
|
+
reasoning: true,
|
|
8730
|
+
input: ["text"],
|
|
8731
|
+
cost: {
|
|
8732
|
+
input: 0,
|
|
8733
|
+
output: 0,
|
|
8734
|
+
cacheRead: 0,
|
|
8735
|
+
cacheWrite: 0,
|
|
8736
|
+
},
|
|
8737
|
+
contextWindow: 256000,
|
|
8738
|
+
maxTokens: 64000,
|
|
8739
|
+
},
|
|
8654
8740
|
"kimi-k2.5": {
|
|
8655
8741
|
id: "kimi-k2.5",
|
|
8656
8742
|
name: "Kimi K2.5",
|
|
@@ -9088,6 +9174,23 @@ export const MODELS = {
|
|
|
9088
9174
|
contextWindow: 256000,
|
|
9089
9175
|
maxTokens: 4096,
|
|
9090
9176
|
},
|
|
9177
|
+
"aion-labs/aion-2.0": {
|
|
9178
|
+
id: "aion-labs/aion-2.0",
|
|
9179
|
+
name: "AionLabs: Aion-2.0",
|
|
9180
|
+
api: "openai-completions",
|
|
9181
|
+
provider: "openrouter",
|
|
9182
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9183
|
+
reasoning: true,
|
|
9184
|
+
input: ["text"],
|
|
9185
|
+
cost: {
|
|
9186
|
+
input: 0.7999999999999999,
|
|
9187
|
+
output: 1.5999999999999999,
|
|
9188
|
+
cacheRead: 0.19999999999999998,
|
|
9189
|
+
cacheWrite: 0,
|
|
9190
|
+
},
|
|
9191
|
+
contextWindow: 131072,
|
|
9192
|
+
maxTokens: 32768,
|
|
9193
|
+
},
|
|
9091
9194
|
"amazon/nova-2-lite-v1": {
|
|
9092
9195
|
id: "amazon/nova-2-lite-v1",
|
|
9093
9196
|
name: "Amazon: Nova 2 Lite",
|
|
@@ -10850,6 +10953,23 @@ export const MODELS = {
|
|
|
10850
10953
|
contextWindow: 262144,
|
|
10851
10954
|
maxTokens: 262144,
|
|
10852
10955
|
},
|
|
10956
|
+
"nex-agi/nex-n2-pro": {
|
|
10957
|
+
id: "nex-agi/nex-n2-pro",
|
|
10958
|
+
name: "Nex AGI: Nex-N2-Pro",
|
|
10959
|
+
api: "openai-completions",
|
|
10960
|
+
provider: "openrouter",
|
|
10961
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
10962
|
+
reasoning: true,
|
|
10963
|
+
input: ["text", "image"],
|
|
10964
|
+
cost: {
|
|
10965
|
+
input: 0.25,
|
|
10966
|
+
output: 1,
|
|
10967
|
+
cacheRead: 0.024999999999999998,
|
|
10968
|
+
cacheWrite: 0,
|
|
10969
|
+
},
|
|
10970
|
+
contextWindow: 262144,
|
|
10971
|
+
maxTokens: 262144,
|
|
10972
|
+
},
|
|
10853
10973
|
"nvidia/llama-3.3-nemotron-super-49b-v1.5": {
|
|
10854
10974
|
id: "nvidia/llama-3.3-nemotron-super-49b-v1.5",
|
|
10855
10975
|
name: "NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",
|
|
@@ -13353,13 +13473,13 @@ export const MODELS = {
|
|
|
13353
13473
|
reasoning: true,
|
|
13354
13474
|
input: ["text"],
|
|
13355
13475
|
cost: {
|
|
13356
|
-
input: 0.
|
|
13357
|
-
output:
|
|
13358
|
-
cacheRead: 0.
|
|
13476
|
+
input: 0.9299999999999999,
|
|
13477
|
+
output: 3,
|
|
13478
|
+
cacheRead: 0.18,
|
|
13359
13479
|
cacheWrite: 0,
|
|
13360
13480
|
},
|
|
13361
13481
|
contextWindow: 1048576,
|
|
13362
|
-
maxTokens:
|
|
13482
|
+
maxTokens: 32768,
|
|
13363
13483
|
},
|
|
13364
13484
|
"z-ai/glm-5v-turbo": {
|
|
13365
13485
|
id: "z-ai/glm-5v-turbo",
|