llm-zoo 1.0.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.
@@ -0,0 +1,1535 @@
1
+ 'use strict';
2
+
3
+ // src/ModelConfig.ts
4
+ var DEFAULT_MODEL_CAPABILITIES = {
5
+ supportsFunctionCalling: true,
6
+ supportsNativeMCPServer: false,
7
+ supportsNativeWebSearch: false,
8
+ supportsNativeCodeExecution: false,
9
+ supportsPromptCaching: false,
10
+ supportsAutoPromptCaching: false,
11
+ cacheDiscountFactor: 1,
12
+ supportsReasoning: false,
13
+ supportsInterleavedThinking: false,
14
+ reasoningEffort: "none" /* NONE */,
15
+ supportsVision: true,
16
+ supportsNativePdf: false,
17
+ supportsAssistantPrefill: false,
18
+ supportsPredictiveOutput: false,
19
+ supportsTokenCounting: false,
20
+ supportsSystemPrompt: true,
21
+ supportsIntermDevMsgs: false,
22
+ supportsReasoningEffort: false,
23
+ supportsNativeAudio: false
24
+ };
25
+
26
+ // src/providers/anthropicModels.ts
27
+ var ANTHROPIC_DEFAULT_CAPABILITIES = {
28
+ ...DEFAULT_MODEL_CAPABILITIES,
29
+ supportsPromptCaching: true,
30
+ cacheDiscountFactor: 0.1,
31
+ supportsTokenCounting: true,
32
+ supportsVision: true,
33
+ supportsNativePdf: true,
34
+ supportsNativeMCPServer: false,
35
+ supportsNativeWebSearch: false,
36
+ supportsNativeCodeExecution: false
37
+ };
38
+ var ANTHROPIC_MODELS = {
39
+ opus45T: {
40
+ name: "opus45T",
41
+ fullName: "claude-opus-4-5",
42
+ openrouterFullName: "anthropic/claude-opus-4.5:thinking",
43
+ provider: "anthropic" /* ANTHROPIC */,
44
+ maxOutputTokens: 64e3,
45
+ contextWindow: 2e5,
46
+ inputPrice: 5,
47
+ outputPrice: 25,
48
+ capabilities: {
49
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
50
+ supportsNativeMCPServer: true,
51
+ supportsNativeWebSearch: true,
52
+ supportsNativeCodeExecution: true,
53
+ supportsAssistantPrefill: false,
54
+ supportsReasoning: true,
55
+ supportsInterleavedThinking: true
56
+ },
57
+ openRouterOnly: false
58
+ },
59
+ opus45: {
60
+ name: "opus45",
61
+ fullName: "claude-opus-4-5",
62
+ openrouterFullName: "anthropic/claude-opus-4.5",
63
+ provider: "anthropic" /* ANTHROPIC */,
64
+ maxOutputTokens: 64e3,
65
+ contextWindow: 2e5,
66
+ inputPrice: 5,
67
+ outputPrice: 25,
68
+ capabilities: {
69
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
70
+ supportsNativeWebSearch: true,
71
+ supportsNativeCodeExecution: true,
72
+ supportsAssistantPrefill: true,
73
+ supportsReasoning: false
74
+ },
75
+ openRouterOnly: false
76
+ },
77
+ opus41T: {
78
+ name: "opus41T",
79
+ fullName: "claude-opus-4-1-20250805",
80
+ openrouterFullName: "anthropic/claude-opus-4.1",
81
+ provider: "anthropic" /* ANTHROPIC */,
82
+ maxOutputTokens: 32e3,
83
+ contextWindow: 2e5,
84
+ inputPrice: 15,
85
+ outputPrice: 75,
86
+ capabilities: {
87
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
88
+ supportsNativeMCPServer: true,
89
+ supportsNativeWebSearch: true,
90
+ supportsNativeCodeExecution: true,
91
+ supportsAssistantPrefill: false,
92
+ supportsReasoning: true,
93
+ supportsInterleavedThinking: true
94
+ },
95
+ openRouterOnly: false
96
+ },
97
+ opus41: {
98
+ name: "opus41",
99
+ fullName: "claude-opus-4-1-20250805",
100
+ openrouterFullName: "anthropic/claude-opus-4.1",
101
+ provider: "anthropic" /* ANTHROPIC */,
102
+ maxOutputTokens: 32e3,
103
+ contextWindow: 2e5,
104
+ inputPrice: 15,
105
+ outputPrice: 75,
106
+ capabilities: {
107
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
108
+ supportsNativeWebSearch: true,
109
+ supportsNativeCodeExecution: true,
110
+ supportsAssistantPrefill: true,
111
+ supportsReasoning: false
112
+ },
113
+ openRouterOnly: false
114
+ },
115
+ opus4T: {
116
+ name: "opus4T",
117
+ fullName: "claude-opus-4-20250514",
118
+ openrouterFullName: "anthropic/claude-opus-4",
119
+ provider: "anthropic" /* ANTHROPIC */,
120
+ maxOutputTokens: 32e3,
121
+ contextWindow: 2e5,
122
+ inputPrice: 15,
123
+ outputPrice: 75,
124
+ capabilities: {
125
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
126
+ supportsNativeMCPServer: true,
127
+ supportsNativeWebSearch: true,
128
+ supportsNativeCodeExecution: true,
129
+ supportsAssistantPrefill: false,
130
+ supportsReasoning: true,
131
+ supportsInterleavedThinking: true
132
+ },
133
+ openRouterOnly: false
134
+ },
135
+ opus4: {
136
+ name: "opus4",
137
+ fullName: "claude-opus-4-20250514",
138
+ openrouterFullName: "anthropic/claude-opus-4",
139
+ provider: "anthropic" /* ANTHROPIC */,
140
+ maxOutputTokens: 32e3,
141
+ contextWindow: 2e5,
142
+ inputPrice: 15,
143
+ outputPrice: 75,
144
+ capabilities: {
145
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
146
+ supportsNativeWebSearch: true,
147
+ supportsNativeCodeExecution: true,
148
+ supportsAssistantPrefill: true,
149
+ supportsReasoning: false
150
+ },
151
+ openRouterOnly: false
152
+ },
153
+ sonnet45T: {
154
+ name: "sonnet45T",
155
+ fullName: "claude-sonnet-4-5",
156
+ openrouterFullName: "anthropic/claude-sonnet-4.5:thinking",
157
+ provider: "anthropic" /* ANTHROPIC */,
158
+ maxOutputTokens: 64e3,
159
+ contextWindow: 2e5,
160
+ inputPrice: 3,
161
+ outputPrice: 15,
162
+ capabilities: {
163
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
164
+ supportsNativeWebSearch: true,
165
+ supportsNativeCodeExecution: true,
166
+ supportsAssistantPrefill: false,
167
+ supportsReasoning: true,
168
+ supportsInterleavedThinking: true
169
+ },
170
+ openRouterOnly: false
171
+ },
172
+ sonnet45: {
173
+ name: "sonnet45",
174
+ fullName: "claude-sonnet-4-5",
175
+ openrouterFullName: "anthropic/claude-sonnet-4.5",
176
+ provider: "anthropic" /* ANTHROPIC */,
177
+ maxOutputTokens: 64e3,
178
+ contextWindow: 2e5,
179
+ inputPrice: 3,
180
+ outputPrice: 15,
181
+ capabilities: {
182
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
183
+ supportsNativeWebSearch: true,
184
+ supportsNativeCodeExecution: true,
185
+ supportsAssistantPrefill: true,
186
+ supportsReasoning: false
187
+ },
188
+ openRouterOnly: false
189
+ },
190
+ haiku45T: {
191
+ name: "haiku45T",
192
+ fullName: "claude-haiku-4-5-20251001",
193
+ openrouterFullName: "anthropic/claude-haiku-4.5:thinking",
194
+ provider: "anthropic" /* ANTHROPIC */,
195
+ maxOutputTokens: 64e3,
196
+ contextWindow: 2e5,
197
+ inputPrice: 1,
198
+ outputPrice: 5,
199
+ capabilities: {
200
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
201
+ supportsNativeWebSearch: true,
202
+ supportsNativeCodeExecution: true,
203
+ supportsAssistantPrefill: false,
204
+ supportsReasoning: true,
205
+ supportsInterleavedThinking: true
206
+ },
207
+ openRouterOnly: false
208
+ },
209
+ haiku45: {
210
+ name: "haiku45",
211
+ fullName: "claude-haiku-4-5-20251001",
212
+ openrouterFullName: "anthropic/claude-haiku-4.5",
213
+ provider: "anthropic" /* ANTHROPIC */,
214
+ maxOutputTokens: 64e3,
215
+ contextWindow: 2e5,
216
+ inputPrice: 1,
217
+ outputPrice: 5,
218
+ capabilities: {
219
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
220
+ supportsNativeWebSearch: true,
221
+ supportsNativeCodeExecution: true,
222
+ supportsAssistantPrefill: true,
223
+ supportsReasoning: false
224
+ },
225
+ openRouterOnly: false
226
+ },
227
+ sonnet4T: {
228
+ name: "sonnet4T",
229
+ fullName: "claude-sonnet-4-20250514",
230
+ openrouterFullName: "anthropic/claude-sonnet-4",
231
+ provider: "anthropic" /* ANTHROPIC */,
232
+ maxOutputTokens: 64e3,
233
+ contextWindow: 2e5,
234
+ inputPrice: 5,
235
+ outputPrice: 25,
236
+ capabilities: {
237
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
238
+ supportsNativeWebSearch: true,
239
+ supportsNativeCodeExecution: true,
240
+ supportsAssistantPrefill: false,
241
+ supportsReasoning: true,
242
+ supportsInterleavedThinking: true
243
+ },
244
+ openRouterOnly: false
245
+ },
246
+ sonnet4: {
247
+ name: "sonnet4",
248
+ fullName: "claude-sonnet-4-20250514",
249
+ openrouterFullName: "anthropic/claude-sonnet-4",
250
+ provider: "anthropic" /* ANTHROPIC */,
251
+ maxOutputTokens: 64e3,
252
+ contextWindow: 2e5,
253
+ inputPrice: 3,
254
+ outputPrice: 15,
255
+ capabilities: {
256
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
257
+ supportsNativeWebSearch: true,
258
+ supportsNativeCodeExecution: true,
259
+ supportsAssistantPrefill: true,
260
+ supportsReasoning: false
261
+ },
262
+ openRouterOnly: false
263
+ },
264
+ sonnet37T: {
265
+ name: "sonnet37T",
266
+ fullName: "claude-3-7-sonnet-20250219",
267
+ openrouterFullName: "anthropic/claude-3.7-sonnet:thinking",
268
+ provider: "anthropic" /* ANTHROPIC */,
269
+ maxOutputTokens: 64e3,
270
+ contextWindow: 2e5,
271
+ inputPrice: 3,
272
+ outputPrice: 15,
273
+ capabilities: {
274
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
275
+ supportsNativeWebSearch: true,
276
+ supportsNativeCodeExecution: true,
277
+ supportsAssistantPrefill: false,
278
+ supportsReasoning: true
279
+ },
280
+ openRouterOnly: false
281
+ },
282
+ sonnet37: {
283
+ name: "sonnet37",
284
+ fullName: "claude-3-7-sonnet-20250219",
285
+ openrouterFullName: "anthropic/claude-3.7-sonnet",
286
+ provider: "anthropic" /* ANTHROPIC */,
287
+ maxOutputTokens: 64e3,
288
+ contextWindow: 2e5,
289
+ inputPrice: 3,
290
+ outputPrice: 15,
291
+ capabilities: {
292
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
293
+ supportsNativeWebSearch: true,
294
+ supportsNativeCodeExecution: true,
295
+ supportsAssistantPrefill: true,
296
+ supportsReasoning: false
297
+ },
298
+ openRouterOnly: false
299
+ },
300
+ opus3: {
301
+ name: "opus3",
302
+ fullName: "claude-3-opus-20240229",
303
+ openrouterFullName: "anthropic/claude-3-opus:beta",
304
+ provider: "anthropic" /* ANTHROPIC */,
305
+ maxOutputTokens: 4096,
306
+ contextWindow: 2e5,
307
+ inputPrice: 15,
308
+ outputPrice: 75,
309
+ capabilities: {
310
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
311
+ supportsAssistantPrefill: true,
312
+ supportsReasoning: false
313
+ },
314
+ openRouterOnly: false
315
+ },
316
+ sonnet36: {
317
+ name: "sonnet36",
318
+ fullName: "claude-3-5-sonnet-20241022",
319
+ openrouterFullName: "anthropic/claude-3.5-sonnet:beta",
320
+ provider: "anthropic" /* ANTHROPIC */,
321
+ maxOutputTokens: 8192,
322
+ contextWindow: 2e5,
323
+ inputPrice: 3,
324
+ outputPrice: 15,
325
+ capabilities: {
326
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
327
+ supportsAssistantPrefill: true,
328
+ supportsReasoning: false
329
+ },
330
+ openRouterOnly: false
331
+ },
332
+ sonnet35: {
333
+ name: "sonnet35",
334
+ fullName: "claude-3-5-sonnet-20240620",
335
+ openrouterFullName: "anthropic/claude-3.5-sonnet-20240620:beta",
336
+ provider: "anthropic" /* ANTHROPIC */,
337
+ maxOutputTokens: 8192,
338
+ contextWindow: 2e5,
339
+ inputPrice: 3,
340
+ outputPrice: 15,
341
+ capabilities: {
342
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
343
+ supportsNativeWebSearch: true,
344
+ supportsAssistantPrefill: true,
345
+ supportsReasoning: false
346
+ },
347
+ openRouterOnly: false
348
+ },
349
+ sonnet3: {
350
+ name: "sonnet3",
351
+ fullName: "claude-3-sonnet-20240229",
352
+ openrouterFullName: "anthropic/claude-3.5-sonnet-20240229:beta",
353
+ provider: "anthropic" /* ANTHROPIC */,
354
+ maxOutputTokens: 8192,
355
+ contextWindow: 2e5,
356
+ inputPrice: 3,
357
+ outputPrice: 15,
358
+ capabilities: {
359
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
360
+ supportsAssistantPrefill: true,
361
+ supportsReasoning: false
362
+ },
363
+ openRouterOnly: false
364
+ },
365
+ haiku35: {
366
+ name: "haiku35",
367
+ fullName: "claude-3-5-haiku-20241022",
368
+ openrouterFullName: "anthropic/claude-3.5-haiku:beta",
369
+ provider: "anthropic" /* ANTHROPIC */,
370
+ maxOutputTokens: 8192,
371
+ contextWindow: 2e5,
372
+ inputPrice: 0.8,
373
+ outputPrice: 4,
374
+ capabilities: {
375
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
376
+ supportsNativeWebSearch: true,
377
+ supportsNativeCodeExecution: true,
378
+ supportsAssistantPrefill: true,
379
+ supportsReasoning: false,
380
+ supportsVision: true
381
+ },
382
+ openRouterOnly: false
383
+ },
384
+ haiku3: {
385
+ name: "haiku3",
386
+ fullName: "claude-3-haiku-20240307",
387
+ openrouterFullName: "anthropic/claude-3.5-haiku-20240307:beta",
388
+ provider: "anthropic" /* ANTHROPIC */,
389
+ maxOutputTokens: 8192,
390
+ contextWindow: 2e5,
391
+ inputPrice: 0.25,
392
+ outputPrice: 1.25,
393
+ capabilities: {
394
+ ...ANTHROPIC_DEFAULT_CAPABILITIES,
395
+ supportsAssistantPrefill: true,
396
+ supportsReasoning: false
397
+ },
398
+ openRouterOnly: false
399
+ }
400
+ };
401
+
402
+ // src/providers/copilotModels.ts
403
+ var COPILOT_DEFAULT_CAPABILITIES = {
404
+ ...DEFAULT_MODEL_CAPABILITIES,
405
+ supportsVision: true,
406
+ supportsNativePdf: false
407
+ };
408
+ var COPILOT_MODELS = {
409
+ copilot4o: {
410
+ name: "copilot4o",
411
+ fullName: "copilot-gpt-4o",
412
+ provider: "copilot" /* COPILOT */,
413
+ maxOutputTokens: 8192,
414
+ contextWindow: 128e3,
415
+ inputPrice: 0,
416
+ outputPrice: 0,
417
+ capabilities: {
418
+ ...COPILOT_DEFAULT_CAPABILITIES,
419
+ reasoningEffort: "medium" /* MEDIUM */
420
+ },
421
+ openRouterOnly: false
422
+ }
423
+ };
424
+
425
+ // src/providers/dashscopeModels.ts
426
+ var DASHSCOPE_DEFAULT_CAPABILITIES = {
427
+ ...DEFAULT_MODEL_CAPABILITIES,
428
+ supportsPromptCaching: false,
429
+ supportsVision: true,
430
+ supportsSystemPrompt: true
431
+ };
432
+ var DASHSCOPE_MODELS = {
433
+ qwen3max: {
434
+ name: "qwen3max",
435
+ fullName: "qwen3-max",
436
+ openrouterFullName: "qwen/qwen-max",
437
+ provider: "dashscope" /* DASHSCOPE */,
438
+ maxOutputTokens: 65536,
439
+ contextWindow: 262144,
440
+ inputPrice: 1.2,
441
+ outputPrice: 6,
442
+ capabilities: {
443
+ ...DASHSCOPE_DEFAULT_CAPABILITIES,
444
+ supportsVision: false
445
+ },
446
+ openRouterOnly: false
447
+ },
448
+ qwenplus: {
449
+ name: "qwenplus",
450
+ fullName: "qwen-plus",
451
+ openrouterFullName: "qwen/qwen-plus",
452
+ provider: "dashscope" /* DASHSCOPE */,
453
+ maxOutputTokens: 32768,
454
+ contextWindow: 1e6,
455
+ inputPrice: 0.4,
456
+ outputPrice: 1.2,
457
+ capabilities: {
458
+ ...DASHSCOPE_DEFAULT_CAPABILITIES,
459
+ supportsVision: false,
460
+ supportsReasoning: true
461
+ },
462
+ openRouterOnly: false
463
+ },
464
+ qwenturbo: {
465
+ name: "qwenturbo",
466
+ fullName: "qwen-turbo-latest",
467
+ openrouterFullName: "qwen/qwen-turbo",
468
+ provider: "dashscope" /* DASHSCOPE */,
469
+ maxOutputTokens: 8192,
470
+ contextWindow: 131072,
471
+ inputPrice: 0.05,
472
+ outputPrice: 0.5,
473
+ capabilities: {
474
+ ...DASHSCOPE_DEFAULT_CAPABILITIES,
475
+ supportsVision: false,
476
+ supportsReasoning: true
477
+ },
478
+ openRouterOnly: false
479
+ }
480
+ };
481
+
482
+ // src/providers/deepseekModels.ts
483
+ var DEEPSEEK_DEFAULT_CAPABILITIES = {
484
+ ...DEFAULT_MODEL_CAPABILITIES,
485
+ supportsAutoPromptCaching: true,
486
+ cacheDiscountFactor: 0.1,
487
+ supportsVision: false
488
+ };
489
+ var DEEPSEEK_MODELS = {
490
+ // DeepSeek-V3.2 (Non-thinking Mode)
491
+ deepseek: {
492
+ name: "deepseek",
493
+ fullName: "deepseek-chat",
494
+ openrouterFullName: "deepseek/deepseek-v3.2",
495
+ provider: "deepseek" /* DEEPSEEK */,
496
+ maxOutputTokens: 8192,
497
+ contextWindow: 128e3,
498
+ inputPrice: 0.28,
499
+ outputPrice: 0.42,
500
+ capabilities: {
501
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
502
+ supportsAssistantPrefill: true,
503
+ supportsFunctionCalling: true
504
+ },
505
+ openRouterOnly: false
506
+ },
507
+ // DeepSeek-V3.2 (Thinking Mode)
508
+ deepseekT: {
509
+ name: "deepseekT",
510
+ fullName: "deepseek-reasoner",
511
+ openrouterFullName: "deepseek/deepseek-v3.2",
512
+ provider: "deepseek" /* DEEPSEEK */,
513
+ maxOutputTokens: 65536,
514
+ contextWindow: 163840,
515
+ inputPrice: 0.28,
516
+ outputPrice: 0.42,
517
+ capabilities: {
518
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
519
+ supportsReasoning: true,
520
+ supportsReasoningEffort: false,
521
+ supportsFunctionCalling: true,
522
+ supportsAssistantPrefill: true
523
+ },
524
+ openRouterOnly: false
525
+ },
526
+ // DeepSeek-V3.2-Speciale (Extended Thinking)
527
+ "deepseekT+": {
528
+ name: "deepseekT+",
529
+ fullName: "deepseek-reasoner",
530
+ openrouterFullName: "deepseek/deepseek-v3.2-speciale",
531
+ provider: "deepseek" /* DEEPSEEK */,
532
+ maxOutputTokens: 131072,
533
+ contextWindow: 163840,
534
+ inputPrice: 0.28,
535
+ outputPrice: 0.42,
536
+ capabilities: {
537
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
538
+ supportsReasoning: true,
539
+ supportsReasoningEffort: false,
540
+ supportsFunctionCalling: false,
541
+ supportsAssistantPrefill: false
542
+ },
543
+ openRouterOnly: false,
544
+ baseUrl: "https://api.deepseek.com/v3.2_speciale_expires_on_20251215"
545
+ },
546
+ dsv3: {
547
+ name: "dsv3",
548
+ fullName: "deepseek-chat",
549
+ openrouterFullName: "deepseek/deepseek-chat-v3-0324",
550
+ provider: "deepseek" /* DEEPSEEK */,
551
+ maxOutputTokens: 64e3,
552
+ contextWindow: 128e3,
553
+ inputPrice: 0.14,
554
+ outputPrice: 0.28,
555
+ capabilities: {
556
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
557
+ supportsAssistantPrefill: true
558
+ },
559
+ openRouterOnly: false
560
+ },
561
+ dsr1: {
562
+ name: "dsr1",
563
+ fullName: "deepseek-reasoner",
564
+ openrouterFullName: "deepseek/deepseek-r1-0528",
565
+ provider: "deepseek" /* DEEPSEEK */,
566
+ maxOutputTokens: 65536,
567
+ contextWindow: 128e3,
568
+ inputPrice: 4,
569
+ outputPrice: 4,
570
+ capabilities: {
571
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
572
+ supportsReasoning: true,
573
+ supportsReasoningEffort: false
574
+ },
575
+ openRouterOnly: false
576
+ },
577
+ dsv3o: {
578
+ name: "dsv3o",
579
+ fullName: "deepseek-chat",
580
+ openrouterFullName: "deepseek/deepseek-chat-v3-0324",
581
+ provider: "deepseek" /* DEEPSEEK */,
582
+ maxOutputTokens: 8192,
583
+ contextWindow: 64e3,
584
+ inputPrice: 0.27,
585
+ outputPrice: 1.1,
586
+ capabilities: {
587
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
588
+ supportsAssistantPrefill: true
589
+ },
590
+ openRouterOnly: false
591
+ },
592
+ dsr1o: {
593
+ name: "dsr1o",
594
+ fullName: "deepseek-reasoner",
595
+ openrouterFullName: "deepseek/deepseek-r1-0528",
596
+ provider: "deepseek" /* DEEPSEEK */,
597
+ maxOutputTokens: 64e3,
598
+ contextWindow: 64e3,
599
+ inputPrice: 0.55,
600
+ outputPrice: 2.19,
601
+ capabilities: {
602
+ ...DEEPSEEK_DEFAULT_CAPABILITIES,
603
+ supportsReasoning: true,
604
+ supportsReasoningEffort: false
605
+ },
606
+ openRouterOnly: false
607
+ }
608
+ };
609
+
610
+ // src/providers/googleModels.ts
611
+ var GOOGLE_DEFAULT_CAPABILITIES = {
612
+ ...DEFAULT_MODEL_CAPABILITIES,
613
+ cacheDiscountFactor: 0.25,
614
+ supportsNativePdf: true,
615
+ supportsVision: true,
616
+ supportsNativeAudio: true,
617
+ supportsNativeMCPServer: false,
618
+ supportsNativeWebSearch: false
619
+ };
620
+ var GOOGLE_MODELS = {
621
+ gemini3p: {
622
+ name: "gemini3p",
623
+ fullName: "gemini-3-pro-preview",
624
+ openrouterFullName: "google/gemini-3-pro-preview",
625
+ provider: "google" /* GOOGLE */,
626
+ maxOutputTokens: 65536,
627
+ contextWindow: 1048576,
628
+ inputPrice: 2,
629
+ outputPrice: 12,
630
+ capabilities: {
631
+ ...GOOGLE_DEFAULT_CAPABILITIES,
632
+ supportsPromptCaching: true,
633
+ supportsAutoPromptCaching: true,
634
+ supportsReasoning: true,
635
+ supportsReasoningEffort: true,
636
+ reasoningEffort: "high" /* HIGH */,
637
+ supportsNativeCodeExecution: true,
638
+ supportsNativeMCPServer: true
639
+ },
640
+ openRouterOnly: false
641
+ },
642
+ gemini3f: {
643
+ name: "gemini3f",
644
+ fullName: "gemini-3-flash-preview",
645
+ openrouterFullName: "google/gemini-3-flash-preview",
646
+ provider: "google" /* GOOGLE */,
647
+ maxOutputTokens: 65536,
648
+ contextWindow: 1048576,
649
+ inputPrice: 0.3,
650
+ outputPrice: 2.5,
651
+ capabilities: {
652
+ ...GOOGLE_DEFAULT_CAPABILITIES,
653
+ supportsPromptCaching: true,
654
+ supportsAutoPromptCaching: true,
655
+ supportsReasoning: true,
656
+ supportsReasoningEffort: true,
657
+ reasoningEffort: "high" /* HIGH */,
658
+ supportsNativeCodeExecution: true,
659
+ supportsNativeMCPServer: true
660
+ },
661
+ openRouterOnly: false
662
+ },
663
+ gemini25p: {
664
+ name: "gemini25p",
665
+ fullName: "gemini-2.5-pro",
666
+ openrouterFullName: "google/gemini-2.5-pro",
667
+ provider: "google" /* GOOGLE */,
668
+ maxOutputTokens: 65536,
669
+ contextWindow: 1048576,
670
+ inputPrice: 1.25,
671
+ outputPrice: 10,
672
+ capabilities: {
673
+ ...GOOGLE_DEFAULT_CAPABILITIES,
674
+ supportsPromptCaching: true,
675
+ supportsAutoPromptCaching: true,
676
+ supportsReasoning: true,
677
+ supportsReasoningEffort: false,
678
+ supportsNativeCodeExecution: true,
679
+ supportsNativeMCPServer: true
680
+ },
681
+ openRouterOnly: false
682
+ },
683
+ gemini25f: {
684
+ name: "gemini25f",
685
+ fullName: "gemini-flash-latest",
686
+ openrouterFullName: "google/gemini-2.5-flash-preview-09-2025",
687
+ provider: "google" /* GOOGLE */,
688
+ maxOutputTokens: 65536,
689
+ contextWindow: 1048576,
690
+ inputPrice: 0.3,
691
+ outputPrice: 2.5,
692
+ capabilities: {
693
+ ...GOOGLE_DEFAULT_CAPABILITIES,
694
+ supportsPromptCaching: true,
695
+ supportsAutoPromptCaching: true,
696
+ supportsReasoning: true,
697
+ supportsReasoningEffort: false,
698
+ supportsNativeCodeExecution: true,
699
+ supportsNativeMCPServer: true
700
+ },
701
+ openRouterOnly: false
702
+ },
703
+ gemini25f0617: {
704
+ name: "gemini25f",
705
+ fullName: "gemini-2.5-flash",
706
+ openrouterFullName: "google/gemini-2.5-flash",
707
+ provider: "google" /* GOOGLE */,
708
+ maxOutputTokens: 65536,
709
+ contextWindow: 1048576,
710
+ inputPrice: 0.3,
711
+ outputPrice: 2.5,
712
+ capabilities: {
713
+ ...GOOGLE_DEFAULT_CAPABILITIES,
714
+ supportsPromptCaching: true,
715
+ supportsAutoPromptCaching: true,
716
+ supportsReasoning: true,
717
+ supportsReasoningEffort: false,
718
+ supportsNativeCodeExecution: true,
719
+ supportsNativeMCPServer: true
720
+ },
721
+ openRouterOnly: false
722
+ },
723
+ "gemini25f-": {
724
+ name: "gemini25f-",
725
+ fullName: "gemini-2.5-flash-lite-preview-09-2025",
726
+ openrouterFullName: "google/gemini-2.5-flash-lite-preview-09-2025",
727
+ provider: "google" /* GOOGLE */,
728
+ maxOutputTokens: 32768,
729
+ contextWindow: 65536,
730
+ inputPrice: 0.1,
731
+ outputPrice: 0.4,
732
+ capabilities: {
733
+ ...GOOGLE_DEFAULT_CAPABILITIES,
734
+ supportsPromptCaching: true,
735
+ supportsAutoPromptCaching: true,
736
+ supportsReasoning: true,
737
+ supportsReasoningEffort: false,
738
+ supportsNativeCodeExecution: false
739
+ },
740
+ openRouterOnly: false
741
+ }
742
+ };
743
+
744
+ // src/providers/moonshotModels.ts
745
+ var MOONSHOT_DEFAULT_CAPABILITIES = {
746
+ ...DEFAULT_MODEL_CAPABILITIES,
747
+ supportsPromptCaching: false,
748
+ supportsSystemPrompt: true
749
+ };
750
+ var MOONSHOT_MODELS = {
751
+ kimi: {
752
+ name: "kimi128k",
753
+ fullName: "moonshot-v1-128k",
754
+ openrouterFullName: "moonshotai/moonshot-v1-128k",
755
+ provider: "moonshot" /* MOONSHOT */,
756
+ maxOutputTokens: 64e3,
757
+ contextWindow: 128e3,
758
+ inputPrice: 0.28,
759
+ outputPrice: 1.12,
760
+ capabilities: {
761
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
762
+ supportsVision: false
763
+ },
764
+ openRouterOnly: false
765
+ },
766
+ kimiv: {
767
+ name: "kimi128kv",
768
+ fullName: "moonshot-v1-128k-vision",
769
+ openrouterFullName: "moonshotai/moonshot-v1-128k-vision",
770
+ provider: "moonshot" /* MOONSHOT */,
771
+ maxOutputTokens: 64e3,
772
+ contextWindow: 128e3,
773
+ inputPrice: 0.35,
774
+ outputPrice: 1.4,
775
+ capabilities: {
776
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
777
+ supportsVision: true
778
+ },
779
+ openRouterOnly: false
780
+ },
781
+ kimit: {
782
+ name: "kimit",
783
+ fullName: "kimi-thinking-preview",
784
+ openrouterFullName: "moonshotai/kimi-thinking-preview",
785
+ provider: "moonshot" /* MOONSHOT */,
786
+ maxOutputTokens: 64e3,
787
+ contextWindow: 128e3,
788
+ inputPrice: 0.42,
789
+ outputPrice: 1.68,
790
+ capabilities: {
791
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
792
+ supportsVision: true,
793
+ supportsReasoning: true
794
+ },
795
+ openRouterOnly: false
796
+ },
797
+ kimi2: {
798
+ name: "kimi2",
799
+ fullName: "kimi-k2-0905-preview",
800
+ openrouterFullName: "moonshotai/kimi-k2-0905",
801
+ provider: "moonshot" /* MOONSHOT */,
802
+ maxOutputTokens: 64e3,
803
+ contextWindow: 262144,
804
+ inputPrice: 0.6,
805
+ outputPrice: 2.5,
806
+ capabilities: {
807
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
808
+ supportsVision: false,
809
+ supportsAutoPromptCaching: true,
810
+ cacheDiscountFactor: 0.25,
811
+ supportsReasoning: false
812
+ },
813
+ openRouterOnly: false
814
+ },
815
+ "kimi2+": {
816
+ name: "kimi2+",
817
+ fullName: "kimi-k2-turbo-preview",
818
+ openrouterFullName: "moonshotai/kimi-k2-turbo",
819
+ provider: "moonshot" /* MOONSHOT */,
820
+ maxOutputTokens: 64e3,
821
+ contextWindow: 262144,
822
+ inputPrice: 0.56 * 4,
823
+ outputPrice: 2.22 * 4,
824
+ capabilities: {
825
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
826
+ supportsVision: false,
827
+ supportsAutoPromptCaching: true,
828
+ cacheDiscountFactor: 0.25,
829
+ supportsReasoning: false
830
+ },
831
+ openRouterOnly: false
832
+ },
833
+ kimi2T: {
834
+ name: "kimi2T",
835
+ fullName: "kimi-k2-thinking",
836
+ openrouterFullName: "moonshotai/kimi-k2-thinking",
837
+ provider: "moonshot" /* MOONSHOT */,
838
+ maxOutputTokens: 64e3,
839
+ contextWindow: 262144,
840
+ inputPrice: 0.56,
841
+ outputPrice: 2.22,
842
+ capabilities: {
843
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
844
+ supportsVision: false,
845
+ supportsReasoning: true,
846
+ supportsInterleavedThinking: true,
847
+ supportsAutoPromptCaching: true,
848
+ cacheDiscountFactor: 0.25,
849
+ reasoningEffort: "high" /* HIGH */
850
+ },
851
+ openRouterOnly: false
852
+ },
853
+ "kimi2T+": {
854
+ name: "kimi2T+",
855
+ fullName: "kimi-k2-thinking-turbo",
856
+ openrouterFullName: "moonshotai/kimi-k2-thinking-turbo",
857
+ provider: "moonshot" /* MOONSHOT */,
858
+ maxOutputTokens: 64e3,
859
+ contextWindow: 262144,
860
+ inputPrice: 0.56 * 4,
861
+ outputPrice: 2.22 * 4,
862
+ capabilities: {
863
+ ...MOONSHOT_DEFAULT_CAPABILITIES,
864
+ supportsVision: false,
865
+ supportsReasoning: true,
866
+ supportsInterleavedThinking: true,
867
+ supportsAutoPromptCaching: true,
868
+ cacheDiscountFactor: 0.25,
869
+ reasoningEffort: "high" /* HIGH */
870
+ },
871
+ openRouterOnly: false
872
+ }
873
+ };
874
+
875
+ // src/providers/openaiDeepResearchModels.ts
876
+ var OPENAI_DEEP_RESEARCH_DEFAULT_CAPABILITIES = {
877
+ ...DEFAULT_MODEL_CAPABILITIES,
878
+ supportsFunctionCalling: false,
879
+ supportsAutoPromptCaching: true,
880
+ cacheDiscountFactor: 0.25,
881
+ supportsReasoning: true,
882
+ supportsIntermDevMsgs: false,
883
+ supportsVision: true,
884
+ supportsNativeWebSearch: true,
885
+ supportsNativeMCPServer: true,
886
+ supportsNativeCodeExecution: true,
887
+ supportsNativePdf: true
888
+ };
889
+ var OPENAI_DEEP_RESEARCH_MODELS = {
890
+ "o3-deep-research": {
891
+ name: "o3-deep-research",
892
+ fullName: "o3-deep-research",
893
+ openrouterFullName: "openai/o3-deep-research",
894
+ provider: "openai" /* OPENAI */,
895
+ maxOutputTokens: 1e5,
896
+ contextWindow: 2e5,
897
+ inputPrice: 10,
898
+ outputPrice: 40,
899
+ capabilities: {
900
+ ...OPENAI_DEEP_RESEARCH_DEFAULT_CAPABILITIES
901
+ },
902
+ openRouterOnly: false,
903
+ requiresResponsesAPI: true
904
+ },
905
+ "o4-mini-deep-research": {
906
+ name: "o4-mini-deep-research",
907
+ fullName: "o4-mini-deep-research",
908
+ openrouterFullName: "openai/o4-mini-deep-research",
909
+ provider: "openai" /* OPENAI */,
910
+ maxOutputTokens: 1e5,
911
+ contextWindow: 2e5,
912
+ inputPrice: 2,
913
+ outputPrice: 8,
914
+ capabilities: {
915
+ ...OPENAI_DEEP_RESEARCH_DEFAULT_CAPABILITIES
916
+ },
917
+ openRouterOnly: false,
918
+ requiresResponsesAPI: true
919
+ }
920
+ };
921
+
922
+ // src/providers/openaiModels.ts
923
+ var OPENAI_DEFAULT_CAPABILITIES = {
924
+ ...DEFAULT_MODEL_CAPABILITIES,
925
+ supportsAutoPromptCaching: true,
926
+ cacheDiscountFactor: 0.5,
927
+ supportsIntermDevMsgs: true,
928
+ supportsVision: true,
929
+ supportsNativePdf: true,
930
+ supportsNativeMCPServer: false,
931
+ supportsNativeWebSearch: false,
932
+ supportsNativeCodeExecution: false
933
+ };
934
+ var OPENAI_MODELS = {
935
+ gpt41: {
936
+ name: "gpt41",
937
+ fullName: "gpt-4.1-2025-04-14",
938
+ openrouterFullName: "openai/gpt-4.1",
939
+ provider: "openai" /* OPENAI */,
940
+ maxOutputTokens: 32768,
941
+ contextWindow: 1e6,
942
+ inputPrice: 2,
943
+ outputPrice: 8,
944
+ capabilities: {
945
+ ...OPENAI_DEFAULT_CAPABILITIES,
946
+ cacheDiscountFactor: 0.25,
947
+ supportsNativeMCPServer: true,
948
+ supportsNativeWebSearch: true,
949
+ supportsNativeCodeExecution: true,
950
+ supportsPredictiveOutput: true
951
+ },
952
+ openRouterOnly: false
953
+ },
954
+ "gpt41-": {
955
+ name: "gpt41-",
956
+ fullName: "gpt-4.1-mini-2025-04-14",
957
+ openrouterFullName: "openai/gpt-4.1-mini",
958
+ provider: "openai" /* OPENAI */,
959
+ maxOutputTokens: 32768,
960
+ contextWindow: 1e6,
961
+ inputPrice: 0.4,
962
+ outputPrice: 1.6,
963
+ capabilities: {
964
+ ...OPENAI_DEFAULT_CAPABILITIES,
965
+ cacheDiscountFactor: 0.25,
966
+ supportsNativeMCPServer: true,
967
+ supportsNativeWebSearch: true,
968
+ supportsNativeCodeExecution: true,
969
+ supportsPredictiveOutput: true
970
+ },
971
+ openRouterOnly: false
972
+ },
973
+ "gpt41--": {
974
+ name: "gpt41--",
975
+ fullName: "gpt-4.1-nano-2025-04-14",
976
+ openrouterFullName: "openai/gpt-4.1-nano",
977
+ provider: "openai" /* OPENAI */,
978
+ maxOutputTokens: 32768,
979
+ contextWindow: 1e6,
980
+ inputPrice: 0.1,
981
+ outputPrice: 0.4,
982
+ capabilities: {
983
+ ...OPENAI_DEFAULT_CAPABILITIES,
984
+ cacheDiscountFactor: 0.25,
985
+ supportsNativeMCPServer: true,
986
+ supportsNativeWebSearch: true,
987
+ supportsNativeCodeExecution: true,
988
+ supportsPredictiveOutput: true
989
+ },
990
+ openRouterOnly: false
991
+ },
992
+ gpt45: {
993
+ name: "gpt45",
994
+ fullName: "gpt-4.5-preview",
995
+ openrouterFullName: "openai/gpt-4.5-preview",
996
+ provider: "openai" /* OPENAI */,
997
+ maxOutputTokens: 16384,
998
+ contextWindow: 128e3,
999
+ inputPrice: 75,
1000
+ outputPrice: 150,
1001
+ capabilities: {
1002
+ ...OPENAI_DEFAULT_CAPABILITIES,
1003
+ supportsPredictiveOutput: false
1004
+ },
1005
+ openRouterOnly: false
1006
+ },
1007
+ gpt4o: {
1008
+ name: "gpt4o",
1009
+ fullName: "gpt-4o-2024-11-20",
1010
+ openrouterFullName: "openai/gpt-4o-2024-11-20",
1011
+ provider: "openai" /* OPENAI */,
1012
+ maxOutputTokens: 16384,
1013
+ contextWindow: 128e3,
1014
+ inputPrice: 2.5,
1015
+ outputPrice: 10,
1016
+ capabilities: {
1017
+ ...OPENAI_DEFAULT_CAPABILITIES,
1018
+ supportsNativeMCPServer: true,
1019
+ supportsNativeWebSearch: true,
1020
+ supportsNativeCodeExecution: true,
1021
+ supportsPredictiveOutput: true
1022
+ },
1023
+ openRouterOnly: false
1024
+ },
1025
+ gpt4t: {
1026
+ name: "gpt4t",
1027
+ fullName: "gpt-4-turbo-2024-04-09",
1028
+ openrouterFullName: "openai/gpt-4-turbo-2024-04-09",
1029
+ provider: "openai" /* OPENAI */,
1030
+ maxOutputTokens: 4096,
1031
+ contextWindow: 128e3,
1032
+ inputPrice: 10,
1033
+ outputPrice: 30,
1034
+ capabilities: {
1035
+ ...OPENAI_DEFAULT_CAPABILITIES,
1036
+ supportsAutoPromptCaching: false,
1037
+ supportsReasoning: false
1038
+ },
1039
+ openRouterOnly: false
1040
+ },
1041
+ "gpt4o-": {
1042
+ name: "gpt4o-",
1043
+ fullName: "gpt-4o-mini-2024-07-18",
1044
+ openrouterFullName: "openai/gpt-4o-mini-2024-07-18",
1045
+ provider: "openai" /* OPENAI */,
1046
+ maxOutputTokens: 16384,
1047
+ contextWindow: 128e3,
1048
+ inputPrice: 0.15,
1049
+ outputPrice: 0.6,
1050
+ capabilities: {
1051
+ ...OPENAI_DEFAULT_CAPABILITIES,
1052
+ supportsPredictiveOutput: true
1053
+ },
1054
+ openRouterOnly: false
1055
+ },
1056
+ gpt4ol: {
1057
+ name: "gpt4ol",
1058
+ fullName: "chatgpt-4o-latest",
1059
+ openrouterFullName: "openai/chatgpt-4o-latest",
1060
+ provider: "openai" /* OPENAI */,
1061
+ maxOutputTokens: 16384,
1062
+ contextWindow: 128e3,
1063
+ inputPrice: 5,
1064
+ outputPrice: 15,
1065
+ capabilities: {
1066
+ ...OPENAI_DEFAULT_CAPABILITIES,
1067
+ supportsReasoning: true
1068
+ },
1069
+ openRouterOnly: false
1070
+ }
1071
+ };
1072
+
1073
+ // src/providers/openaiReasoningModels.ts
1074
+ var OPENAI_REASONING_DEFAULT_CAPABILITIES = {
1075
+ ...DEFAULT_MODEL_CAPABILITIES,
1076
+ supportsAutoPromptCaching: true,
1077
+ cacheDiscountFactor: 0.5,
1078
+ supportsReasoning: true,
1079
+ supportsIntermDevMsgs: true,
1080
+ reasoningEffort: "high" /* HIGH */,
1081
+ supportsReasoningEffort: true
1082
+ };
1083
+ var OPENAI_REASONING_MODELS = {
1084
+ "o4-": {
1085
+ name: "o4-",
1086
+ fullName: "o4-mini-2025-04-16",
1087
+ openrouterFullName: "openai/o4-mini-high",
1088
+ provider: "openai" /* OPENAI */,
1089
+ maxOutputTokens: 1e5,
1090
+ contextWindow: 2e5,
1091
+ inputPrice: 1,
1092
+ outputPrice: 4.4,
1093
+ capabilities: {
1094
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1095
+ cacheDiscountFactor: 0.25,
1096
+ supportsNativeWebSearch: true,
1097
+ supportsNativeMCPServer: true,
1098
+ supportsNativeCodeExecution: true,
1099
+ supportsNativePdf: true,
1100
+ supportsVision: true
1101
+ },
1102
+ openRouterOnly: false
1103
+ },
1104
+ o3pro: {
1105
+ name: "o3pro",
1106
+ fullName: "o3-pro-2025-06-10",
1107
+ openrouterFullName: "openai/o3-pro",
1108
+ provider: "openai" /* OPENAI */,
1109
+ maxOutputTokens: 1e5,
1110
+ contextWindow: 2e5,
1111
+ inputPrice: 20,
1112
+ outputPrice: 80,
1113
+ capabilities: {
1114
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1115
+ supportsNativeWebSearch: true,
1116
+ supportsNativeMCPServer: true,
1117
+ supportsAutoPromptCaching: false,
1118
+ supportsNativePdf: true,
1119
+ supportsVision: true
1120
+ },
1121
+ openRouterOnly: false
1122
+ },
1123
+ o3: {
1124
+ name: "o3",
1125
+ fullName: "o3-2025-04-16",
1126
+ openrouterFullName: "openai/o3",
1127
+ provider: "openai" /* OPENAI */,
1128
+ maxOutputTokens: 1e5,
1129
+ contextWindow: 2e5,
1130
+ inputPrice: 2,
1131
+ outputPrice: 8,
1132
+ capabilities: {
1133
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1134
+ cacheDiscountFactor: 0.25,
1135
+ supportsNativeWebSearch: true,
1136
+ supportsNativeMCPServer: true,
1137
+ supportsNativeCodeExecution: true,
1138
+ supportsNativePdf: true,
1139
+ supportsVision: true
1140
+ },
1141
+ openRouterOnly: false
1142
+ },
1143
+ "o3-": {
1144
+ name: "o3-",
1145
+ fullName: "o3-mini-2025-01-31",
1146
+ openrouterFullName: "openai/o3-mini-2025-01-31",
1147
+ provider: "openai" /* OPENAI */,
1148
+ maxOutputTokens: 1e5,
1149
+ contextWindow: 2e5,
1150
+ inputPrice: 1.1,
1151
+ outputPrice: 4.4,
1152
+ capabilities: {
1153
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1154
+ supportsNativeMCPServer: true,
1155
+ supportsNativeCodeExecution: true,
1156
+ supportsVision: false
1157
+ },
1158
+ openRouterOnly: false
1159
+ },
1160
+ o1pro: {
1161
+ name: "o1pro",
1162
+ fullName: "o1-pro-2025-03-19",
1163
+ openrouterFullName: "openai/o1-pro-2025-03-19",
1164
+ provider: "openai" /* OPENAI */,
1165
+ maxOutputTokens: 1e5,
1166
+ contextWindow: 2e5,
1167
+ inputPrice: 150,
1168
+ outputPrice: 600,
1169
+ capabilities: {
1170
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1171
+ supportsNativeMCPServer: true,
1172
+ supportsVision: true
1173
+ },
1174
+ openRouterOnly: false
1175
+ },
1176
+ o1: {
1177
+ name: "o1",
1178
+ fullName: "o1-2024-12-17",
1179
+ openrouterFullName: "openai/o1-2024-12-17",
1180
+ provider: "openai" /* OPENAI */,
1181
+ maxOutputTokens: 1e5,
1182
+ contextWindow: 2e5,
1183
+ inputPrice: 15,
1184
+ outputPrice: 60,
1185
+ capabilities: {
1186
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1187
+ supportsNativeMCPServer: true,
1188
+ supportsVision: true,
1189
+ supportsNativePdf: true
1190
+ },
1191
+ openRouterOnly: false
1192
+ },
1193
+ o1preview: {
1194
+ name: "o1preview",
1195
+ fullName: "o1-preview-2024-09-12",
1196
+ openrouterFullName: "openai/o1-preview-2024-09-12",
1197
+ provider: "openai" /* OPENAI */,
1198
+ maxOutputTokens: 32768,
1199
+ contextWindow: 128e3,
1200
+ inputPrice: 15,
1201
+ outputPrice: 60,
1202
+ capabilities: {
1203
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1204
+ supportsVision: false,
1205
+ supportsSystemPrompt: false
1206
+ },
1207
+ openRouterOnly: false
1208
+ },
1209
+ "o1-": {
1210
+ name: "o1-",
1211
+ fullName: "o1-mini-2024-09-12",
1212
+ openrouterFullName: "openai/o1-mini-2024-09-12",
1213
+ provider: "openai" /* OPENAI */,
1214
+ maxOutputTokens: 65536,
1215
+ contextWindow: 128e3,
1216
+ inputPrice: 1.1,
1217
+ outputPrice: 4.4,
1218
+ capabilities: {
1219
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1220
+ supportsVision: false,
1221
+ supportsSystemPrompt: false
1222
+ },
1223
+ openRouterOnly: false
1224
+ },
1225
+ gptoss: {
1226
+ name: "gptoss",
1227
+ fullName: "gpt-oss-120b",
1228
+ openrouterFullName: "openai/gpt-oss-120b",
1229
+ provider: "openai" /* OPENAI */,
1230
+ maxOutputTokens: 33e3,
1231
+ contextWindow: 131072,
1232
+ inputPrice: 0.15,
1233
+ outputPrice: 0.6,
1234
+ capabilities: {
1235
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1236
+ supportsVision: false
1237
+ },
1238
+ openRouterOnly: true
1239
+ },
1240
+ "gptoss-": {
1241
+ name: "gptoss-",
1242
+ fullName: "gpt-oss-20b",
1243
+ openrouterFullName: "openai/gpt-oss-20b",
1244
+ provider: "openai" /* OPENAI */,
1245
+ maxOutputTokens: 33e3,
1246
+ contextWindow: 131072,
1247
+ inputPrice: 0.05,
1248
+ outputPrice: 0.2,
1249
+ capabilities: {
1250
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1251
+ supportsVision: false
1252
+ },
1253
+ openRouterOnly: true
1254
+ },
1255
+ gpt5pro: {
1256
+ name: "gpt5pro",
1257
+ fullName: "gpt-5-pro-2025-10-06",
1258
+ openrouterFullName: "openai/gpt-5-pro-2025-10-06",
1259
+ provider: "openai" /* OPENAI */,
1260
+ maxOutputTokens: 272e3,
1261
+ contextWindow: 4e5,
1262
+ inputPrice: 15,
1263
+ outputPrice: 120,
1264
+ capabilities: {
1265
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1266
+ supportsAutoPromptCaching: false,
1267
+ supportsNativeMCPServer: true,
1268
+ supportsNativeWebSearch: true,
1269
+ supportsNativeCodeExecution: true,
1270
+ supportsPredictiveOutput: true,
1271
+ supportsVision: true,
1272
+ supportsNativePdf: true
1273
+ },
1274
+ openRouterOnly: false
1275
+ },
1276
+ gpt5: {
1277
+ name: "gpt5",
1278
+ fullName: "gpt-5-2025-08-07",
1279
+ openrouterFullName: "openai/gpt-5-2025-08-07",
1280
+ provider: "openai" /* OPENAI */,
1281
+ maxOutputTokens: 128e3,
1282
+ contextWindow: 4e5,
1283
+ inputPrice: 1.25,
1284
+ outputPrice: 10,
1285
+ capabilities: {
1286
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1287
+ cacheDiscountFactor: 0.1,
1288
+ supportsNativeMCPServer: true,
1289
+ supportsNativeWebSearch: true,
1290
+ supportsNativeCodeExecution: true,
1291
+ supportsPredictiveOutput: true,
1292
+ supportsVision: true,
1293
+ supportsNativePdf: true
1294
+ },
1295
+ openRouterOnly: false
1296
+ },
1297
+ gpt51: {
1298
+ name: "gpt51",
1299
+ fullName: "gpt-5.1-2025-11-13",
1300
+ openrouterFullName: "openai/gpt-5.1-2025-11-13",
1301
+ provider: "openai" /* OPENAI */,
1302
+ maxOutputTokens: 128e3,
1303
+ contextWindow: 4e5,
1304
+ inputPrice: 1.25,
1305
+ outputPrice: 10,
1306
+ capabilities: {
1307
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1308
+ cacheDiscountFactor: 0.1,
1309
+ reasoningEffort: "high" /* HIGH */,
1310
+ supportsNativeMCPServer: true,
1311
+ supportsNativeWebSearch: true,
1312
+ supportsNativeCodeExecution: true,
1313
+ supportsPredictiveOutput: true,
1314
+ supportsVision: true,
1315
+ supportsNativePdf: true
1316
+ },
1317
+ openRouterOnly: false
1318
+ },
1319
+ gpt52pro: {
1320
+ name: "gpt52pro",
1321
+ fullName: "gpt-5.2-pro-2025-12-11",
1322
+ openrouterFullName: "openai/gpt-5.2-pro",
1323
+ provider: "openai" /* OPENAI */,
1324
+ maxOutputTokens: 128e3,
1325
+ contextWindow: 4e5,
1326
+ inputPrice: 21,
1327
+ outputPrice: 168,
1328
+ capabilities: {
1329
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1330
+ supportsAutoPromptCaching: false,
1331
+ supportsNativeMCPServer: true,
1332
+ supportsNativeWebSearch: true,
1333
+ supportsNativeCodeExecution: true,
1334
+ supportsVision: true,
1335
+ supportsNativePdf: true,
1336
+ reasoningEffort: "xhigh" /* XHIGH */
1337
+ },
1338
+ requiresResponsesAPI: true,
1339
+ openRouterOnly: false
1340
+ },
1341
+ gpt52: {
1342
+ name: "gpt52",
1343
+ fullName: "gpt-5.2-2025-12-11",
1344
+ openrouterFullName: "openai/gpt-5.2",
1345
+ provider: "openai" /* OPENAI */,
1346
+ maxOutputTokens: 128e3,
1347
+ contextWindow: 4e5,
1348
+ inputPrice: 1.75,
1349
+ outputPrice: 14,
1350
+ capabilities: {
1351
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1352
+ cacheDiscountFactor: 0.1,
1353
+ reasoningEffort: "xhigh" /* XHIGH */,
1354
+ supportsNativeMCPServer: true,
1355
+ supportsNativeWebSearch: true,
1356
+ supportsNativeCodeExecution: true,
1357
+ supportsVision: true,
1358
+ supportsNativePdf: true
1359
+ },
1360
+ openRouterOnly: false
1361
+ },
1362
+ "gpt5-": {
1363
+ name: "gpt5-",
1364
+ fullName: "gpt-5-mini-2025-08-07",
1365
+ openrouterFullName: "openai/gpt-5-mini-2025-08-07",
1366
+ provider: "openai" /* OPENAI */,
1367
+ maxOutputTokens: 128e3,
1368
+ contextWindow: 4e5,
1369
+ inputPrice: 0.25,
1370
+ outputPrice: 2,
1371
+ capabilities: {
1372
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1373
+ cacheDiscountFactor: 0.1,
1374
+ supportsNativeMCPServer: true,
1375
+ supportsNativeWebSearch: true,
1376
+ supportsNativeCodeExecution: true,
1377
+ supportsPredictiveOutput: true,
1378
+ supportsVision: true,
1379
+ supportsNativePdf: true
1380
+ },
1381
+ openRouterOnly: false
1382
+ },
1383
+ "gpt5--": {
1384
+ name: "gpt5--",
1385
+ fullName: "gpt-5-nano-2025-08-07",
1386
+ openrouterFullName: "openai/gpt-5-nano-2025-08-07",
1387
+ provider: "openai" /* OPENAI */,
1388
+ maxOutputTokens: 128e3,
1389
+ contextWindow: 4e5,
1390
+ inputPrice: 0.05,
1391
+ outputPrice: 0.4,
1392
+ capabilities: {
1393
+ ...OPENAI_REASONING_DEFAULT_CAPABILITIES,
1394
+ cacheDiscountFactor: 0.1,
1395
+ supportsNativeMCPServer: true,
1396
+ supportsNativeWebSearch: true,
1397
+ supportsNativeCodeExecution: true,
1398
+ supportsPredictiveOutput: true,
1399
+ supportsVision: true,
1400
+ supportsNativePdf: true
1401
+ },
1402
+ openRouterOnly: false
1403
+ }
1404
+ };
1405
+
1406
+ // src/providers/otherModels.ts
1407
+ var OTHER_DEFAULT_CAPABILITIES = {
1408
+ ...DEFAULT_MODEL_CAPABILITIES
1409
+ };
1410
+ var OTHER_MODELS = {
1411
+ llama31: {
1412
+ name: "llama31",
1413
+ fullName: "meta-llama/llama-3.1-405b-instruct",
1414
+ openrouterFullName: "meta-llama/llama-3.1-405b-instruct",
1415
+ provider: "others" /* OTHERS */,
1416
+ maxOutputTokens: 131072,
1417
+ contextWindow: 131072,
1418
+ inputPrice: 3,
1419
+ outputPrice: 3,
1420
+ capabilities: OTHER_DEFAULT_CAPABILITIES,
1421
+ openRouterOnly: true
1422
+ },
1423
+ "qvq-72b": {
1424
+ name: "qvq-72b",
1425
+ fullName: "qwen/qvq-72b-preview",
1426
+ openrouterFullName: "qwen/qvq-72b-preview",
1427
+ provider: "others" /* OTHERS */,
1428
+ maxOutputTokens: 4096,
1429
+ contextWindow: 128e3,
1430
+ inputPrice: 0.25,
1431
+ outputPrice: 0.5,
1432
+ capabilities: {
1433
+ ...OTHER_DEFAULT_CAPABILITIES
1434
+ },
1435
+ openRouterOnly: true
1436
+ }
1437
+ };
1438
+
1439
+ // src/providers/xaiModels.ts
1440
+ var XAI_DEFAULT_CAPABILITIES = {
1441
+ ...DEFAULT_MODEL_CAPABILITIES,
1442
+ supportsVision: false
1443
+ };
1444
+ var XAI_MODELS = {
1445
+ grok4: {
1446
+ name: "grok4",
1447
+ fullName: "grok-4-0709",
1448
+ openrouterFullName: "x-ai/grok-4-0709",
1449
+ provider: "xai" /* XAI */,
1450
+ maxOutputTokens: 128e3,
1451
+ contextWindow: 256e3,
1452
+ inputPrice: 3,
1453
+ outputPrice: 15,
1454
+ capabilities: {
1455
+ ...XAI_DEFAULT_CAPABILITIES,
1456
+ supportsReasoning: true,
1457
+ supportsReasoningEffort: false
1458
+ },
1459
+ openRouterOnly: false
1460
+ },
1461
+ grok3: {
1462
+ name: "grok3",
1463
+ fullName: "grok-3-beta",
1464
+ openrouterFullName: "x-ai/grok-3",
1465
+ provider: "xai" /* XAI */,
1466
+ maxOutputTokens: 131072,
1467
+ contextWindow: 131072,
1468
+ inputPrice: 3,
1469
+ outputPrice: 15,
1470
+ capabilities: {
1471
+ ...XAI_DEFAULT_CAPABILITIES,
1472
+ supportsReasoning: false,
1473
+ supportsReasoningEffort: false
1474
+ },
1475
+ openRouterOnly: false
1476
+ },
1477
+ "grok3-": {
1478
+ name: "grok3-",
1479
+ fullName: "grok-3-mini-beta",
1480
+ openrouterFullName: "x-ai/grok-3-mini-beta",
1481
+ provider: "xai" /* XAI */,
1482
+ maxOutputTokens: 131072,
1483
+ contextWindow: 131072,
1484
+ inputPrice: 0.3,
1485
+ outputPrice: 0.5,
1486
+ capabilities: {
1487
+ ...XAI_DEFAULT_CAPABILITIES,
1488
+ supportsReasoning: true,
1489
+ supportsReasoningEffort: true,
1490
+ reasoningEffort: "low" /* LOW */
1491
+ },
1492
+ openRouterOnly: false
1493
+ },
1494
+ grok2: {
1495
+ name: "grok2",
1496
+ fullName: "grok-2-1212",
1497
+ openrouterFullName: "grok-ai/grok-2-1212",
1498
+ provider: "xai" /* XAI */,
1499
+ maxOutputTokens: 131072,
1500
+ contextWindow: 131072,
1501
+ inputPrice: 2,
1502
+ outputPrice: 10,
1503
+ capabilities: XAI_DEFAULT_CAPABILITIES,
1504
+ openRouterOnly: false
1505
+ },
1506
+ grok2v: {
1507
+ name: "grok2v",
1508
+ fullName: "grok-2-1212-vision",
1509
+ openrouterFullName: "grok-ai/grok-2-1212-vision",
1510
+ provider: "xai" /* XAI */,
1511
+ maxOutputTokens: 32768,
1512
+ contextWindow: 32768,
1513
+ inputPrice: 2,
1514
+ outputPrice: 10,
1515
+ capabilities: {
1516
+ ...XAI_DEFAULT_CAPABILITIES,
1517
+ supportsVision: true
1518
+ },
1519
+ openRouterOnly: false
1520
+ }
1521
+ };
1522
+
1523
+ exports.ANTHROPIC_MODELS = ANTHROPIC_MODELS;
1524
+ exports.COPILOT_MODELS = COPILOT_MODELS;
1525
+ exports.DASHSCOPE_MODELS = DASHSCOPE_MODELS;
1526
+ exports.DEEPSEEK_MODELS = DEEPSEEK_MODELS;
1527
+ exports.GOOGLE_MODELS = GOOGLE_MODELS;
1528
+ exports.MOONSHOT_MODELS = MOONSHOT_MODELS;
1529
+ exports.OPENAI_DEEP_RESEARCH_MODELS = OPENAI_DEEP_RESEARCH_MODELS;
1530
+ exports.OPENAI_MODELS = OPENAI_MODELS;
1531
+ exports.OPENAI_REASONING_MODELS = OPENAI_REASONING_MODELS;
1532
+ exports.OTHER_MODELS = OTHER_MODELS;
1533
+ exports.XAI_MODELS = XAI_MODELS;
1534
+ //# sourceMappingURL=index.cjs.map
1535
+ //# sourceMappingURL=index.cjs.map