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