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