@mariozechner/pi-ai 0.5.10

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.
@@ -0,0 +1,2889 @@
1
+ // This file is auto-generated by scripts/generate-models.ts
2
+ // Do not edit manually - run 'npm run generate-models' to update
3
+ export const PROVIDERS = {
4
+ groq: {
5
+ models: {
6
+ "llama-3.1-8b-instant": {
7
+ id: "llama-3.1-8b-instant",
8
+ name: "Llama 3.1 8B Instant",
9
+ provider: "groq",
10
+ baseUrl: "https://api.groq.com/openai/v1",
11
+ reasoning: false,
12
+ input: ["text"],
13
+ cost: {
14
+ input: 0.05,
15
+ output: 0.08,
16
+ cacheRead: 0,
17
+ cacheWrite: 0,
18
+ },
19
+ contextWindow: 131072,
20
+ maxTokens: 8192,
21
+ },
22
+ "qwen-qwq-32b": {
23
+ id: "qwen-qwq-32b",
24
+ name: "Qwen QwQ 32B",
25
+ provider: "groq",
26
+ baseUrl: "https://api.groq.com/openai/v1",
27
+ reasoning: true,
28
+ input: ["text"],
29
+ cost: {
30
+ input: 0.29,
31
+ output: 0.39,
32
+ cacheRead: 0,
33
+ cacheWrite: 0,
34
+ },
35
+ contextWindow: 131072,
36
+ maxTokens: 16384,
37
+ },
38
+ "llama3-70b-8192": {
39
+ id: "llama3-70b-8192",
40
+ name: "Llama 3 70B",
41
+ provider: "groq",
42
+ baseUrl: "https://api.groq.com/openai/v1",
43
+ reasoning: false,
44
+ input: ["text"],
45
+ cost: {
46
+ input: 0.59,
47
+ output: 0.79,
48
+ cacheRead: 0,
49
+ cacheWrite: 0,
50
+ },
51
+ contextWindow: 8192,
52
+ maxTokens: 8192,
53
+ },
54
+ "deepseek-r1-distill-llama-70b": {
55
+ id: "deepseek-r1-distill-llama-70b",
56
+ name: "DeepSeek R1 Distill Llama 70B",
57
+ provider: "groq",
58
+ baseUrl: "https://api.groq.com/openai/v1",
59
+ reasoning: true,
60
+ input: ["text"],
61
+ cost: {
62
+ input: 0.75,
63
+ output: 0.99,
64
+ cacheRead: 0,
65
+ cacheWrite: 0,
66
+ },
67
+ contextWindow: 131072,
68
+ maxTokens: 8192,
69
+ },
70
+ "llama3-8b-8192": {
71
+ id: "llama3-8b-8192",
72
+ name: "Llama 3 8B",
73
+ provider: "groq",
74
+ baseUrl: "https://api.groq.com/openai/v1",
75
+ reasoning: false,
76
+ input: ["text"],
77
+ cost: {
78
+ input: 0.05,
79
+ output: 0.08,
80
+ cacheRead: 0,
81
+ cacheWrite: 0,
82
+ },
83
+ contextWindow: 8192,
84
+ maxTokens: 8192,
85
+ },
86
+ "gemma2-9b-it": {
87
+ id: "gemma2-9b-it",
88
+ name: "Gemma 2 9B",
89
+ provider: "groq",
90
+ baseUrl: "https://api.groq.com/openai/v1",
91
+ reasoning: false,
92
+ input: ["text"],
93
+ cost: {
94
+ input: 0.2,
95
+ output: 0.2,
96
+ cacheRead: 0,
97
+ cacheWrite: 0,
98
+ },
99
+ contextWindow: 8192,
100
+ maxTokens: 8192,
101
+ },
102
+ "llama-3.3-70b-versatile": {
103
+ id: "llama-3.3-70b-versatile",
104
+ name: "Llama 3.3 70B Versatile",
105
+ provider: "groq",
106
+ baseUrl: "https://api.groq.com/openai/v1",
107
+ reasoning: false,
108
+ input: ["text"],
109
+ cost: {
110
+ input: 0.59,
111
+ output: 0.79,
112
+ cacheRead: 0,
113
+ cacheWrite: 0,
114
+ },
115
+ contextWindow: 131072,
116
+ maxTokens: 32768,
117
+ },
118
+ "mistral-saba-24b": {
119
+ id: "mistral-saba-24b",
120
+ name: "Mistral Saba 24B",
121
+ provider: "groq",
122
+ baseUrl: "https://api.groq.com/openai/v1",
123
+ reasoning: false,
124
+ input: ["text"],
125
+ cost: {
126
+ input: 0.79,
127
+ output: 0.79,
128
+ cacheRead: 0,
129
+ cacheWrite: 0,
130
+ },
131
+ contextWindow: 32768,
132
+ maxTokens: 32768,
133
+ },
134
+ "openai/gpt-oss-20b": {
135
+ id: "openai/gpt-oss-20b",
136
+ name: "GPT OSS 20B",
137
+ provider: "groq",
138
+ baseUrl: "https://api.groq.com/openai/v1",
139
+ reasoning: true,
140
+ input: ["text"],
141
+ cost: {
142
+ input: 0.1,
143
+ output: 0.5,
144
+ cacheRead: 0,
145
+ cacheWrite: 0,
146
+ },
147
+ contextWindow: 131072,
148
+ maxTokens: 32768,
149
+ },
150
+ "openai/gpt-oss-120b": {
151
+ id: "openai/gpt-oss-120b",
152
+ name: "GPT OSS 120B",
153
+ provider: "groq",
154
+ baseUrl: "https://api.groq.com/openai/v1",
155
+ reasoning: true,
156
+ input: ["text"],
157
+ cost: {
158
+ input: 0.15,
159
+ output: 0.75,
160
+ cacheRead: 0,
161
+ cacheWrite: 0,
162
+ },
163
+ contextWindow: 131072,
164
+ maxTokens: 32768,
165
+ },
166
+ "meta-llama/llama-4-maverick-17b-128e-instruct": {
167
+ id: "meta-llama/llama-4-maverick-17b-128e-instruct",
168
+ name: "Llama 4 Maverick 17B",
169
+ provider: "groq",
170
+ baseUrl: "https://api.groq.com/openai/v1",
171
+ reasoning: false,
172
+ input: ["text", "image"],
173
+ cost: {
174
+ input: 0.2,
175
+ output: 0.6,
176
+ cacheRead: 0,
177
+ cacheWrite: 0,
178
+ },
179
+ contextWindow: 131072,
180
+ maxTokens: 8192,
181
+ },
182
+ "meta-llama/llama-4-scout-17b-16e-instruct": {
183
+ id: "meta-llama/llama-4-scout-17b-16e-instruct",
184
+ name: "Llama 4 Scout 17B",
185
+ provider: "groq",
186
+ baseUrl: "https://api.groq.com/openai/v1",
187
+ reasoning: false,
188
+ input: ["text", "image"],
189
+ cost: {
190
+ input: 0.11,
191
+ output: 0.34,
192
+ cacheRead: 0,
193
+ cacheWrite: 0,
194
+ },
195
+ contextWindow: 131072,
196
+ maxTokens: 8192,
197
+ },
198
+ "qwen/qwen3-32b": {
199
+ id: "qwen/qwen3-32b",
200
+ name: "Qwen3 32B",
201
+ provider: "groq",
202
+ baseUrl: "https://api.groq.com/openai/v1",
203
+ reasoning: true,
204
+ input: ["text"],
205
+ cost: {
206
+ input: 0.29,
207
+ output: 0.59,
208
+ cacheRead: 0,
209
+ cacheWrite: 0,
210
+ },
211
+ contextWindow: 131072,
212
+ maxTokens: 16384,
213
+ },
214
+ "moonshotai/kimi-k2-instruct": {
215
+ id: "moonshotai/kimi-k2-instruct",
216
+ name: "Kimi K2 Instruct",
217
+ provider: "groq",
218
+ baseUrl: "https://api.groq.com/openai/v1",
219
+ reasoning: false,
220
+ input: ["text"],
221
+ cost: {
222
+ input: 1,
223
+ output: 3,
224
+ cacheRead: 0,
225
+ cacheWrite: 0,
226
+ },
227
+ contextWindow: 131072,
228
+ maxTokens: 16384,
229
+ },
230
+ }
231
+ },
232
+ cerebras: {
233
+ models: {
234
+ "qwen-3-235b-a22b-instruct-2507": {
235
+ id: "qwen-3-235b-a22b-instruct-2507",
236
+ name: "Qwen 3 235B Instruct",
237
+ provider: "cerebras",
238
+ baseUrl: "https://api.cerebras.ai/v1",
239
+ reasoning: false,
240
+ input: ["text"],
241
+ cost: {
242
+ input: 0.6,
243
+ output: 1.2,
244
+ cacheRead: 0,
245
+ cacheWrite: 0,
246
+ },
247
+ contextWindow: 131000,
248
+ maxTokens: 32000,
249
+ },
250
+ "gpt-oss-120b": {
251
+ id: "gpt-oss-120b",
252
+ name: "GPT OSS 120B",
253
+ provider: "cerebras",
254
+ baseUrl: "https://api.cerebras.ai/v1",
255
+ reasoning: true,
256
+ input: ["text"],
257
+ cost: {
258
+ input: 0.25,
259
+ output: 0.69,
260
+ cacheRead: 0,
261
+ cacheWrite: 0,
262
+ },
263
+ contextWindow: 131072,
264
+ maxTokens: 32768,
265
+ },
266
+ "qwen-3-coder-480b": {
267
+ id: "qwen-3-coder-480b",
268
+ name: "Qwen 3 Coder 480B",
269
+ provider: "cerebras",
270
+ baseUrl: "https://api.cerebras.ai/v1",
271
+ reasoning: false,
272
+ input: ["text"],
273
+ cost: {
274
+ input: 2,
275
+ output: 2,
276
+ cacheRead: 0,
277
+ cacheWrite: 0,
278
+ },
279
+ contextWindow: 131000,
280
+ maxTokens: 32000,
281
+ },
282
+ }
283
+ },
284
+ openrouter: {
285
+ models: {
286
+ "qwen/qwen3-30b-a3b-thinking-2507": {
287
+ id: "qwen/qwen3-30b-a3b-thinking-2507",
288
+ name: "Qwen: Qwen3 30B A3B Thinking 2507",
289
+ provider: "openrouter",
290
+ baseUrl: "https://openrouter.ai/api/v1",
291
+ reasoning: true,
292
+ input: ["text"],
293
+ cost: {
294
+ input: 0.0713,
295
+ output: 0.2852,
296
+ cacheRead: 0,
297
+ cacheWrite: 0,
298
+ },
299
+ contextWindow: 262144,
300
+ maxTokens: 262144,
301
+ },
302
+ "nousresearch/hermes-4-70b": {
303
+ id: "nousresearch/hermes-4-70b",
304
+ name: "Nous: Hermes 4 70B",
305
+ provider: "openrouter",
306
+ baseUrl: "https://openrouter.ai/api/v1",
307
+ reasoning: true,
308
+ input: ["text"],
309
+ cost: {
310
+ input: 0.09329544,
311
+ output: 0.3733632,
312
+ cacheRead: 0,
313
+ cacheWrite: 0,
314
+ },
315
+ contextWindow: 131072,
316
+ maxTokens: 4096,
317
+ },
318
+ "nousresearch/hermes-4-405b": {
319
+ id: "nousresearch/hermes-4-405b",
320
+ name: "Nous: Hermes 4 405B",
321
+ provider: "openrouter",
322
+ baseUrl: "https://openrouter.ai/api/v1",
323
+ reasoning: true,
324
+ input: ["text"],
325
+ cost: {
326
+ input: 0.1999188,
327
+ output: 0.800064,
328
+ cacheRead: 0,
329
+ cacheWrite: 0,
330
+ },
331
+ contextWindow: 131072,
332
+ maxTokens: 4096,
333
+ },
334
+ "deepseek/deepseek-chat-v3.1:free": {
335
+ id: "deepseek/deepseek-chat-v3.1:free",
336
+ name: "DeepSeek: DeepSeek V3.1 (free)",
337
+ provider: "openrouter",
338
+ baseUrl: "https://openrouter.ai/api/v1",
339
+ reasoning: true,
340
+ input: ["text"],
341
+ cost: {
342
+ input: 0,
343
+ output: 0,
344
+ cacheRead: 0,
345
+ cacheWrite: 0,
346
+ },
347
+ contextWindow: 64000,
348
+ maxTokens: 4096,
349
+ },
350
+ "deepseek/deepseek-chat-v3.1": {
351
+ id: "deepseek/deepseek-chat-v3.1",
352
+ name: "DeepSeek: DeepSeek V3.1",
353
+ provider: "openrouter",
354
+ baseUrl: "https://openrouter.ai/api/v1",
355
+ reasoning: true,
356
+ input: ["text"],
357
+ cost: {
358
+ input: 0.19999999999999998,
359
+ output: 0.7999999999999999,
360
+ cacheRead: 0,
361
+ cacheWrite: 0,
362
+ },
363
+ contextWindow: 163840,
364
+ maxTokens: 4096,
365
+ },
366
+ "mistralai/mistral-medium-3.1": {
367
+ id: "mistralai/mistral-medium-3.1",
368
+ name: "Mistral: Mistral Medium 3.1",
369
+ provider: "openrouter",
370
+ baseUrl: "https://openrouter.ai/api/v1",
371
+ reasoning: false,
372
+ input: ["text", "image"],
373
+ cost: {
374
+ input: 0.39999999999999997,
375
+ output: 2,
376
+ cacheRead: 0,
377
+ cacheWrite: 0,
378
+ },
379
+ contextWindow: 131072,
380
+ maxTokens: 4096,
381
+ },
382
+ "z-ai/glm-4.5v": {
383
+ id: "z-ai/glm-4.5v",
384
+ name: "Z.AI: GLM 4.5V",
385
+ provider: "openrouter",
386
+ baseUrl: "https://openrouter.ai/api/v1",
387
+ reasoning: true,
388
+ input: ["text", "image"],
389
+ cost: {
390
+ input: 0.5,
391
+ output: 1.7999999999999998,
392
+ cacheRead: 0,
393
+ cacheWrite: 0,
394
+ },
395
+ contextWindow: 65536,
396
+ maxTokens: 65536,
397
+ },
398
+ "ai21/jamba-mini-1.7": {
399
+ id: "ai21/jamba-mini-1.7",
400
+ name: "AI21: Jamba Mini 1.7",
401
+ provider: "openrouter",
402
+ baseUrl: "https://openrouter.ai/api/v1",
403
+ reasoning: false,
404
+ input: ["text"],
405
+ cost: {
406
+ input: 0.19999999999999998,
407
+ output: 0.39999999999999997,
408
+ cacheRead: 0,
409
+ cacheWrite: 0,
410
+ },
411
+ contextWindow: 256000,
412
+ maxTokens: 4096,
413
+ },
414
+ "ai21/jamba-large-1.7": {
415
+ id: "ai21/jamba-large-1.7",
416
+ name: "AI21: Jamba Large 1.7",
417
+ provider: "openrouter",
418
+ baseUrl: "https://openrouter.ai/api/v1",
419
+ reasoning: false,
420
+ input: ["text"],
421
+ cost: {
422
+ input: 2,
423
+ output: 8,
424
+ cacheRead: 0,
425
+ cacheWrite: 0,
426
+ },
427
+ contextWindow: 256000,
428
+ maxTokens: 4096,
429
+ },
430
+ "mistralai/codestral-2508": {
431
+ id: "mistralai/codestral-2508",
432
+ name: "Mistral: Codestral 2508",
433
+ provider: "openrouter",
434
+ baseUrl: "https://openrouter.ai/api/v1",
435
+ reasoning: false,
436
+ input: ["text"],
437
+ cost: {
438
+ input: 0.3,
439
+ output: 0.8999999999999999,
440
+ cacheRead: 0,
441
+ cacheWrite: 0,
442
+ },
443
+ contextWindow: 256000,
444
+ maxTokens: 4096,
445
+ },
446
+ "qwen/qwen3-coder-30b-a3b-instruct": {
447
+ id: "qwen/qwen3-coder-30b-a3b-instruct",
448
+ name: "Qwen: Qwen3 Coder 30B A3B Instruct",
449
+ provider: "openrouter",
450
+ baseUrl: "https://openrouter.ai/api/v1",
451
+ reasoning: false,
452
+ input: ["text"],
453
+ cost: {
454
+ input: 0.051830799999999996,
455
+ output: 0.207424,
456
+ cacheRead: 0,
457
+ cacheWrite: 0,
458
+ },
459
+ contextWindow: 262144,
460
+ maxTokens: 4096,
461
+ },
462
+ "qwen/qwen3-30b-a3b-instruct-2507": {
463
+ id: "qwen/qwen3-30b-a3b-instruct-2507",
464
+ name: "Qwen: Qwen3 30B A3B Instruct 2507",
465
+ provider: "openrouter",
466
+ baseUrl: "https://openrouter.ai/api/v1",
467
+ reasoning: false,
468
+ input: ["text"],
469
+ cost: {
470
+ input: 0.051830799999999996,
471
+ output: 0.207424,
472
+ cacheRead: 0,
473
+ cacheWrite: 0,
474
+ },
475
+ contextWindow: 262144,
476
+ maxTokens: 4096,
477
+ },
478
+ "z-ai/glm-4.5": {
479
+ id: "z-ai/glm-4.5",
480
+ name: "Z.AI: GLM 4.5",
481
+ provider: "openrouter",
482
+ baseUrl: "https://openrouter.ai/api/v1",
483
+ reasoning: true,
484
+ input: ["text"],
485
+ cost: {
486
+ input: 0.1999188,
487
+ output: 0.800064,
488
+ cacheRead: 0,
489
+ cacheWrite: 0,
490
+ },
491
+ contextWindow: 131072,
492
+ maxTokens: 4096,
493
+ },
494
+ "z-ai/glm-4.5-air:free": {
495
+ id: "z-ai/glm-4.5-air:free",
496
+ name: "Z.AI: GLM 4.5 Air (free)",
497
+ provider: "openrouter",
498
+ baseUrl: "https://openrouter.ai/api/v1",
499
+ reasoning: true,
500
+ input: ["text"],
501
+ cost: {
502
+ input: 0,
503
+ output: 0,
504
+ cacheRead: 0,
505
+ cacheWrite: 0,
506
+ },
507
+ contextWindow: 131072,
508
+ maxTokens: 4096,
509
+ },
510
+ "z-ai/glm-4.5-air": {
511
+ id: "z-ai/glm-4.5-air",
512
+ name: "Z.AI: GLM 4.5 Air",
513
+ provider: "openrouter",
514
+ baseUrl: "https://openrouter.ai/api/v1",
515
+ reasoning: true,
516
+ input: ["text"],
517
+ cost: {
518
+ input: 0.14,
519
+ output: 0.86,
520
+ cacheRead: 0,
521
+ cacheWrite: 0,
522
+ },
523
+ contextWindow: 131072,
524
+ maxTokens: 131072,
525
+ },
526
+ "qwen/qwen3-235b-a22b-thinking-2507": {
527
+ id: "qwen/qwen3-235b-a22b-thinking-2507",
528
+ name: "Qwen: Qwen3 235B A22B Thinking 2507",
529
+ provider: "openrouter",
530
+ baseUrl: "https://openrouter.ai/api/v1",
531
+ reasoning: true,
532
+ input: ["text"],
533
+ cost: {
534
+ input: 0.077968332,
535
+ output: 0.31202496,
536
+ cacheRead: 0,
537
+ cacheWrite: 0,
538
+ },
539
+ contextWindow: 262144,
540
+ maxTokens: 4096,
541
+ },
542
+ "z-ai/glm-4-32b": {
543
+ id: "z-ai/glm-4-32b",
544
+ name: "Z.AI: GLM 4 32B ",
545
+ provider: "openrouter",
546
+ baseUrl: "https://openrouter.ai/api/v1",
547
+ reasoning: false,
548
+ input: ["text"],
549
+ cost: {
550
+ input: 0.09999999999999999,
551
+ output: 0.09999999999999999,
552
+ cacheRead: 0,
553
+ cacheWrite: 0,
554
+ },
555
+ contextWindow: 128000,
556
+ maxTokens: 4096,
557
+ },
558
+ "qwen/qwen3-coder:free": {
559
+ id: "qwen/qwen3-coder:free",
560
+ name: "Qwen: Qwen3 Coder 480B A35B (free)",
561
+ provider: "openrouter",
562
+ baseUrl: "https://openrouter.ai/api/v1",
563
+ reasoning: false,
564
+ input: ["text"],
565
+ cost: {
566
+ input: 0,
567
+ output: 0,
568
+ cacheRead: 0,
569
+ cacheWrite: 0,
570
+ },
571
+ contextWindow: 262144,
572
+ maxTokens: 4096,
573
+ },
574
+ "qwen/qwen3-coder": {
575
+ id: "qwen/qwen3-coder",
576
+ name: "Qwen: Qwen3 Coder 480B A35B",
577
+ provider: "openrouter",
578
+ baseUrl: "https://openrouter.ai/api/v1",
579
+ reasoning: false,
580
+ input: ["text"],
581
+ cost: {
582
+ input: 0.19999999999999998,
583
+ output: 0.7999999999999999,
584
+ cacheRead: 0,
585
+ cacheWrite: 0,
586
+ },
587
+ contextWindow: 262144,
588
+ maxTokens: 4096,
589
+ },
590
+ "qwen/qwen3-235b-a22b-2507": {
591
+ id: "qwen/qwen3-235b-a22b-2507",
592
+ name: "Qwen: Qwen3 235B A22B Instruct 2507",
593
+ provider: "openrouter",
594
+ baseUrl: "https://openrouter.ai/api/v1",
595
+ reasoning: false,
596
+ input: ["text"],
597
+ cost: {
598
+ input: 0.077968332,
599
+ output: 0.31202496,
600
+ cacheRead: 0,
601
+ cacheWrite: 0,
602
+ },
603
+ contextWindow: 262144,
604
+ maxTokens: 4096,
605
+ },
606
+ "moonshotai/kimi-k2:free": {
607
+ id: "moonshotai/kimi-k2:free",
608
+ name: "MoonshotAI: Kimi K2 (free)",
609
+ provider: "openrouter",
610
+ baseUrl: "https://openrouter.ai/api/v1",
611
+ reasoning: false,
612
+ input: ["text"],
613
+ cost: {
614
+ input: 0,
615
+ output: 0,
616
+ cacheRead: 0,
617
+ cacheWrite: 0,
618
+ },
619
+ contextWindow: 32768,
620
+ maxTokens: 4096,
621
+ },
622
+ "moonshotai/kimi-k2": {
623
+ id: "moonshotai/kimi-k2",
624
+ name: "MoonshotAI: Kimi K2",
625
+ provider: "openrouter",
626
+ baseUrl: "https://openrouter.ai/api/v1",
627
+ reasoning: false,
628
+ input: ["text"],
629
+ cost: {
630
+ input: 0.14,
631
+ output: 2.4899999999999998,
632
+ cacheRead: 0,
633
+ cacheWrite: 0,
634
+ },
635
+ contextWindow: 63000,
636
+ maxTokens: 63000,
637
+ },
638
+ "mistralai/devstral-medium": {
639
+ id: "mistralai/devstral-medium",
640
+ name: "Mistral: Devstral Medium",
641
+ provider: "openrouter",
642
+ baseUrl: "https://openrouter.ai/api/v1",
643
+ reasoning: false,
644
+ input: ["text"],
645
+ cost: {
646
+ input: 0.39999999999999997,
647
+ output: 2,
648
+ cacheRead: 0,
649
+ cacheWrite: 0,
650
+ },
651
+ contextWindow: 131072,
652
+ maxTokens: 4096,
653
+ },
654
+ "mistralai/devstral-small": {
655
+ id: "mistralai/devstral-small",
656
+ name: "Mistral: Devstral Small 1.1",
657
+ provider: "openrouter",
658
+ baseUrl: "https://openrouter.ai/api/v1",
659
+ reasoning: false,
660
+ input: ["text"],
661
+ cost: {
662
+ input: 0.07,
663
+ output: 0.28,
664
+ cacheRead: 0,
665
+ cacheWrite: 0,
666
+ },
667
+ contextWindow: 128000,
668
+ maxTokens: 4096,
669
+ },
670
+ "inception/mercury": {
671
+ id: "inception/mercury",
672
+ name: "Inception: Mercury",
673
+ provider: "openrouter",
674
+ baseUrl: "https://openrouter.ai/api/v1",
675
+ reasoning: false,
676
+ input: ["text"],
677
+ cost: {
678
+ input: 0.25,
679
+ output: 1,
680
+ cacheRead: 0,
681
+ cacheWrite: 0,
682
+ },
683
+ contextWindow: 128000,
684
+ maxTokens: 16384,
685
+ },
686
+ "mistralai/mistral-small-3.2-24b-instruct:free": {
687
+ id: "mistralai/mistral-small-3.2-24b-instruct:free",
688
+ name: "Mistral: Mistral Small 3.2 24B (free)",
689
+ provider: "openrouter",
690
+ baseUrl: "https://openrouter.ai/api/v1",
691
+ reasoning: false,
692
+ input: ["text", "image"],
693
+ cost: {
694
+ input: 0,
695
+ output: 0,
696
+ cacheRead: 0,
697
+ cacheWrite: 0,
698
+ },
699
+ contextWindow: 131072,
700
+ maxTokens: 4096,
701
+ },
702
+ "mistralai/mistral-small-3.2-24b-instruct": {
703
+ id: "mistralai/mistral-small-3.2-24b-instruct",
704
+ name: "Mistral: Mistral Small 3.2 24B",
705
+ provider: "openrouter",
706
+ baseUrl: "https://openrouter.ai/api/v1",
707
+ reasoning: false,
708
+ input: ["text", "image"],
709
+ cost: {
710
+ input: 0.049999999999999996,
711
+ output: 0.09999999999999999,
712
+ cacheRead: 0,
713
+ cacheWrite: 0,
714
+ },
715
+ contextWindow: 128000,
716
+ maxTokens: 4096,
717
+ },
718
+ "minimax/minimax-m1": {
719
+ id: "minimax/minimax-m1",
720
+ name: "MiniMax: MiniMax M1",
721
+ provider: "openrouter",
722
+ baseUrl: "https://openrouter.ai/api/v1",
723
+ reasoning: true,
724
+ input: ["text"],
725
+ cost: {
726
+ input: 0.3,
727
+ output: 1.6500000000000001,
728
+ cacheRead: 0,
729
+ cacheWrite: 0,
730
+ },
731
+ contextWindow: 1000000,
732
+ maxTokens: 40000,
733
+ },
734
+ "mistralai/magistral-small-2506": {
735
+ id: "mistralai/magistral-small-2506",
736
+ name: "Mistral: Magistral Small 2506",
737
+ provider: "openrouter",
738
+ baseUrl: "https://openrouter.ai/api/v1",
739
+ reasoning: true,
740
+ input: ["text"],
741
+ cost: {
742
+ input: 0.5,
743
+ output: 1.5,
744
+ cacheRead: 0,
745
+ cacheWrite: 0,
746
+ },
747
+ contextWindow: 40000,
748
+ maxTokens: 40000,
749
+ },
750
+ "mistralai/magistral-medium-2506": {
751
+ id: "mistralai/magistral-medium-2506",
752
+ name: "Mistral: Magistral Medium 2506",
753
+ provider: "openrouter",
754
+ baseUrl: "https://openrouter.ai/api/v1",
755
+ reasoning: true,
756
+ input: ["text"],
757
+ cost: {
758
+ input: 2,
759
+ output: 5,
760
+ cacheRead: 0,
761
+ cacheWrite: 0,
762
+ },
763
+ contextWindow: 40960,
764
+ maxTokens: 40000,
765
+ },
766
+ "mistralai/magistral-medium-2506:thinking": {
767
+ id: "mistralai/magistral-medium-2506:thinking",
768
+ name: "Mistral: Magistral Medium 2506 (thinking)",
769
+ provider: "openrouter",
770
+ baseUrl: "https://openrouter.ai/api/v1",
771
+ reasoning: true,
772
+ input: ["text"],
773
+ cost: {
774
+ input: 2,
775
+ output: 5,
776
+ cacheRead: 0,
777
+ cacheWrite: 0,
778
+ },
779
+ contextWindow: 40960,
780
+ maxTokens: 40000,
781
+ },
782
+ "deepseek/deepseek-r1-0528": {
783
+ id: "deepseek/deepseek-r1-0528",
784
+ name: "DeepSeek: R1 0528",
785
+ provider: "openrouter",
786
+ baseUrl: "https://openrouter.ai/api/v1",
787
+ reasoning: true,
788
+ input: ["text"],
789
+ cost: {
790
+ input: 0.1999188,
791
+ output: 0.800064,
792
+ cacheRead: 0,
793
+ cacheWrite: 0,
794
+ },
795
+ contextWindow: 163840,
796
+ maxTokens: 4096,
797
+ },
798
+ "mistralai/devstral-small-2505:free": {
799
+ id: "mistralai/devstral-small-2505:free",
800
+ name: "Mistral: Devstral Small 2505 (free)",
801
+ provider: "openrouter",
802
+ baseUrl: "https://openrouter.ai/api/v1",
803
+ reasoning: false,
804
+ input: ["text"],
805
+ cost: {
806
+ input: 0,
807
+ output: 0,
808
+ cacheRead: 0,
809
+ cacheWrite: 0,
810
+ },
811
+ contextWindow: 32768,
812
+ maxTokens: 4096,
813
+ },
814
+ "mistralai/devstral-small-2505": {
815
+ id: "mistralai/devstral-small-2505",
816
+ name: "Mistral: Devstral Small 2505",
817
+ provider: "openrouter",
818
+ baseUrl: "https://openrouter.ai/api/v1",
819
+ reasoning: false,
820
+ input: ["text"],
821
+ cost: {
822
+ input: 0.01999188,
823
+ output: 0.0800064,
824
+ cacheRead: 0,
825
+ cacheWrite: 0,
826
+ },
827
+ contextWindow: 131072,
828
+ maxTokens: 4096,
829
+ },
830
+ "meta-llama/llama-3.3-8b-instruct:free": {
831
+ id: "meta-llama/llama-3.3-8b-instruct:free",
832
+ name: "Meta: Llama 3.3 8B Instruct (free)",
833
+ provider: "openrouter",
834
+ baseUrl: "https://openrouter.ai/api/v1",
835
+ reasoning: false,
836
+ input: ["text"],
837
+ cost: {
838
+ input: 0,
839
+ output: 0,
840
+ cacheRead: 0,
841
+ cacheWrite: 0,
842
+ },
843
+ contextWindow: 128000,
844
+ maxTokens: 4028,
845
+ },
846
+ "mistralai/mistral-medium-3": {
847
+ id: "mistralai/mistral-medium-3",
848
+ name: "Mistral: Mistral Medium 3",
849
+ provider: "openrouter",
850
+ baseUrl: "https://openrouter.ai/api/v1",
851
+ reasoning: false,
852
+ input: ["text", "image"],
853
+ cost: {
854
+ input: 0.39999999999999997,
855
+ output: 2,
856
+ cacheRead: 0,
857
+ cacheWrite: 0,
858
+ },
859
+ contextWindow: 131072,
860
+ maxTokens: 4096,
861
+ },
862
+ "arcee-ai/virtuoso-large": {
863
+ id: "arcee-ai/virtuoso-large",
864
+ name: "Arcee AI: Virtuoso Large",
865
+ provider: "openrouter",
866
+ baseUrl: "https://openrouter.ai/api/v1",
867
+ reasoning: false,
868
+ input: ["text"],
869
+ cost: {
870
+ input: 0.75,
871
+ output: 1.2,
872
+ cacheRead: 0,
873
+ cacheWrite: 0,
874
+ },
875
+ contextWindow: 131072,
876
+ maxTokens: 64000,
877
+ },
878
+ "inception/mercury-coder": {
879
+ id: "inception/mercury-coder",
880
+ name: "Inception: Mercury Coder",
881
+ provider: "openrouter",
882
+ baseUrl: "https://openrouter.ai/api/v1",
883
+ reasoning: false,
884
+ input: ["text"],
885
+ cost: {
886
+ input: 0.25,
887
+ output: 1,
888
+ cacheRead: 0,
889
+ cacheWrite: 0,
890
+ },
891
+ contextWindow: 128000,
892
+ maxTokens: 16384,
893
+ },
894
+ "qwen/qwen3-4b:free": {
895
+ id: "qwen/qwen3-4b:free",
896
+ name: "Qwen: Qwen3 4B (free)",
897
+ provider: "openrouter",
898
+ baseUrl: "https://openrouter.ai/api/v1",
899
+ reasoning: true,
900
+ input: ["text"],
901
+ cost: {
902
+ input: 0,
903
+ output: 0,
904
+ cacheRead: 0,
905
+ cacheWrite: 0,
906
+ },
907
+ contextWindow: 40960,
908
+ maxTokens: 4096,
909
+ },
910
+ "qwen/qwen3-30b-a3b": {
911
+ id: "qwen/qwen3-30b-a3b",
912
+ name: "Qwen: Qwen3 30B A3B",
913
+ provider: "openrouter",
914
+ baseUrl: "https://openrouter.ai/api/v1",
915
+ reasoning: true,
916
+ input: ["text"],
917
+ cost: {
918
+ input: 0.01999188,
919
+ output: 0.0800064,
920
+ cacheRead: 0,
921
+ cacheWrite: 0,
922
+ },
923
+ contextWindow: 40960,
924
+ maxTokens: 4096,
925
+ },
926
+ "qwen/qwen3-14b": {
927
+ id: "qwen/qwen3-14b",
928
+ name: "Qwen: Qwen3 14B",
929
+ provider: "openrouter",
930
+ baseUrl: "https://openrouter.ai/api/v1",
931
+ reasoning: true,
932
+ input: ["text"],
933
+ cost: {
934
+ input: 0.06,
935
+ output: 0.24,
936
+ cacheRead: 0,
937
+ cacheWrite: 0,
938
+ },
939
+ contextWindow: 40960,
940
+ maxTokens: 40960,
941
+ },
942
+ "qwen/qwen3-32b": {
943
+ id: "qwen/qwen3-32b",
944
+ name: "Qwen: Qwen3 32B",
945
+ provider: "openrouter",
946
+ baseUrl: "https://openrouter.ai/api/v1",
947
+ reasoning: true,
948
+ input: ["text"],
949
+ cost: {
950
+ input: 0.017992691999999998,
951
+ output: 0.07200576,
952
+ cacheRead: 0,
953
+ cacheWrite: 0,
954
+ },
955
+ contextWindow: 40960,
956
+ maxTokens: 4096,
957
+ },
958
+ "qwen/qwen3-235b-a22b:free": {
959
+ id: "qwen/qwen3-235b-a22b:free",
960
+ name: "Qwen: Qwen3 235B A22B (free)",
961
+ provider: "openrouter",
962
+ baseUrl: "https://openrouter.ai/api/v1",
963
+ reasoning: true,
964
+ input: ["text"],
965
+ cost: {
966
+ input: 0,
967
+ output: 0,
968
+ cacheRead: 0,
969
+ cacheWrite: 0,
970
+ },
971
+ contextWindow: 131072,
972
+ maxTokens: 4096,
973
+ },
974
+ "qwen/qwen3-235b-a22b": {
975
+ id: "qwen/qwen3-235b-a22b",
976
+ name: "Qwen: Qwen3 235B A22B",
977
+ provider: "openrouter",
978
+ baseUrl: "https://openrouter.ai/api/v1",
979
+ reasoning: true,
980
+ input: ["text"],
981
+ cost: {
982
+ input: 0.13,
983
+ output: 0.6,
984
+ cacheRead: 0,
985
+ cacheWrite: 0,
986
+ },
987
+ contextWindow: 40960,
988
+ maxTokens: 40960,
989
+ },
990
+ "meta-llama/llama-4-maverick:free": {
991
+ id: "meta-llama/llama-4-maverick:free",
992
+ name: "Meta: Llama 4 Maverick (free)",
993
+ provider: "openrouter",
994
+ baseUrl: "https://openrouter.ai/api/v1",
995
+ reasoning: false,
996
+ input: ["text", "image"],
997
+ cost: {
998
+ input: 0,
999
+ output: 0,
1000
+ cacheRead: 0,
1001
+ cacheWrite: 0,
1002
+ },
1003
+ contextWindow: 128000,
1004
+ maxTokens: 4028,
1005
+ },
1006
+ "meta-llama/llama-4-maverick": {
1007
+ id: "meta-llama/llama-4-maverick",
1008
+ name: "Meta: Llama 4 Maverick",
1009
+ provider: "openrouter",
1010
+ baseUrl: "https://openrouter.ai/api/v1",
1011
+ reasoning: false,
1012
+ input: ["text", "image"],
1013
+ cost: {
1014
+ input: 0.15,
1015
+ output: 0.6,
1016
+ cacheRead: 0,
1017
+ cacheWrite: 0,
1018
+ },
1019
+ contextWindow: 1048576,
1020
+ maxTokens: 16384,
1021
+ },
1022
+ "meta-llama/llama-4-scout:free": {
1023
+ id: "meta-llama/llama-4-scout:free",
1024
+ name: "Meta: Llama 4 Scout (free)",
1025
+ provider: "openrouter",
1026
+ baseUrl: "https://openrouter.ai/api/v1",
1027
+ reasoning: false,
1028
+ input: ["text", "image"],
1029
+ cost: {
1030
+ input: 0,
1031
+ output: 0,
1032
+ cacheRead: 0,
1033
+ cacheWrite: 0,
1034
+ },
1035
+ contextWindow: 128000,
1036
+ maxTokens: 4028,
1037
+ },
1038
+ "meta-llama/llama-4-scout": {
1039
+ id: "meta-llama/llama-4-scout",
1040
+ name: "Meta: Llama 4 Scout",
1041
+ provider: "openrouter",
1042
+ baseUrl: "https://openrouter.ai/api/v1",
1043
+ reasoning: false,
1044
+ input: ["text", "image"],
1045
+ cost: {
1046
+ input: 0.08,
1047
+ output: 0.3,
1048
+ cacheRead: 0,
1049
+ cacheWrite: 0,
1050
+ },
1051
+ contextWindow: 1048576,
1052
+ maxTokens: 1048576,
1053
+ },
1054
+ "deepseek/deepseek-chat-v3-0324:free": {
1055
+ id: "deepseek/deepseek-chat-v3-0324:free",
1056
+ name: "DeepSeek: DeepSeek V3 0324 (free)",
1057
+ provider: "openrouter",
1058
+ baseUrl: "https://openrouter.ai/api/v1",
1059
+ reasoning: false,
1060
+ input: ["text"],
1061
+ cost: {
1062
+ input: 0,
1063
+ output: 0,
1064
+ cacheRead: 0,
1065
+ cacheWrite: 0,
1066
+ },
1067
+ contextWindow: 163840,
1068
+ maxTokens: 4096,
1069
+ },
1070
+ "deepseek/deepseek-chat-v3-0324": {
1071
+ id: "deepseek/deepseek-chat-v3-0324",
1072
+ name: "DeepSeek: DeepSeek V3 0324",
1073
+ provider: "openrouter",
1074
+ baseUrl: "https://openrouter.ai/api/v1",
1075
+ reasoning: false,
1076
+ input: ["text"],
1077
+ cost: {
1078
+ input: 0.1999188,
1079
+ output: 0.800064,
1080
+ cacheRead: 0,
1081
+ cacheWrite: 0,
1082
+ },
1083
+ contextWindow: 163840,
1084
+ maxTokens: 4096,
1085
+ },
1086
+ "mistralai/mistral-small-3.1-24b-instruct:free": {
1087
+ id: "mistralai/mistral-small-3.1-24b-instruct:free",
1088
+ name: "Mistral: Mistral Small 3.1 24B (free)",
1089
+ provider: "openrouter",
1090
+ baseUrl: "https://openrouter.ai/api/v1",
1091
+ reasoning: false,
1092
+ input: ["text", "image"],
1093
+ cost: {
1094
+ input: 0,
1095
+ output: 0,
1096
+ cacheRead: 0,
1097
+ cacheWrite: 0,
1098
+ },
1099
+ contextWindow: 128000,
1100
+ maxTokens: 4096,
1101
+ },
1102
+ "mistralai/mistral-small-3.1-24b-instruct": {
1103
+ id: "mistralai/mistral-small-3.1-24b-instruct",
1104
+ name: "Mistral: Mistral Small 3.1 24B",
1105
+ provider: "openrouter",
1106
+ baseUrl: "https://openrouter.ai/api/v1",
1107
+ reasoning: false,
1108
+ input: ["text", "image"],
1109
+ cost: {
1110
+ input: 0.01999188,
1111
+ output: 0.0800064,
1112
+ cacheRead: 0,
1113
+ cacheWrite: 0,
1114
+ },
1115
+ contextWindow: 131072,
1116
+ maxTokens: 96000,
1117
+ },
1118
+ "qwen/qwq-32b": {
1119
+ id: "qwen/qwq-32b",
1120
+ name: "Qwen: QwQ 32B",
1121
+ provider: "openrouter",
1122
+ baseUrl: "https://openrouter.ai/api/v1",
1123
+ reasoning: true,
1124
+ input: ["text"],
1125
+ cost: {
1126
+ input: 0.075,
1127
+ output: 0.15,
1128
+ cacheRead: 0,
1129
+ cacheWrite: 0,
1130
+ },
1131
+ contextWindow: 131072,
1132
+ maxTokens: 4096,
1133
+ },
1134
+ "mistralai/mistral-saba": {
1135
+ id: "mistralai/mistral-saba",
1136
+ name: "Mistral: Saba",
1137
+ provider: "openrouter",
1138
+ baseUrl: "https://openrouter.ai/api/v1",
1139
+ reasoning: false,
1140
+ input: ["text"],
1141
+ cost: {
1142
+ input: 0.19999999999999998,
1143
+ output: 0.6,
1144
+ cacheRead: 0,
1145
+ cacheWrite: 0,
1146
+ },
1147
+ contextWindow: 32768,
1148
+ maxTokens: 4096,
1149
+ },
1150
+ "qwen/qwen-turbo": {
1151
+ id: "qwen/qwen-turbo",
1152
+ name: "Qwen: Qwen-Turbo",
1153
+ provider: "openrouter",
1154
+ baseUrl: "https://openrouter.ai/api/v1",
1155
+ reasoning: false,
1156
+ input: ["text"],
1157
+ cost: {
1158
+ input: 0.049999999999999996,
1159
+ output: 0.19999999999999998,
1160
+ cacheRead: 0.02,
1161
+ cacheWrite: 0,
1162
+ },
1163
+ contextWindow: 1000000,
1164
+ maxTokens: 8192,
1165
+ },
1166
+ "qwen/qwen-plus": {
1167
+ id: "qwen/qwen-plus",
1168
+ name: "Qwen: Qwen-Plus",
1169
+ provider: "openrouter",
1170
+ baseUrl: "https://openrouter.ai/api/v1",
1171
+ reasoning: false,
1172
+ input: ["text"],
1173
+ cost: {
1174
+ input: 0.39999999999999997,
1175
+ output: 1.2,
1176
+ cacheRead: 0.16,
1177
+ cacheWrite: 0,
1178
+ },
1179
+ contextWindow: 131072,
1180
+ maxTokens: 8192,
1181
+ },
1182
+ "qwen/qwen-max": {
1183
+ id: "qwen/qwen-max",
1184
+ name: "Qwen: Qwen-Max ",
1185
+ provider: "openrouter",
1186
+ baseUrl: "https://openrouter.ai/api/v1",
1187
+ reasoning: false,
1188
+ input: ["text"],
1189
+ cost: {
1190
+ input: 1.5999999999999999,
1191
+ output: 6.3999999999999995,
1192
+ cacheRead: 0.64,
1193
+ cacheWrite: 0,
1194
+ },
1195
+ contextWindow: 32768,
1196
+ maxTokens: 8192,
1197
+ },
1198
+ "mistralai/mistral-small-24b-instruct-2501": {
1199
+ id: "mistralai/mistral-small-24b-instruct-2501",
1200
+ name: "Mistral: Mistral Small 3",
1201
+ provider: "openrouter",
1202
+ baseUrl: "https://openrouter.ai/api/v1",
1203
+ reasoning: false,
1204
+ input: ["text"],
1205
+ cost: {
1206
+ input: 0.01999188,
1207
+ output: 0.0800064,
1208
+ cacheRead: 0,
1209
+ cacheWrite: 0,
1210
+ },
1211
+ contextWindow: 32768,
1212
+ maxTokens: 4096,
1213
+ },
1214
+ "deepseek/deepseek-r1-distill-llama-70b": {
1215
+ id: "deepseek/deepseek-r1-distill-llama-70b",
1216
+ name: "DeepSeek: R1 Distill Llama 70B",
1217
+ provider: "openrouter",
1218
+ baseUrl: "https://openrouter.ai/api/v1",
1219
+ reasoning: true,
1220
+ input: ["text"],
1221
+ cost: {
1222
+ input: 0.025915399999999998,
1223
+ output: 0.103712,
1224
+ cacheRead: 0,
1225
+ cacheWrite: 0,
1226
+ },
1227
+ contextWindow: 131072,
1228
+ maxTokens: 4096,
1229
+ },
1230
+ "deepseek/deepseek-r1": {
1231
+ id: "deepseek/deepseek-r1",
1232
+ name: "DeepSeek: R1",
1233
+ provider: "openrouter",
1234
+ baseUrl: "https://openrouter.ai/api/v1",
1235
+ reasoning: true,
1236
+ input: ["text"],
1237
+ cost: {
1238
+ input: 0.39999999999999997,
1239
+ output: 2,
1240
+ cacheRead: 0,
1241
+ cacheWrite: 0,
1242
+ },
1243
+ contextWindow: 163840,
1244
+ maxTokens: 163840,
1245
+ },
1246
+ "mistralai/codestral-2501": {
1247
+ id: "mistralai/codestral-2501",
1248
+ name: "Mistral: Codestral 2501",
1249
+ provider: "openrouter",
1250
+ baseUrl: "https://openrouter.ai/api/v1",
1251
+ reasoning: false,
1252
+ input: ["text"],
1253
+ cost: {
1254
+ input: 0.3,
1255
+ output: 0.8999999999999999,
1256
+ cacheRead: 0,
1257
+ cacheWrite: 0,
1258
+ },
1259
+ contextWindow: 262144,
1260
+ maxTokens: 4096,
1261
+ },
1262
+ "deepseek/deepseek-chat": {
1263
+ id: "deepseek/deepseek-chat",
1264
+ name: "DeepSeek: DeepSeek V3",
1265
+ provider: "openrouter",
1266
+ baseUrl: "https://openrouter.ai/api/v1",
1267
+ reasoning: false,
1268
+ input: ["text"],
1269
+ cost: {
1270
+ input: 0.1999188,
1271
+ output: 0.800064,
1272
+ cacheRead: 0,
1273
+ cacheWrite: 0,
1274
+ },
1275
+ contextWindow: 163840,
1276
+ maxTokens: 4096,
1277
+ },
1278
+ "meta-llama/llama-3.3-70b-instruct:free": {
1279
+ id: "meta-llama/llama-3.3-70b-instruct:free",
1280
+ name: "Meta: Llama 3.3 70B Instruct (free)",
1281
+ provider: "openrouter",
1282
+ baseUrl: "https://openrouter.ai/api/v1",
1283
+ reasoning: false,
1284
+ input: ["text"],
1285
+ cost: {
1286
+ input: 0,
1287
+ output: 0,
1288
+ cacheRead: 0,
1289
+ cacheWrite: 0,
1290
+ },
1291
+ contextWindow: 65536,
1292
+ maxTokens: 4096,
1293
+ },
1294
+ "meta-llama/llama-3.3-70b-instruct": {
1295
+ id: "meta-llama/llama-3.3-70b-instruct",
1296
+ name: "Meta: Llama 3.3 70B Instruct",
1297
+ provider: "openrouter",
1298
+ baseUrl: "https://openrouter.ai/api/v1",
1299
+ reasoning: false,
1300
+ input: ["text"],
1301
+ cost: {
1302
+ input: 0.038000000000000006,
1303
+ output: 0.12,
1304
+ cacheRead: 0,
1305
+ cacheWrite: 0,
1306
+ },
1307
+ contextWindow: 131072,
1308
+ maxTokens: 16384,
1309
+ },
1310
+ "amazon/nova-lite-v1": {
1311
+ id: "amazon/nova-lite-v1",
1312
+ name: "Amazon: Nova Lite 1.0",
1313
+ provider: "openrouter",
1314
+ baseUrl: "https://openrouter.ai/api/v1",
1315
+ reasoning: false,
1316
+ input: ["text", "image"],
1317
+ cost: {
1318
+ input: 0.06,
1319
+ output: 0.24,
1320
+ cacheRead: 0,
1321
+ cacheWrite: 0,
1322
+ },
1323
+ contextWindow: 300000,
1324
+ maxTokens: 5120,
1325
+ },
1326
+ "amazon/nova-micro-v1": {
1327
+ id: "amazon/nova-micro-v1",
1328
+ name: "Amazon: Nova Micro 1.0",
1329
+ provider: "openrouter",
1330
+ baseUrl: "https://openrouter.ai/api/v1",
1331
+ reasoning: false,
1332
+ input: ["text"],
1333
+ cost: {
1334
+ input: 0.035,
1335
+ output: 0.14,
1336
+ cacheRead: 0,
1337
+ cacheWrite: 0,
1338
+ },
1339
+ contextWindow: 128000,
1340
+ maxTokens: 5120,
1341
+ },
1342
+ "amazon/nova-pro-v1": {
1343
+ id: "amazon/nova-pro-v1",
1344
+ name: "Amazon: Nova Pro 1.0",
1345
+ provider: "openrouter",
1346
+ baseUrl: "https://openrouter.ai/api/v1",
1347
+ reasoning: false,
1348
+ input: ["text", "image"],
1349
+ cost: {
1350
+ input: 0.7999999999999999,
1351
+ output: 3.1999999999999997,
1352
+ cacheRead: 0,
1353
+ cacheWrite: 0,
1354
+ },
1355
+ contextWindow: 300000,
1356
+ maxTokens: 5120,
1357
+ },
1358
+ "mistralai/mistral-large-2411": {
1359
+ id: "mistralai/mistral-large-2411",
1360
+ name: "Mistral Large 2411",
1361
+ provider: "openrouter",
1362
+ baseUrl: "https://openrouter.ai/api/v1",
1363
+ reasoning: false,
1364
+ input: ["text"],
1365
+ cost: {
1366
+ input: 2,
1367
+ output: 6,
1368
+ cacheRead: 0,
1369
+ cacheWrite: 0,
1370
+ },
1371
+ contextWindow: 131072,
1372
+ maxTokens: 4096,
1373
+ },
1374
+ "mistralai/mistral-large-2407": {
1375
+ id: "mistralai/mistral-large-2407",
1376
+ name: "Mistral Large 2407",
1377
+ provider: "openrouter",
1378
+ baseUrl: "https://openrouter.ai/api/v1",
1379
+ reasoning: false,
1380
+ input: ["text"],
1381
+ cost: {
1382
+ input: 2,
1383
+ output: 6,
1384
+ cacheRead: 0,
1385
+ cacheWrite: 0,
1386
+ },
1387
+ contextWindow: 131072,
1388
+ maxTokens: 4096,
1389
+ },
1390
+ "mistralai/pixtral-large-2411": {
1391
+ id: "mistralai/pixtral-large-2411",
1392
+ name: "Mistral: Pixtral Large 2411",
1393
+ provider: "openrouter",
1394
+ baseUrl: "https://openrouter.ai/api/v1",
1395
+ reasoning: false,
1396
+ input: ["text", "image"],
1397
+ cost: {
1398
+ input: 2,
1399
+ output: 6,
1400
+ cacheRead: 0,
1401
+ cacheWrite: 0,
1402
+ },
1403
+ contextWindow: 131072,
1404
+ maxTokens: 4096,
1405
+ },
1406
+ "thedrummer/unslopnemo-12b": {
1407
+ id: "thedrummer/unslopnemo-12b",
1408
+ name: "TheDrummer: UnslopNemo 12B",
1409
+ provider: "openrouter",
1410
+ baseUrl: "https://openrouter.ai/api/v1",
1411
+ reasoning: false,
1412
+ input: ["text"],
1413
+ cost: {
1414
+ input: 0.39999999999999997,
1415
+ output: 0.39999999999999997,
1416
+ cacheRead: 0,
1417
+ cacheWrite: 0,
1418
+ },
1419
+ contextWindow: 32768,
1420
+ maxTokens: 4096,
1421
+ },
1422
+ "mistralai/ministral-8b": {
1423
+ id: "mistralai/ministral-8b",
1424
+ name: "Mistral: Ministral 8B",
1425
+ provider: "openrouter",
1426
+ baseUrl: "https://openrouter.ai/api/v1",
1427
+ reasoning: false,
1428
+ input: ["text"],
1429
+ cost: {
1430
+ input: 0.09999999999999999,
1431
+ output: 0.09999999999999999,
1432
+ cacheRead: 0,
1433
+ cacheWrite: 0,
1434
+ },
1435
+ contextWindow: 128000,
1436
+ maxTokens: 4096,
1437
+ },
1438
+ "nvidia/llama-3.1-nemotron-70b-instruct": {
1439
+ id: "nvidia/llama-3.1-nemotron-70b-instruct",
1440
+ name: "NVIDIA: Llama 3.1 Nemotron 70B Instruct",
1441
+ provider: "openrouter",
1442
+ baseUrl: "https://openrouter.ai/api/v1",
1443
+ reasoning: false,
1444
+ input: ["text"],
1445
+ cost: {
1446
+ input: 0.12,
1447
+ output: 0.3,
1448
+ cacheRead: 0,
1449
+ cacheWrite: 0,
1450
+ },
1451
+ contextWindow: 131072,
1452
+ maxTokens: 16384,
1453
+ },
1454
+ "thedrummer/rocinante-12b": {
1455
+ id: "thedrummer/rocinante-12b",
1456
+ name: "TheDrummer: Rocinante 12B",
1457
+ provider: "openrouter",
1458
+ baseUrl: "https://openrouter.ai/api/v1",
1459
+ reasoning: false,
1460
+ input: ["text"],
1461
+ cost: {
1462
+ input: 0.16999999999999998,
1463
+ output: 0.43,
1464
+ cacheRead: 0,
1465
+ cacheWrite: 0,
1466
+ },
1467
+ contextWindow: 32768,
1468
+ maxTokens: 4096,
1469
+ },
1470
+ "meta-llama/llama-3.2-3b-instruct": {
1471
+ id: "meta-llama/llama-3.2-3b-instruct",
1472
+ name: "Meta: Llama 3.2 3B Instruct",
1473
+ provider: "openrouter",
1474
+ baseUrl: "https://openrouter.ai/api/v1",
1475
+ reasoning: false,
1476
+ input: ["text"],
1477
+ cost: {
1478
+ input: 0.003,
1479
+ output: 0.006,
1480
+ cacheRead: 0,
1481
+ cacheWrite: 0,
1482
+ },
1483
+ contextWindow: 20000,
1484
+ maxTokens: 20000,
1485
+ },
1486
+ "qwen/qwen-2.5-72b-instruct": {
1487
+ id: "qwen/qwen-2.5-72b-instruct",
1488
+ name: "Qwen2.5 72B Instruct",
1489
+ provider: "openrouter",
1490
+ baseUrl: "https://openrouter.ai/api/v1",
1491
+ reasoning: false,
1492
+ input: ["text"],
1493
+ cost: {
1494
+ input: 0.051830799999999996,
1495
+ output: 0.207424,
1496
+ cacheRead: 0,
1497
+ cacheWrite: 0,
1498
+ },
1499
+ contextWindow: 32768,
1500
+ maxTokens: 4096,
1501
+ },
1502
+ "mistralai/pixtral-12b": {
1503
+ id: "mistralai/pixtral-12b",
1504
+ name: "Mistral: Pixtral 12B",
1505
+ provider: "openrouter",
1506
+ baseUrl: "https://openrouter.ai/api/v1",
1507
+ reasoning: false,
1508
+ input: ["text", "image"],
1509
+ cost: {
1510
+ input: 0.09999999999999999,
1511
+ output: 0.09999999999999999,
1512
+ cacheRead: 0,
1513
+ cacheWrite: 0,
1514
+ },
1515
+ contextWindow: 32768,
1516
+ maxTokens: 4096,
1517
+ },
1518
+ "cohere/command-r-plus-08-2024": {
1519
+ id: "cohere/command-r-plus-08-2024",
1520
+ name: "Cohere: Command R+ (08-2024)",
1521
+ provider: "openrouter",
1522
+ baseUrl: "https://openrouter.ai/api/v1",
1523
+ reasoning: false,
1524
+ input: ["text"],
1525
+ cost: {
1526
+ input: 2.5,
1527
+ output: 10,
1528
+ cacheRead: 0,
1529
+ cacheWrite: 0,
1530
+ },
1531
+ contextWindow: 128000,
1532
+ maxTokens: 4000,
1533
+ },
1534
+ "cohere/command-r-08-2024": {
1535
+ id: "cohere/command-r-08-2024",
1536
+ name: "Cohere: Command R (08-2024)",
1537
+ provider: "openrouter",
1538
+ baseUrl: "https://openrouter.ai/api/v1",
1539
+ reasoning: false,
1540
+ input: ["text"],
1541
+ cost: {
1542
+ input: 0.15,
1543
+ output: 0.6,
1544
+ cacheRead: 0,
1545
+ cacheWrite: 0,
1546
+ },
1547
+ contextWindow: 128000,
1548
+ maxTokens: 4000,
1549
+ },
1550
+ "microsoft/phi-3.5-mini-128k-instruct": {
1551
+ id: "microsoft/phi-3.5-mini-128k-instruct",
1552
+ name: "Microsoft: Phi-3.5 Mini 128K Instruct",
1553
+ provider: "openrouter",
1554
+ baseUrl: "https://openrouter.ai/api/v1",
1555
+ reasoning: false,
1556
+ input: ["text"],
1557
+ cost: {
1558
+ input: 0.09999999999999999,
1559
+ output: 0.09999999999999999,
1560
+ cacheRead: 0,
1561
+ cacheWrite: 0,
1562
+ },
1563
+ contextWindow: 128000,
1564
+ maxTokens: 4096,
1565
+ },
1566
+ "nousresearch/hermes-3-llama-3.1-70b": {
1567
+ id: "nousresearch/hermes-3-llama-3.1-70b",
1568
+ name: "Nous: Hermes 3 70B Instruct",
1569
+ provider: "openrouter",
1570
+ baseUrl: "https://openrouter.ai/api/v1",
1571
+ reasoning: false,
1572
+ input: ["text"],
1573
+ cost: {
1574
+ input: 0.09999999999999999,
1575
+ output: 0.28,
1576
+ cacheRead: 0,
1577
+ cacheWrite: 0,
1578
+ },
1579
+ contextWindow: 131072,
1580
+ maxTokens: 4096,
1581
+ },
1582
+ "meta-llama/llama-3.1-8b-instruct": {
1583
+ id: "meta-llama/llama-3.1-8b-instruct",
1584
+ name: "Meta: Llama 3.1 8B Instruct",
1585
+ provider: "openrouter",
1586
+ baseUrl: "https://openrouter.ai/api/v1",
1587
+ reasoning: false,
1588
+ input: ["text"],
1589
+ cost: {
1590
+ input: 0.015,
1591
+ output: 0.02,
1592
+ cacheRead: 0,
1593
+ cacheWrite: 0,
1594
+ },
1595
+ contextWindow: 131072,
1596
+ maxTokens: 16384,
1597
+ },
1598
+ "meta-llama/llama-3.1-70b-instruct": {
1599
+ id: "meta-llama/llama-3.1-70b-instruct",
1600
+ name: "Meta: Llama 3.1 70B Instruct",
1601
+ provider: "openrouter",
1602
+ baseUrl: "https://openrouter.ai/api/v1",
1603
+ reasoning: false,
1604
+ input: ["text"],
1605
+ cost: {
1606
+ input: 0.09999999999999999,
1607
+ output: 0.28,
1608
+ cacheRead: 0,
1609
+ cacheWrite: 0,
1610
+ },
1611
+ contextWindow: 131072,
1612
+ maxTokens: 16384,
1613
+ },
1614
+ "meta-llama/llama-3.1-405b-instruct": {
1615
+ id: "meta-llama/llama-3.1-405b-instruct",
1616
+ name: "Meta: Llama 3.1 405B Instruct",
1617
+ provider: "openrouter",
1618
+ baseUrl: "https://openrouter.ai/api/v1",
1619
+ reasoning: false,
1620
+ input: ["text"],
1621
+ cost: {
1622
+ input: 0.7999999999999999,
1623
+ output: 0.7999999999999999,
1624
+ cacheRead: 0,
1625
+ cacheWrite: 0,
1626
+ },
1627
+ contextWindow: 32768,
1628
+ maxTokens: 16384,
1629
+ },
1630
+ "mistralai/mistral-nemo": {
1631
+ id: "mistralai/mistral-nemo",
1632
+ name: "Mistral: Mistral Nemo",
1633
+ provider: "openrouter",
1634
+ baseUrl: "https://openrouter.ai/api/v1",
1635
+ reasoning: false,
1636
+ input: ["text"],
1637
+ cost: {
1638
+ input: 0.0075,
1639
+ output: 0.049999999999999996,
1640
+ cacheRead: 0,
1641
+ cacheWrite: 0,
1642
+ },
1643
+ contextWindow: 32000,
1644
+ maxTokens: 4096,
1645
+ },
1646
+ "mistralai/mistral-7b-instruct-v0.3": {
1647
+ id: "mistralai/mistral-7b-instruct-v0.3",
1648
+ name: "Mistral: Mistral 7B Instruct v0.3",
1649
+ provider: "openrouter",
1650
+ baseUrl: "https://openrouter.ai/api/v1",
1651
+ reasoning: false,
1652
+ input: ["text"],
1653
+ cost: {
1654
+ input: 0.028,
1655
+ output: 0.054,
1656
+ cacheRead: 0,
1657
+ cacheWrite: 0,
1658
+ },
1659
+ contextWindow: 32768,
1660
+ maxTokens: 16384,
1661
+ },
1662
+ "mistralai/mistral-7b-instruct:free": {
1663
+ id: "mistralai/mistral-7b-instruct:free",
1664
+ name: "Mistral: Mistral 7B Instruct (free)",
1665
+ provider: "openrouter",
1666
+ baseUrl: "https://openrouter.ai/api/v1",
1667
+ reasoning: false,
1668
+ input: ["text"],
1669
+ cost: {
1670
+ input: 0,
1671
+ output: 0,
1672
+ cacheRead: 0,
1673
+ cacheWrite: 0,
1674
+ },
1675
+ contextWindow: 32768,
1676
+ maxTokens: 16384,
1677
+ },
1678
+ "mistralai/mistral-7b-instruct": {
1679
+ id: "mistralai/mistral-7b-instruct",
1680
+ name: "Mistral: Mistral 7B Instruct",
1681
+ provider: "openrouter",
1682
+ baseUrl: "https://openrouter.ai/api/v1",
1683
+ reasoning: false,
1684
+ input: ["text"],
1685
+ cost: {
1686
+ input: 0.028,
1687
+ output: 0.054,
1688
+ cacheRead: 0,
1689
+ cacheWrite: 0,
1690
+ },
1691
+ contextWindow: 32768,
1692
+ maxTokens: 16384,
1693
+ },
1694
+ "microsoft/phi-3-mini-128k-instruct": {
1695
+ id: "microsoft/phi-3-mini-128k-instruct",
1696
+ name: "Microsoft: Phi-3 Mini 128K Instruct",
1697
+ provider: "openrouter",
1698
+ baseUrl: "https://openrouter.ai/api/v1",
1699
+ reasoning: false,
1700
+ input: ["text"],
1701
+ cost: {
1702
+ input: 0.09999999999999999,
1703
+ output: 0.09999999999999999,
1704
+ cacheRead: 0,
1705
+ cacheWrite: 0,
1706
+ },
1707
+ contextWindow: 128000,
1708
+ maxTokens: 4096,
1709
+ },
1710
+ "microsoft/phi-3-medium-128k-instruct": {
1711
+ id: "microsoft/phi-3-medium-128k-instruct",
1712
+ name: "Microsoft: Phi-3 Medium 128K Instruct",
1713
+ provider: "openrouter",
1714
+ baseUrl: "https://openrouter.ai/api/v1",
1715
+ reasoning: false,
1716
+ input: ["text"],
1717
+ cost: {
1718
+ input: 1,
1719
+ output: 1,
1720
+ cacheRead: 0,
1721
+ cacheWrite: 0,
1722
+ },
1723
+ contextWindow: 128000,
1724
+ maxTokens: 4096,
1725
+ },
1726
+ "meta-llama/llama-3-70b-instruct": {
1727
+ id: "meta-llama/llama-3-70b-instruct",
1728
+ name: "Meta: Llama 3 70B Instruct",
1729
+ provider: "openrouter",
1730
+ baseUrl: "https://openrouter.ai/api/v1",
1731
+ reasoning: false,
1732
+ input: ["text"],
1733
+ cost: {
1734
+ input: 0.3,
1735
+ output: 0.39999999999999997,
1736
+ cacheRead: 0,
1737
+ cacheWrite: 0,
1738
+ },
1739
+ contextWindow: 8192,
1740
+ maxTokens: 16384,
1741
+ },
1742
+ "meta-llama/llama-3-8b-instruct": {
1743
+ id: "meta-llama/llama-3-8b-instruct",
1744
+ name: "Meta: Llama 3 8B Instruct",
1745
+ provider: "openrouter",
1746
+ baseUrl: "https://openrouter.ai/api/v1",
1747
+ reasoning: false,
1748
+ input: ["text"],
1749
+ cost: {
1750
+ input: 0.03,
1751
+ output: 0.06,
1752
+ cacheRead: 0,
1753
+ cacheWrite: 0,
1754
+ },
1755
+ contextWindow: 8192,
1756
+ maxTokens: 16384,
1757
+ },
1758
+ "mistralai/mixtral-8x22b-instruct": {
1759
+ id: "mistralai/mixtral-8x22b-instruct",
1760
+ name: "Mistral: Mixtral 8x22B Instruct",
1761
+ provider: "openrouter",
1762
+ baseUrl: "https://openrouter.ai/api/v1",
1763
+ reasoning: false,
1764
+ input: ["text"],
1765
+ cost: {
1766
+ input: 0.8999999999999999,
1767
+ output: 0.8999999999999999,
1768
+ cacheRead: 0,
1769
+ cacheWrite: 0,
1770
+ },
1771
+ contextWindow: 65536,
1772
+ maxTokens: 4096,
1773
+ },
1774
+ "cohere/command-r-plus": {
1775
+ id: "cohere/command-r-plus",
1776
+ name: "Cohere: Command R+",
1777
+ provider: "openrouter",
1778
+ baseUrl: "https://openrouter.ai/api/v1",
1779
+ reasoning: false,
1780
+ input: ["text"],
1781
+ cost: {
1782
+ input: 3,
1783
+ output: 15,
1784
+ cacheRead: 0,
1785
+ cacheWrite: 0,
1786
+ },
1787
+ contextWindow: 128000,
1788
+ maxTokens: 4000,
1789
+ },
1790
+ "cohere/command-r-plus-04-2024": {
1791
+ id: "cohere/command-r-plus-04-2024",
1792
+ name: "Cohere: Command R+ (04-2024)",
1793
+ provider: "openrouter",
1794
+ baseUrl: "https://openrouter.ai/api/v1",
1795
+ reasoning: false,
1796
+ input: ["text"],
1797
+ cost: {
1798
+ input: 3,
1799
+ output: 15,
1800
+ cacheRead: 0,
1801
+ cacheWrite: 0,
1802
+ },
1803
+ contextWindow: 128000,
1804
+ maxTokens: 4000,
1805
+ },
1806
+ "cohere/command-r": {
1807
+ id: "cohere/command-r",
1808
+ name: "Cohere: Command R",
1809
+ provider: "openrouter",
1810
+ baseUrl: "https://openrouter.ai/api/v1",
1811
+ reasoning: false,
1812
+ input: ["text"],
1813
+ cost: {
1814
+ input: 0.5,
1815
+ output: 1.5,
1816
+ cacheRead: 0,
1817
+ cacheWrite: 0,
1818
+ },
1819
+ contextWindow: 128000,
1820
+ maxTokens: 4000,
1821
+ },
1822
+ "cohere/command-r-03-2024": {
1823
+ id: "cohere/command-r-03-2024",
1824
+ name: "Cohere: Command R (03-2024)",
1825
+ provider: "openrouter",
1826
+ baseUrl: "https://openrouter.ai/api/v1",
1827
+ reasoning: false,
1828
+ input: ["text"],
1829
+ cost: {
1830
+ input: 0.5,
1831
+ output: 1.5,
1832
+ cacheRead: 0,
1833
+ cacheWrite: 0,
1834
+ },
1835
+ contextWindow: 128000,
1836
+ maxTokens: 4000,
1837
+ },
1838
+ "mistralai/mistral-large": {
1839
+ id: "mistralai/mistral-large",
1840
+ name: "Mistral Large",
1841
+ provider: "openrouter",
1842
+ baseUrl: "https://openrouter.ai/api/v1",
1843
+ reasoning: false,
1844
+ input: ["text"],
1845
+ cost: {
1846
+ input: 2,
1847
+ output: 6,
1848
+ cacheRead: 0,
1849
+ cacheWrite: 0,
1850
+ },
1851
+ contextWindow: 128000,
1852
+ maxTokens: 4096,
1853
+ },
1854
+ "mistralai/mistral-tiny": {
1855
+ id: "mistralai/mistral-tiny",
1856
+ name: "Mistral Tiny",
1857
+ provider: "openrouter",
1858
+ baseUrl: "https://openrouter.ai/api/v1",
1859
+ reasoning: false,
1860
+ input: ["text"],
1861
+ cost: {
1862
+ input: 0.25,
1863
+ output: 0.25,
1864
+ cacheRead: 0,
1865
+ cacheWrite: 0,
1866
+ },
1867
+ contextWindow: 32768,
1868
+ maxTokens: 4096,
1869
+ },
1870
+ "mistralai/mistral-small": {
1871
+ id: "mistralai/mistral-small",
1872
+ name: "Mistral Small",
1873
+ provider: "openrouter",
1874
+ baseUrl: "https://openrouter.ai/api/v1",
1875
+ reasoning: false,
1876
+ input: ["text"],
1877
+ cost: {
1878
+ input: 0.19999999999999998,
1879
+ output: 0.6,
1880
+ cacheRead: 0,
1881
+ cacheWrite: 0,
1882
+ },
1883
+ contextWindow: 32768,
1884
+ maxTokens: 4096,
1885
+ },
1886
+ "mistralai/mixtral-8x7b-instruct": {
1887
+ id: "mistralai/mixtral-8x7b-instruct",
1888
+ name: "Mistral: Mixtral 8x7B Instruct",
1889
+ provider: "openrouter",
1890
+ baseUrl: "https://openrouter.ai/api/v1",
1891
+ reasoning: false,
1892
+ input: ["text"],
1893
+ cost: {
1894
+ input: 0.08,
1895
+ output: 0.24,
1896
+ cacheRead: 0,
1897
+ cacheWrite: 0,
1898
+ },
1899
+ contextWindow: 32768,
1900
+ maxTokens: 16384,
1901
+ },
1902
+ "mistralai/mistral-7b-instruct-v0.1": {
1903
+ id: "mistralai/mistral-7b-instruct-v0.1",
1904
+ name: "Mistral: Mistral 7B Instruct v0.1",
1905
+ provider: "openrouter",
1906
+ baseUrl: "https://openrouter.ai/api/v1",
1907
+ reasoning: false,
1908
+ input: ["text"],
1909
+ cost: {
1910
+ input: 0.11,
1911
+ output: 0.19,
1912
+ cacheRead: 0,
1913
+ cacheWrite: 0,
1914
+ },
1915
+ contextWindow: 2824,
1916
+ maxTokens: 4096,
1917
+ },
1918
+ }
1919
+ },
1920
+ xai: {
1921
+ models: {
1922
+ "grok-code-fast-1": {
1923
+ id: "grok-code-fast-1",
1924
+ name: "xAI: Grok Code Fast 1",
1925
+ provider: "xai",
1926
+ baseUrl: "https://api.x.ai/v1",
1927
+ reasoning: true,
1928
+ input: ["text"],
1929
+ cost: {
1930
+ input: 0.19999999999999998,
1931
+ output: 1.5,
1932
+ cacheRead: 0.02,
1933
+ cacheWrite: 0,
1934
+ },
1935
+ contextWindow: 256000,
1936
+ maxTokens: 10000,
1937
+ },
1938
+ "grok-4": {
1939
+ id: "grok-4",
1940
+ name: "xAI: Grok 4",
1941
+ provider: "xai",
1942
+ baseUrl: "https://api.x.ai/v1",
1943
+ reasoning: true,
1944
+ input: ["text", "image"],
1945
+ cost: {
1946
+ input: 3,
1947
+ output: 15,
1948
+ cacheRead: 0.75,
1949
+ cacheWrite: 0,
1950
+ },
1951
+ contextWindow: 256000,
1952
+ maxTokens: 4096,
1953
+ },
1954
+ "grok-3-mini": {
1955
+ id: "grok-3-mini",
1956
+ name: "xAI: Grok 3 Mini",
1957
+ provider: "xai",
1958
+ baseUrl: "https://api.x.ai/v1",
1959
+ reasoning: true,
1960
+ input: ["text"],
1961
+ cost: {
1962
+ input: 0.3,
1963
+ output: 0.5,
1964
+ cacheRead: 0.075,
1965
+ cacheWrite: 0,
1966
+ },
1967
+ contextWindow: 131072,
1968
+ maxTokens: 4096,
1969
+ },
1970
+ "grok-3": {
1971
+ id: "grok-3",
1972
+ name: "xAI: Grok 3",
1973
+ provider: "xai",
1974
+ baseUrl: "https://api.x.ai/v1",
1975
+ reasoning: false,
1976
+ input: ["text"],
1977
+ cost: {
1978
+ input: 3,
1979
+ output: 15,
1980
+ cacheRead: 0.75,
1981
+ cacheWrite: 0,
1982
+ },
1983
+ contextWindow: 131072,
1984
+ maxTokens: 4096,
1985
+ },
1986
+ "grok-3-mini-beta": {
1987
+ id: "grok-3-mini-beta",
1988
+ name: "xAI: Grok 3 Mini Beta",
1989
+ provider: "xai",
1990
+ baseUrl: "https://api.x.ai/v1",
1991
+ reasoning: true,
1992
+ input: ["text"],
1993
+ cost: {
1994
+ input: 0.3,
1995
+ output: 0.5,
1996
+ cacheRead: 0.075,
1997
+ cacheWrite: 0,
1998
+ },
1999
+ contextWindow: 131072,
2000
+ maxTokens: 4096,
2001
+ },
2002
+ "grok-3-beta": {
2003
+ id: "grok-3-beta",
2004
+ name: "xAI: Grok 3 Beta",
2005
+ provider: "xai",
2006
+ baseUrl: "https://api.x.ai/v1",
2007
+ reasoning: false,
2008
+ input: ["text"],
2009
+ cost: {
2010
+ input: 3,
2011
+ output: 15,
2012
+ cacheRead: 0.75,
2013
+ cacheWrite: 0,
2014
+ },
2015
+ contextWindow: 131072,
2016
+ maxTokens: 4096,
2017
+ },
2018
+ "grok-2-1212": {
2019
+ id: "grok-2-1212",
2020
+ name: "xAI: Grok 2 1212",
2021
+ provider: "xai",
2022
+ baseUrl: "https://api.x.ai/v1",
2023
+ reasoning: false,
2024
+ input: ["text"],
2025
+ cost: {
2026
+ input: 2,
2027
+ output: 10,
2028
+ cacheRead: 0,
2029
+ cacheWrite: 0,
2030
+ },
2031
+ contextWindow: 131072,
2032
+ maxTokens: 4096,
2033
+ },
2034
+ }
2035
+ },
2036
+ openai: {
2037
+ models: {
2038
+ "gpt-4o-audio-preview": {
2039
+ id: "gpt-4o-audio-preview",
2040
+ name: "OpenAI: GPT-4o Audio",
2041
+ provider: "openai",
2042
+ reasoning: false,
2043
+ input: ["text"],
2044
+ cost: {
2045
+ input: 2.5,
2046
+ output: 10,
2047
+ cacheRead: 0,
2048
+ cacheWrite: 0,
2049
+ },
2050
+ contextWindow: 128000,
2051
+ maxTokens: 16384,
2052
+ },
2053
+ "gpt-5": {
2054
+ id: "gpt-5",
2055
+ name: "OpenAI: GPT-5",
2056
+ provider: "openai",
2057
+ reasoning: true,
2058
+ input: ["text", "image"],
2059
+ cost: {
2060
+ input: 1.25,
2061
+ output: 10,
2062
+ cacheRead: 0.125,
2063
+ cacheWrite: 0,
2064
+ },
2065
+ contextWindow: 400000,
2066
+ maxTokens: 128000,
2067
+ },
2068
+ "gpt-5-mini": {
2069
+ id: "gpt-5-mini",
2070
+ name: "OpenAI: GPT-5 Mini",
2071
+ provider: "openai",
2072
+ reasoning: true,
2073
+ input: ["text", "image"],
2074
+ cost: {
2075
+ input: 0.25,
2076
+ output: 2,
2077
+ cacheRead: 0.024999999999999998,
2078
+ cacheWrite: 0,
2079
+ },
2080
+ contextWindow: 400000,
2081
+ maxTokens: 128000,
2082
+ },
2083
+ "gpt-5-nano": {
2084
+ id: "gpt-5-nano",
2085
+ name: "OpenAI: GPT-5 Nano",
2086
+ provider: "openai",
2087
+ reasoning: true,
2088
+ input: ["text", "image"],
2089
+ cost: {
2090
+ input: 0.049999999999999996,
2091
+ output: 0.39999999999999997,
2092
+ cacheRead: 0.005,
2093
+ cacheWrite: 0,
2094
+ },
2095
+ contextWindow: 400000,
2096
+ maxTokens: 128000,
2097
+ },
2098
+ "gpt-oss-120b": {
2099
+ id: "gpt-oss-120b",
2100
+ name: "OpenAI: gpt-oss-120b",
2101
+ provider: "openai",
2102
+ reasoning: true,
2103
+ input: ["text"],
2104
+ cost: {
2105
+ input: 0.072,
2106
+ output: 0.28,
2107
+ cacheRead: 0,
2108
+ cacheWrite: 0,
2109
+ },
2110
+ contextWindow: 131000,
2111
+ maxTokens: 131000,
2112
+ },
2113
+ "gpt-oss-20b": {
2114
+ id: "gpt-oss-20b",
2115
+ name: "OpenAI: gpt-oss-20b",
2116
+ provider: "openai",
2117
+ reasoning: true,
2118
+ input: ["text"],
2119
+ cost: {
2120
+ input: 0.04,
2121
+ output: 0.15,
2122
+ cacheRead: 0,
2123
+ cacheWrite: 0,
2124
+ },
2125
+ contextWindow: 131000,
2126
+ maxTokens: 131000,
2127
+ },
2128
+ "o3-pro": {
2129
+ id: "o3-pro",
2130
+ name: "OpenAI: o3 Pro",
2131
+ provider: "openai",
2132
+ reasoning: true,
2133
+ input: ["text", "image"],
2134
+ cost: {
2135
+ input: 20,
2136
+ output: 80,
2137
+ cacheRead: 0,
2138
+ cacheWrite: 0,
2139
+ },
2140
+ contextWindow: 200000,
2141
+ maxTokens: 100000,
2142
+ },
2143
+ "codex-mini": {
2144
+ id: "codex-mini",
2145
+ name: "OpenAI: Codex Mini",
2146
+ provider: "openai",
2147
+ reasoning: true,
2148
+ input: ["text", "image"],
2149
+ cost: {
2150
+ input: 1.5,
2151
+ output: 6,
2152
+ cacheRead: 0.375,
2153
+ cacheWrite: 0,
2154
+ },
2155
+ contextWindow: 200000,
2156
+ maxTokens: 100000,
2157
+ },
2158
+ "o4-mini-high": {
2159
+ id: "o4-mini-high",
2160
+ name: "OpenAI: o4 Mini High",
2161
+ provider: "openai",
2162
+ reasoning: true,
2163
+ input: ["text", "image"],
2164
+ cost: {
2165
+ input: 1.1,
2166
+ output: 4.4,
2167
+ cacheRead: 0.275,
2168
+ cacheWrite: 0,
2169
+ },
2170
+ contextWindow: 200000,
2171
+ maxTokens: 100000,
2172
+ },
2173
+ "o3": {
2174
+ id: "o3",
2175
+ name: "OpenAI: o3",
2176
+ provider: "openai",
2177
+ reasoning: true,
2178
+ input: ["text", "image"],
2179
+ cost: {
2180
+ input: 2,
2181
+ output: 8,
2182
+ cacheRead: 0.5,
2183
+ cacheWrite: 0,
2184
+ },
2185
+ contextWindow: 200000,
2186
+ maxTokens: 100000,
2187
+ },
2188
+ "o4-mini": {
2189
+ id: "o4-mini",
2190
+ name: "OpenAI: o4 Mini",
2191
+ provider: "openai",
2192
+ reasoning: true,
2193
+ input: ["text", "image"],
2194
+ cost: {
2195
+ input: 1.1,
2196
+ output: 4.4,
2197
+ cacheRead: 0.275,
2198
+ cacheWrite: 0,
2199
+ },
2200
+ contextWindow: 200000,
2201
+ maxTokens: 100000,
2202
+ },
2203
+ "gpt-4.1": {
2204
+ id: "gpt-4.1",
2205
+ name: "OpenAI: GPT-4.1",
2206
+ provider: "openai",
2207
+ reasoning: false,
2208
+ input: ["text", "image"],
2209
+ cost: {
2210
+ input: 2,
2211
+ output: 8,
2212
+ cacheRead: 0.5,
2213
+ cacheWrite: 0,
2214
+ },
2215
+ contextWindow: 1047576,
2216
+ maxTokens: 32768,
2217
+ },
2218
+ "gpt-4.1-mini": {
2219
+ id: "gpt-4.1-mini",
2220
+ name: "OpenAI: GPT-4.1 Mini",
2221
+ provider: "openai",
2222
+ reasoning: false,
2223
+ input: ["text", "image"],
2224
+ cost: {
2225
+ input: 0.39999999999999997,
2226
+ output: 1.5999999999999999,
2227
+ cacheRead: 0.09999999999999999,
2228
+ cacheWrite: 0,
2229
+ },
2230
+ contextWindow: 1047576,
2231
+ maxTokens: 32768,
2232
+ },
2233
+ "gpt-4.1-nano": {
2234
+ id: "gpt-4.1-nano",
2235
+ name: "OpenAI: GPT-4.1 Nano",
2236
+ provider: "openai",
2237
+ reasoning: false,
2238
+ input: ["text", "image"],
2239
+ cost: {
2240
+ input: 0.09999999999999999,
2241
+ output: 0.39999999999999997,
2242
+ cacheRead: 0.024999999999999998,
2243
+ cacheWrite: 0,
2244
+ },
2245
+ contextWindow: 1047576,
2246
+ maxTokens: 32768,
2247
+ },
2248
+ "o3-mini-high": {
2249
+ id: "o3-mini-high",
2250
+ name: "OpenAI: o3 Mini High",
2251
+ provider: "openai",
2252
+ reasoning: false,
2253
+ input: ["text"],
2254
+ cost: {
2255
+ input: 1.1,
2256
+ output: 4.4,
2257
+ cacheRead: 0.55,
2258
+ cacheWrite: 0,
2259
+ },
2260
+ contextWindow: 200000,
2261
+ maxTokens: 100000,
2262
+ },
2263
+ "o3-mini": {
2264
+ id: "o3-mini",
2265
+ name: "OpenAI: o3 Mini",
2266
+ provider: "openai",
2267
+ reasoning: false,
2268
+ input: ["text"],
2269
+ cost: {
2270
+ input: 1.1,
2271
+ output: 4.4,
2272
+ cacheRead: 0.55,
2273
+ cacheWrite: 0,
2274
+ },
2275
+ contextWindow: 200000,
2276
+ maxTokens: 100000,
2277
+ },
2278
+ "o1": {
2279
+ id: "o1",
2280
+ name: "OpenAI: o1",
2281
+ provider: "openai",
2282
+ reasoning: false,
2283
+ input: ["text", "image"],
2284
+ cost: {
2285
+ input: 15,
2286
+ output: 60,
2287
+ cacheRead: 7.5,
2288
+ cacheWrite: 0,
2289
+ },
2290
+ contextWindow: 200000,
2291
+ maxTokens: 100000,
2292
+ },
2293
+ "gpt-4o-2024-11-20": {
2294
+ id: "gpt-4o-2024-11-20",
2295
+ name: "OpenAI: GPT-4o (2024-11-20)",
2296
+ provider: "openai",
2297
+ reasoning: false,
2298
+ input: ["text", "image"],
2299
+ cost: {
2300
+ input: 2.5,
2301
+ output: 10,
2302
+ cacheRead: 1.25,
2303
+ cacheWrite: 0,
2304
+ },
2305
+ contextWindow: 128000,
2306
+ maxTokens: 16384,
2307
+ },
2308
+ "gpt-4o-2024-08-06": {
2309
+ id: "gpt-4o-2024-08-06",
2310
+ name: "OpenAI: GPT-4o (2024-08-06)",
2311
+ provider: "openai",
2312
+ reasoning: false,
2313
+ input: ["text", "image"],
2314
+ cost: {
2315
+ input: 2.5,
2316
+ output: 10,
2317
+ cacheRead: 1.25,
2318
+ cacheWrite: 0,
2319
+ },
2320
+ contextWindow: 128000,
2321
+ maxTokens: 16384,
2322
+ },
2323
+ "gpt-4o-mini": {
2324
+ id: "gpt-4o-mini",
2325
+ name: "OpenAI: GPT-4o-mini",
2326
+ provider: "openai",
2327
+ reasoning: false,
2328
+ input: ["text", "image"],
2329
+ cost: {
2330
+ input: 0.15,
2331
+ output: 0.6,
2332
+ cacheRead: 0.075,
2333
+ cacheWrite: 0,
2334
+ },
2335
+ contextWindow: 128000,
2336
+ maxTokens: 16384,
2337
+ },
2338
+ "gpt-4o-mini-2024-07-18": {
2339
+ id: "gpt-4o-mini-2024-07-18",
2340
+ name: "OpenAI: GPT-4o-mini (2024-07-18)",
2341
+ provider: "openai",
2342
+ reasoning: false,
2343
+ input: ["text", "image"],
2344
+ cost: {
2345
+ input: 0.15,
2346
+ output: 0.6,
2347
+ cacheRead: 0.075,
2348
+ cacheWrite: 0,
2349
+ },
2350
+ contextWindow: 128000,
2351
+ maxTokens: 16384,
2352
+ },
2353
+ "gpt-4o": {
2354
+ id: "gpt-4o",
2355
+ name: "OpenAI: GPT-4o",
2356
+ provider: "openai",
2357
+ reasoning: false,
2358
+ input: ["text", "image"],
2359
+ cost: {
2360
+ input: 2.5,
2361
+ output: 10,
2362
+ cacheRead: 1.25,
2363
+ cacheWrite: 0,
2364
+ },
2365
+ contextWindow: 128000,
2366
+ maxTokens: 16384,
2367
+ },
2368
+ "gpt-4o:extended": {
2369
+ id: "gpt-4o:extended",
2370
+ name: "OpenAI: GPT-4o (extended)",
2371
+ provider: "openai",
2372
+ reasoning: false,
2373
+ input: ["text", "image"],
2374
+ cost: {
2375
+ input: 6,
2376
+ output: 18,
2377
+ cacheRead: 0,
2378
+ cacheWrite: 0,
2379
+ },
2380
+ contextWindow: 128000,
2381
+ maxTokens: 64000,
2382
+ },
2383
+ "gpt-4o-2024-05-13": {
2384
+ id: "gpt-4o-2024-05-13",
2385
+ name: "OpenAI: GPT-4o (2024-05-13)",
2386
+ provider: "openai",
2387
+ reasoning: false,
2388
+ input: ["text", "image"],
2389
+ cost: {
2390
+ input: 5,
2391
+ output: 15,
2392
+ cacheRead: 0,
2393
+ cacheWrite: 0,
2394
+ },
2395
+ contextWindow: 128000,
2396
+ maxTokens: 4096,
2397
+ },
2398
+ "gpt-4-turbo": {
2399
+ id: "gpt-4-turbo",
2400
+ name: "OpenAI: GPT-4 Turbo",
2401
+ provider: "openai",
2402
+ reasoning: false,
2403
+ input: ["text", "image"],
2404
+ cost: {
2405
+ input: 10,
2406
+ output: 30,
2407
+ cacheRead: 0,
2408
+ cacheWrite: 0,
2409
+ },
2410
+ contextWindow: 128000,
2411
+ maxTokens: 4096,
2412
+ },
2413
+ "gpt-3.5-turbo-0613": {
2414
+ id: "gpt-3.5-turbo-0613",
2415
+ name: "OpenAI: GPT-3.5 Turbo (older v0613)",
2416
+ provider: "openai",
2417
+ reasoning: false,
2418
+ input: ["text"],
2419
+ cost: {
2420
+ input: 1,
2421
+ output: 2,
2422
+ cacheRead: 0,
2423
+ cacheWrite: 0,
2424
+ },
2425
+ contextWindow: 4095,
2426
+ maxTokens: 4096,
2427
+ },
2428
+ "gpt-4-turbo-preview": {
2429
+ id: "gpt-4-turbo-preview",
2430
+ name: "OpenAI: GPT-4 Turbo Preview",
2431
+ provider: "openai",
2432
+ reasoning: false,
2433
+ input: ["text"],
2434
+ cost: {
2435
+ input: 10,
2436
+ output: 30,
2437
+ cacheRead: 0,
2438
+ cacheWrite: 0,
2439
+ },
2440
+ contextWindow: 128000,
2441
+ maxTokens: 4096,
2442
+ },
2443
+ "gpt-4-1106-preview": {
2444
+ id: "gpt-4-1106-preview",
2445
+ name: "OpenAI: GPT-4 Turbo (older v1106)",
2446
+ provider: "openai",
2447
+ reasoning: false,
2448
+ input: ["text"],
2449
+ cost: {
2450
+ input: 10,
2451
+ output: 30,
2452
+ cacheRead: 0,
2453
+ cacheWrite: 0,
2454
+ },
2455
+ contextWindow: 128000,
2456
+ maxTokens: 4096,
2457
+ },
2458
+ "gpt-3.5-turbo-16k": {
2459
+ id: "gpt-3.5-turbo-16k",
2460
+ name: "OpenAI: GPT-3.5 Turbo 16k",
2461
+ provider: "openai",
2462
+ reasoning: false,
2463
+ input: ["text"],
2464
+ cost: {
2465
+ input: 3,
2466
+ output: 4,
2467
+ cacheRead: 0,
2468
+ cacheWrite: 0,
2469
+ },
2470
+ contextWindow: 16385,
2471
+ maxTokens: 4096,
2472
+ },
2473
+ "gpt-4": {
2474
+ id: "gpt-4",
2475
+ name: "OpenAI: GPT-4",
2476
+ provider: "openai",
2477
+ reasoning: false,
2478
+ input: ["text"],
2479
+ cost: {
2480
+ input: 30,
2481
+ output: 60,
2482
+ cacheRead: 0,
2483
+ cacheWrite: 0,
2484
+ },
2485
+ contextWindow: 8191,
2486
+ maxTokens: 4096,
2487
+ },
2488
+ "gpt-4-0314": {
2489
+ id: "gpt-4-0314",
2490
+ name: "OpenAI: GPT-4 (older v0314)",
2491
+ provider: "openai",
2492
+ reasoning: false,
2493
+ input: ["text"],
2494
+ cost: {
2495
+ input: 30,
2496
+ output: 60,
2497
+ cacheRead: 0,
2498
+ cacheWrite: 0,
2499
+ },
2500
+ contextWindow: 8191,
2501
+ maxTokens: 4096,
2502
+ },
2503
+ "gpt-3.5-turbo": {
2504
+ id: "gpt-3.5-turbo",
2505
+ name: "OpenAI: GPT-3.5 Turbo",
2506
+ provider: "openai",
2507
+ reasoning: false,
2508
+ input: ["text"],
2509
+ cost: {
2510
+ input: 0.5,
2511
+ output: 1.5,
2512
+ cacheRead: 0,
2513
+ cacheWrite: 0,
2514
+ },
2515
+ contextWindow: 16385,
2516
+ maxTokens: 4096,
2517
+ },
2518
+ }
2519
+ },
2520
+ anthropic: {
2521
+ models: {
2522
+ "claude-opus-4-1": {
2523
+ id: "claude-opus-4-1",
2524
+ name: "Anthropic: Claude Opus 4.1",
2525
+ provider: "anthropic",
2526
+ reasoning: true,
2527
+ input: ["text", "image"],
2528
+ cost: {
2529
+ input: 15,
2530
+ output: 75,
2531
+ cacheRead: 1.5,
2532
+ cacheWrite: 18.75,
2533
+ },
2534
+ contextWindow: 200000,
2535
+ maxTokens: 32000,
2536
+ },
2537
+ "claude-opus-4-0": {
2538
+ id: "claude-opus-4-0",
2539
+ name: "Anthropic: Claude Opus 4",
2540
+ provider: "anthropic",
2541
+ reasoning: true,
2542
+ input: ["text", "image"],
2543
+ cost: {
2544
+ input: 15,
2545
+ output: 75,
2546
+ cacheRead: 1.5,
2547
+ cacheWrite: 18.75,
2548
+ },
2549
+ contextWindow: 200000,
2550
+ maxTokens: 32000,
2551
+ },
2552
+ "claude-sonnet-4-0": {
2553
+ id: "claude-sonnet-4-0",
2554
+ name: "Anthropic: Claude Sonnet 4",
2555
+ provider: "anthropic",
2556
+ reasoning: true,
2557
+ input: ["text", "image"],
2558
+ cost: {
2559
+ input: 3,
2560
+ output: 15,
2561
+ cacheRead: 0.3,
2562
+ cacheWrite: 3.75,
2563
+ },
2564
+ contextWindow: 1000000,
2565
+ maxTokens: 64000,
2566
+ },
2567
+ "claude-3-7-sonnet-latest": {
2568
+ id: "claude-3-7-sonnet-latest",
2569
+ name: "Anthropic: Claude 3.7 Sonnet",
2570
+ provider: "anthropic",
2571
+ reasoning: true,
2572
+ input: ["text", "image"],
2573
+ cost: {
2574
+ input: 3,
2575
+ output: 15,
2576
+ cacheRead: 0.3,
2577
+ cacheWrite: 3.75,
2578
+ },
2579
+ contextWindow: 200000,
2580
+ maxTokens: 64000,
2581
+ },
2582
+ "claude-3-7-sonnet-latest:thinking": {
2583
+ id: "claude-3-7-sonnet-latest:thinking",
2584
+ name: "Anthropic: Claude 3.7 Sonnet (thinking)",
2585
+ provider: "anthropic",
2586
+ reasoning: true,
2587
+ input: ["text", "image"],
2588
+ cost: {
2589
+ input: 3,
2590
+ output: 15,
2591
+ cacheRead: 0.3,
2592
+ cacheWrite: 3.75,
2593
+ },
2594
+ contextWindow: 200000,
2595
+ maxTokens: 64000,
2596
+ },
2597
+ "claude-3-5-haiku-20241022": {
2598
+ id: "claude-3-5-haiku-20241022",
2599
+ name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
2600
+ provider: "anthropic",
2601
+ reasoning: false,
2602
+ input: ["text", "image"],
2603
+ cost: {
2604
+ input: 0.7999999999999999,
2605
+ output: 4,
2606
+ cacheRead: 0.08,
2607
+ cacheWrite: 1,
2608
+ },
2609
+ contextWindow: 200000,
2610
+ maxTokens: 8192,
2611
+ },
2612
+ "claude-3-5-haiku-latest": {
2613
+ id: "claude-3-5-haiku-latest",
2614
+ name: "Anthropic: Claude 3.5 Haiku",
2615
+ provider: "anthropic",
2616
+ reasoning: false,
2617
+ input: ["text", "image"],
2618
+ cost: {
2619
+ input: 0.7999999999999999,
2620
+ output: 4,
2621
+ cacheRead: 0.08,
2622
+ cacheWrite: 1,
2623
+ },
2624
+ contextWindow: 200000,
2625
+ maxTokens: 8192,
2626
+ },
2627
+ "claude-3-5-sonnet-latest": {
2628
+ id: "claude-3-5-sonnet-latest",
2629
+ name: "Anthropic: Claude 3.5 Sonnet",
2630
+ provider: "anthropic",
2631
+ reasoning: false,
2632
+ input: ["text", "image"],
2633
+ cost: {
2634
+ input: 3,
2635
+ output: 15,
2636
+ cacheRead: 0.3,
2637
+ cacheWrite: 3.75,
2638
+ },
2639
+ contextWindow: 200000,
2640
+ maxTokens: 8192,
2641
+ },
2642
+ "claude-3-5-sonnet-20240620": {
2643
+ id: "claude-3-5-sonnet-20240620",
2644
+ name: "Anthropic: Claude 3.5 Sonnet (2024-06-20)",
2645
+ provider: "anthropic",
2646
+ reasoning: false,
2647
+ input: ["text", "image"],
2648
+ cost: {
2649
+ input: 3,
2650
+ output: 15,
2651
+ cacheRead: 0.3,
2652
+ cacheWrite: 3.75,
2653
+ },
2654
+ contextWindow: 200000,
2655
+ maxTokens: 8192,
2656
+ },
2657
+ "claude-3-haiku-20240307": {
2658
+ id: "claude-3-haiku-20240307",
2659
+ name: "Anthropic: Claude 3 Haiku",
2660
+ provider: "anthropic",
2661
+ reasoning: false,
2662
+ input: ["text", "image"],
2663
+ cost: {
2664
+ input: 0.25,
2665
+ output: 1.25,
2666
+ cacheRead: 0.03,
2667
+ cacheWrite: 0.3,
2668
+ },
2669
+ contextWindow: 200000,
2670
+ maxTokens: 4096,
2671
+ },
2672
+ "claude-3-opus-20240229": {
2673
+ id: "claude-3-opus-20240229",
2674
+ name: "Anthropic: Claude 3 Opus",
2675
+ provider: "anthropic",
2676
+ reasoning: false,
2677
+ input: ["text", "image"],
2678
+ cost: {
2679
+ input: 15,
2680
+ output: 75,
2681
+ cacheRead: 1.5,
2682
+ cacheWrite: 18.75,
2683
+ },
2684
+ contextWindow: 200000,
2685
+ maxTokens: 4096,
2686
+ },
2687
+ }
2688
+ },
2689
+ google: {
2690
+ models: {
2691
+ "gemini-2.5-flash-lite": {
2692
+ id: "gemini-2.5-flash-lite",
2693
+ name: "Google: Gemini 2.5 Flash Lite",
2694
+ provider: "google",
2695
+ reasoning: true,
2696
+ input: ["text", "image"],
2697
+ cost: {
2698
+ input: 0.09999999999999999,
2699
+ output: 0.39999999999999997,
2700
+ cacheRead: 0.024999999999999998,
2701
+ cacheWrite: 0.18330000000000002,
2702
+ },
2703
+ contextWindow: 1048576,
2704
+ maxTokens: 65535,
2705
+ },
2706
+ "gemini-2.5-flash-lite-preview-06-17": {
2707
+ id: "gemini-2.5-flash-lite-preview-06-17",
2708
+ name: "Google: Gemini 2.5 Flash Lite Preview 06-17",
2709
+ provider: "google",
2710
+ reasoning: true,
2711
+ input: ["text", "image"],
2712
+ cost: {
2713
+ input: 0.09999999999999999,
2714
+ output: 0.39999999999999997,
2715
+ cacheRead: 0.024999999999999998,
2716
+ cacheWrite: 0.18330000000000002,
2717
+ },
2718
+ contextWindow: 1048576,
2719
+ maxTokens: 65535,
2720
+ },
2721
+ "gemini-2.5-flash": {
2722
+ id: "gemini-2.5-flash",
2723
+ name: "Google: Gemini 2.5 Flash",
2724
+ provider: "google",
2725
+ reasoning: true,
2726
+ input: ["text", "image"],
2727
+ cost: {
2728
+ input: 0.3,
2729
+ output: 2.5,
2730
+ cacheRead: 0.075,
2731
+ cacheWrite: 0.3833,
2732
+ },
2733
+ contextWindow: 1048576,
2734
+ maxTokens: 65535,
2735
+ },
2736
+ "gemini-2.5-pro": {
2737
+ id: "gemini-2.5-pro",
2738
+ name: "Google: Gemini 2.5 Pro",
2739
+ provider: "google",
2740
+ reasoning: true,
2741
+ input: ["text", "image"],
2742
+ cost: {
2743
+ input: 1.25,
2744
+ output: 10,
2745
+ cacheRead: 0.31,
2746
+ cacheWrite: 1.625,
2747
+ },
2748
+ contextWindow: 1048576,
2749
+ maxTokens: 65536,
2750
+ },
2751
+ "gemini-2.5-pro-preview": {
2752
+ id: "gemini-2.5-pro-preview",
2753
+ name: "Google: Gemini 2.5 Pro Preview 06-05",
2754
+ provider: "google",
2755
+ reasoning: true,
2756
+ input: ["text", "image"],
2757
+ cost: {
2758
+ input: 1.25,
2759
+ output: 10,
2760
+ cacheRead: 0.31,
2761
+ cacheWrite: 1.625,
2762
+ },
2763
+ contextWindow: 1048576,
2764
+ maxTokens: 65536,
2765
+ },
2766
+ "gemini-2.5-pro-preview-05-06": {
2767
+ id: "gemini-2.5-pro-preview-05-06",
2768
+ name: "Google: Gemini 2.5 Pro Preview 05-06",
2769
+ provider: "google",
2770
+ reasoning: true,
2771
+ input: ["text", "image"],
2772
+ cost: {
2773
+ input: 1.25,
2774
+ output: 10,
2775
+ cacheRead: 0.31,
2776
+ cacheWrite: 1.625,
2777
+ },
2778
+ contextWindow: 1048576,
2779
+ maxTokens: 65535,
2780
+ },
2781
+ "gemini-2.5-pro-exp-03-25": {
2782
+ id: "gemini-2.5-pro-exp-03-25",
2783
+ name: "Google: Gemini 2.5 Pro Experimental",
2784
+ provider: "google",
2785
+ reasoning: false,
2786
+ input: ["text", "image"],
2787
+ cost: {
2788
+ input: 0,
2789
+ output: 0,
2790
+ cacheRead: 0,
2791
+ cacheWrite: 0,
2792
+ },
2793
+ contextWindow: 1048576,
2794
+ maxTokens: 65535,
2795
+ },
2796
+ "gemini-2.0-flash-lite-001": {
2797
+ id: "gemini-2.0-flash-lite-001",
2798
+ name: "Google: Gemini 2.0 Flash Lite",
2799
+ provider: "google",
2800
+ reasoning: false,
2801
+ input: ["text", "image"],
2802
+ cost: {
2803
+ input: 0.075,
2804
+ output: 0.3,
2805
+ cacheRead: 0,
2806
+ cacheWrite: 0,
2807
+ },
2808
+ contextWindow: 1048576,
2809
+ maxTokens: 8192,
2810
+ },
2811
+ "gemini-2.0-flash-001": {
2812
+ id: "gemini-2.0-flash-001",
2813
+ name: "Google: Gemini 2.0 Flash",
2814
+ provider: "google",
2815
+ reasoning: false,
2816
+ input: ["text", "image"],
2817
+ cost: {
2818
+ input: 0.09999999999999999,
2819
+ output: 0.39999999999999997,
2820
+ cacheRead: 0.024999999999999998,
2821
+ cacheWrite: 0.18330000000000002,
2822
+ },
2823
+ contextWindow: 1048576,
2824
+ maxTokens: 8192,
2825
+ },
2826
+ "gemini-2.0-flash-exp:free": {
2827
+ id: "gemini-2.0-flash-exp:free",
2828
+ name: "Google: Gemini 2.0 Flash Experimental (free)",
2829
+ provider: "google",
2830
+ reasoning: false,
2831
+ input: ["text", "image"],
2832
+ cost: {
2833
+ input: 0,
2834
+ output: 0,
2835
+ cacheRead: 0,
2836
+ cacheWrite: 0,
2837
+ },
2838
+ contextWindow: 1048576,
2839
+ maxTokens: 8192,
2840
+ },
2841
+ "gemini-flash-1.5-8b": {
2842
+ id: "gemini-flash-1.5-8b",
2843
+ name: "Google: Gemini 1.5 Flash 8B",
2844
+ provider: "google",
2845
+ reasoning: false,
2846
+ input: ["text", "image"],
2847
+ cost: {
2848
+ input: 0.0375,
2849
+ output: 0.15,
2850
+ cacheRead: 0.01,
2851
+ cacheWrite: 0.0583,
2852
+ },
2853
+ contextWindow: 1000000,
2854
+ maxTokens: 8192,
2855
+ },
2856
+ "gemini-flash-1.5": {
2857
+ id: "gemini-flash-1.5",
2858
+ name: "Google: Gemini 1.5 Flash ",
2859
+ provider: "google",
2860
+ reasoning: false,
2861
+ input: ["text", "image"],
2862
+ cost: {
2863
+ input: 0.075,
2864
+ output: 0.3,
2865
+ cacheRead: 0.01875,
2866
+ cacheWrite: 0.1583,
2867
+ },
2868
+ contextWindow: 1000000,
2869
+ maxTokens: 8192,
2870
+ },
2871
+ "gemini-pro-1.5": {
2872
+ id: "gemini-pro-1.5",
2873
+ name: "Google: Gemini 1.5 Pro",
2874
+ provider: "google",
2875
+ reasoning: false,
2876
+ input: ["text", "image"],
2877
+ cost: {
2878
+ input: 1.25,
2879
+ output: 5,
2880
+ cacheRead: 0,
2881
+ cacheWrite: 0,
2882
+ },
2883
+ contextWindow: 2000000,
2884
+ maxTokens: 8192,
2885
+ },
2886
+ }
2887
+ },
2888
+ };
2889
+ //# sourceMappingURL=models.generated.js.map