@oh-my-pi/pi-ai 5.0.1 → 5.1.0

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.
@@ -4,6 +4,1045 @@
4
4
  import type { Model } from "./types";
5
5
 
6
6
  export const MODELS = {
7
+ "amazon-bedrock": {
8
+ "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {
9
+ id: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
10
+ name: "Claude Haiku 4.5 (EU)",
11
+ api: "bedrock-converse-stream",
12
+ provider: "amazon-bedrock",
13
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
14
+ reasoning: true,
15
+ input: ["text", "image"],
16
+ cost: {
17
+ input: 1,
18
+ output: 5,
19
+ cacheRead: 0.1,
20
+ cacheWrite: 1.25,
21
+ },
22
+ contextWindow: 200000,
23
+ maxTokens: 64000,
24
+ } satisfies Model<"bedrock-converse-stream">,
25
+ "eu.anthropic.claude-opus-4-5-20251101-v1:0": {
26
+ id: "eu.anthropic.claude-opus-4-5-20251101-v1:0",
27
+ name: "Claude Opus 4.5 (EU)",
28
+ api: "bedrock-converse-stream",
29
+ provider: "amazon-bedrock",
30
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
31
+ reasoning: true,
32
+ input: ["text", "image"],
33
+ cost: {
34
+ input: 5,
35
+ output: 25,
36
+ cacheRead: 0.5,
37
+ cacheWrite: 6.25,
38
+ },
39
+ contextWindow: 200000,
40
+ maxTokens: 64000,
41
+ } satisfies Model<"bedrock-converse-stream">,
42
+ "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
43
+ id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
44
+ name: "Claude Sonnet 4.5 (EU)",
45
+ api: "bedrock-converse-stream",
46
+ provider: "amazon-bedrock",
47
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
48
+ reasoning: true,
49
+ input: ["text", "image"],
50
+ cost: {
51
+ input: 3,
52
+ output: 15,
53
+ cacheRead: 0.3,
54
+ cacheWrite: 3.75,
55
+ },
56
+ contextWindow: 200000,
57
+ maxTokens: 64000,
58
+ } satisfies Model<"bedrock-converse-stream">,
59
+ "us.ai21.jamba-1-5-large-v1:0": {
60
+ id: "us.ai21.jamba-1-5-large-v1:0",
61
+ name: "Jamba 1.5 Large",
62
+ api: "bedrock-converse-stream",
63
+ provider: "amazon-bedrock",
64
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
65
+ reasoning: false,
66
+ input: ["text"],
67
+ cost: {
68
+ input: 2,
69
+ output: 8,
70
+ cacheRead: 0,
71
+ cacheWrite: 0,
72
+ },
73
+ contextWindow: 256000,
74
+ maxTokens: 4096,
75
+ } satisfies Model<"bedrock-converse-stream">,
76
+ "us.ai21.jamba-1-5-mini-v1:0": {
77
+ id: "us.ai21.jamba-1-5-mini-v1:0",
78
+ name: "Jamba 1.5 Mini",
79
+ api: "bedrock-converse-stream",
80
+ provider: "amazon-bedrock",
81
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
82
+ reasoning: false,
83
+ input: ["text"],
84
+ cost: {
85
+ input: 0.2,
86
+ output: 0.4,
87
+ cacheRead: 0,
88
+ cacheWrite: 0,
89
+ },
90
+ contextWindow: 256000,
91
+ maxTokens: 4096,
92
+ } satisfies Model<"bedrock-converse-stream">,
93
+ "us.amazon.nova-2-lite-v1:0": {
94
+ id: "us.amazon.nova-2-lite-v1:0",
95
+ name: "Nova 2 Lite",
96
+ api: "bedrock-converse-stream",
97
+ provider: "amazon-bedrock",
98
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
99
+ reasoning: false,
100
+ input: ["text", "image"],
101
+ cost: {
102
+ input: 0.33,
103
+ output: 2.75,
104
+ cacheRead: 0,
105
+ cacheWrite: 0,
106
+ },
107
+ contextWindow: 128000,
108
+ maxTokens: 4096,
109
+ } satisfies Model<"bedrock-converse-stream">,
110
+ "us.amazon.nova-lite-v1:0": {
111
+ id: "us.amazon.nova-lite-v1:0",
112
+ name: "Nova Lite",
113
+ api: "bedrock-converse-stream",
114
+ provider: "amazon-bedrock",
115
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
116
+ reasoning: false,
117
+ input: ["text", "image"],
118
+ cost: {
119
+ input: 0.06,
120
+ output: 0.24,
121
+ cacheRead: 0.015,
122
+ cacheWrite: 0,
123
+ },
124
+ contextWindow: 300000,
125
+ maxTokens: 8192,
126
+ } satisfies Model<"bedrock-converse-stream">,
127
+ "us.amazon.nova-micro-v1:0": {
128
+ id: "us.amazon.nova-micro-v1:0",
129
+ name: "Nova Micro",
130
+ api: "bedrock-converse-stream",
131
+ provider: "amazon-bedrock",
132
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
133
+ reasoning: false,
134
+ input: ["text"],
135
+ cost: {
136
+ input: 0.035,
137
+ output: 0.14,
138
+ cacheRead: 0.00875,
139
+ cacheWrite: 0,
140
+ },
141
+ contextWindow: 128000,
142
+ maxTokens: 8192,
143
+ } satisfies Model<"bedrock-converse-stream">,
144
+ "us.amazon.nova-premier-v1:0": {
145
+ id: "us.amazon.nova-premier-v1:0",
146
+ name: "Nova Premier",
147
+ api: "bedrock-converse-stream",
148
+ provider: "amazon-bedrock",
149
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
150
+ reasoning: true,
151
+ input: ["text", "image"],
152
+ cost: {
153
+ input: 2.5,
154
+ output: 12.5,
155
+ cacheRead: 0,
156
+ cacheWrite: 0,
157
+ },
158
+ contextWindow: 1000000,
159
+ maxTokens: 16384,
160
+ } satisfies Model<"bedrock-converse-stream">,
161
+ "us.amazon.nova-pro-v1:0": {
162
+ id: "us.amazon.nova-pro-v1:0",
163
+ name: "Nova Pro",
164
+ api: "bedrock-converse-stream",
165
+ provider: "amazon-bedrock",
166
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
167
+ reasoning: false,
168
+ input: ["text", "image"],
169
+ cost: {
170
+ input: 0.8,
171
+ output: 3.2,
172
+ cacheRead: 0.2,
173
+ cacheWrite: 0,
174
+ },
175
+ contextWindow: 300000,
176
+ maxTokens: 8192,
177
+ } satisfies Model<"bedrock-converse-stream">,
178
+ "us.amazon.titan-text-express-v1": {
179
+ id: "us.amazon.titan-text-express-v1",
180
+ name: "Titan Text G1 - Express",
181
+ api: "bedrock-converse-stream",
182
+ provider: "amazon-bedrock",
183
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
184
+ reasoning: false,
185
+ input: ["text"],
186
+ cost: {
187
+ input: 0.2,
188
+ output: 0.6,
189
+ cacheRead: 0,
190
+ cacheWrite: 0,
191
+ },
192
+ contextWindow: 128000,
193
+ maxTokens: 4096,
194
+ } satisfies Model<"bedrock-converse-stream">,
195
+ "us.amazon.titan-text-express-v1:0:8k": {
196
+ id: "us.amazon.titan-text-express-v1:0:8k",
197
+ name: "Titan Text G1 - Express",
198
+ api: "bedrock-converse-stream",
199
+ provider: "amazon-bedrock",
200
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
201
+ reasoning: false,
202
+ input: ["text"],
203
+ cost: {
204
+ input: 0.2,
205
+ output: 0.6,
206
+ cacheRead: 0,
207
+ cacheWrite: 0,
208
+ },
209
+ contextWindow: 128000,
210
+ maxTokens: 4096,
211
+ } satisfies Model<"bedrock-converse-stream">,
212
+ "us.anthropic.claude-3-5-haiku-20241022-v1:0": {
213
+ id: "us.anthropic.claude-3-5-haiku-20241022-v1:0",
214
+ name: "Claude Haiku 3.5",
215
+ api: "bedrock-converse-stream",
216
+ provider: "amazon-bedrock",
217
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
218
+ reasoning: false,
219
+ input: ["text", "image"],
220
+ cost: {
221
+ input: 0.8,
222
+ output: 4,
223
+ cacheRead: 0.08,
224
+ cacheWrite: 1,
225
+ },
226
+ contextWindow: 200000,
227
+ maxTokens: 8192,
228
+ } satisfies Model<"bedrock-converse-stream">,
229
+ "us.anthropic.claude-3-5-sonnet-20240620-v1:0": {
230
+ id: "us.anthropic.claude-3-5-sonnet-20240620-v1:0",
231
+ name: "Claude Sonnet 3.5",
232
+ api: "bedrock-converse-stream",
233
+ provider: "amazon-bedrock",
234
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
235
+ reasoning: false,
236
+ input: ["text", "image"],
237
+ cost: {
238
+ input: 3,
239
+ output: 15,
240
+ cacheRead: 0.3,
241
+ cacheWrite: 3.75,
242
+ },
243
+ contextWindow: 200000,
244
+ maxTokens: 8192,
245
+ } satisfies Model<"bedrock-converse-stream">,
246
+ "us.anthropic.claude-3-5-sonnet-20241022-v2:0": {
247
+ id: "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
248
+ name: "Claude Sonnet 3.5 v2",
249
+ api: "bedrock-converse-stream",
250
+ provider: "amazon-bedrock",
251
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
252
+ reasoning: false,
253
+ input: ["text", "image"],
254
+ cost: {
255
+ input: 3,
256
+ output: 15,
257
+ cacheRead: 0.3,
258
+ cacheWrite: 3.75,
259
+ },
260
+ contextWindow: 200000,
261
+ maxTokens: 8192,
262
+ } satisfies Model<"bedrock-converse-stream">,
263
+ "us.anthropic.claude-3-7-sonnet-20250219-v1:0": {
264
+ id: "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
265
+ name: "Claude Sonnet 3.7",
266
+ api: "bedrock-converse-stream",
267
+ provider: "amazon-bedrock",
268
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
269
+ reasoning: false,
270
+ input: ["text", "image"],
271
+ cost: {
272
+ input: 3,
273
+ output: 15,
274
+ cacheRead: 0.3,
275
+ cacheWrite: 3.75,
276
+ },
277
+ contextWindow: 200000,
278
+ maxTokens: 8192,
279
+ } satisfies Model<"bedrock-converse-stream">,
280
+ "us.anthropic.claude-3-haiku-20240307-v1:0": {
281
+ id: "us.anthropic.claude-3-haiku-20240307-v1:0",
282
+ name: "Claude Haiku 3",
283
+ api: "bedrock-converse-stream",
284
+ provider: "amazon-bedrock",
285
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
286
+ reasoning: false,
287
+ input: ["text", "image"],
288
+ cost: {
289
+ input: 0.25,
290
+ output: 1.25,
291
+ cacheRead: 0,
292
+ cacheWrite: 0,
293
+ },
294
+ contextWindow: 200000,
295
+ maxTokens: 4096,
296
+ } satisfies Model<"bedrock-converse-stream">,
297
+ "us.anthropic.claude-3-opus-20240229-v1:0": {
298
+ id: "us.anthropic.claude-3-opus-20240229-v1:0",
299
+ name: "Claude Opus 3",
300
+ api: "bedrock-converse-stream",
301
+ provider: "amazon-bedrock",
302
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
303
+ reasoning: false,
304
+ input: ["text", "image"],
305
+ cost: {
306
+ input: 15,
307
+ output: 75,
308
+ cacheRead: 0,
309
+ cacheWrite: 0,
310
+ },
311
+ contextWindow: 200000,
312
+ maxTokens: 4096,
313
+ } satisfies Model<"bedrock-converse-stream">,
314
+ "us.anthropic.claude-3-sonnet-20240229-v1:0": {
315
+ id: "us.anthropic.claude-3-sonnet-20240229-v1:0",
316
+ name: "Claude Sonnet 3",
317
+ api: "bedrock-converse-stream",
318
+ provider: "amazon-bedrock",
319
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
320
+ reasoning: false,
321
+ input: ["text", "image"],
322
+ cost: {
323
+ input: 3,
324
+ output: 15,
325
+ cacheRead: 0,
326
+ cacheWrite: 0,
327
+ },
328
+ contextWindow: 200000,
329
+ maxTokens: 4096,
330
+ } satisfies Model<"bedrock-converse-stream">,
331
+ "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
332
+ id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
333
+ name: "Claude Haiku 4.5",
334
+ api: "bedrock-converse-stream",
335
+ provider: "amazon-bedrock",
336
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
337
+ reasoning: true,
338
+ input: ["text", "image"],
339
+ cost: {
340
+ input: 1,
341
+ output: 5,
342
+ cacheRead: 0.1,
343
+ cacheWrite: 1.25,
344
+ },
345
+ contextWindow: 200000,
346
+ maxTokens: 64000,
347
+ } satisfies Model<"bedrock-converse-stream">,
348
+ "us.anthropic.claude-opus-4-1-20250805-v1:0": {
349
+ id: "us.anthropic.claude-opus-4-1-20250805-v1:0",
350
+ name: "Claude Opus 4.1",
351
+ api: "bedrock-converse-stream",
352
+ provider: "amazon-bedrock",
353
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
354
+ reasoning: true,
355
+ input: ["text", "image"],
356
+ cost: {
357
+ input: 15,
358
+ output: 75,
359
+ cacheRead: 1.5,
360
+ cacheWrite: 18.75,
361
+ },
362
+ contextWindow: 200000,
363
+ maxTokens: 32000,
364
+ } satisfies Model<"bedrock-converse-stream">,
365
+ "us.anthropic.claude-opus-4-20250514-v1:0": {
366
+ id: "us.anthropic.claude-opus-4-20250514-v1:0",
367
+ name: "Claude Opus 4",
368
+ api: "bedrock-converse-stream",
369
+ provider: "amazon-bedrock",
370
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
371
+ reasoning: true,
372
+ input: ["text", "image"],
373
+ cost: {
374
+ input: 15,
375
+ output: 75,
376
+ cacheRead: 1.5,
377
+ cacheWrite: 18.75,
378
+ },
379
+ contextWindow: 200000,
380
+ maxTokens: 32000,
381
+ } satisfies Model<"bedrock-converse-stream">,
382
+ "us.anthropic.claude-opus-4-5-20251101-v1:0": {
383
+ id: "us.anthropic.claude-opus-4-5-20251101-v1:0",
384
+ name: "Claude Opus 4.5",
385
+ api: "bedrock-converse-stream",
386
+ provider: "amazon-bedrock",
387
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
388
+ reasoning: true,
389
+ input: ["text", "image"],
390
+ cost: {
391
+ input: 5,
392
+ output: 25,
393
+ cacheRead: 0.5,
394
+ cacheWrite: 6.25,
395
+ },
396
+ contextWindow: 200000,
397
+ maxTokens: 64000,
398
+ } satisfies Model<"bedrock-converse-stream">,
399
+ "us.anthropic.claude-sonnet-4-20250514-v1:0": {
400
+ id: "us.anthropic.claude-sonnet-4-20250514-v1:0",
401
+ name: "Claude Sonnet 4",
402
+ api: "bedrock-converse-stream",
403
+ provider: "amazon-bedrock",
404
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
405
+ reasoning: true,
406
+ input: ["text", "image"],
407
+ cost: {
408
+ input: 3,
409
+ output: 15,
410
+ cacheRead: 0.3,
411
+ cacheWrite: 3.75,
412
+ },
413
+ contextWindow: 200000,
414
+ maxTokens: 64000,
415
+ } satisfies Model<"bedrock-converse-stream">,
416
+ "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
417
+ id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
418
+ name: "Claude Sonnet 4.5",
419
+ api: "bedrock-converse-stream",
420
+ provider: "amazon-bedrock",
421
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
422
+ reasoning: true,
423
+ input: ["text", "image"],
424
+ cost: {
425
+ input: 3,
426
+ output: 15,
427
+ cacheRead: 0.3,
428
+ cacheWrite: 3.75,
429
+ },
430
+ contextWindow: 200000,
431
+ maxTokens: 64000,
432
+ } satisfies Model<"bedrock-converse-stream">,
433
+ "us.cohere.command-r-plus-v1:0": {
434
+ id: "us.cohere.command-r-plus-v1:0",
435
+ name: "Command R+",
436
+ api: "bedrock-converse-stream",
437
+ provider: "amazon-bedrock",
438
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
439
+ reasoning: false,
440
+ input: ["text"],
441
+ cost: {
442
+ input: 3,
443
+ output: 15,
444
+ cacheRead: 0,
445
+ cacheWrite: 0,
446
+ },
447
+ contextWindow: 128000,
448
+ maxTokens: 4096,
449
+ } satisfies Model<"bedrock-converse-stream">,
450
+ "us.cohere.command-r-v1:0": {
451
+ id: "us.cohere.command-r-v1:0",
452
+ name: "Command R",
453
+ api: "bedrock-converse-stream",
454
+ provider: "amazon-bedrock",
455
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
456
+ reasoning: false,
457
+ input: ["text"],
458
+ cost: {
459
+ input: 0.5,
460
+ output: 1.5,
461
+ cacheRead: 0,
462
+ cacheWrite: 0,
463
+ },
464
+ contextWindow: 128000,
465
+ maxTokens: 4096,
466
+ } satisfies Model<"bedrock-converse-stream">,
467
+ "us.deepseek.r1-v1:0": {
468
+ id: "us.deepseek.r1-v1:0",
469
+ name: "DeepSeek-R1",
470
+ api: "bedrock-converse-stream",
471
+ provider: "amazon-bedrock",
472
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
473
+ reasoning: true,
474
+ input: ["text"],
475
+ cost: {
476
+ input: 1.35,
477
+ output: 5.4,
478
+ cacheRead: 0,
479
+ cacheWrite: 0,
480
+ },
481
+ contextWindow: 128000,
482
+ maxTokens: 32768,
483
+ } satisfies Model<"bedrock-converse-stream">,
484
+ "us.deepseek.v3-v1:0": {
485
+ id: "us.deepseek.v3-v1:0",
486
+ name: "DeepSeek-V3.1",
487
+ api: "bedrock-converse-stream",
488
+ provider: "amazon-bedrock",
489
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
490
+ reasoning: true,
491
+ input: ["text"],
492
+ cost: {
493
+ input: 0.58,
494
+ output: 1.68,
495
+ cacheRead: 0,
496
+ cacheWrite: 0,
497
+ },
498
+ contextWindow: 163840,
499
+ maxTokens: 81920,
500
+ } satisfies Model<"bedrock-converse-stream">,
501
+ "us.global.anthropic.claude-opus-4-5-20251101-v1:0": {
502
+ id: "us.global.anthropic.claude-opus-4-5-20251101-v1:0",
503
+ name: "Claude Opus 4.5 (Global)",
504
+ api: "bedrock-converse-stream",
505
+ provider: "amazon-bedrock",
506
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
507
+ reasoning: true,
508
+ input: ["text", "image"],
509
+ cost: {
510
+ input: 5,
511
+ output: 25,
512
+ cacheRead: 0.5,
513
+ cacheWrite: 6.25,
514
+ },
515
+ contextWindow: 200000,
516
+ maxTokens: 64000,
517
+ } satisfies Model<"bedrock-converse-stream">,
518
+ "us.google.gemma-3-27b-it": {
519
+ id: "us.google.gemma-3-27b-it",
520
+ name: "Google Gemma 3 27B Instruct",
521
+ api: "bedrock-converse-stream",
522
+ provider: "amazon-bedrock",
523
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
524
+ reasoning: false,
525
+ input: ["text", "image"],
526
+ cost: {
527
+ input: 0.12,
528
+ output: 0.2,
529
+ cacheRead: 0,
530
+ cacheWrite: 0,
531
+ },
532
+ contextWindow: 202752,
533
+ maxTokens: 8192,
534
+ } satisfies Model<"bedrock-converse-stream">,
535
+ "us.google.gemma-3-4b-it": {
536
+ id: "us.google.gemma-3-4b-it",
537
+ name: "Gemma 3 4B IT",
538
+ api: "bedrock-converse-stream",
539
+ provider: "amazon-bedrock",
540
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
541
+ reasoning: false,
542
+ input: ["text", "image"],
543
+ cost: {
544
+ input: 0.04,
545
+ output: 0.08,
546
+ cacheRead: 0,
547
+ cacheWrite: 0,
548
+ },
549
+ contextWindow: 128000,
550
+ maxTokens: 4096,
551
+ } satisfies Model<"bedrock-converse-stream">,
552
+ "us.meta.llama3-1-70b-instruct-v1:0": {
553
+ id: "us.meta.llama3-1-70b-instruct-v1:0",
554
+ name: "Llama 3.1 70B Instruct",
555
+ api: "bedrock-converse-stream",
556
+ provider: "amazon-bedrock",
557
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
558
+ reasoning: false,
559
+ input: ["text"],
560
+ cost: {
561
+ input: 0.72,
562
+ output: 0.72,
563
+ cacheRead: 0,
564
+ cacheWrite: 0,
565
+ },
566
+ contextWindow: 128000,
567
+ maxTokens: 4096,
568
+ } satisfies Model<"bedrock-converse-stream">,
569
+ "us.meta.llama3-1-8b-instruct-v1:0": {
570
+ id: "us.meta.llama3-1-8b-instruct-v1:0",
571
+ name: "Llama 3.1 8B Instruct",
572
+ api: "bedrock-converse-stream",
573
+ provider: "amazon-bedrock",
574
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
575
+ reasoning: false,
576
+ input: ["text"],
577
+ cost: {
578
+ input: 0.22,
579
+ output: 0.22,
580
+ cacheRead: 0,
581
+ cacheWrite: 0,
582
+ },
583
+ contextWindow: 128000,
584
+ maxTokens: 4096,
585
+ } satisfies Model<"bedrock-converse-stream">,
586
+ "us.meta.llama3-2-11b-instruct-v1:0": {
587
+ id: "us.meta.llama3-2-11b-instruct-v1:0",
588
+ name: "Llama 3.2 11B Instruct",
589
+ api: "bedrock-converse-stream",
590
+ provider: "amazon-bedrock",
591
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
592
+ reasoning: false,
593
+ input: ["text", "image"],
594
+ cost: {
595
+ input: 0.16,
596
+ output: 0.16,
597
+ cacheRead: 0,
598
+ cacheWrite: 0,
599
+ },
600
+ contextWindow: 128000,
601
+ maxTokens: 4096,
602
+ } satisfies Model<"bedrock-converse-stream">,
603
+ "us.meta.llama3-2-1b-instruct-v1:0": {
604
+ id: "us.meta.llama3-2-1b-instruct-v1:0",
605
+ name: "Llama 3.2 1B Instruct",
606
+ api: "bedrock-converse-stream",
607
+ provider: "amazon-bedrock",
608
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
609
+ reasoning: false,
610
+ input: ["text"],
611
+ cost: {
612
+ input: 0.1,
613
+ output: 0.1,
614
+ cacheRead: 0,
615
+ cacheWrite: 0,
616
+ },
617
+ contextWindow: 131000,
618
+ maxTokens: 4096,
619
+ } satisfies Model<"bedrock-converse-stream">,
620
+ "us.meta.llama3-2-3b-instruct-v1:0": {
621
+ id: "us.meta.llama3-2-3b-instruct-v1:0",
622
+ name: "Llama 3.2 3B Instruct",
623
+ api: "bedrock-converse-stream",
624
+ provider: "amazon-bedrock",
625
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
626
+ reasoning: false,
627
+ input: ["text"],
628
+ cost: {
629
+ input: 0.15,
630
+ output: 0.15,
631
+ cacheRead: 0,
632
+ cacheWrite: 0,
633
+ },
634
+ contextWindow: 131000,
635
+ maxTokens: 4096,
636
+ } satisfies Model<"bedrock-converse-stream">,
637
+ "us.meta.llama3-2-90b-instruct-v1:0": {
638
+ id: "us.meta.llama3-2-90b-instruct-v1:0",
639
+ name: "Llama 3.2 90B Instruct",
640
+ api: "bedrock-converse-stream",
641
+ provider: "amazon-bedrock",
642
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
643
+ reasoning: false,
644
+ input: ["text", "image"],
645
+ cost: {
646
+ input: 0.72,
647
+ output: 0.72,
648
+ cacheRead: 0,
649
+ cacheWrite: 0,
650
+ },
651
+ contextWindow: 128000,
652
+ maxTokens: 4096,
653
+ } satisfies Model<"bedrock-converse-stream">,
654
+ "us.meta.llama3-3-70b-instruct-v1:0": {
655
+ id: "us.meta.llama3-3-70b-instruct-v1:0",
656
+ name: "Llama 3.3 70B Instruct",
657
+ api: "bedrock-converse-stream",
658
+ provider: "amazon-bedrock",
659
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
660
+ reasoning: false,
661
+ input: ["text"],
662
+ cost: {
663
+ input: 0.72,
664
+ output: 0.72,
665
+ cacheRead: 0,
666
+ cacheWrite: 0,
667
+ },
668
+ contextWindow: 128000,
669
+ maxTokens: 4096,
670
+ } satisfies Model<"bedrock-converse-stream">,
671
+ "us.meta.llama4-maverick-17b-instruct-v1:0": {
672
+ id: "us.meta.llama4-maverick-17b-instruct-v1:0",
673
+ name: "Llama 4 Maverick 17B Instruct",
674
+ api: "bedrock-converse-stream",
675
+ provider: "amazon-bedrock",
676
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
677
+ reasoning: false,
678
+ input: ["text", "image"],
679
+ cost: {
680
+ input: 0.24,
681
+ output: 0.97,
682
+ cacheRead: 0,
683
+ cacheWrite: 0,
684
+ },
685
+ contextWindow: 1000000,
686
+ maxTokens: 16384,
687
+ } satisfies Model<"bedrock-converse-stream">,
688
+ "us.meta.llama4-scout-17b-instruct-v1:0": {
689
+ id: "us.meta.llama4-scout-17b-instruct-v1:0",
690
+ name: "Llama 4 Scout 17B Instruct",
691
+ api: "bedrock-converse-stream",
692
+ provider: "amazon-bedrock",
693
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
694
+ reasoning: false,
695
+ input: ["text", "image"],
696
+ cost: {
697
+ input: 0.17,
698
+ output: 0.66,
699
+ cacheRead: 0,
700
+ cacheWrite: 0,
701
+ },
702
+ contextWindow: 3500000,
703
+ maxTokens: 16384,
704
+ } satisfies Model<"bedrock-converse-stream">,
705
+ "us.minimax.minimax-m2": {
706
+ id: "us.minimax.minimax-m2",
707
+ name: "MiniMax M2",
708
+ api: "bedrock-converse-stream",
709
+ provider: "amazon-bedrock",
710
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
711
+ reasoning: true,
712
+ input: ["text"],
713
+ cost: {
714
+ input: 0.3,
715
+ output: 1.2,
716
+ cacheRead: 0,
717
+ cacheWrite: 0,
718
+ },
719
+ contextWindow: 204608,
720
+ maxTokens: 128000,
721
+ } satisfies Model<"bedrock-converse-stream">,
722
+ "us.mistral.ministral-3-14b-instruct": {
723
+ id: "us.mistral.ministral-3-14b-instruct",
724
+ name: "Ministral 14B 3.0",
725
+ api: "bedrock-converse-stream",
726
+ provider: "amazon-bedrock",
727
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
728
+ reasoning: false,
729
+ input: ["text"],
730
+ cost: {
731
+ input: 0.2,
732
+ output: 0.2,
733
+ cacheRead: 0,
734
+ cacheWrite: 0,
735
+ },
736
+ contextWindow: 128000,
737
+ maxTokens: 4096,
738
+ } satisfies Model<"bedrock-converse-stream">,
739
+ "us.mistral.ministral-3-8b-instruct": {
740
+ id: "us.mistral.ministral-3-8b-instruct",
741
+ name: "Ministral 3 8B",
742
+ api: "bedrock-converse-stream",
743
+ provider: "amazon-bedrock",
744
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
745
+ reasoning: false,
746
+ input: ["text"],
747
+ cost: {
748
+ input: 0.15,
749
+ output: 0.15,
750
+ cacheRead: 0,
751
+ cacheWrite: 0,
752
+ },
753
+ contextWindow: 128000,
754
+ maxTokens: 4096,
755
+ } satisfies Model<"bedrock-converse-stream">,
756
+ "us.mistral.mistral-7b-instruct-v0:2": {
757
+ id: "us.mistral.mistral-7b-instruct-v0:2",
758
+ name: "Mistral-7B-Instruct-v0.3",
759
+ api: "bedrock-converse-stream",
760
+ provider: "amazon-bedrock",
761
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
762
+ reasoning: false,
763
+ input: ["text"],
764
+ cost: {
765
+ input: 0.11,
766
+ output: 0.11,
767
+ cacheRead: 0,
768
+ cacheWrite: 0,
769
+ },
770
+ contextWindow: 127000,
771
+ maxTokens: 127000,
772
+ } satisfies Model<"bedrock-converse-stream">,
773
+ "us.mistral.mistral-large-2402-v1:0": {
774
+ id: "us.mistral.mistral-large-2402-v1:0",
775
+ name: "Mistral Large (24.02)",
776
+ api: "bedrock-converse-stream",
777
+ provider: "amazon-bedrock",
778
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
779
+ reasoning: false,
780
+ input: ["text"],
781
+ cost: {
782
+ input: 0.5,
783
+ output: 1.5,
784
+ cacheRead: 0,
785
+ cacheWrite: 0,
786
+ },
787
+ contextWindow: 128000,
788
+ maxTokens: 4096,
789
+ } satisfies Model<"bedrock-converse-stream">,
790
+ "us.mistral.voxtral-mini-3b-2507": {
791
+ id: "us.mistral.voxtral-mini-3b-2507",
792
+ name: "Voxtral Mini 3B 2507",
793
+ api: "bedrock-converse-stream",
794
+ provider: "amazon-bedrock",
795
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
796
+ reasoning: false,
797
+ input: ["text"],
798
+ cost: {
799
+ input: 0.04,
800
+ output: 0.04,
801
+ cacheRead: 0,
802
+ cacheWrite: 0,
803
+ },
804
+ contextWindow: 128000,
805
+ maxTokens: 4096,
806
+ } satisfies Model<"bedrock-converse-stream">,
807
+ "us.mistral.voxtral-small-24b-2507": {
808
+ id: "us.mistral.voxtral-small-24b-2507",
809
+ name: "Voxtral Small 24B 2507",
810
+ api: "bedrock-converse-stream",
811
+ provider: "amazon-bedrock",
812
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
813
+ reasoning: false,
814
+ input: ["text"],
815
+ cost: {
816
+ input: 0.15,
817
+ output: 0.35,
818
+ cacheRead: 0,
819
+ cacheWrite: 0,
820
+ },
821
+ contextWindow: 32000,
822
+ maxTokens: 8192,
823
+ } satisfies Model<"bedrock-converse-stream">,
824
+ "us.moonshot.kimi-k2-thinking": {
825
+ id: "us.moonshot.kimi-k2-thinking",
826
+ name: "Kimi K2 Thinking",
827
+ api: "bedrock-converse-stream",
828
+ provider: "amazon-bedrock",
829
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
830
+ reasoning: true,
831
+ input: ["text"],
832
+ cost: {
833
+ input: 0.6,
834
+ output: 2.5,
835
+ cacheRead: 0,
836
+ cacheWrite: 0,
837
+ },
838
+ contextWindow: 256000,
839
+ maxTokens: 256000,
840
+ } satisfies Model<"bedrock-converse-stream">,
841
+ "us.nvidia.nemotron-nano-12b-v2": {
842
+ id: "us.nvidia.nemotron-nano-12b-v2",
843
+ name: "NVIDIA Nemotron Nano 12B v2 VL BF16",
844
+ api: "bedrock-converse-stream",
845
+ provider: "amazon-bedrock",
846
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
847
+ reasoning: false,
848
+ input: ["text", "image"],
849
+ cost: {
850
+ input: 0.2,
851
+ output: 0.6,
852
+ cacheRead: 0,
853
+ cacheWrite: 0,
854
+ },
855
+ contextWindow: 128000,
856
+ maxTokens: 4096,
857
+ } satisfies Model<"bedrock-converse-stream">,
858
+ "us.nvidia.nemotron-nano-9b-v2": {
859
+ id: "us.nvidia.nemotron-nano-9b-v2",
860
+ name: "NVIDIA Nemotron Nano 9B v2",
861
+ api: "bedrock-converse-stream",
862
+ provider: "amazon-bedrock",
863
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
864
+ reasoning: false,
865
+ input: ["text"],
866
+ cost: {
867
+ input: 0.06,
868
+ output: 0.23,
869
+ cacheRead: 0,
870
+ cacheWrite: 0,
871
+ },
872
+ contextWindow: 128000,
873
+ maxTokens: 4096,
874
+ } satisfies Model<"bedrock-converse-stream">,
875
+ "us.openai.gpt-oss-120b-1:0": {
876
+ id: "us.openai.gpt-oss-120b-1:0",
877
+ name: "gpt-oss-120b",
878
+ api: "bedrock-converse-stream",
879
+ provider: "amazon-bedrock",
880
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
881
+ reasoning: false,
882
+ input: ["text"],
883
+ cost: {
884
+ input: 0.15,
885
+ output: 0.6,
886
+ cacheRead: 0,
887
+ cacheWrite: 0,
888
+ },
889
+ contextWindow: 128000,
890
+ maxTokens: 4096,
891
+ } satisfies Model<"bedrock-converse-stream">,
892
+ "us.openai.gpt-oss-20b-1:0": {
893
+ id: "us.openai.gpt-oss-20b-1:0",
894
+ name: "gpt-oss-20b",
895
+ api: "bedrock-converse-stream",
896
+ provider: "amazon-bedrock",
897
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
898
+ reasoning: false,
899
+ input: ["text"],
900
+ cost: {
901
+ input: 0.07,
902
+ output: 0.3,
903
+ cacheRead: 0,
904
+ cacheWrite: 0,
905
+ },
906
+ contextWindow: 128000,
907
+ maxTokens: 4096,
908
+ } satisfies Model<"bedrock-converse-stream">,
909
+ "us.openai.gpt-oss-safeguard-120b": {
910
+ id: "us.openai.gpt-oss-safeguard-120b",
911
+ name: "GPT OSS Safeguard 120B",
912
+ api: "bedrock-converse-stream",
913
+ provider: "amazon-bedrock",
914
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
915
+ reasoning: false,
916
+ input: ["text"],
917
+ cost: {
918
+ input: 0.15,
919
+ output: 0.6,
920
+ cacheRead: 0,
921
+ cacheWrite: 0,
922
+ },
923
+ contextWindow: 128000,
924
+ maxTokens: 4096,
925
+ } satisfies Model<"bedrock-converse-stream">,
926
+ "us.openai.gpt-oss-safeguard-20b": {
927
+ id: "us.openai.gpt-oss-safeguard-20b",
928
+ name: "GPT OSS Safeguard 20B",
929
+ api: "bedrock-converse-stream",
930
+ provider: "amazon-bedrock",
931
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
932
+ reasoning: false,
933
+ input: ["text"],
934
+ cost: {
935
+ input: 0.07,
936
+ output: 0.2,
937
+ cacheRead: 0,
938
+ cacheWrite: 0,
939
+ },
940
+ contextWindow: 128000,
941
+ maxTokens: 4096,
942
+ } satisfies Model<"bedrock-converse-stream">,
943
+ "us.qwen.qwen3-235b-a22b-2507-v1:0": {
944
+ id: "us.qwen.qwen3-235b-a22b-2507-v1:0",
945
+ name: "Qwen3 235B A22B 2507",
946
+ api: "bedrock-converse-stream",
947
+ provider: "amazon-bedrock",
948
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
949
+ reasoning: false,
950
+ input: ["text"],
951
+ cost: {
952
+ input: 0.22,
953
+ output: 0.88,
954
+ cacheRead: 0,
955
+ cacheWrite: 0,
956
+ },
957
+ contextWindow: 262144,
958
+ maxTokens: 131072,
959
+ } satisfies Model<"bedrock-converse-stream">,
960
+ "us.qwen.qwen3-32b-v1:0": {
961
+ id: "us.qwen.qwen3-32b-v1:0",
962
+ name: "Qwen3 32B (dense)",
963
+ api: "bedrock-converse-stream",
964
+ provider: "amazon-bedrock",
965
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
966
+ reasoning: true,
967
+ input: ["text"],
968
+ cost: {
969
+ input: 0.15,
970
+ output: 0.6,
971
+ cacheRead: 0,
972
+ cacheWrite: 0,
973
+ },
974
+ contextWindow: 16384,
975
+ maxTokens: 16384,
976
+ } satisfies Model<"bedrock-converse-stream">,
977
+ "us.qwen.qwen3-coder-30b-a3b-v1:0": {
978
+ id: "us.qwen.qwen3-coder-30b-a3b-v1:0",
979
+ name: "Qwen3 Coder 30B A3B Instruct",
980
+ api: "bedrock-converse-stream",
981
+ provider: "amazon-bedrock",
982
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
983
+ reasoning: false,
984
+ input: ["text"],
985
+ cost: {
986
+ input: 0.15,
987
+ output: 0.6,
988
+ cacheRead: 0,
989
+ cacheWrite: 0,
990
+ },
991
+ contextWindow: 262144,
992
+ maxTokens: 131072,
993
+ } satisfies Model<"bedrock-converse-stream">,
994
+ "us.qwen.qwen3-coder-480b-a35b-v1:0": {
995
+ id: "us.qwen.qwen3-coder-480b-a35b-v1:0",
996
+ name: "Qwen3 Coder 480B A35B Instruct",
997
+ api: "bedrock-converse-stream",
998
+ provider: "amazon-bedrock",
999
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1000
+ reasoning: false,
1001
+ input: ["text"],
1002
+ cost: {
1003
+ input: 0.22,
1004
+ output: 1.8,
1005
+ cacheRead: 0,
1006
+ cacheWrite: 0,
1007
+ },
1008
+ contextWindow: 131072,
1009
+ maxTokens: 65536,
1010
+ } satisfies Model<"bedrock-converse-stream">,
1011
+ "us.qwen.qwen3-next-80b-a3b": {
1012
+ id: "us.qwen.qwen3-next-80b-a3b",
1013
+ name: "Qwen/Qwen3-Next-80B-A3B-Instruct",
1014
+ api: "bedrock-converse-stream",
1015
+ provider: "amazon-bedrock",
1016
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1017
+ reasoning: false,
1018
+ input: ["text"],
1019
+ cost: {
1020
+ input: 0.14,
1021
+ output: 1.4,
1022
+ cacheRead: 0,
1023
+ cacheWrite: 0,
1024
+ },
1025
+ contextWindow: 262000,
1026
+ maxTokens: 262000,
1027
+ } satisfies Model<"bedrock-converse-stream">,
1028
+ "us.qwen.qwen3-vl-235b-a22b": {
1029
+ id: "us.qwen.qwen3-vl-235b-a22b",
1030
+ name: "Qwen/Qwen3-VL-235B-A22B-Instruct",
1031
+ api: "bedrock-converse-stream",
1032
+ provider: "amazon-bedrock",
1033
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1034
+ reasoning: false,
1035
+ input: ["text", "image"],
1036
+ cost: {
1037
+ input: 0.3,
1038
+ output: 1.5,
1039
+ cacheRead: 0,
1040
+ cacheWrite: 0,
1041
+ },
1042
+ contextWindow: 262000,
1043
+ maxTokens: 262000,
1044
+ } satisfies Model<"bedrock-converse-stream">,
1045
+ },
7
1046
  "anthropic": {
8
1047
  "claude-3-5-haiku-20241022": {
9
1048
  id: "claude-3-5-haiku-20241022",
@@ -2023,6 +3062,42 @@ export const MODELS = {
2023
3062
  maxTokens: 16384,
2024
3063
  } satisfies Model<"openai-completions">,
2025
3064
  },
3065
+ "minimax": {
3066
+ "MiniMax-M2": {
3067
+ id: "MiniMax-M2",
3068
+ name: "MiniMax-M2",
3069
+ api: "openai-completions",
3070
+ provider: "minimax",
3071
+ baseUrl: "https://api.minimax.chat/v1",
3072
+ reasoning: true,
3073
+ input: ["text"],
3074
+ cost: {
3075
+ input: 0.3,
3076
+ output: 1.2,
3077
+ cacheRead: 0,
3078
+ cacheWrite: 0,
3079
+ },
3080
+ contextWindow: 196608,
3081
+ maxTokens: 128000,
3082
+ } satisfies Model<"openai-completions">,
3083
+ "MiniMax-M2.1": {
3084
+ id: "MiniMax-M2.1",
3085
+ name: "MiniMax-M2.1",
3086
+ api: "openai-completions",
3087
+ provider: "minimax",
3088
+ baseUrl: "https://api.minimax.chat/v1",
3089
+ reasoning: true,
3090
+ input: ["text"],
3091
+ cost: {
3092
+ input: 0.3,
3093
+ output: 1.2,
3094
+ cacheRead: 0,
3095
+ cacheWrite: 0,
3096
+ },
3097
+ contextWindow: 204800,
3098
+ maxTokens: 131072,
3099
+ } satisfies Model<"openai-completions">,
3100
+ },
2026
3101
  "mistral": {
2027
3102
  "codestral-latest": {
2028
3103
  id: "codestral-latest",
@@ -3866,7 +4941,7 @@ export const MODELS = {
3866
4941
  cacheWrite: 18.75,
3867
4942
  },
3868
4943
  contextWindow: 200000,
3869
- maxTokens: 4096,
4944
+ maxTokens: 32000,
3870
4945
  } satisfies Model<"openai-completions">,
3871
4946
  "anthropic/claude-opus-4.5": {
3872
4947
  id: "anthropic/claude-opus-4.5",
@@ -3883,7 +4958,7 @@ export const MODELS = {
3883
4958
  cacheWrite: 6.25,
3884
4959
  },
3885
4960
  contextWindow: 200000,
3886
- maxTokens: 32000,
4961
+ maxTokens: 64000,
3887
4962
  } satisfies Model<"openai-completions">,
3888
4963
  "anthropic/claude-sonnet-4": {
3889
4964
  id: "anthropic/claude-sonnet-4",
@@ -4200,13 +5275,13 @@ export const MODELS = {
4200
5275
  reasoning: true,
4201
5276
  input: ["text"],
4202
5277
  cost: {
4203
- input: 0.39999999999999997,
4204
- output: 1.75,
5278
+ input: 0.44999999999999996,
5279
+ output: 2.1500000000000004,
4205
5280
  cacheRead: 0,
4206
5281
  cacheWrite: 0,
4207
5282
  },
4208
- contextWindow: 163840,
4209
- maxTokens: 65536,
5283
+ contextWindow: 131072,
5284
+ maxTokens: 32768,
4210
5285
  } satisfies Model<"openai-completions">,
4211
5286
  "deepseek/deepseek-r1-distill-llama-70b": {
4212
5287
  id: "deepseek/deepseek-r1-distill-llama-70b",
@@ -4582,23 +5657,6 @@ export const MODELS = {
4582
5657
  contextWindow: 256000,
4583
5658
  maxTokens: 128000,
4584
5659
  } satisfies Model<"openai-completions">,
4585
- "kwaipilot/kat-coder-pro:free": {
4586
- id: "kwaipilot/kat-coder-pro:free",
4587
- name: "Kwaipilot: KAT-Coder-Pro V1 (free)",
4588
- api: "openai-completions",
4589
- provider: "openrouter",
4590
- baseUrl: "https://openrouter.ai/api/v1",
4591
- reasoning: false,
4592
- input: ["text"],
4593
- cost: {
4594
- input: 0,
4595
- output: 0,
4596
- cacheRead: 0,
4597
- cacheWrite: 0,
4598
- },
4599
- contextWindow: 256000,
4600
- maxTokens: 128000,
4601
- } satisfies Model<"openai-completions">,
4602
5660
  "meta-llama/llama-3-70b-instruct": {
4603
5661
  id: "meta-llama/llama-3-70b-instruct",
4604
5662
  name: "Meta: Llama 3 70B Instruct",
@@ -4812,13 +5870,13 @@ export const MODELS = {
4812
5870
  reasoning: true,
4813
5871
  input: ["text"],
4814
5872
  cost: {
4815
- input: 0.28,
4816
- output: 1.2,
4817
- cacheRead: 0.14,
5873
+ input: 0.27,
5874
+ output: 1.12,
5875
+ cacheRead: 0,
4818
5876
  cacheWrite: 0,
4819
5877
  },
4820
5878
  contextWindow: 196608,
4821
- maxTokens: 4096,
5879
+ maxTokens: 65536,
4822
5880
  } satisfies Model<"openai-completions">,
4823
5881
  "mistralai/codestral-2508": {
4824
5882
  id: "mistralai/codestral-2508",