@elyracode/ai 0.9.6 → 0.9.8

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.
@@ -77,6 +77,7 @@ export const MODELS = {
77
77
  provider: "amazon-bedrock",
78
78
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
79
79
  reasoning: true,
80
+ thinkingType: "budget",
80
81
  input: ["text", "image"],
81
82
  cost: {
82
83
  input: 1,
@@ -94,6 +95,7 @@ export const MODELS = {
94
95
  provider: "amazon-bedrock",
95
96
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
96
97
  reasoning: true,
98
+ thinkingType: "budget",
97
99
  input: ["text", "image"],
98
100
  cost: {
99
101
  input: 15,
@@ -111,6 +113,7 @@ export const MODELS = {
111
113
  provider: "amazon-bedrock",
112
114
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
113
115
  reasoning: true,
116
+ thinkingType: "budget",
114
117
  input: ["text", "image"],
115
118
  cost: {
116
119
  input: 5,
@@ -128,6 +131,7 @@ export const MODELS = {
128
131
  provider: "amazon-bedrock",
129
132
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
130
133
  reasoning: true,
134
+ thinkingType: "adaptive",
131
135
  thinkingLevelMap: { "xhigh": "max" },
132
136
  input: ["text", "image"],
133
137
  cost: {
@@ -146,6 +150,7 @@ export const MODELS = {
146
150
  provider: "amazon-bedrock",
147
151
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
148
152
  reasoning: true,
153
+ thinkingType: "adaptive",
149
154
  thinkingLevelMap: { "xhigh": "xhigh" },
150
155
  input: ["text", "image"],
151
156
  cost: {
@@ -164,6 +169,7 @@ export const MODELS = {
164
169
  provider: "amazon-bedrock",
165
170
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
166
171
  reasoning: true,
172
+ thinkingType: "adaptive",
167
173
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
168
174
  input: ["text", "image"],
169
175
  cost: {
@@ -182,6 +188,7 @@ export const MODELS = {
182
188
  provider: "amazon-bedrock",
183
189
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
184
190
  reasoning: true,
191
+ thinkingType: "budget",
185
192
  input: ["text", "image"],
186
193
  cost: {
187
194
  input: 3,
@@ -199,6 +206,7 @@ export const MODELS = {
199
206
  provider: "amazon-bedrock",
200
207
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
201
208
  reasoning: true,
209
+ thinkingType: "adaptive",
202
210
  input: ["text", "image"],
203
211
  cost: {
204
212
  input: 3,
@@ -216,6 +224,7 @@ export const MODELS = {
216
224
  provider: "amazon-bedrock",
217
225
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
218
226
  reasoning: true,
227
+ thinkingType: "budget",
219
228
  input: ["text", "image"],
220
229
  cost: {
221
230
  input: 1,
@@ -233,6 +242,7 @@ export const MODELS = {
233
242
  provider: "amazon-bedrock",
234
243
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
235
244
  reasoning: true,
245
+ thinkingType: "adaptive",
236
246
  thinkingLevelMap: { "xhigh": "max" },
237
247
  input: ["text", "image"],
238
248
  cost: {
@@ -251,6 +261,7 @@ export const MODELS = {
251
261
  provider: "amazon-bedrock",
252
262
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
253
263
  reasoning: true,
264
+ thinkingType: "adaptive",
254
265
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
255
266
  input: ["text", "image"],
256
267
  cost: {
@@ -269,6 +280,7 @@ export const MODELS = {
269
280
  provider: "amazon-bedrock",
270
281
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
271
282
  reasoning: true,
283
+ thinkingType: "budget",
272
284
  input: ["text", "image"],
273
285
  cost: {
274
286
  input: 3,
@@ -286,6 +298,7 @@ export const MODELS = {
286
298
  provider: "amazon-bedrock",
287
299
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
288
300
  reasoning: true,
301
+ thinkingType: "adaptive",
289
302
  input: ["text", "image"],
290
303
  cost: {
291
304
  input: 3.3,
@@ -347,6 +360,25 @@ export const MODELS = {
347
360
  contextWindow: 163840,
348
361
  maxTokens: 81920,
349
362
  },
363
+ "eu.anthropic.claude-fable-5": {
364
+ id: "eu.anthropic.claude-fable-5",
365
+ name: "Claude Fable 5 (EU)",
366
+ api: "bedrock-converse-stream",
367
+ provider: "amazon-bedrock",
368
+ baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
369
+ reasoning: true,
370
+ thinkingType: "adaptive",
371
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
372
+ input: ["text", "image"],
373
+ cost: {
374
+ input: 11,
375
+ output: 55,
376
+ cacheRead: 1.1,
377
+ cacheWrite: 13.75,
378
+ },
379
+ contextWindow: 1000000,
380
+ maxTokens: 128000,
381
+ },
350
382
  "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {
351
383
  id: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
352
384
  name: "Claude Haiku 4.5 (EU)",
@@ -354,6 +386,7 @@ export const MODELS = {
354
386
  provider: "amazon-bedrock",
355
387
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
356
388
  reasoning: true,
389
+ thinkingType: "budget",
357
390
  input: ["text", "image"],
358
391
  cost: {
359
392
  input: 1,
@@ -371,6 +404,7 @@ export const MODELS = {
371
404
  provider: "amazon-bedrock",
372
405
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
373
406
  reasoning: true,
407
+ thinkingType: "budget",
374
408
  input: ["text", "image"],
375
409
  cost: {
376
410
  input: 5,
@@ -388,6 +422,7 @@ export const MODELS = {
388
422
  provider: "amazon-bedrock",
389
423
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
390
424
  reasoning: true,
425
+ thinkingType: "adaptive",
391
426
  thinkingLevelMap: { "xhigh": "max" },
392
427
  input: ["text", "image"],
393
428
  cost: {
@@ -406,6 +441,7 @@ export const MODELS = {
406
441
  provider: "amazon-bedrock",
407
442
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
408
443
  reasoning: true,
444
+ thinkingType: "adaptive",
409
445
  thinkingLevelMap: { "xhigh": "xhigh" },
410
446
  input: ["text", "image"],
411
447
  cost: {
@@ -424,6 +460,7 @@ export const MODELS = {
424
460
  provider: "amazon-bedrock",
425
461
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
426
462
  reasoning: true,
463
+ thinkingType: "adaptive",
427
464
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
428
465
  input: ["text", "image"],
429
466
  cost: {
@@ -442,6 +479,7 @@ export const MODELS = {
442
479
  provider: "amazon-bedrock",
443
480
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
444
481
  reasoning: true,
482
+ thinkingType: "budget",
445
483
  input: ["text", "image"],
446
484
  cost: {
447
485
  input: 3.3,
@@ -459,6 +497,7 @@ export const MODELS = {
459
497
  provider: "amazon-bedrock",
460
498
  baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
461
499
  reasoning: true,
500
+ thinkingType: "adaptive",
462
501
  input: ["text", "image"],
463
502
  cost: {
464
503
  input: 3.3,
@@ -469,6 +508,25 @@ export const MODELS = {
469
508
  contextWindow: 1000000,
470
509
  maxTokens: 64000,
471
510
  },
511
+ "global.anthropic.claude-fable-5": {
512
+ id: "global.anthropic.claude-fable-5",
513
+ name: "Claude Fable 5 (Global)",
514
+ api: "bedrock-converse-stream",
515
+ provider: "amazon-bedrock",
516
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
517
+ reasoning: true,
518
+ thinkingType: "adaptive",
519
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
520
+ input: ["text", "image"],
521
+ cost: {
522
+ input: 10,
523
+ output: 50,
524
+ cacheRead: 1,
525
+ cacheWrite: 12.5,
526
+ },
527
+ contextWindow: 1000000,
528
+ maxTokens: 128000,
529
+ },
472
530
  "global.anthropic.claude-haiku-4-5-20251001-v1:0": {
473
531
  id: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
474
532
  name: "Claude Haiku 4.5 (Global)",
@@ -476,6 +534,7 @@ export const MODELS = {
476
534
  provider: "amazon-bedrock",
477
535
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
478
536
  reasoning: true,
537
+ thinkingType: "budget",
479
538
  input: ["text", "image"],
480
539
  cost: {
481
540
  input: 1,
@@ -493,6 +552,7 @@ export const MODELS = {
493
552
  provider: "amazon-bedrock",
494
553
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
495
554
  reasoning: true,
555
+ thinkingType: "budget",
496
556
  input: ["text", "image"],
497
557
  cost: {
498
558
  input: 5,
@@ -510,6 +570,7 @@ export const MODELS = {
510
570
  provider: "amazon-bedrock",
511
571
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
512
572
  reasoning: true,
573
+ thinkingType: "adaptive",
513
574
  thinkingLevelMap: { "xhigh": "max" },
514
575
  input: ["text", "image"],
515
576
  cost: {
@@ -528,6 +589,7 @@ export const MODELS = {
528
589
  provider: "amazon-bedrock",
529
590
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
530
591
  reasoning: true,
592
+ thinkingType: "adaptive",
531
593
  thinkingLevelMap: { "xhigh": "xhigh" },
532
594
  input: ["text", "image"],
533
595
  cost: {
@@ -546,6 +608,7 @@ export const MODELS = {
546
608
  provider: "amazon-bedrock",
547
609
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
548
610
  reasoning: true,
611
+ thinkingType: "adaptive",
549
612
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
550
613
  input: ["text", "image"],
551
614
  cost: {
@@ -564,6 +627,7 @@ export const MODELS = {
564
627
  provider: "amazon-bedrock",
565
628
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
566
629
  reasoning: true,
630
+ thinkingType: "budget",
567
631
  input: ["text", "image"],
568
632
  cost: {
569
633
  input: 3,
@@ -581,6 +645,7 @@ export const MODELS = {
581
645
  provider: "amazon-bedrock",
582
646
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
583
647
  reasoning: true,
648
+ thinkingType: "adaptive",
584
649
  input: ["text", "image"],
585
650
  cost: {
586
651
  input: 3,
@@ -632,6 +697,7 @@ export const MODELS = {
632
697
  provider: "amazon-bedrock",
633
698
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
634
699
  reasoning: true,
700
+ thinkingType: "adaptive",
635
701
  thinkingLevelMap: { "xhigh": "xhigh" },
636
702
  input: ["text", "image"],
637
703
  cost: {
@@ -650,6 +716,7 @@ export const MODELS = {
650
716
  provider: "amazon-bedrock",
651
717
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
652
718
  reasoning: true,
719
+ thinkingType: "adaptive",
653
720
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
654
721
  input: ["text", "image"],
655
722
  cost: {
@@ -668,6 +735,7 @@ export const MODELS = {
668
735
  provider: "amazon-bedrock",
669
736
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
670
737
  reasoning: true,
738
+ thinkingType: "budget",
671
739
  input: ["text", "image"],
672
740
  cost: {
673
741
  input: 3,
@@ -685,6 +753,7 @@ export const MODELS = {
685
753
  provider: "amazon-bedrock",
686
754
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
687
755
  reasoning: true,
756
+ thinkingType: "adaptive",
688
757
  input: ["text", "image"],
689
758
  cost: {
690
759
  input: 3,
@@ -1343,6 +1412,25 @@ export const MODELS = {
1343
1412
  contextWindow: 262000,
1344
1413
  maxTokens: 262000,
1345
1414
  },
1415
+ "us.anthropic.claude-fable-5": {
1416
+ id: "us.anthropic.claude-fable-5",
1417
+ name: "Claude Fable 5 (US)",
1418
+ api: "bedrock-converse-stream",
1419
+ provider: "amazon-bedrock",
1420
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1421
+ reasoning: true,
1422
+ thinkingType: "adaptive",
1423
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
1424
+ input: ["text", "image"],
1425
+ cost: {
1426
+ input: 10,
1427
+ output: 50,
1428
+ cacheRead: 1,
1429
+ cacheWrite: 12.5,
1430
+ },
1431
+ contextWindow: 1000000,
1432
+ maxTokens: 128000,
1433
+ },
1346
1434
  "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
1347
1435
  id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
1348
1436
  name: "Claude Haiku 4.5 (US)",
@@ -1350,6 +1438,7 @@ export const MODELS = {
1350
1438
  provider: "amazon-bedrock",
1351
1439
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1352
1440
  reasoning: true,
1441
+ thinkingType: "budget",
1353
1442
  input: ["text", "image"],
1354
1443
  cost: {
1355
1444
  input: 1,
@@ -1367,6 +1456,7 @@ export const MODELS = {
1367
1456
  provider: "amazon-bedrock",
1368
1457
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1369
1458
  reasoning: true,
1459
+ thinkingType: "budget",
1370
1460
  input: ["text", "image"],
1371
1461
  cost: {
1372
1462
  input: 15,
@@ -1384,6 +1474,7 @@ export const MODELS = {
1384
1474
  provider: "amazon-bedrock",
1385
1475
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1386
1476
  reasoning: true,
1477
+ thinkingType: "budget",
1387
1478
  input: ["text", "image"],
1388
1479
  cost: {
1389
1480
  input: 5,
@@ -1401,6 +1492,7 @@ export const MODELS = {
1401
1492
  provider: "amazon-bedrock",
1402
1493
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1403
1494
  reasoning: true,
1495
+ thinkingType: "adaptive",
1404
1496
  thinkingLevelMap: { "xhigh": "max" },
1405
1497
  input: ["text", "image"],
1406
1498
  cost: {
@@ -1419,6 +1511,7 @@ export const MODELS = {
1419
1511
  provider: "amazon-bedrock",
1420
1512
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1421
1513
  reasoning: true,
1514
+ thinkingType: "adaptive",
1422
1515
  thinkingLevelMap: { "xhigh": "xhigh" },
1423
1516
  input: ["text", "image"],
1424
1517
  cost: {
@@ -1437,6 +1530,7 @@ export const MODELS = {
1437
1530
  provider: "amazon-bedrock",
1438
1531
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1439
1532
  reasoning: true,
1533
+ thinkingType: "adaptive",
1440
1534
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
1441
1535
  input: ["text", "image"],
1442
1536
  cost: {
@@ -1455,6 +1549,7 @@ export const MODELS = {
1455
1549
  provider: "amazon-bedrock",
1456
1550
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1457
1551
  reasoning: true,
1552
+ thinkingType: "budget",
1458
1553
  input: ["text", "image"],
1459
1554
  cost: {
1460
1555
  input: 3,
@@ -1472,6 +1567,7 @@ export const MODELS = {
1472
1567
  provider: "amazon-bedrock",
1473
1568
  baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1474
1569
  reasoning: true,
1570
+ thinkingType: "adaptive",
1475
1571
  input: ["text", "image"],
1476
1572
  cost: {
1477
1573
  input: 3,
@@ -1661,6 +1757,7 @@ export const MODELS = {
1661
1757
  provider: "anthropic",
1662
1758
  baseUrl: "https://api.anthropic.com",
1663
1759
  reasoning: true,
1760
+ thinkingType: "budget",
1664
1761
  input: ["text", "image"],
1665
1762
  cost: {
1666
1763
  input: 3,
@@ -1729,6 +1826,7 @@ export const MODELS = {
1729
1826
  provider: "anthropic",
1730
1827
  baseUrl: "https://api.anthropic.com",
1731
1828
  reasoning: true,
1829
+ thinkingType: "adaptive",
1732
1830
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
1733
1831
  input: ["text", "image"],
1734
1832
  cost: {
@@ -1747,6 +1845,7 @@ export const MODELS = {
1747
1845
  provider: "anthropic",
1748
1846
  baseUrl: "https://api.anthropic.com",
1749
1847
  reasoning: true,
1848
+ thinkingType: "budget",
1750
1849
  input: ["text", "image"],
1751
1850
  cost: {
1752
1851
  input: 1,
@@ -1764,6 +1863,7 @@ export const MODELS = {
1764
1863
  provider: "anthropic",
1765
1864
  baseUrl: "https://api.anthropic.com",
1766
1865
  reasoning: true,
1866
+ thinkingType: "budget",
1767
1867
  input: ["text", "image"],
1768
1868
  cost: {
1769
1869
  input: 1,
@@ -1781,6 +1881,7 @@ export const MODELS = {
1781
1881
  provider: "anthropic",
1782
1882
  baseUrl: "https://api.anthropic.com",
1783
1883
  reasoning: true,
1884
+ thinkingType: "budget",
1784
1885
  input: ["text", "image"],
1785
1886
  cost: {
1786
1887
  input: 15,
@@ -1798,6 +1899,7 @@ export const MODELS = {
1798
1899
  provider: "anthropic",
1799
1900
  baseUrl: "https://api.anthropic.com",
1800
1901
  reasoning: true,
1902
+ thinkingType: "budget",
1801
1903
  input: ["text", "image"],
1802
1904
  cost: {
1803
1905
  input: 15,
@@ -1815,6 +1917,7 @@ export const MODELS = {
1815
1917
  provider: "anthropic",
1816
1918
  baseUrl: "https://api.anthropic.com",
1817
1919
  reasoning: true,
1920
+ thinkingType: "budget",
1818
1921
  input: ["text", "image"],
1819
1922
  cost: {
1820
1923
  input: 15,
@@ -1832,6 +1935,7 @@ export const MODELS = {
1832
1935
  provider: "anthropic",
1833
1936
  baseUrl: "https://api.anthropic.com",
1834
1937
  reasoning: true,
1938
+ thinkingType: "budget",
1835
1939
  input: ["text", "image"],
1836
1940
  cost: {
1837
1941
  input: 15,
@@ -1849,6 +1953,7 @@ export const MODELS = {
1849
1953
  provider: "anthropic",
1850
1954
  baseUrl: "https://api.anthropic.com",
1851
1955
  reasoning: true,
1956
+ thinkingType: "budget",
1852
1957
  input: ["text", "image"],
1853
1958
  cost: {
1854
1959
  input: 5,
@@ -1866,6 +1971,7 @@ export const MODELS = {
1866
1971
  provider: "anthropic",
1867
1972
  baseUrl: "https://api.anthropic.com",
1868
1973
  reasoning: true,
1974
+ thinkingType: "budget",
1869
1975
  input: ["text", "image"],
1870
1976
  cost: {
1871
1977
  input: 5,
@@ -1883,6 +1989,7 @@ export const MODELS = {
1883
1989
  provider: "anthropic",
1884
1990
  baseUrl: "https://api.anthropic.com",
1885
1991
  reasoning: true,
1992
+ thinkingType: "adaptive",
1886
1993
  thinkingLevelMap: { "xhigh": "max" },
1887
1994
  input: ["text", "image"],
1888
1995
  cost: {
@@ -1901,6 +2008,7 @@ export const MODELS = {
1901
2008
  provider: "anthropic",
1902
2009
  baseUrl: "https://api.anthropic.com",
1903
2010
  reasoning: true,
2011
+ thinkingType: "adaptive",
1904
2012
  thinkingLevelMap: { "xhigh": "xhigh" },
1905
2013
  input: ["text", "image"],
1906
2014
  cost: {
@@ -1919,6 +2027,7 @@ export const MODELS = {
1919
2027
  provider: "anthropic",
1920
2028
  baseUrl: "https://api.anthropic.com",
1921
2029
  reasoning: true,
2030
+ thinkingType: "adaptive",
1922
2031
  thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
1923
2032
  input: ["text", "image"],
1924
2033
  cost: {
@@ -1937,6 +2046,7 @@ export const MODELS = {
1937
2046
  provider: "anthropic",
1938
2047
  baseUrl: "https://api.anthropic.com",
1939
2048
  reasoning: true,
2049
+ thinkingType: "budget",
1940
2050
  input: ["text", "image"],
1941
2051
  cost: {
1942
2052
  input: 3,
@@ -1954,6 +2064,7 @@ export const MODELS = {
1954
2064
  provider: "anthropic",
1955
2065
  baseUrl: "https://api.anthropic.com",
1956
2066
  reasoning: true,
2067
+ thinkingType: "budget",
1957
2068
  input: ["text", "image"],
1958
2069
  cost: {
1959
2070
  input: 3,
@@ -1971,6 +2082,7 @@ export const MODELS = {
1971
2082
  provider: "anthropic",
1972
2083
  baseUrl: "https://api.anthropic.com",
1973
2084
  reasoning: true,
2085
+ thinkingType: "budget",
1974
2086
  input: ["text", "image"],
1975
2087
  cost: {
1976
2088
  input: 3,
@@ -1988,6 +2100,7 @@ export const MODELS = {
1988
2100
  provider: "anthropic",
1989
2101
  baseUrl: "https://api.anthropic.com",
1990
2102
  reasoning: true,
2103
+ thinkingType: "budget",
1991
2104
  input: ["text", "image"],
1992
2105
  cost: {
1993
2106
  input: 3,
@@ -2005,6 +2118,7 @@ export const MODELS = {
2005
2118
  provider: "anthropic",
2006
2119
  baseUrl: "https://api.anthropic.com",
2007
2120
  reasoning: true,
2121
+ thinkingType: "adaptive",
2008
2122
  input: ["text", "image"],
2009
2123
  cost: {
2010
2124
  input: 3,
@@ -2810,6 +2924,24 @@ export const MODELS = {
2810
2924
  contextWindow: 200000,
2811
2925
  maxTokens: 8192,
2812
2926
  },
2927
+ "claude-fable-5": {
2928
+ id: "claude-fable-5",
2929
+ name: "Claude Fable 5",
2930
+ api: "anthropic-messages",
2931
+ provider: "cloudflare-ai-gateway",
2932
+ baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
2933
+ reasoning: true,
2934
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
2935
+ input: ["text", "image"],
2936
+ cost: {
2937
+ input: 10,
2938
+ output: 50,
2939
+ cacheRead: 1,
2940
+ cacheWrite: 12.5,
2941
+ },
2942
+ contextWindow: 1000000,
2943
+ maxTokens: 128000,
2944
+ },
2813
2945
  "claude-haiku-4-5": {
2814
2946
  id: "claude-haiku-4-5",
2815
2947
  name: "Claude Haiku 4.5 (latest)",
@@ -4710,77 +4842,9 @@ export const MODELS = {
4710
4842
  },
4711
4843
  },
4712
4844
  "groq": {
4713
- "deepseek-r1-distill-llama-70b": {
4714
- id: "deepseek-r1-distill-llama-70b",
4715
- name: "DeepSeek R1 Distill Llama 70B",
4716
- api: "openai-completions",
4717
- provider: "groq",
4718
- baseUrl: "https://api.groq.com/openai/v1",
4719
- reasoning: true,
4720
- input: ["text"],
4721
- cost: {
4722
- input: 0.75,
4723
- output: 0.99,
4724
- cacheRead: 0,
4725
- cacheWrite: 0,
4726
- },
4727
- contextWindow: 131072,
4728
- maxTokens: 8192,
4729
- },
4730
- "gemma2-9b-it": {
4731
- id: "gemma2-9b-it",
4732
- name: "Gemma 2 9B",
4733
- api: "openai-completions",
4734
- provider: "groq",
4735
- baseUrl: "https://api.groq.com/openai/v1",
4736
- reasoning: false,
4737
- input: ["text"],
4738
- cost: {
4739
- input: 0.2,
4740
- output: 0.2,
4741
- cacheRead: 0,
4742
- cacheWrite: 0,
4743
- },
4744
- contextWindow: 8192,
4745
- maxTokens: 8192,
4746
- },
4747
- "groq/compound": {
4748
- id: "groq/compound",
4749
- name: "Compound",
4750
- api: "openai-completions",
4751
- provider: "groq",
4752
- baseUrl: "https://api.groq.com/openai/v1",
4753
- reasoning: true,
4754
- input: ["text"],
4755
- cost: {
4756
- input: 0,
4757
- output: 0,
4758
- cacheRead: 0,
4759
- cacheWrite: 0,
4760
- },
4761
- contextWindow: 131072,
4762
- maxTokens: 8192,
4763
- },
4764
- "groq/compound-mini": {
4765
- id: "groq/compound-mini",
4766
- name: "Compound Mini",
4767
- api: "openai-completions",
4768
- provider: "groq",
4769
- baseUrl: "https://api.groq.com/openai/v1",
4770
- reasoning: true,
4771
- input: ["text"],
4772
- cost: {
4773
- input: 0,
4774
- output: 0,
4775
- cacheRead: 0,
4776
- cacheWrite: 0,
4777
- },
4778
- contextWindow: 131072,
4779
- maxTokens: 8192,
4780
- },
4781
4845
  "llama-3.1-8b-instant": {
4782
4846
  id: "llama-3.1-8b-instant",
4783
- name: "Llama 3.1 8B Instant",
4847
+ name: "Llama 3.1 8B",
4784
4848
  api: "openai-completions",
4785
4849
  provider: "groq",
4786
4850
  baseUrl: "https://api.groq.com/openai/v1",
@@ -4797,7 +4861,7 @@ export const MODELS = {
4797
4861
  },
4798
4862
  "llama-3.3-70b-versatile": {
4799
4863
  id: "llama-3.3-70b-versatile",
4800
- name: "Llama 3.3 70B Versatile",
4864
+ name: "Llama 3.3 70B",
4801
4865
  api: "openai-completions",
4802
4866
  provider: "groq",
4803
4867
  baseUrl: "https://api.groq.com/openai/v1",
@@ -4812,60 +4876,9 @@ export const MODELS = {
4812
4876
  contextWindow: 131072,
4813
4877
  maxTokens: 32768,
4814
4878
  },
4815
- "llama3-70b-8192": {
4816
- id: "llama3-70b-8192",
4817
- name: "Llama 3 70B",
4818
- api: "openai-completions",
4819
- provider: "groq",
4820
- baseUrl: "https://api.groq.com/openai/v1",
4821
- reasoning: false,
4822
- input: ["text"],
4823
- cost: {
4824
- input: 0.59,
4825
- output: 0.79,
4826
- cacheRead: 0,
4827
- cacheWrite: 0,
4828
- },
4829
- contextWindow: 8192,
4830
- maxTokens: 8192,
4831
- },
4832
- "llama3-8b-8192": {
4833
- id: "llama3-8b-8192",
4834
- name: "Llama 3 8B",
4835
- api: "openai-completions",
4836
- provider: "groq",
4837
- baseUrl: "https://api.groq.com/openai/v1",
4838
- reasoning: false,
4839
- input: ["text"],
4840
- cost: {
4841
- input: 0.05,
4842
- output: 0.08,
4843
- cacheRead: 0,
4844
- cacheWrite: 0,
4845
- },
4846
- contextWindow: 8192,
4847
- maxTokens: 8192,
4848
- },
4849
- "meta-llama/llama-4-maverick-17b-128e-instruct": {
4850
- id: "meta-llama/llama-4-maverick-17b-128e-instruct",
4851
- name: "Llama 4 Maverick 17B",
4852
- api: "openai-completions",
4853
- provider: "groq",
4854
- baseUrl: "https://api.groq.com/openai/v1",
4855
- reasoning: false,
4856
- input: ["text", "image"],
4857
- cost: {
4858
- input: 0.2,
4859
- output: 0.6,
4860
- cacheRead: 0,
4861
- cacheWrite: 0,
4862
- },
4863
- contextWindow: 131072,
4864
- maxTokens: 8192,
4865
- },
4866
4879
  "meta-llama/llama-4-scout-17b-16e-instruct": {
4867
4880
  id: "meta-llama/llama-4-scout-17b-16e-instruct",
4868
- name: "Llama 4 Scout 17B",
4881
+ name: "Llama 4 Scout 17B 16E",
4869
4882
  api: "openai-completions",
4870
4883
  provider: "groq",
4871
4884
  baseUrl: "https://api.groq.com/openai/v1",
@@ -4880,57 +4893,6 @@ export const MODELS = {
4880
4893
  contextWindow: 131072,
4881
4894
  maxTokens: 8192,
4882
4895
  },
4883
- "mistral-saba-24b": {
4884
- id: "mistral-saba-24b",
4885
- name: "Mistral Saba 24B",
4886
- api: "openai-completions",
4887
- provider: "groq",
4888
- baseUrl: "https://api.groq.com/openai/v1",
4889
- reasoning: false,
4890
- input: ["text"],
4891
- cost: {
4892
- input: 0.79,
4893
- output: 0.79,
4894
- cacheRead: 0,
4895
- cacheWrite: 0,
4896
- },
4897
- contextWindow: 32768,
4898
- maxTokens: 32768,
4899
- },
4900
- "moonshotai/kimi-k2-instruct": {
4901
- id: "moonshotai/kimi-k2-instruct",
4902
- name: "Kimi K2 Instruct",
4903
- api: "openai-completions",
4904
- provider: "groq",
4905
- baseUrl: "https://api.groq.com/openai/v1",
4906
- reasoning: false,
4907
- input: ["text"],
4908
- cost: {
4909
- input: 1,
4910
- output: 3,
4911
- cacheRead: 0,
4912
- cacheWrite: 0,
4913
- },
4914
- contextWindow: 131072,
4915
- maxTokens: 16384,
4916
- },
4917
- "moonshotai/kimi-k2-instruct-0905": {
4918
- id: "moonshotai/kimi-k2-instruct-0905",
4919
- name: "Kimi K2 Instruct 0905",
4920
- api: "openai-completions",
4921
- provider: "groq",
4922
- baseUrl: "https://api.groq.com/openai/v1",
4923
- reasoning: false,
4924
- input: ["text"],
4925
- cost: {
4926
- input: 1,
4927
- output: 3,
4928
- cacheRead: 0.5,
4929
- cacheWrite: 0,
4930
- },
4931
- contextWindow: 262144,
4932
- maxTokens: 16384,
4933
- },
4934
4896
  "openai/gpt-oss-120b": {
4935
4897
  id: "openai/gpt-oss-120b",
4936
4898
  name: "GPT OSS 120B",
@@ -4982,26 +4944,9 @@ export const MODELS = {
4982
4944
  contextWindow: 131072,
4983
4945
  maxTokens: 65536,
4984
4946
  },
4985
- "qwen-qwq-32b": {
4986
- id: "qwen-qwq-32b",
4987
- name: "Qwen QwQ 32B",
4988
- api: "openai-completions",
4989
- provider: "groq",
4990
- baseUrl: "https://api.groq.com/openai/v1",
4991
- reasoning: true,
4992
- input: ["text"],
4993
- cost: {
4994
- input: 0.29,
4995
- output: 0.39,
4996
- cacheRead: 0,
4997
- cacheWrite: 0,
4998
- },
4999
- contextWindow: 131072,
5000
- maxTokens: 16384,
5001
- },
5002
4947
  "qwen/qwen3-32b": {
5003
4948
  id: "qwen/qwen3-32b",
5004
- name: "Qwen3 32B",
4949
+ name: "Qwen3-32B",
5005
4950
  api: "openai-completions",
5006
4951
  provider: "groq",
5007
4952
  baseUrl: "https://api.groq.com/openai/v1",
@@ -7180,6 +7125,24 @@ export const MODELS = {
7180
7125
  contextWindow: 200000,
7181
7126
  maxTokens: 32000,
7182
7127
  },
7128
+ "claude-fable-5": {
7129
+ id: "claude-fable-5",
7130
+ name: "Claude Fable 5",
7131
+ api: "anthropic-messages",
7132
+ provider: "opencode",
7133
+ baseUrl: "https://opencode.ai/zen",
7134
+ reasoning: true,
7135
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
7136
+ input: ["text", "image"],
7137
+ cost: {
7138
+ input: 10,
7139
+ output: 50,
7140
+ cacheRead: 1,
7141
+ cacheWrite: 12.5,
7142
+ },
7143
+ contextWindow: 1000000,
7144
+ maxTokens: 128000,
7145
+ },
7183
7146
  "claude-haiku-4-5": {
7184
7147
  id: "claude-haiku-4-5",
7185
7148
  name: "Claude Haiku 4.5",
@@ -7349,7 +7312,7 @@ export const MODELS = {
7349
7312
  cost: {
7350
7313
  input: 0.14,
7351
7314
  output: 0.28,
7352
- cacheRead: 0.03,
7315
+ cacheRead: 0.028,
7353
7316
  cacheWrite: 0,
7354
7317
  },
7355
7318
  contextWindow: 1000000,
@@ -7374,6 +7337,25 @@ export const MODELS = {
7374
7337
  contextWindow: 200000,
7375
7338
  maxTokens: 128000,
7376
7339
  },
7340
+ "deepseek-v4-pro": {
7341
+ id: "deepseek-v4-pro",
7342
+ name: "DeepSeek V4 Pro",
7343
+ api: "openai-completions",
7344
+ provider: "opencode",
7345
+ baseUrl: "https://opencode.ai/zen/v1",
7346
+ compat: { "requiresReasoningContentOnAssistantMessages": true, "thinkingFormat": "deepseek" },
7347
+ reasoning: true,
7348
+ thinkingLevelMap: { "minimal": null, "low": null, "medium": null, "high": "high", "xhigh": "max" },
7349
+ input: ["text"],
7350
+ cost: {
7351
+ input: 1.74,
7352
+ output: 3.84,
7353
+ cacheRead: 0.145,
7354
+ cacheWrite: 0,
7355
+ },
7356
+ contextWindow: 1000000,
7357
+ maxTokens: 384000,
7358
+ },
7377
7359
  "gemini-3-flash": {
7378
7360
  id: "gemini-3-flash",
7379
7361
  name: "Gemini 3 Flash",
@@ -8732,7 +8714,7 @@ export const MODELS = {
8732
8714
  cacheRead: 0.135,
8733
8715
  cacheWrite: 0,
8734
8716
  },
8735
- contextWindow: 163840,
8717
+ contextWindow: 131072,
8736
8718
  maxTokens: 16384,
8737
8719
  },
8738
8720
  "deepseek/deepseek-chat-v3.1": {
@@ -9878,23 +9860,6 @@ export const MODELS = {
9878
9860
  contextWindow: 262144,
9879
9861
  maxTokens: 262142,
9880
9862
  },
9881
- "moonshotai/kimi-k2.6:free": {
9882
- id: "moonshotai/kimi-k2.6:free",
9883
- name: "MoonshotAI: Kimi K2.6 (free)",
9884
- api: "openai-completions",
9885
- provider: "openrouter",
9886
- baseUrl: "https://openrouter.ai/api/v1",
9887
- reasoning: true,
9888
- input: ["text", "image"],
9889
- cost: {
9890
- input: 0,
9891
- output: 0,
9892
- cacheRead: 0,
9893
- cacheWrite: 0,
9894
- },
9895
- contextWindow: 262144,
9896
- maxTokens: 4096,
9897
- },
9898
9863
  "nex-agi/nex-n2-pro:free": {
9899
9864
  id: "nex-agi/nex-n2-pro:free",
9900
9865
  name: "Nex AGI: Nex-N2-Pro (free)",
@@ -12032,23 +11997,6 @@ export const MODELS = {
12032
11997
  contextWindow: 1048576,
12033
11998
  maxTokens: 131072,
12034
11999
  },
12035
- "z-ai/glm-4-32b": {
12036
- id: "z-ai/glm-4-32b",
12037
- name: "Z.ai: GLM 4 32B ",
12038
- api: "openai-completions",
12039
- provider: "openrouter",
12040
- baseUrl: "https://openrouter.ai/api/v1",
12041
- reasoning: false,
12042
- input: ["text"],
12043
- cost: {
12044
- input: 0.09999999999999999,
12045
- output: 0.09999999999999999,
12046
- cacheRead: 0,
12047
- cacheWrite: 0,
12048
- },
12049
- contextWindow: 128000,
12050
- maxTokens: 4096,
12051
- },
12052
12000
  "z-ai/glm-4.5": {
12053
12001
  id: "z-ai/glm-4.5",
12054
12002
  name: "Z.ai: GLM 4.5",
@@ -12083,23 +12031,6 @@ export const MODELS = {
12083
12031
  contextWindow: 131072,
12084
12032
  maxTokens: 131070,
12085
12033
  },
12086
- "z-ai/glm-4.5-air:free": {
12087
- id: "z-ai/glm-4.5-air:free",
12088
- name: "Z.ai: GLM 4.5 Air (free)",
12089
- api: "openai-completions",
12090
- provider: "openrouter",
12091
- baseUrl: "https://openrouter.ai/api/v1",
12092
- reasoning: true,
12093
- input: ["text"],
12094
- cost: {
12095
- input: 0,
12096
- output: 0,
12097
- cacheRead: 0,
12098
- cacheWrite: 0,
12099
- },
12100
- contextWindow: 131072,
12101
- maxTokens: 96000,
12102
- },
12103
12034
  "z-ai/glm-4.5v": {
12104
12035
  id: "z-ai/glm-4.5v",
12105
12036
  name: "Z.ai: GLM 4.5V",
@@ -12145,11 +12076,11 @@ export const MODELS = {
12145
12076
  cost: {
12146
12077
  input: 0.3,
12147
12078
  output: 0.8999999999999999,
12148
- cacheRead: 0.049999999999999996,
12079
+ cacheRead: 0.055,
12149
12080
  cacheWrite: 0,
12150
12081
  },
12151
12082
  contextWindow: 131072,
12152
- maxTokens: 24000,
12083
+ maxTokens: 32768,
12153
12084
  },
12154
12085
  "z-ai/glm-4.7": {
12155
12086
  id: "z-ai/glm-4.7",
@@ -12216,7 +12147,7 @@ export const MODELS = {
12216
12147
  cacheRead: 0.24,
12217
12148
  cacheWrite: 0,
12218
12149
  },
12219
- contextWindow: 202752,
12150
+ contextWindow: 262144,
12220
12151
  maxTokens: 131072,
12221
12152
  },
12222
12153
  "z-ai/glm-5.1": {
@@ -12236,22 +12167,23 @@ export const MODELS = {
12236
12167
  contextWindow: 202752,
12237
12168
  maxTokens: 4096,
12238
12169
  },
12239
- "z-ai/glm-5v-turbo": {
12240
- id: "z-ai/glm-5v-turbo",
12241
- name: "Z.ai: GLM 5V Turbo",
12170
+ "~anthropic/claude-fable-latest": {
12171
+ id: "~anthropic/claude-fable-latest",
12172
+ name: "Anthropic: Claude Fable Latest",
12242
12173
  api: "openai-completions",
12243
12174
  provider: "openrouter",
12244
12175
  baseUrl: "https://openrouter.ai/api/v1",
12245
12176
  reasoning: true,
12177
+ thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "xhigh", "xhigh": "max" },
12246
12178
  input: ["text", "image"],
12247
12179
  cost: {
12248
- input: 1.2,
12249
- output: 4,
12250
- cacheRead: 0.24,
12251
- cacheWrite: 0,
12180
+ input: 10,
12181
+ output: 50,
12182
+ cacheRead: 1,
12183
+ cacheWrite: 12.5,
12252
12184
  },
12253
- contextWindow: 202752,
12254
- maxTokens: 131072,
12185
+ contextWindow: 1000000,
12186
+ maxTokens: 128000,
12255
12187
  },
12256
12188
  "~anthropic/claude-haiku-latest": {
12257
12189
  id: "~anthropic/claude-haiku-latest",
@@ -15678,6 +15610,23 @@ export const MODELS = {
15678
15610
  contextWindow: 1048576,
15679
15611
  maxTokens: 131072,
15680
15612
  },
15613
+ "mimo-v2.5-pro-ultraspeed": {
15614
+ id: "mimo-v2.5-pro-ultraspeed",
15615
+ name: "MiMo-V2.5-Pro-UltraSpeed",
15616
+ api: "anthropic-messages",
15617
+ provider: "xiaomi",
15618
+ baseUrl: "https://api.xiaomimimo.com/anthropic",
15619
+ reasoning: true,
15620
+ input: ["text"],
15621
+ cost: {
15622
+ input: 1.305,
15623
+ output: 2.61,
15624
+ cacheRead: 0.0108,
15625
+ cacheWrite: 0,
15626
+ },
15627
+ contextWindow: 1048576,
15628
+ maxTokens: 131072,
15629
+ },
15681
15630
  },
15682
15631
  "xiaomi-token-plan-ams": {
15683
15632
  "mimo-v2.5": {
@@ -15714,6 +15663,23 @@ export const MODELS = {
15714
15663
  contextWindow: 1048576,
15715
15664
  maxTokens: 131072,
15716
15665
  },
15666
+ "mimo-v2.5-pro-ultraspeed": {
15667
+ id: "mimo-v2.5-pro-ultraspeed",
15668
+ name: "MiMo-V2.5-Pro-UltraSpeed",
15669
+ api: "anthropic-messages",
15670
+ provider: "xiaomi-token-plan-ams",
15671
+ baseUrl: "https://token-plan-ams.xiaomimimo.com/anthropic",
15672
+ reasoning: true,
15673
+ input: ["text"],
15674
+ cost: {
15675
+ input: 1.305,
15676
+ output: 2.61,
15677
+ cacheRead: 0.0108,
15678
+ cacheWrite: 0,
15679
+ },
15680
+ contextWindow: 1048576,
15681
+ maxTokens: 131072,
15682
+ },
15717
15683
  },
15718
15684
  "xiaomi-token-plan-cn": {
15719
15685
  "mimo-v2.5": {
@@ -15750,6 +15716,23 @@ export const MODELS = {
15750
15716
  contextWindow: 1048576,
15751
15717
  maxTokens: 131072,
15752
15718
  },
15719
+ "mimo-v2.5-pro-ultraspeed": {
15720
+ id: "mimo-v2.5-pro-ultraspeed",
15721
+ name: "MiMo-V2.5-Pro-UltraSpeed",
15722
+ api: "anthropic-messages",
15723
+ provider: "xiaomi-token-plan-cn",
15724
+ baseUrl: "https://token-plan-cn.xiaomimimo.com/anthropic",
15725
+ reasoning: true,
15726
+ input: ["text"],
15727
+ cost: {
15728
+ input: 1.305,
15729
+ output: 2.61,
15730
+ cacheRead: 0.0108,
15731
+ cacheWrite: 0,
15732
+ },
15733
+ contextWindow: 1048576,
15734
+ maxTokens: 131072,
15735
+ },
15753
15736
  },
15754
15737
  "xiaomi-token-plan-sgp": {
15755
15738
  "mimo-v2.5": {
@@ -15786,6 +15769,23 @@ export const MODELS = {
15786
15769
  contextWindow: 1048576,
15787
15770
  maxTokens: 131072,
15788
15771
  },
15772
+ "mimo-v2.5-pro-ultraspeed": {
15773
+ id: "mimo-v2.5-pro-ultraspeed",
15774
+ name: "MiMo-V2.5-Pro-UltraSpeed",
15775
+ api: "anthropic-messages",
15776
+ provider: "xiaomi-token-plan-sgp",
15777
+ baseUrl: "https://token-plan-sgp.xiaomimimo.com/anthropic",
15778
+ reasoning: true,
15779
+ input: ["text"],
15780
+ cost: {
15781
+ input: 1.305,
15782
+ output: 2.61,
15783
+ cacheRead: 0.0108,
15784
+ cacheWrite: 0,
15785
+ },
15786
+ contextWindow: 1048576,
15787
+ maxTokens: 131072,
15788
+ },
15789
15789
  },
15790
15790
  "zai": {
15791
15791
  "glm-4.5-air": {