@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.
@@ -2113,8 +2113,3094 @@ var LLMGatewayCompletionLanguageModel = class {
2113
2113
  };
2114
2114
  }
2115
2115
  };
2116
+
2117
+ // src/models/alibaba.ts
2118
+ var alibabaModels = [
2119
+ {
2120
+ id: "qwen-max",
2121
+ name: "Qwen Max",
2122
+ family: "alibaba",
2123
+ deprecatedAt: void 0,
2124
+ deactivatedAt: void 0,
2125
+ providers: [
2126
+ {
2127
+ providerId: "alibaba",
2128
+ modelName: "qwen-max",
2129
+ inputPrice: 1.6 / 1e6,
2130
+ outputPrice: 6.4 / 1e6,
2131
+ requestPrice: 0,
2132
+ contextSize: 131072,
2133
+ maxOutput: 32e3,
2134
+ streaming: true,
2135
+ vision: true,
2136
+ tools: true
2137
+ }
2138
+ ],
2139
+ jsonOutput: true
2140
+ },
2141
+ {
2142
+ id: "qwen-max-latest",
2143
+ name: "Qwen Max Latest",
2144
+ family: "alibaba",
2145
+ deprecatedAt: void 0,
2146
+ deactivatedAt: void 0,
2147
+ providers: [
2148
+ {
2149
+ providerId: "alibaba",
2150
+ modelName: "qwen-max-latest",
2151
+ inputPrice: 1.6 / 1e6,
2152
+ outputPrice: 6.4 / 1e6,
2153
+ requestPrice: 0,
2154
+ contextSize: 131072,
2155
+ maxOutput: 32e3,
2156
+ streaming: true,
2157
+ vision: true,
2158
+ tools: true
2159
+ }
2160
+ ],
2161
+ jsonOutput: true
2162
+ },
2163
+ {
2164
+ id: "qwen-plus",
2165
+ name: "Qwen Plus",
2166
+ family: "alibaba",
2167
+ deprecatedAt: void 0,
2168
+ deactivatedAt: void 0,
2169
+ providers: [
2170
+ {
2171
+ providerId: "alibaba",
2172
+ modelName: "qwen-plus",
2173
+ inputPrice: 0.4 / 1e6,
2174
+ outputPrice: 1.2 / 1e6,
2175
+ requestPrice: 0,
2176
+ contextSize: 131072,
2177
+ maxOutput: 32e3,
2178
+ streaming: true,
2179
+ vision: false,
2180
+ tools: true
2181
+ }
2182
+ ],
2183
+ jsonOutput: true
2184
+ },
2185
+ {
2186
+ id: "qwen-plus-latest",
2187
+ name: "Qwen Plus Latest",
2188
+ family: "alibaba",
2189
+ deprecatedAt: void 0,
2190
+ deactivatedAt: void 0,
2191
+ providers: [
2192
+ {
2193
+ providerId: "alibaba",
2194
+ modelName: "qwen-plus-latest",
2195
+ inputPrice: 0.4 / 1e6,
2196
+ outputPrice: 1.2 / 1e6,
2197
+ requestPrice: 0,
2198
+ contextSize: 1e6,
2199
+ maxOutput: 32e3,
2200
+ streaming: true,
2201
+ vision: false,
2202
+ tools: true
2203
+ }
2204
+ ],
2205
+ jsonOutput: true
2206
+ },
2207
+ {
2208
+ id: "qwen-flash",
2209
+ name: "Qwen Flash",
2210
+ family: "alibaba",
2211
+ deprecatedAt: void 0,
2212
+ deactivatedAt: void 0,
2213
+ providers: [
2214
+ {
2215
+ providerId: "alibaba",
2216
+ modelName: "qwen-flash",
2217
+ inputPrice: 0.05 / 1e6,
2218
+ outputPrice: 0.4 / 1e6,
2219
+ requestPrice: 0,
2220
+ contextSize: 1e6,
2221
+ maxOutput: 32e3,
2222
+ streaming: true,
2223
+ vision: false,
2224
+ tools: true
2225
+ }
2226
+ ],
2227
+ jsonOutput: true
2228
+ },
2229
+ {
2230
+ id: "qwen-omni-turbo",
2231
+ name: "Qwen Omni Turbo",
2232
+ family: "alibaba",
2233
+ deprecatedAt: void 0,
2234
+ deactivatedAt: void 0,
2235
+ providers: [
2236
+ {
2237
+ providerId: "alibaba",
2238
+ modelName: "qwen-omni-turbo",
2239
+ inputPrice: 0.2 / 1e6,
2240
+ outputPrice: 0.8 / 1e6,
2241
+ requestPrice: 0,
2242
+ contextSize: 32768,
2243
+ maxOutput: 8192,
2244
+ streaming: true,
2245
+ vision: true,
2246
+ tools: false
2247
+ }
2248
+ ],
2249
+ jsonOutput: true
2250
+ },
2251
+ {
2252
+ id: "qwen-turbo",
2253
+ name: "Qwen Turbo",
2254
+ family: "alibaba",
2255
+ deprecatedAt: void 0,
2256
+ deactivatedAt: void 0,
2257
+ providers: [
2258
+ {
2259
+ providerId: "alibaba",
2260
+ modelName: "qwen-turbo",
2261
+ inputPrice: 0.05 / 1e6,
2262
+ outputPrice: 0.2 / 1e6,
2263
+ requestPrice: 0,
2264
+ contextSize: 1e6,
2265
+ maxOutput: 8192,
2266
+ streaming: true,
2267
+ vision: false,
2268
+ tools: false
2269
+ }
2270
+ ],
2271
+ jsonOutput: true
2272
+ },
2273
+ {
2274
+ id: "qwen3-coder-plus",
2275
+ name: "Qwen3 Coder Plus",
2276
+ family: "alibaba",
2277
+ deprecatedAt: void 0,
2278
+ deactivatedAt: void 0,
2279
+ providers: [
2280
+ {
2281
+ providerId: "alibaba",
2282
+ modelName: "qwen3-coder-plus",
2283
+ inputPrice: 6 / 1e6,
2284
+ outputPrice: 60 / 1e6,
2285
+ requestPrice: 0,
2286
+ contextSize: 1e6,
2287
+ maxOutput: 66e3,
2288
+ streaming: true,
2289
+ vision: false,
2290
+ tools: true
2291
+ }
2292
+ ],
2293
+ jsonOutput: true
2294
+ },
2295
+ {
2296
+ id: "qwen-qwq-32b",
2297
+ name: "Qwen QwQ 32B",
2298
+ family: "alibaba",
2299
+ deprecatedAt: void 0,
2300
+ deactivatedAt: void 0,
2301
+ providers: [
2302
+ {
2303
+ providerId: "nebius",
2304
+ modelName: "Qwen/QwQ-32B",
2305
+ inputPrice: 0.15 / 1e6,
2306
+ outputPrice: 0.45 / 1e6,
2307
+ requestPrice: 0,
2308
+ contextSize: 32768,
2309
+ maxOutput: 8192,
2310
+ streaming: true,
2311
+ vision: false,
2312
+ tools: false
2313
+ }
2314
+ ],
2315
+ jsonOutput: true
2316
+ },
2317
+ {
2318
+ id: "qwen3-235b-a22b-instruct-2507",
2319
+ name: "Qwen3 235B A22B Instruct 2507",
2320
+ family: "alibaba",
2321
+ deprecatedAt: void 0,
2322
+ deactivatedAt: void 0,
2323
+ providers: [
2324
+ {
2325
+ providerId: "nebius",
2326
+ modelName: "Qwen/Qwen3-235B-A22B-Instruct-2507",
2327
+ inputPrice: 0.2 / 1e6,
2328
+ outputPrice: 0.6 / 1e6,
2329
+ requestPrice: 0,
2330
+ contextSize: 262e3,
2331
+ maxOutput: 8192,
2332
+ reasoning: false,
2333
+ streaming: true,
2334
+ vision: false,
2335
+ tools: true
2336
+ }
2337
+ ],
2338
+ jsonOutput: true
2339
+ },
2340
+ {
2341
+ id: "qwen3-235b-a22b-thinking-2507",
2342
+ name: "Qwen3 235B A22B Thinking 2507",
2343
+ family: "alibaba",
2344
+ deprecatedAt: void 0,
2345
+ deactivatedAt: void 0,
2346
+ providers: [
2347
+ {
2348
+ providerId: "nebius",
2349
+ modelName: "Qwen/Qwen3-235B-A22B-Thinking-2507",
2350
+ inputPrice: 0.2 / 1e6,
2351
+ outputPrice: 0.6 / 1e6,
2352
+ requestPrice: 0,
2353
+ contextSize: 262e3,
2354
+ maxOutput: 8192,
2355
+ reasoning: true,
2356
+ streaming: true,
2357
+ vision: false,
2358
+ tools: true
2359
+ }
2360
+ ],
2361
+ jsonOutput: true
2362
+ },
2363
+ {
2364
+ id: "qwen3-14b",
2365
+ name: "Qwen3 14B",
2366
+ family: "alibaba",
2367
+ deprecatedAt: void 0,
2368
+ deactivatedAt: void 0,
2369
+ providers: [
2370
+ {
2371
+ providerId: "nebius",
2372
+ modelName: "Qwen/Qwen3-14B",
2373
+ inputPrice: 0.08 / 1e6,
2374
+ outputPrice: 0.24 / 1e6,
2375
+ requestPrice: 0,
2376
+ contextSize: 32768,
2377
+ maxOutput: 8192,
2378
+ streaming: true,
2379
+ vision: false,
2380
+ tools: true
2381
+ }
2382
+ ],
2383
+ jsonOutput: true
2384
+ },
2385
+ {
2386
+ id: "qwen3-32b",
2387
+ name: "Qwen3 32B",
2388
+ family: "alibaba",
2389
+ deprecatedAt: void 0,
2390
+ deactivatedAt: void 0,
2391
+ providers: [
2392
+ {
2393
+ providerId: "nebius",
2394
+ modelName: "Qwen/Qwen3-32B",
2395
+ inputPrice: 0.1 / 1e6,
2396
+ outputPrice: 0.3 / 1e6,
2397
+ requestPrice: 0,
2398
+ contextSize: 32768,
2399
+ maxOutput: 8192,
2400
+ streaming: true,
2401
+ vision: false,
2402
+ tools: true
2403
+ }
2404
+ ],
2405
+ jsonOutput: true
2406
+ },
2407
+ {
2408
+ id: "qwen3-30b-a3b",
2409
+ name: "Qwen3 30B A3B",
2410
+ family: "alibaba",
2411
+ deprecatedAt: void 0,
2412
+ deactivatedAt: void 0,
2413
+ providers: [
2414
+ {
2415
+ providerId: "nebius",
2416
+ modelName: "Qwen/Qwen3-30B-A3B",
2417
+ inputPrice: 0.1 / 1e6,
2418
+ outputPrice: 0.3 / 1e6,
2419
+ requestPrice: 0,
2420
+ contextSize: 32768,
2421
+ maxOutput: 8192,
2422
+ streaming: true,
2423
+ vision: false,
2424
+ tools: true
2425
+ }
2426
+ ],
2427
+ jsonOutput: true
2428
+ },
2429
+ {
2430
+ id: "qwen25-coder-7b",
2431
+ name: "Qwen2.5 Coder 7B",
2432
+ family: "alibaba",
2433
+ deprecatedAt: void 0,
2434
+ deactivatedAt: void 0,
2435
+ providers: [
2436
+ {
2437
+ providerId: "nebius",
2438
+ modelName: "Qwen/Qwen2.5-Coder-7B-fast",
2439
+ inputPrice: 0.01 / 1e6,
2440
+ outputPrice: 0.03 / 1e6,
2441
+ requestPrice: 0,
2442
+ contextSize: 32768,
2443
+ maxOutput: 8192,
2444
+ streaming: true,
2445
+ vision: false,
2446
+ tools: false
2447
+ }
2448
+ ],
2449
+ jsonOutput: true
2450
+ },
2451
+ {
2452
+ id: "qwen25-32b-instruct",
2453
+ name: "Qwen2.5 32B Instruct",
2454
+ family: "alibaba",
2455
+ deprecatedAt: void 0,
2456
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-10"),
2457
+ providers: [
2458
+ {
2459
+ providerId: "nebius",
2460
+ modelName: "Qwen/Qwen2.5-32B-Instruct",
2461
+ inputPrice: 0.06 / 1e6,
2462
+ outputPrice: 0.2 / 1e6,
2463
+ requestPrice: 0,
2464
+ contextSize: 32768,
2465
+ maxOutput: 8192,
2466
+ streaming: true,
2467
+ vision: false,
2468
+ tools: true
2469
+ }
2470
+ ],
2471
+ jsonOutput: true
2472
+ },
2473
+ {
2474
+ id: "qwen25-72b-instruct",
2475
+ name: "Qwen2.5 72B Instruct",
2476
+ family: "alibaba",
2477
+ deprecatedAt: void 0,
2478
+ deactivatedAt: void 0,
2479
+ providers: [
2480
+ {
2481
+ providerId: "nebius",
2482
+ modelName: "Qwen/Qwen2.5-72B-Instruct",
2483
+ inputPrice: 0.13 / 1e6,
2484
+ outputPrice: 0.4 / 1e6,
2485
+ requestPrice: 0,
2486
+ contextSize: 32768,
2487
+ maxOutput: 8192,
2488
+ streaming: true,
2489
+ vision: false,
2490
+ tools: true
2491
+ }
2492
+ ],
2493
+ jsonOutput: true
2494
+ },
2495
+ {
2496
+ id: "qwen2-vl-72b-instruct",
2497
+ name: "Qwen2 VL 72B Instruct",
2498
+ family: "alibaba",
2499
+ deprecatedAt: void 0,
2500
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-10"),
2501
+ providers: [
2502
+ {
2503
+ providerId: "nebius",
2504
+ modelName: "Qwen/Qwen2-VL-72B-Instruct",
2505
+ inputPrice: 0.13 / 1e6,
2506
+ outputPrice: 0.4 / 1e6,
2507
+ requestPrice: 0,
2508
+ contextSize: 32768,
2509
+ maxOutput: 8192,
2510
+ streaming: true,
2511
+ vision: true,
2512
+ tools: false
2513
+ }
2514
+ ],
2515
+ jsonOutput: true
2516
+ },
2517
+ {
2518
+ id: "qwen2-5-vl-72b-instruct",
2519
+ name: "Qwen2.5 VL 72B Instruct",
2520
+ family: "alibaba",
2521
+ deprecatedAt: void 0,
2522
+ deactivatedAt: void 0,
2523
+ providers: [
2524
+ {
2525
+ providerId: "nebius",
2526
+ modelName: "Qwen/Qwen2.5-VL-72B-Instruct",
2527
+ inputPrice: 0.13 / 1e6,
2528
+ outputPrice: 0.4 / 1e6,
2529
+ requestPrice: 0,
2530
+ contextSize: 32768,
2531
+ maxOutput: 8192,
2532
+ streaming: true,
2533
+ vision: true,
2534
+ tools: false
2535
+ }
2536
+ ],
2537
+ jsonOutput: true
2538
+ },
2539
+ {
2540
+ id: "qwen3-coder-480b-a35b-instruct",
2541
+ name: "Qwen3 Coder 480B A35B Instruct",
2542
+ family: "alibaba",
2543
+ deprecatedAt: void 0,
2544
+ deactivatedAt: void 0,
2545
+ providers: [
2546
+ {
2547
+ providerId: "nebius",
2548
+ modelName: "Qwen/Qwen3-Coder-480B-A35B-Instruct",
2549
+ inputPrice: 0.4 / 1e6,
2550
+ outputPrice: 1.8 / 1e6,
2551
+ requestPrice: 0,
2552
+ contextSize: 262e3,
2553
+ maxOutput: 8192,
2554
+ streaming: true,
2555
+ vision: false,
2556
+ tools: true
2557
+ }
2558
+ ],
2559
+ jsonOutput: true
2560
+ },
2561
+ {
2562
+ id: "qwen3-coder-30b-a3b-instruct",
2563
+ name: "Qwen3 Coder 30B A3B Instruct",
2564
+ family: "alibaba",
2565
+ deprecatedAt: void 0,
2566
+ deactivatedAt: void 0,
2567
+ providers: [
2568
+ {
2569
+ providerId: "nebius",
2570
+ modelName: "Qwen/Qwen3-Coder-30B-A3B-Instruct",
2571
+ inputPrice: 0.1 / 1e6,
2572
+ outputPrice: 0.3 / 1e6,
2573
+ requestPrice: 0,
2574
+ contextSize: 262e3,
2575
+ maxOutput: 8192,
2576
+ streaming: true,
2577
+ vision: false,
2578
+ tools: true
2579
+ }
2580
+ ],
2581
+ jsonOutput: true
2582
+ },
2583
+ {
2584
+ id: "qwen3-30b-a3b-instruct-2507",
2585
+ name: "Qwen3 30B A3B Instruct 2507",
2586
+ family: "alibaba",
2587
+ deprecatedAt: void 0,
2588
+ deactivatedAt: void 0,
2589
+ providers: [
2590
+ {
2591
+ providerId: "nebius",
2592
+ modelName: "Qwen/Qwen3-30B-A3B-Instruct-2507",
2593
+ inputPrice: 0.1 / 1e6,
2594
+ outputPrice: 0.3 / 1e6,
2595
+ requestPrice: 0,
2596
+ contextSize: 262e3,
2597
+ maxOutput: 8192,
2598
+ streaming: true,
2599
+ vision: false,
2600
+ tools: true
2601
+ }
2602
+ ],
2603
+ jsonOutput: true
2604
+ },
2605
+ {
2606
+ id: "qwen3-30b-a3b-thinking-2507",
2607
+ name: "Qwen3 30B A3B Thinking 2507",
2608
+ family: "alibaba",
2609
+ deprecatedAt: void 0,
2610
+ deactivatedAt: void 0,
2611
+ providers: [
2612
+ {
2613
+ providerId: "nebius",
2614
+ modelName: "Qwen/Qwen3-30B-A3B-Thinking-2507",
2615
+ inputPrice: 0.1 / 1e6,
2616
+ outputPrice: 0.3 / 1e6,
2617
+ requestPrice: 0,
2618
+ contextSize: 262e3,
2619
+ maxOutput: 8192,
2620
+ streaming: true,
2621
+ vision: false,
2622
+ tools: true,
2623
+ reasoning: true
2624
+ }
2625
+ ],
2626
+ jsonOutput: true
2627
+ },
2628
+ {
2629
+ id: "qwen-vl-max",
2630
+ name: "Qwen VL Max",
2631
+ family: "alibaba",
2632
+ deprecatedAt: void 0,
2633
+ deactivatedAt: void 0,
2634
+ providers: [
2635
+ {
2636
+ providerId: "alibaba",
2637
+ modelName: "qwen-vl-max",
2638
+ inputPrice: 0.8 / 1e6,
2639
+ outputPrice: 3.2 / 1e6,
2640
+ requestPrice: 0,
2641
+ contextSize: 131072,
2642
+ maxOutput: 32e3,
2643
+ streaming: true,
2644
+ vision: true,
2645
+ tools: false
2646
+ }
2647
+ ],
2648
+ jsonOutput: true
2649
+ },
2650
+ {
2651
+ id: "qwen-vl-plus",
2652
+ name: "Qwen VL Plus",
2653
+ family: "alibaba",
2654
+ deprecatedAt: void 0,
2655
+ deactivatedAt: void 0,
2656
+ providers: [
2657
+ {
2658
+ providerId: "alibaba",
2659
+ modelName: "qwen-vl-plus",
2660
+ inputPrice: 0.21 / 1e6,
2661
+ outputPrice: 0.64 / 1e6,
2662
+ requestPrice: 0,
2663
+ contextSize: 131072,
2664
+ maxOutput: 32e3,
2665
+ streaming: true,
2666
+ vision: true,
2667
+ tools: false
2668
+ }
2669
+ ],
2670
+ jsonOutput: true
2671
+ },
2672
+ {
2673
+ id: "qwen3-next-80b-a3b-thinking",
2674
+ name: "Qwen3 Next 80B A3B Thinking",
2675
+ family: "alibaba",
2676
+ deprecatedAt: void 0,
2677
+ deactivatedAt: void 0,
2678
+ providers: [
2679
+ {
2680
+ providerId: "alibaba",
2681
+ modelName: "qwen3-next-80b-a3b-thinking",
2682
+ inputPrice: 0.5 / 1e6,
2683
+ outputPrice: 6 / 1e6,
2684
+ requestPrice: 0,
2685
+ contextSize: 131072,
2686
+ maxOutput: 32768,
2687
+ reasoning: true,
2688
+ reasoningOutput: "omit",
2689
+ streaming: true,
2690
+ vision: false,
2691
+ tools: true
2692
+ }
2693
+ ],
2694
+ jsonOutput: true
2695
+ },
2696
+ {
2697
+ id: "qwen3-next-80b-a3b-instruct",
2698
+ name: "Qwen3 Next 80B A3B Instruct",
2699
+ family: "alibaba",
2700
+ deprecatedAt: void 0,
2701
+ deactivatedAt: void 0,
2702
+ providers: [
2703
+ {
2704
+ providerId: "alibaba",
2705
+ modelName: "qwen3-next-80b-a3b-instruct",
2706
+ inputPrice: 0.5 / 1e6,
2707
+ outputPrice: 2 / 1e6,
2708
+ requestPrice: 0,
2709
+ contextSize: 129024,
2710
+ maxOutput: 32768,
2711
+ streaming: true,
2712
+ vision: false,
2713
+ tools: true
2714
+ }
2715
+ ],
2716
+ jsonOutput: true
2717
+ },
2718
+ {
2719
+ id: "qwen3-max",
2720
+ name: "Qwen3 Max",
2721
+ family: "alibaba",
2722
+ deprecatedAt: void 0,
2723
+ deactivatedAt: void 0,
2724
+ providers: [
2725
+ {
2726
+ providerId: "alibaba",
2727
+ modelName: "qwen3-max-preview",
2728
+ inputPrice: 3 / 1e6,
2729
+ outputPrice: 15 / 1e6,
2730
+ cachedInputPrice: 0.6 / 1e6,
2731
+ requestPrice: 0,
2732
+ contextSize: 256e3,
2733
+ maxOutput: 32800,
2734
+ reasoning: true,
2735
+ reasoningOutput: "omit",
2736
+ streaming: true,
2737
+ vision: true,
2738
+ tools: true
2739
+ }
2740
+ ],
2741
+ jsonOutput: true
2742
+ }
2743
+ ];
2744
+
2745
+ // src/models/anthropic.ts
2746
+ var anthropicModels = [
2747
+ {
2748
+ id: "claude-3-7-sonnet",
2749
+ name: "Claude 3.7 Sonnet",
2750
+ family: "anthropic",
2751
+ deprecatedAt: void 0,
2752
+ deactivatedAt: void 0,
2753
+ providers: [
2754
+ {
2755
+ providerId: "anthropic",
2756
+ modelName: "claude-3-7-sonnet-latest",
2757
+ inputPrice: 3 / 1e6,
2758
+ outputPrice: 15 / 1e6,
2759
+ cachedInputPrice: 0.3 / 1e6,
2760
+ requestPrice: 0,
2761
+ contextSize: 2e5,
2762
+ maxOutput: 8192,
2763
+ streaming: true,
2764
+ vision: false,
2765
+ tools: true
2766
+ }
2767
+ ]
2768
+ },
2769
+ {
2770
+ id: "claude-3-7-sonnet-20250219",
2771
+ name: "Claude 3.7 Sonnet (2025-02-19)",
2772
+ family: "anthropic",
2773
+ deprecatedAt: void 0,
2774
+ deactivatedAt: void 0,
2775
+ providers: [
2776
+ {
2777
+ providerId: "anthropic",
2778
+ modelName: "claude-3-7-sonnet-20250219",
2779
+ inputPrice: 3 / 1e6,
2780
+ outputPrice: 15 / 1e6,
2781
+ cachedInputPrice: 0.3 / 1e6,
2782
+ requestPrice: 0,
2783
+ contextSize: 2e5,
2784
+ maxOutput: 8192,
2785
+ streaming: true,
2786
+ vision: false,
2787
+ reasoning: true,
2788
+ tools: true
2789
+ }
2790
+ ]
2791
+ },
2792
+ {
2793
+ id: "claude-3-5-sonnet-20241022",
2794
+ name: "Claude 3.5 Sonnet (2024-10-22)",
2795
+ family: "anthropic",
2796
+ deprecatedAt: void 0,
2797
+ deactivatedAt: void 0,
2798
+ providers: [
2799
+ {
2800
+ providerId: "anthropic",
2801
+ modelName: "claude-3-5-sonnet-20241022",
2802
+ inputPrice: 3 / 1e6,
2803
+ outputPrice: 15 / 1e6,
2804
+ cachedInputPrice: 0.3 / 1e6,
2805
+ requestPrice: 0,
2806
+ contextSize: 2e5,
2807
+ maxOutput: 8192,
2808
+ streaming: true,
2809
+ vision: false,
2810
+ tools: true
2811
+ }
2812
+ ]
2813
+ },
2814
+ {
2815
+ id: "claude-2.1",
2816
+ name: "Claude 2.1",
2817
+ family: "anthropic",
2818
+ deprecatedAt: /* @__PURE__ */ new Date("2025-06-15T00:00:00Z"),
2819
+ deactivatedAt: /* @__PURE__ */ new Date("2025-07-21T16:00:00Z"),
2820
+ providers: [
2821
+ {
2822
+ providerId: "anthropic",
2823
+ modelName: "claude-2.1",
2824
+ inputPrice: 8 / 1e6,
2825
+ outputPrice: 24 / 1e6,
2826
+ requestPrice: 0,
2827
+ contextSize: 2e5,
2828
+ maxOutput: void 0,
2829
+ streaming: true,
2830
+ vision: false,
2831
+ tools: false
2832
+ }
2833
+ ]
2834
+ },
2835
+ {
2836
+ id: "claude-sonnet-4-20250514",
2837
+ name: "Claude Sonnet 4 (2025-05-14)",
2838
+ family: "anthropic",
2839
+ deprecatedAt: void 0,
2840
+ deactivatedAt: void 0,
2841
+ providers: [
2842
+ {
2843
+ providerId: "anthropic",
2844
+ modelName: "claude-sonnet-4-20250514",
2845
+ inputPrice: 3 / 1e6,
2846
+ outputPrice: 15 / 1e6,
2847
+ cachedInputPrice: 0.3 / 1e6,
2848
+ requestPrice: 0,
2849
+ contextSize: 2e5,
2850
+ maxOutput: void 0,
2851
+ streaming: true,
2852
+ vision: false,
2853
+ tools: true
2854
+ }
2855
+ ]
2856
+ },
2857
+ {
2858
+ id: "claude-opus-4-20250514",
2859
+ name: "Claude Opus 4 (2025-05-14)",
2860
+ family: "anthropic",
2861
+ deprecatedAt: void 0,
2862
+ deactivatedAt: void 0,
2863
+ providers: [
2864
+ {
2865
+ providerId: "anthropic",
2866
+ modelName: "claude-opus-4-20250514",
2867
+ inputPrice: 15 / 1e6,
2868
+ outputPrice: 75 / 1e6,
2869
+ cachedInputPrice: 1.5 / 1e6,
2870
+ requestPrice: 0,
2871
+ contextSize: 2e5,
2872
+ maxOutput: void 0,
2873
+ streaming: true,
2874
+ vision: false,
2875
+ tools: true
2876
+ }
2877
+ ]
2878
+ },
2879
+ {
2880
+ id: "claude-opus-4-1",
2881
+ name: "Claude Opus 4.1",
2882
+ family: "anthropic",
2883
+ deprecatedAt: void 0,
2884
+ deactivatedAt: void 0,
2885
+ providers: [
2886
+ {
2887
+ providerId: "anthropic",
2888
+ modelName: "claude-opus-4-1",
2889
+ inputPrice: 15 / 1e6,
2890
+ outputPrice: 75 / 1e6,
2891
+ cachedInputPrice: 1.5 / 1e6,
2892
+ requestPrice: 0,
2893
+ contextSize: 2e5,
2894
+ maxOutput: 32e3,
2895
+ streaming: true,
2896
+ vision: true,
2897
+ reasoning: true,
2898
+ tools: true
2899
+ }
2900
+ ]
2901
+ },
2902
+ {
2903
+ id: "claude-3-5-sonnet",
2904
+ name: "Claude 3.5 Sonnet",
2905
+ family: "anthropic",
2906
+ deprecatedAt: void 0,
2907
+ deactivatedAt: void 0,
2908
+ providers: [
2909
+ {
2910
+ providerId: "anthropic",
2911
+ modelName: "claude-3-5-sonnet-latest",
2912
+ inputPrice: 3 / 1e6,
2913
+ outputPrice: 15 / 1e6,
2914
+ cachedInputPrice: 0.3 / 1e6,
2915
+ requestPrice: 0,
2916
+ contextSize: 2e5,
2917
+ maxOutput: void 0,
2918
+ streaming: true,
2919
+ vision: false,
2920
+ tools: true
2921
+ }
2922
+ ]
2923
+ },
2924
+ {
2925
+ id: "claude-3-5-haiku",
2926
+ name: "Claude 3.5 Haiku",
2927
+ family: "anthropic",
2928
+ deprecatedAt: void 0,
2929
+ deactivatedAt: void 0,
2930
+ providers: [
2931
+ {
2932
+ providerId: "anthropic",
2933
+ modelName: "claude-3-5-haiku-latest",
2934
+ inputPrice: 0.8 / 1e6,
2935
+ outputPrice: 4 / 1e6,
2936
+ cachedInputPrice: 0.08 / 1e6,
2937
+ requestPrice: 0,
2938
+ contextSize: 2e5,
2939
+ maxOutput: 8192,
2940
+ streaming: true,
2941
+ vision: false,
2942
+ tools: true
2943
+ }
2944
+ ]
2945
+ },
2946
+ {
2947
+ id: "claude-3-opus",
2948
+ name: "Claude 3 Opus",
2949
+ family: "anthropic",
2950
+ deprecatedAt: void 0,
2951
+ deactivatedAt: void 0,
2952
+ providers: [
2953
+ {
2954
+ providerId: "anthropic",
2955
+ modelName: "claude-3-opus-20240229",
2956
+ inputPrice: 15 / 1e6,
2957
+ outputPrice: 75 / 1e6,
2958
+ cachedInputPrice: 1.5 / 1e6,
2959
+ requestPrice: 0,
2960
+ contextSize: 2e5,
2961
+ maxOutput: 4096,
2962
+ streaming: true,
2963
+ vision: true,
2964
+ tools: true
2965
+ }
2966
+ ]
2967
+ },
2968
+ {
2969
+ id: "claude-3-haiku",
2970
+ name: "Claude 3 Haiku",
2971
+ family: "anthropic",
2972
+ deprecatedAt: void 0,
2973
+ deactivatedAt: void 0,
2974
+ providers: [
2975
+ {
2976
+ providerId: "anthropic",
2977
+ modelName: "claude-3-haiku-20240307",
2978
+ inputPrice: 0.25 / 1e6,
2979
+ outputPrice: 1.25 / 1e6,
2980
+ cachedInputPrice: 0.03 / 1e6,
2981
+ requestPrice: 0,
2982
+ contextSize: 2e5,
2983
+ maxOutput: 4096,
2984
+ streaming: true,
2985
+ vision: true,
2986
+ tools: true
2987
+ }
2988
+ ]
2989
+ }
2990
+ ];
2991
+
2992
+ // src/models/deepseek.ts
2993
+ var deepseekModels = [
2994
+ {
2995
+ id: "deepseek-v3",
2996
+ name: "DeepSeek V3",
2997
+ family: "deepseek",
2998
+ deprecatedAt: void 0,
2999
+ deactivatedAt: void 0,
3000
+ providers: [
3001
+ {
3002
+ providerId: "cloudrift",
3003
+ modelName: "deepseek-ai/DeepSeek-V3",
3004
+ inputPrice: 0.15 / 1e6,
3005
+ outputPrice: 0.4 / 1e6,
3006
+ requestPrice: 0,
3007
+ contextSize: 163840,
3008
+ maxOutput: void 0,
3009
+ streaming: true,
3010
+ vision: false,
3011
+ tools: false
3012
+ },
3013
+ {
3014
+ providerId: "nebius",
3015
+ modelName: "deepseek-ai/DeepSeek-V3",
3016
+ inputPrice: 0.5 / 1e6,
3017
+ outputPrice: 1.5 / 1e6,
3018
+ requestPrice: 0,
3019
+ contextSize: 64e3,
3020
+ maxOutput: void 0,
3021
+ streaming: true,
3022
+ vision: false,
3023
+ tools: false
3024
+ }
3025
+ ],
3026
+ jsonOutput: false
3027
+ },
3028
+ {
3029
+ id: "deepseek-r1",
3030
+ name: "DeepSeek R1",
3031
+ family: "deepseek",
3032
+ deprecatedAt: void 0,
3033
+ deactivatedAt: void 0,
3034
+ providers: [
3035
+ {
3036
+ providerId: "deepseek",
3037
+ modelName: "deepseek-reasoner",
3038
+ inputPrice: 0.55 / 1e6,
3039
+ outputPrice: 2.19 / 1e6,
3040
+ requestPrice: 0,
3041
+ contextSize: 64e3,
3042
+ maxOutput: void 0,
3043
+ streaming: true,
3044
+ vision: false,
3045
+ tools: false
3046
+ }
3047
+ ],
3048
+ jsonOutput: false
3049
+ },
3050
+ {
3051
+ id: "deepseek-r1-0528",
3052
+ name: "DeepSeek R1 (0528)",
3053
+ family: "deepseek",
3054
+ deprecatedAt: void 0,
3055
+ deactivatedAt: void 0,
3056
+ providers: [
3057
+ {
3058
+ providerId: "cloudrift",
3059
+ modelName: "deepseek-ai/DeepSeek-R1-0528",
3060
+ inputPrice: 0.25 / 1e6,
3061
+ outputPrice: 1 / 1e6,
3062
+ requestPrice: 0,
3063
+ contextSize: 32770,
3064
+ maxOutput: void 0,
3065
+ streaming: true,
3066
+ vision: false,
3067
+ tools: false,
3068
+ stability: "unstable"
3069
+ },
3070
+ {
3071
+ providerId: "deepseek",
3072
+ modelName: "deepseek-reasoner",
3073
+ inputPrice: 0.55 / 1e6,
3074
+ outputPrice: 2.19 / 1e6,
3075
+ requestPrice: 0,
3076
+ contextSize: 64e3,
3077
+ maxOutput: void 0,
3078
+ streaming: true,
3079
+ vision: false,
3080
+ tools: false
3081
+ },
3082
+ {
3083
+ providerId: "nebius",
3084
+ modelName: "deepseek-ai/DeepSeek-R1-0528",
3085
+ inputPrice: 0.8 / 1e6,
3086
+ outputPrice: 2.4 / 1e6,
3087
+ requestPrice: 0,
3088
+ contextSize: 64e3,
3089
+ maxOutput: void 0,
3090
+ streaming: true,
3091
+ vision: false,
3092
+ tools: false,
3093
+ stability: "unstable"
3094
+ }
3095
+ ],
3096
+ jsonOutput: false
3097
+ },
3098
+ {
3099
+ id: "deepseek-r1-distill-llama-70b",
3100
+ name: "DeepSeek R1 Distill Llama 70B",
3101
+ family: "deepseek",
3102
+ deprecatedAt: void 0,
3103
+ deactivatedAt: void 0,
3104
+ stability: "beta",
3105
+ providers: [
3106
+ {
3107
+ providerId: "groq",
3108
+ modelName: "deepseek-r1-distill-llama-70b",
3109
+ inputPrice: 0.75 / 1e6,
3110
+ outputPrice: 0.99 / 1e6,
3111
+ requestPrice: 0,
3112
+ contextSize: 131072,
3113
+ maxOutput: void 0,
3114
+ streaming: true,
3115
+ vision: false,
3116
+ tools: true
3117
+ }
3118
+ ],
3119
+ jsonOutput: true
3120
+ },
3121
+ {
3122
+ id: "deepseek-v3.1",
3123
+ name: "DeepSeek V3.1",
3124
+ family: "deepseek",
3125
+ deprecatedAt: void 0,
3126
+ deactivatedAt: void 0,
3127
+ providers: [
3128
+ {
3129
+ providerId: "deepseek",
3130
+ modelName: "deepseek-chat",
3131
+ inputPrice: 0.56 / 1e6,
3132
+ outputPrice: 1.68 / 1e6,
3133
+ cachedInputPrice: 0.07 / 1e6,
3134
+ requestPrice: 0,
3135
+ contextSize: 128e3,
3136
+ maxOutput: void 0,
3137
+ streaming: true,
3138
+ vision: true,
3139
+ tools: true
3140
+ }
3141
+ ],
3142
+ jsonOutput: false
3143
+ }
3144
+ ];
3145
+
3146
+ // src/models/google.ts
3147
+ var googleModels = [
3148
+ {
3149
+ id: "gemini-2.5-pro",
3150
+ name: "Gemini 2.5 Pro",
3151
+ family: "google",
3152
+ deprecatedAt: void 0,
3153
+ deactivatedAt: void 0,
3154
+ providers: [
3155
+ {
3156
+ providerId: "google-ai-studio",
3157
+ modelName: "gemini-2.5-pro",
3158
+ inputPrice: 1.25 / 1e6,
3159
+ outputPrice: 10 / 1e6,
3160
+ requestPrice: 0,
3161
+ contextSize: 1e6,
3162
+ maxOutput: void 0,
3163
+ streaming: true,
3164
+ vision: true,
3165
+ tools: true
3166
+ }
3167
+ ]
3168
+ },
3169
+ {
3170
+ id: "gemini-2.5-pro-preview-05-06",
3171
+ name: "Gemini 2.5 Pro Preview (05-06)",
3172
+ family: "google",
3173
+ deprecatedAt: void 0,
3174
+ deactivatedAt: void 0,
3175
+ providers: [
3176
+ {
3177
+ providerId: "google-ai-studio",
3178
+ modelName: "gemini-2.5-pro-preview-05-06",
3179
+ inputPrice: 1.25 / 1e6,
3180
+ outputPrice: 10 / 1e6,
3181
+ requestPrice: 0,
3182
+ contextSize: 1e6,
3183
+ maxOutput: void 0,
3184
+ streaming: true,
3185
+ vision: true,
3186
+ tools: true
3187
+ }
3188
+ ]
3189
+ },
3190
+ {
3191
+ id: "gemini-2.5-pro-preview-06-05",
3192
+ name: "Gemini 2.5 Pro Preview (06-05)",
3193
+ family: "google",
3194
+ deprecatedAt: void 0,
3195
+ deactivatedAt: void 0,
3196
+ providers: [
3197
+ {
3198
+ providerId: "google-ai-studio",
3199
+ modelName: "gemini-2.5-pro-preview-06-05",
3200
+ inputPrice: 1.25 / 1e6,
3201
+ outputPrice: 10 / 1e6,
3202
+ requestPrice: 0,
3203
+ contextSize: 1e6,
3204
+ maxOutput: void 0,
3205
+ streaming: true,
3206
+ vision: true,
3207
+ tools: true
3208
+ }
3209
+ ]
3210
+ },
3211
+ {
3212
+ id: "gemini-2.5-flash-preview-04-17",
3213
+ name: "Gemini 2.5 Flash Preview (04-17)",
3214
+ family: "google",
3215
+ deprecatedAt: void 0,
3216
+ deactivatedAt: /* @__PURE__ */ new Date("2025-07-22"),
3217
+ providers: [
3218
+ {
3219
+ providerId: "google-ai-studio",
3220
+ modelName: "gemini-2.5-flash-preview-04-17",
3221
+ inputPrice: 0.15 / 1e6,
3222
+ outputPrice: 0.6 / 1e6,
3223
+ requestPrice: 0,
3224
+ contextSize: 1e6,
3225
+ maxOutput: void 0,
3226
+ streaming: true,
3227
+ vision: true,
3228
+ tools: true
3229
+ }
3230
+ ]
3231
+ },
3232
+ {
3233
+ id: "gemini-2.5-flash-preview-05-20",
3234
+ name: "Gemini 2.5 Flash Preview (05-20)",
3235
+ family: "google",
3236
+ deprecatedAt: void 0,
3237
+ deactivatedAt: void 0,
3238
+ providers: [
3239
+ {
3240
+ providerId: "google-ai-studio",
3241
+ modelName: "gemini-2.5-flash-preview-05-20",
3242
+ inputPrice: 0.15 / 1e6,
3243
+ outputPrice: 0.6 / 1e6,
3244
+ requestPrice: 0,
3245
+ contextSize: 1e6,
3246
+ maxOutput: void 0,
3247
+ streaming: true,
3248
+ vision: true,
3249
+ tools: true
3250
+ }
3251
+ ]
3252
+ },
3253
+ {
3254
+ id: "gemini-2.5-flash",
3255
+ name: "Gemini 2.5 Flash",
3256
+ family: "google",
3257
+ deprecatedAt: void 0,
3258
+ deactivatedAt: void 0,
3259
+ providers: [
3260
+ {
3261
+ providerId: "google-ai-studio",
3262
+ modelName: "gemini-2.5-flash",
3263
+ inputPrice: 0.15 / 1e6,
3264
+ outputPrice: 0.6 / 1e6,
3265
+ requestPrice: 0,
3266
+ contextSize: 1e6,
3267
+ maxOutput: void 0,
3268
+ streaming: true,
3269
+ vision: true,
3270
+ tools: true
3271
+ }
3272
+ ]
3273
+ },
3274
+ {
3275
+ id: "gemini-2.5-flash-image-preview",
3276
+ name: "Gemini 2.5 Flash Image Preview",
3277
+ aliases: ["nano banana"],
3278
+ family: "google",
3279
+ deprecatedAt: void 0,
3280
+ deactivatedAt: void 0,
3281
+ output: ["text", "image"],
3282
+ providers: [
3283
+ {
3284
+ providerId: "google-ai-studio",
3285
+ modelName: "gemini-2.5-flash-image-preview",
3286
+ inputPrice: 0.3 / 1e6,
3287
+ outputPrice: 30 / 1e6,
3288
+ requestPrice: 0,
3289
+ contextSize: 32800,
3290
+ maxOutput: 8200,
3291
+ streaming: true,
3292
+ vision: true,
3293
+ tools: false
3294
+ }
3295
+ ]
3296
+ },
3297
+ {
3298
+ id: "gemini-2.5-flash-preview-04-17-thinking",
3299
+ name: "Gemini 2.5 Flash Preview Thinking (04-17)",
3300
+ family: "google",
3301
+ deprecatedAt: void 0,
3302
+ deactivatedAt: /* @__PURE__ */ new Date("2025-07-22"),
3303
+ providers: [
3304
+ {
3305
+ providerId: "google-ai-studio",
3306
+ modelName: "gemini-2.5-flash-preview-04-17-thinking",
3307
+ inputPrice: 0.15 / 1e6,
3308
+ outputPrice: 0.6 / 1e6,
3309
+ requestPrice: 0,
3310
+ contextSize: 1e6,
3311
+ maxOutput: void 0,
3312
+ streaming: true,
3313
+ vision: true,
3314
+ tools: true
3315
+ }
3316
+ ]
3317
+ },
3318
+ {
3319
+ id: "gemini-1.5-pro",
3320
+ name: "Gemini 1.5 Pro",
3321
+ family: "google",
3322
+ deprecatedAt: void 0,
3323
+ deactivatedAt: void 0,
3324
+ providers: [
3325
+ {
3326
+ providerId: "google-ai-studio",
3327
+ modelName: "gemini-1.5-pro",
3328
+ inputPrice: 2.5 / 1e6,
3329
+ outputPrice: 10 / 1e6,
3330
+ requestPrice: 0,
3331
+ contextSize: 1e6,
3332
+ maxOutput: void 0,
3333
+ streaming: true,
3334
+ vision: false,
3335
+ tools: true
3336
+ }
3337
+ ]
3338
+ },
3339
+ {
3340
+ id: "gemini-1.5-flash",
3341
+ name: "Gemini 1.5 Flash",
3342
+ family: "google",
3343
+ deprecatedAt: void 0,
3344
+ deactivatedAt: void 0,
3345
+ providers: [
3346
+ {
3347
+ providerId: "google-ai-studio",
3348
+ modelName: "gemini-1.5-flash",
3349
+ inputPrice: 0.0375 / 1e6,
3350
+ outputPrice: 0.15 / 1e6,
3351
+ requestPrice: 0,
3352
+ contextSize: 1e6,
3353
+ maxOutput: void 0,
3354
+ streaming: true,
3355
+ vision: false,
3356
+ tools: true
3357
+ }
3358
+ ]
3359
+ },
3360
+ {
3361
+ id: "gemini-1.5-flash-8b",
3362
+ name: "Gemini 1.5 Flash 8B",
3363
+ family: "google",
3364
+ deprecatedAt: void 0,
3365
+ deactivatedAt: void 0,
3366
+ providers: [
3367
+ {
3368
+ providerId: "google-ai-studio",
3369
+ modelName: "gemini-1.5-flash-8b",
3370
+ inputPrice: 0.0375 / 1e6,
3371
+ outputPrice: 0.15 / 1e6,
3372
+ requestPrice: 0,
3373
+ contextSize: 1e6,
3374
+ maxOutput: void 0,
3375
+ streaming: true,
3376
+ vision: false,
3377
+ tools: true
3378
+ }
3379
+ ]
3380
+ },
3381
+ {
3382
+ id: "gemini-2.0-flash-lite",
3383
+ name: "Gemini 2.0 Flash Lite",
3384
+ family: "google",
3385
+ deprecatedAt: void 0,
3386
+ deactivatedAt: void 0,
3387
+ providers: [
3388
+ {
3389
+ providerId: "google-ai-studio",
3390
+ modelName: "gemini-2.0-flash-lite",
3391
+ inputPrice: 0.075 / 1e6,
3392
+ outputPrice: 0.3 / 1e6,
3393
+ requestPrice: 0,
3394
+ contextSize: 1e6,
3395
+ maxOutput: void 0,
3396
+ streaming: true,
3397
+ vision: false,
3398
+ tools: true
3399
+ }
3400
+ ]
3401
+ },
3402
+ {
3403
+ id: "gemini-2.0-flash",
3404
+ name: "Gemini 2.0 Flash",
3405
+ family: "google",
3406
+ deprecatedAt: void 0,
3407
+ deactivatedAt: void 0,
3408
+ providers: [
3409
+ {
3410
+ providerId: "google-ai-studio",
3411
+ modelName: "gemini-2.0-flash",
3412
+ inputPrice: 0.1 / 1e6,
3413
+ outputPrice: 0.4 / 1e6,
3414
+ requestPrice: 0,
3415
+ contextSize: 1e6,
3416
+ maxOutput: void 0,
3417
+ streaming: false,
3418
+ vision: false,
3419
+ tools: true
3420
+ }
3421
+ ]
3422
+ },
3423
+ {
3424
+ id: "gemma-3n-e2b-it",
3425
+ name: "Gemma 3n E2B IT",
3426
+ family: "google",
3427
+ deprecatedAt: void 0,
3428
+ deactivatedAt: void 0,
3429
+ providers: [
3430
+ {
3431
+ providerId: "google-ai-studio",
3432
+ modelName: "gemma-3n-e2b-it",
3433
+ inputPrice: 0.075 / 1e6,
3434
+ outputPrice: 0.3 / 1e6,
3435
+ requestPrice: 0,
3436
+ contextSize: 1e6,
3437
+ maxOutput: void 0,
3438
+ streaming: true,
3439
+ vision: false,
3440
+ tools: false
3441
+ }
3442
+ ]
3443
+ },
3444
+ {
3445
+ id: "gemma-3n-e4b-it",
3446
+ name: "Gemma 3n E4B IT",
3447
+ family: "google",
3448
+ deprecatedAt: void 0,
3449
+ deactivatedAt: void 0,
3450
+ providers: [
3451
+ {
3452
+ providerId: "google-ai-studio",
3453
+ modelName: "gemma-3n-e4b-it",
3454
+ inputPrice: 0.075 / 1e6,
3455
+ outputPrice: 0.3 / 1e6,
3456
+ requestPrice: 0,
3457
+ contextSize: 1e6,
3458
+ maxOutput: void 0,
3459
+ streaming: true,
3460
+ vision: false,
3461
+ tools: false
3462
+ }
3463
+ ]
3464
+ },
3465
+ {
3466
+ id: "gemma-3-1b-it",
3467
+ name: "Gemma 3 1B IT",
3468
+ family: "google",
3469
+ deprecatedAt: void 0,
3470
+ deactivatedAt: void 0,
3471
+ providers: [
3472
+ {
3473
+ providerId: "google-ai-studio",
3474
+ modelName: "gemma-3-1b-it",
3475
+ inputPrice: 0.075 / 1e6,
3476
+ outputPrice: 0.3 / 1e6,
3477
+ requestPrice: 0,
3478
+ contextSize: 1e6,
3479
+ maxOutput: void 0,
3480
+ streaming: true,
3481
+ vision: false,
3482
+ tools: false
3483
+ }
3484
+ ]
3485
+ },
3486
+ {
3487
+ id: "gemma-3-4b-it",
3488
+ name: "Gemma 3 4B IT",
3489
+ family: "google",
3490
+ deprecatedAt: void 0,
3491
+ deactivatedAt: void 0,
3492
+ providers: [
3493
+ {
3494
+ providerId: "google-ai-studio",
3495
+ modelName: "gemma-3-4b-it",
3496
+ inputPrice: 0.075 / 1e6,
3497
+ outputPrice: 0.3 / 1e6,
3498
+ requestPrice: 0,
3499
+ contextSize: 1e6,
3500
+ maxOutput: void 0,
3501
+ streaming: true,
3502
+ reasoning: false,
3503
+ vision: false,
3504
+ tools: false
3505
+ }
3506
+ ]
3507
+ },
3508
+ {
3509
+ id: "gemma-3-12b-it",
3510
+ name: "Gemma 3 12B IT",
3511
+ family: "google",
3512
+ deprecatedAt: void 0,
3513
+ deactivatedAt: void 0,
3514
+ providers: [
3515
+ {
3516
+ providerId: "google-ai-studio",
3517
+ modelName: "gemma-3-12b-it",
3518
+ inputPrice: 0.075 / 1e6,
3519
+ outputPrice: 0.3 / 1e6,
3520
+ requestPrice: 0,
3521
+ contextSize: 1e6,
3522
+ maxOutput: void 0,
3523
+ streaming: true,
3524
+ reasoning: false,
3525
+ vision: false,
3526
+ tools: false
3527
+ }
3528
+ ]
3529
+ },
3530
+ {
3531
+ id: "gemma2-9b-it",
3532
+ name: "Gemma2 9B IT",
3533
+ family: "google",
3534
+ deprecatedAt: void 0,
3535
+ deactivatedAt: void 0,
3536
+ providers: [
3537
+ {
3538
+ providerId: "groq",
3539
+ modelName: "gemma2-9b-it",
3540
+ inputPrice: 0.2 / 1e6,
3541
+ outputPrice: 0.2 / 1e6,
3542
+ requestPrice: 0,
3543
+ contextSize: 8129,
3544
+ maxOutput: void 0,
3545
+ streaming: true,
3546
+ vision: false,
3547
+ tools: true,
3548
+ stability: "unstable"
3549
+ }
3550
+ ],
3551
+ jsonOutput: true
3552
+ },
3553
+ {
3554
+ id: "gemma-3-27b",
3555
+ name: "Gemma 3 27B",
3556
+ family: "google",
3557
+ deprecatedAt: void 0,
3558
+ deactivatedAt: void 0,
3559
+ providers: [
3560
+ {
3561
+ providerId: "nebius",
3562
+ modelName: "google/gemma-3-27b-it",
3563
+ inputPrice: 0.27 / 1e6,
3564
+ outputPrice: 0.27 / 1e6,
3565
+ requestPrice: 0,
3566
+ contextSize: 128e3,
3567
+ maxOutput: void 0,
3568
+ streaming: true,
3569
+ vision: true,
3570
+ tools: false
3571
+ }
3572
+ ],
3573
+ jsonOutput: true
3574
+ },
3575
+ {
3576
+ id: "gemma-2-27b-it-together",
3577
+ name: "Gemma 2 27B IT",
3578
+ family: "google",
3579
+ deprecatedAt: void 0,
3580
+ deactivatedAt: void 0,
3581
+ providers: [
3582
+ {
3583
+ test: "skip",
3584
+ providerId: "together.ai",
3585
+ modelName: "google/gemma-2-27b-it",
3586
+ inputPrice: 0.08 / 1e6,
3587
+ outputPrice: 0.08 / 1e6,
3588
+ requestPrice: 0,
3589
+ contextSize: 8192,
3590
+ maxOutput: void 0,
3591
+ streaming: true,
3592
+ vision: false,
3593
+ tools: false
3594
+ }
3595
+ ],
3596
+ jsonOutput: true
3597
+ }
3598
+ ];
3599
+
3600
+ // src/models/llmgateway.ts
3601
+ var llmgatewayModels = [
3602
+ {
3603
+ id: "custom",
3604
+ // custom provider which expects base URL to be set
3605
+ name: "Custom Model",
3606
+ family: "llmgateway",
3607
+ deprecatedAt: void 0,
3608
+ deactivatedAt: void 0,
3609
+ providers: [
3610
+ {
3611
+ providerId: "llmgateway",
3612
+ modelName: "custom",
3613
+ inputPrice: void 0,
3614
+ outputPrice: void 0,
3615
+ requestPrice: void 0,
3616
+ contextSize: void 0,
3617
+ streaming: true,
3618
+ vision: true,
3619
+ tools: true,
3620
+ supportedParameters: [
3621
+ "temperature",
3622
+ "max_tokens",
3623
+ "top_p",
3624
+ "frequency_penalty",
3625
+ "presence_penalty"
3626
+ ]
3627
+ }
3628
+ ],
3629
+ jsonOutput: true
3630
+ },
3631
+ {
3632
+ id: "auto",
3633
+ // native automatic routing
3634
+ name: "Auto Route",
3635
+ family: "llmgateway",
3636
+ deprecatedAt: void 0,
3637
+ deactivatedAt: void 0,
3638
+ providers: [
3639
+ {
3640
+ providerId: "llmgateway",
3641
+ modelName: "auto",
3642
+ inputPrice: void 0,
3643
+ outputPrice: void 0,
3644
+ requestPrice: void 0,
3645
+ contextSize: void 0,
3646
+ streaming: true,
3647
+ vision: true,
3648
+ tools: true,
3649
+ supportedParameters: [
3650
+ "temperature",
3651
+ "max_tokens",
3652
+ "top_p",
3653
+ "frequency_penalty",
3654
+ "presence_penalty"
3655
+ ]
3656
+ }
3657
+ ],
3658
+ jsonOutput: true
3659
+ }
3660
+ ];
3661
+
3662
+ // src/models/meta.ts
3663
+ var metaModels = [
3664
+ {
3665
+ id: "llama-3.1-8b-instruct",
3666
+ name: "Llama 3.1 8B Instruct",
3667
+ family: "meta",
3668
+ deprecatedAt: void 0,
3669
+ deactivatedAt: void 0,
3670
+ providers: [
3671
+ {
3672
+ providerId: "nebius",
3673
+ modelName: "meta-llama/Meta-Llama-3.1-8B-Instruct",
3674
+ inputPrice: 0.02 / 1e6,
3675
+ outputPrice: 0.06 / 1e6,
3676
+ requestPrice: 0,
3677
+ contextSize: 128e3,
3678
+ maxOutput: void 0,
3679
+ streaming: true,
3680
+ vision: false,
3681
+ tools: false
3682
+ },
3683
+ {
3684
+ providerId: "inference.net",
3685
+ modelName: "meta-llama/llama-3.1-8b-instruct/fp-8",
3686
+ inputPrice: 0.07 / 1e6,
3687
+ outputPrice: 0.33 / 1e6,
3688
+ requestPrice: 0,
3689
+ contextSize: 128e3,
3690
+ maxOutput: void 0,
3691
+ streaming: true,
3692
+ vision: false,
3693
+ tools: false
3694
+ },
3695
+ {
3696
+ providerId: "together.ai",
3697
+ modelName: "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
3698
+ inputPrice: 0.06 / 1e6,
3699
+ outputPrice: 0.06 / 1e6,
3700
+ requestPrice: 0,
3701
+ contextSize: 128e3,
3702
+ maxOutput: void 0,
3703
+ streaming: true,
3704
+ vision: false,
3705
+ tools: true
3706
+ }
3707
+ ]
3708
+ },
3709
+ {
3710
+ id: "llama-3.1-70b-instruct-free",
3711
+ name: "Meta Llama 3.1 70B Instruct FP8 (Free)",
3712
+ family: "meta",
3713
+ free: true,
3714
+ deprecatedAt: void 0,
3715
+ deactivatedAt: void 0,
3716
+ providers: [
3717
+ {
3718
+ providerId: "cloudrift",
3719
+ modelName: "meta-llama/Meta-Llama-3.1-70B-Instruct-FP8",
3720
+ inputPrice: 0 / 1e6,
3721
+ outputPrice: 0 / 1e6,
3722
+ requestPrice: 0,
3723
+ contextSize: 16380,
3724
+ maxOutput: void 0,
3725
+ streaming: true,
3726
+ vision: false,
3727
+ tools: false
3728
+ }
3729
+ ]
3730
+ },
3731
+ {
3732
+ id: "llama-3.2-11b-instruct",
3733
+ name: "Llama 3.2 11B Instruct",
3734
+ family: "meta",
3735
+ deprecatedAt: void 0,
3736
+ deactivatedAt: void 0,
3737
+ providers: [
3738
+ {
3739
+ providerId: "inference.net",
3740
+ modelName: "meta-llama/llama-3.2-11b-instruct/fp-16",
3741
+ inputPrice: 0.07 / 1e6,
3742
+ outputPrice: 0.33 / 1e6,
3743
+ requestPrice: 0,
3744
+ contextSize: 128e3,
3745
+ maxOutput: void 0,
3746
+ streaming: true,
3747
+ vision: false,
3748
+ tools: false
3749
+ }
3750
+ ]
3751
+ },
3752
+ {
3753
+ id: "llama-3.1-nemotron-ultra-253b",
3754
+ name: "Llama 3.1 Nemotron Ultra 253B",
3755
+ family: "meta",
3756
+ deprecatedAt: void 0,
3757
+ deactivatedAt: void 0,
3758
+ providers: [
3759
+ {
3760
+ providerId: "nebius",
3761
+ modelName: "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1",
3762
+ inputPrice: 0.6 / 1e6,
3763
+ outputPrice: 1.8 / 1e6,
3764
+ requestPrice: 0,
3765
+ contextSize: 128e3,
3766
+ maxOutput: void 0,
3767
+ streaming: true,
3768
+ vision: false,
3769
+ tools: false
3770
+ }
3771
+ ],
3772
+ jsonOutput: true
3773
+ },
3774
+ {
3775
+ id: "llama-guard-4-12b",
3776
+ name: "Llama Guard 4 12B",
3777
+ family: "meta",
3778
+ deprecatedAt: void 0,
3779
+ deactivatedAt: void 0,
3780
+ providers: [
3781
+ {
3782
+ providerId: "groq",
3783
+ modelName: "meta-llama/llama-guard-4-12b",
3784
+ inputPrice: 0.2 / 1e6,
3785
+ outputPrice: 0.2 / 1e6,
3786
+ requestPrice: 0,
3787
+ contextSize: 131072,
3788
+ maxOutput: void 0,
3789
+ streaming: true,
3790
+ vision: false,
3791
+ tools: false
3792
+ }
3793
+ ],
3794
+ jsonOutput: true
3795
+ },
3796
+ {
3797
+ id: "llama-3.3-70b-instruct",
3798
+ name: "Llama 3.3 70B Instruct",
3799
+ family: "meta",
3800
+ deprecatedAt: void 0,
3801
+ deactivatedAt: void 0,
3802
+ providers: [
3803
+ {
3804
+ providerId: "nebius",
3805
+ modelName: "meta-llama/Llama-3.3-70B-Instruct",
3806
+ inputPrice: 0.13 / 1e6,
3807
+ outputPrice: 0.4 / 1e6,
3808
+ requestPrice: 0,
3809
+ contextSize: 128e3,
3810
+ maxOutput: void 0,
3811
+ streaming: true,
3812
+ vision: false,
3813
+ tools: true
3814
+ }
3815
+ ],
3816
+ jsonOutput: true
3817
+ },
3818
+ {
3819
+ id: "llama-3.1-405b-instruct",
3820
+ name: "Llama 3.1 405B Instruct",
3821
+ family: "meta",
3822
+ deprecatedAt: void 0,
3823
+ deactivatedAt: void 0,
3824
+ providers: [
3825
+ {
3826
+ providerId: "nebius",
3827
+ modelName: "meta-llama/Meta-Llama-3.1-405B-Instruct",
3828
+ inputPrice: 1 / 1e6,
3829
+ outputPrice: 3 / 1e6,
3830
+ requestPrice: 0,
3831
+ contextSize: 128e3,
3832
+ maxOutput: void 0,
3833
+ streaming: true,
3834
+ vision: false,
3835
+ tools: true
3836
+ }
3837
+ ],
3838
+ jsonOutput: true
3839
+ },
3840
+ // {
3841
+ // id: "llama-guard-3-8b",
3842
+ // name: "Llama Guard 3 8B",
3843
+ // family: "meta",
3844
+ // deprecatedAt: undefined,
3845
+ // deactivatedAt: undefined,
3846
+ // providers: [
3847
+ // {
3848
+ // providerId: "nebius",
3849
+ // test: "only",
3850
+ // modelName: "meta-llama/Llama-Guard-3-8B",
3851
+ // inputPrice: 0.02 / 1e6,
3852
+ // outputPrice: 0.06 / 1e6,
3853
+ // requestPrice: 0,
3854
+ // contextSize: 8192,
3855
+ // maxOutput: undefined,
3856
+ // streaming: true,
3857
+ // vision: false,
3858
+ // tools: false,
3859
+ // },
3860
+ // ],
3861
+ // jsonOutput: false,
3862
+ // },
3863
+ {
3864
+ id: "llama-4-scout",
3865
+ name: "Llama 4 Scout",
3866
+ family: "meta",
3867
+ deprecatedAt: void 0,
3868
+ deactivatedAt: void 0,
3869
+ providers: [
3870
+ {
3871
+ providerId: "together.ai",
3872
+ modelName: "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo",
3873
+ inputPrice: 0.18 / 1e6,
3874
+ outputPrice: 0.59 / 1e6,
3875
+ requestPrice: 0,
3876
+ contextSize: 32768,
3877
+ maxOutput: void 0,
3878
+ streaming: true,
3879
+ vision: false,
3880
+ tools: true
3881
+ }
3882
+ ],
3883
+ jsonOutput: true
3884
+ }
3885
+ ];
3886
+
3887
+ // src/models/microsoft.ts
3888
+ var microsoftModels = [];
3889
+
3890
+ // src/models/mistral.ts
3891
+ var mistralModels = [
3892
+ {
3893
+ id: "mistral-large-latest",
3894
+ name: "Mistral Large Latest",
3895
+ family: "mistral",
3896
+ deprecatedAt: void 0,
3897
+ deactivatedAt: void 0,
3898
+ providers: [
3899
+ {
3900
+ providerId: "mistral",
3901
+ modelName: "mistral-large-latest",
3902
+ inputPrice: 4e-6,
3903
+ outputPrice: 12e-6,
3904
+ requestPrice: 0,
3905
+ contextSize: 128e3,
3906
+ maxOutput: void 0,
3907
+ streaming: true,
3908
+ vision: false,
3909
+ tools: false
3910
+ }
3911
+ ],
3912
+ jsonOutput: false
3913
+ },
3914
+ {
3915
+ id: "mixtral-8x7b-instruct-together",
3916
+ name: "Mixtral 8x7B Instruct",
3917
+ family: "mistral",
3918
+ deprecatedAt: void 0,
3919
+ deactivatedAt: void 0,
3920
+ providers: [
3921
+ {
3922
+ providerId: "together.ai",
3923
+ modelName: "mistralai/mixtral-8x7b-instruct-v0.1",
3924
+ inputPrice: 0.06 / 1e6,
3925
+ outputPrice: 0.06 / 1e6,
3926
+ requestPrice: 0,
3927
+ contextSize: 32768,
3928
+ maxOutput: void 0,
3929
+ streaming: true,
3930
+ vision: false,
3931
+ tools: false
3932
+ }
3933
+ ],
3934
+ jsonOutput: true
3935
+ },
3936
+ {
3937
+ id: "mistral-7b-instruct-together",
3938
+ name: "Mistral 7B Instruct",
3939
+ family: "mistral",
3940
+ deprecatedAt: void 0,
3941
+ deactivatedAt: void 0,
3942
+ providers: [
3943
+ {
3944
+ providerId: "together.ai",
3945
+ modelName: "mistralai/mistral-7b-instruct-v0.1",
3946
+ inputPrice: 0.06 / 1e6,
3947
+ outputPrice: 0.06 / 1e6,
3948
+ requestPrice: 0,
3949
+ contextSize: 8192,
3950
+ maxOutput: void 0,
3951
+ streaming: true,
3952
+ vision: false,
3953
+ tools: false
3954
+ }
3955
+ ],
3956
+ jsonOutput: true
3957
+ },
3958
+ {
3959
+ id: "pixtral-large-latest",
3960
+ name: "Pixtral Large Latest",
3961
+ family: "mistral",
3962
+ deprecatedAt: void 0,
3963
+ deactivatedAt: void 0,
3964
+ providers: [
3965
+ {
3966
+ providerId: "mistral",
3967
+ modelName: "pixtral-large-latest",
3968
+ inputPrice: 4e-6,
3969
+ outputPrice: 12e-6,
3970
+ requestPrice: 0,
3971
+ contextSize: 128e3,
3972
+ maxOutput: void 0,
3973
+ streaming: true,
3974
+ vision: true,
3975
+ tools: false
3976
+ }
3977
+ ],
3978
+ jsonOutput: true
3979
+ }
3980
+ ];
3981
+
3982
+ // src/models/moonshot.ts
3983
+ var moonshotModels = [
3984
+ {
3985
+ id: "kimi-k2",
3986
+ name: "Kimi K2",
3987
+ family: "moonshot",
3988
+ deprecatedAt: void 0,
3989
+ deactivatedAt: void 0,
3990
+ providers: [
3991
+ {
3992
+ providerId: "groq",
3993
+ modelName: "moonshotai/kimi-k2-instruct",
3994
+ inputPrice: 1 / 1e6,
3995
+ cachedInputPrice: 0.5 / 1e6,
3996
+ outputPrice: 3 / 1e6,
3997
+ requestPrice: 0,
3998
+ contextSize: 131072,
3999
+ maxOutput: 16384,
4000
+ streaming: true,
4001
+ vision: false,
4002
+ tools: true
4003
+ },
4004
+ {
4005
+ providerId: "novita",
4006
+ modelName: "moonshotai/kimi-k2-instruct",
4007
+ inputPrice: 0.57 / 1e6,
4008
+ outputPrice: 2.3 / 1e6,
4009
+ requestPrice: 0,
4010
+ contextSize: 131072,
4011
+ maxOutput: 131072,
4012
+ streaming: true,
4013
+ vision: false,
4014
+ tools: true
4015
+ },
4016
+ {
4017
+ providerId: "moonshot",
4018
+ modelName: "kimi-k2-0711-preview",
4019
+ inputPrice: 0.6 / 1e6,
4020
+ outputPrice: 2.5 / 1e6,
4021
+ cachedInputPrice: 0.15 / 1e6,
4022
+ requestPrice: 0,
4023
+ contextSize: 128e3,
4024
+ maxOutput: 128e3,
4025
+ streaming: true,
4026
+ vision: false,
4027
+ tools: true
4028
+ },
4029
+ {
4030
+ providerId: "cloudrift",
4031
+ modelName: "moonshotai/Kimi-K2-Instruct",
4032
+ inputPrice: 0.3 / 1e6,
4033
+ outputPrice: 1.75 / 1e6,
4034
+ requestPrice: 0,
4035
+ contextSize: 131072,
4036
+ maxOutput: 131072,
4037
+ streaming: true,
4038
+ vision: false,
4039
+ tools: true,
4040
+ test: "skip"
4041
+ },
4042
+ {
4043
+ providerId: "nebius",
4044
+ modelName: "moonshotai/Kimi-K2-Instruct",
4045
+ inputPrice: 0.5 / 1e6,
4046
+ outputPrice: 2.4 / 1e6,
4047
+ requestPrice: 0,
4048
+ contextSize: 131072,
4049
+ maxOutput: 8192,
4050
+ streaming: true,
4051
+ vision: false,
4052
+ tools: true
4053
+ }
4054
+ ],
4055
+ jsonOutput: true
4056
+ }
4057
+ ];
4058
+
4059
+ // src/models/nousresearch.ts
4060
+ var nousresearchModels = [
4061
+ {
4062
+ id: "hermes-3-llama-405b",
4063
+ name: "Hermes 3 Llama 405B",
4064
+ family: "nousresearch",
4065
+ deprecatedAt: void 0,
4066
+ deactivatedAt: void 0,
4067
+ providers: [
4068
+ {
4069
+ providerId: "nebius",
4070
+ modelName: "NousResearch/Hermes-3-Llama-405B",
4071
+ inputPrice: 1 / 1e6,
4072
+ outputPrice: 3 / 1e6,
4073
+ requestPrice: 0,
4074
+ contextSize: 131072,
4075
+ maxOutput: void 0,
4076
+ streaming: true,
4077
+ vision: false,
4078
+ tools: false
4079
+ }
4080
+ ],
4081
+ jsonOutput: true
4082
+ }
4083
+ ];
4084
+
4085
+ // src/models/openai.ts
4086
+ var openaiModels = [
4087
+ {
4088
+ id: "gpt-4o-mini",
4089
+ name: "GPT-4o Mini",
4090
+ family: "openai",
4091
+ deprecatedAt: void 0,
4092
+ deactivatedAt: void 0,
4093
+ providers: [
4094
+ {
4095
+ providerId: "openai",
4096
+ modelName: "gpt-4o-mini",
4097
+ inputPrice: 0.15 / 1e6,
4098
+ outputPrice: 0.6 / 1e6,
4099
+ cachedInputPrice: 0.075 / 1e6,
4100
+ requestPrice: 0,
4101
+ contextSize: 128e3,
4102
+ maxOutput: 16384,
4103
+ streaming: true,
4104
+ vision: false,
4105
+ tools: true
4106
+ }
4107
+ ],
4108
+ jsonOutput: true
4109
+ },
4110
+ {
4111
+ id: "gpt-4",
4112
+ name: "GPT-4",
4113
+ family: "openai",
4114
+ deprecatedAt: void 0,
4115
+ deactivatedAt: void 0,
4116
+ providers: [
4117
+ {
4118
+ providerId: "openai",
4119
+ modelName: "gpt-4",
4120
+ inputPrice: 30 / 1e6,
4121
+ outputPrice: 60 / 1e6,
4122
+ requestPrice: 0,
4123
+ contextSize: 128e3,
4124
+ maxOutput: 8192,
4125
+ streaming: true,
4126
+ vision: false,
4127
+ tools: true,
4128
+ supportedParameters: [
4129
+ "temperature",
4130
+ "max_tokens",
4131
+ "top_p",
4132
+ "frequency_penalty",
4133
+ "presence_penalty",
4134
+ "response_format",
4135
+ "tools",
4136
+ "tool_choice"
4137
+ ]
4138
+ }
4139
+ ],
4140
+ jsonOutput: false
4141
+ },
4142
+ {
4143
+ id: "gpt-4o",
4144
+ name: "GPT-4o",
4145
+ family: "openai",
4146
+ deprecatedAt: void 0,
4147
+ deactivatedAt: void 0,
4148
+ providers: [
4149
+ {
4150
+ providerId: "openai",
4151
+ modelName: "gpt-4o",
4152
+ inputPrice: 2.5 / 1e6,
4153
+ outputPrice: 10 / 1e6,
4154
+ cachedInputPrice: 1.25 / 1e6,
4155
+ requestPrice: 0,
4156
+ imageInputPrice: 553e-5,
4157
+ contextSize: 128e3,
4158
+ maxOutput: 16384,
4159
+ streaming: true,
4160
+ vision: true,
4161
+ tools: true
4162
+ }
4163
+ ],
4164
+ jsonOutput: true
4165
+ },
4166
+ {
4167
+ id: "gpt-3.5-turbo",
4168
+ name: "GPT-3.5 Turbo",
4169
+ family: "openai",
4170
+ deprecatedAt: void 0,
4171
+ deactivatedAt: void 0,
4172
+ providers: [
4173
+ {
4174
+ providerId: "openai",
4175
+ modelName: "gpt-3.5-turbo",
4176
+ inputPrice: 0.5 / 1e6,
4177
+ outputPrice: 1.5 / 1e6,
4178
+ requestPrice: 0,
4179
+ contextSize: 16385,
4180
+ maxOutput: void 0,
4181
+ streaming: true,
4182
+ vision: false,
4183
+ tools: true
4184
+ }
4185
+ ],
4186
+ jsonOutput: true
4187
+ },
4188
+ {
4189
+ id: "gpt-4-turbo",
4190
+ name: "GPT-4 Turbo",
4191
+ family: "openai",
4192
+ deprecatedAt: void 0,
4193
+ deactivatedAt: void 0,
4194
+ providers: [
4195
+ {
4196
+ providerId: "openai",
4197
+ modelName: "gpt-4-turbo",
4198
+ inputPrice: 10 / 1e6,
4199
+ outputPrice: 30 / 1e6,
4200
+ requestPrice: 0,
4201
+ contextSize: 128e3,
4202
+ maxOutput: void 0,
4203
+ streaming: true,
4204
+ vision: true,
4205
+ tools: true
4206
+ }
4207
+ ],
4208
+ jsonOutput: true
4209
+ },
4210
+ {
4211
+ id: "gpt-4.1",
4212
+ name: "GPT-4.1",
4213
+ family: "openai",
4214
+ deprecatedAt: void 0,
4215
+ deactivatedAt: void 0,
4216
+ providers: [
4217
+ {
4218
+ providerId: "openai",
4219
+ modelName: "gpt-4.1",
4220
+ inputPrice: 2 / 1e6,
4221
+ outputPrice: 8 / 1e6,
4222
+ requestPrice: 0,
4223
+ contextSize: 1e6,
4224
+ maxOutput: void 0,
4225
+ streaming: true,
4226
+ vision: true,
4227
+ tools: true,
4228
+ parallelToolCalls: true
4229
+ }
4230
+ ],
4231
+ jsonOutput: true
4232
+ },
4233
+ {
4234
+ id: "o1",
4235
+ name: "o1",
4236
+ family: "openai",
4237
+ deprecatedAt: void 0,
4238
+ deactivatedAt: void 0,
4239
+ providers: [
4240
+ {
4241
+ providerId: "openai",
4242
+ modelName: "o1",
4243
+ inputPrice: 15 / 1e6,
4244
+ outputPrice: 60 / 1e6,
4245
+ requestPrice: 0,
4246
+ contextSize: 2e5,
4247
+ maxOutput: void 0,
4248
+ streaming: true,
4249
+ vision: true,
4250
+ reasoning: true,
4251
+ tools: false
4252
+ }
4253
+ ],
4254
+ jsonOutput: true
4255
+ },
4256
+ {
4257
+ id: "o1-mini",
4258
+ name: "o1 Mini",
4259
+ family: "openai",
4260
+ deprecatedAt: void 0,
4261
+ deactivatedAt: void 0,
4262
+ providers: [
4263
+ {
4264
+ providerId: "openai",
4265
+ modelName: "o1-mini",
4266
+ inputPrice: 1.1 / 1e6,
4267
+ outputPrice: 4.4 / 1e6,
4268
+ requestPrice: 0,
4269
+ contextSize: 128e3,
4270
+ maxOutput: void 0,
4271
+ streaming: false,
4272
+ vision: false,
4273
+ tools: false,
4274
+ reasoning: false,
4275
+ supportsResponsesApi: false
4276
+ }
4277
+ ],
4278
+ jsonOutput: true,
4279
+ supportsSystemRole: false
4280
+ },
4281
+ {
4282
+ id: "gpt-4.1-mini",
4283
+ name: "GPT-4.1 Mini",
4284
+ family: "openai",
4285
+ deprecatedAt: void 0,
4286
+ deactivatedAt: void 0,
4287
+ providers: [
4288
+ {
4289
+ providerId: "openai",
4290
+ modelName: "gpt-4.1-mini",
4291
+ inputPrice: 0.4 / 1e6,
4292
+ outputPrice: 1.6 / 1e6,
4293
+ requestPrice: 0,
4294
+ contextSize: 1e6,
4295
+ maxOutput: void 0,
4296
+ streaming: true,
4297
+ vision: true,
4298
+ tools: true,
4299
+ parallelToolCalls: true
4300
+ }
4301
+ ],
4302
+ jsonOutput: true
4303
+ },
4304
+ {
4305
+ id: "gpt-4.1-nano",
4306
+ name: "GPT-4.1 Nano",
4307
+ family: "openai",
4308
+ deprecatedAt: void 0,
4309
+ deactivatedAt: void 0,
4310
+ providers: [
4311
+ {
4312
+ providerId: "openai",
4313
+ modelName: "gpt-4.1-nano",
4314
+ inputPrice: 0.1 / 1e6,
4315
+ outputPrice: 0.4 / 1e6,
4316
+ requestPrice: 0,
4317
+ contextSize: 1e6,
4318
+ maxOutput: void 0,
4319
+ streaming: true,
4320
+ vision: true,
4321
+ tools: true,
4322
+ parallelToolCalls: true
4323
+ }
4324
+ ],
4325
+ jsonOutput: true
4326
+ },
4327
+ {
4328
+ id: "o3",
4329
+ name: "o3",
4330
+ family: "openai",
4331
+ deprecatedAt: void 0,
4332
+ deactivatedAt: void 0,
4333
+ providers: [
4334
+ {
4335
+ providerId: "openai",
4336
+ modelName: "o3",
4337
+ inputPrice: 2 / 1e6,
4338
+ outputPrice: 8 / 1e6,
4339
+ requestPrice: 0,
4340
+ contextSize: 2e5,
4341
+ maxOutput: void 0,
4342
+ streaming: false,
4343
+ vision: true,
4344
+ tools: false
4345
+ }
4346
+ ],
4347
+ jsonOutput: true
4348
+ },
4349
+ {
4350
+ id: "o3-mini",
4351
+ name: "o3 Mini",
4352
+ family: "openai",
4353
+ deprecatedAt: void 0,
4354
+ deactivatedAt: void 0,
4355
+ providers: [
4356
+ {
4357
+ providerId: "openai",
4358
+ modelName: "o3-mini",
4359
+ inputPrice: 1.1 / 1e6,
4360
+ outputPrice: 4.4 / 1e6,
4361
+ requestPrice: 0,
4362
+ contextSize: 2e5,
4363
+ maxOutput: void 0,
4364
+ streaming: true,
4365
+ vision: false,
4366
+ tools: false
4367
+ }
4368
+ ],
4369
+ jsonOutput: true
4370
+ },
4371
+ {
4372
+ id: "gpt-oss-120b",
4373
+ name: "GPT OSS 120B",
4374
+ family: "openai",
4375
+ deprecatedAt: void 0,
4376
+ deactivatedAt: void 0,
4377
+ providers: [
4378
+ {
4379
+ providerId: "groq",
4380
+ modelName: "openai/gpt-oss-120b",
4381
+ inputPrice: 0.15 / 1e6,
4382
+ outputPrice: 0.75 / 1e6,
4383
+ requestPrice: 0,
4384
+ contextSize: 131072,
4385
+ maxOutput: 32766,
4386
+ streaming: true,
4387
+ vision: false,
4388
+ tools: true,
4389
+ reasoning: true
4390
+ }
4391
+ ],
4392
+ jsonOutput: true
4393
+ },
4394
+ {
4395
+ id: "gpt-oss-20b",
4396
+ name: "GPT OSS 20B",
4397
+ family: "openai",
4398
+ deprecatedAt: void 0,
4399
+ deactivatedAt: void 0,
4400
+ providers: [
4401
+ {
4402
+ providerId: "groq",
4403
+ modelName: "openai/gpt-oss-20b",
4404
+ inputPrice: 0.1 / 1e6,
4405
+ outputPrice: 0.5 / 1e6,
4406
+ requestPrice: 0,
4407
+ contextSize: 131072,
4408
+ maxOutput: 32766,
4409
+ streaming: true,
4410
+ vision: false,
4411
+ tools: true,
4412
+ reasoning: true
4413
+ }
4414
+ ],
4415
+ jsonOutput: true
4416
+ },
4417
+ {
4418
+ id: "gpt-5",
4419
+ name: "GPT-5",
4420
+ family: "openai",
4421
+ deprecatedAt: void 0,
4422
+ deactivatedAt: void 0,
4423
+ providers: [
4424
+ {
4425
+ providerId: "openai",
4426
+ modelName: "gpt-5",
4427
+ inputPrice: 1.25 / 1e6,
4428
+ outputPrice: 10 / 1e6,
4429
+ cachedInputPrice: 0.125 / 1e6,
4430
+ requestPrice: 0,
4431
+ contextSize: 4e5,
4432
+ maxOutput: 128e3,
4433
+ reasoning: true,
4434
+ streaming: true,
4435
+ vision: true,
4436
+ tools: true,
4437
+ supportedParameters: [
4438
+ "temperature",
4439
+ "top_p",
4440
+ "frequency_penalty",
4441
+ "presence_penalty",
4442
+ "response_format",
4443
+ "tools",
4444
+ "tool_choice"
4445
+ ]
4446
+ }
4447
+ ],
4448
+ jsonOutput: true
4449
+ },
4450
+ {
4451
+ id: "gpt-5-mini",
4452
+ name: "GPT-5 Mini",
4453
+ family: "openai",
4454
+ deprecatedAt: void 0,
4455
+ deactivatedAt: void 0,
4456
+ providers: [
4457
+ {
4458
+ providerId: "openai",
4459
+ modelName: "gpt-5-mini",
4460
+ inputPrice: 0.25 / 1e6,
4461
+ outputPrice: 2 / 1e6,
4462
+ cachedInputPrice: 0.025 / 1e6,
4463
+ requestPrice: 0,
4464
+ contextSize: 4e5,
4465
+ maxOutput: 128e3,
4466
+ reasoning: true,
4467
+ streaming: true,
4468
+ vision: true,
4469
+ tools: true,
4470
+ supportedParameters: [
4471
+ "temperature",
4472
+ "top_p",
4473
+ "frequency_penalty",
4474
+ "presence_penalty",
4475
+ "response_format",
4476
+ "tools",
4477
+ "tool_choice"
4478
+ ]
4479
+ }
4480
+ ],
4481
+ jsonOutput: true
4482
+ },
4483
+ {
4484
+ id: "gpt-5-nano",
4485
+ name: "GPT-5 Nano",
4486
+ family: "openai",
4487
+ deprecatedAt: void 0,
4488
+ deactivatedAt: void 0,
4489
+ providers: [
4490
+ {
4491
+ providerId: "openai",
4492
+ modelName: "gpt-5-nano",
4493
+ inputPrice: 0.05 / 1e6,
4494
+ outputPrice: 0.4 / 1e6,
4495
+ cachedInputPrice: 5e-3 / 1e6,
4496
+ requestPrice: 0,
4497
+ contextSize: 4e5,
4498
+ maxOutput: 128e3,
4499
+ reasoning: true,
4500
+ streaming: true,
4501
+ vision: false,
4502
+ tools: true,
4503
+ supportedParameters: [
4504
+ "temperature",
4505
+ "top_p",
4506
+ "frequency_penalty",
4507
+ "presence_penalty",
4508
+ "response_format",
4509
+ "tools",
4510
+ "tool_choice"
4511
+ ]
4512
+ }
4513
+ ],
4514
+ jsonOutput: true
4515
+ },
4516
+ {
4517
+ id: "gpt-5-chat-latest",
4518
+ name: "GPT-5 Chat Latest",
4519
+ family: "openai",
4520
+ deprecatedAt: void 0,
4521
+ deactivatedAt: void 0,
4522
+ providers: [
4523
+ {
4524
+ providerId: "openai",
4525
+ modelName: "gpt-5-chat-latest",
4526
+ inputPrice: 1.25 / 1e6,
4527
+ outputPrice: 10 / 1e6,
4528
+ cachedInputPrice: 0.125 / 1e6,
4529
+ requestPrice: 0,
4530
+ contextSize: 4e5,
4531
+ maxOutput: 128e3,
4532
+ streaming: true,
4533
+ vision: true,
4534
+ tools: false,
4535
+ supportedParameters: [
4536
+ "temperature",
4537
+ "top_p",
4538
+ "frequency_penalty",
4539
+ "presence_penalty",
4540
+ "response_format"
4541
+ ]
4542
+ }
4543
+ ],
4544
+ jsonOutput: true
4545
+ }
4546
+ ];
4547
+
4548
+ // src/models/perplexity.ts
4549
+ var perplexityModels = [
4550
+ {
4551
+ id: "sonar-reasoning-pro",
4552
+ name: "Sonar Reasoning Pro",
4553
+ family: "perplexity",
4554
+ deprecatedAt: void 0,
4555
+ deactivatedAt: void 0,
4556
+ providers: [
4557
+ {
4558
+ providerId: "perplexity",
4559
+ modelName: "sonar-reasoning-pro",
4560
+ inputPrice: 3e-6,
4561
+ outputPrice: 1e-5,
4562
+ requestPrice: 0,
4563
+ imageInputPrice: 0,
4564
+ contextSize: 128e3,
4565
+ maxOutput: void 0,
4566
+ streaming: true,
4567
+ vision: false,
4568
+ tools: false,
4569
+ test: "skip"
4570
+ }
4571
+ ],
4572
+ jsonOutput: false
4573
+ },
4574
+ {
4575
+ id: "sonar-pro",
4576
+ name: "Sonar Pro",
4577
+ family: "perplexity",
4578
+ deprecatedAt: void 0,
4579
+ deactivatedAt: void 0,
4580
+ providers: [
4581
+ {
4582
+ providerId: "perplexity",
4583
+ modelName: "sonar-pro",
4584
+ inputPrice: 3e-6,
4585
+ outputPrice: 15e-6,
4586
+ requestPrice: 0,
4587
+ imageInputPrice: 0,
4588
+ contextSize: 2e5,
4589
+ maxOutput: void 0,
4590
+ streaming: true,
4591
+ vision: false,
4592
+ tools: false,
4593
+ test: "skip"
4594
+ }
4595
+ ],
4596
+ jsonOutput: false
4597
+ },
4598
+ {
4599
+ id: "sonar",
4600
+ name: "Sonar",
4601
+ family: "perplexity",
4602
+ deprecatedAt: void 0,
4603
+ deactivatedAt: void 0,
4604
+ providers: [
4605
+ {
4606
+ providerId: "perplexity",
4607
+ modelName: "sonar",
4608
+ inputPrice: 1e-6,
4609
+ outputPrice: 1e-6,
4610
+ requestPrice: 5 / 1e3,
4611
+ imageInputPrice: 0,
4612
+ contextSize: 13e4,
4613
+ maxOutput: void 0,
4614
+ streaming: true,
4615
+ vision: false,
4616
+ tools: false,
4617
+ test: "skip"
4618
+ }
4619
+ ],
4620
+ jsonOutput: false
4621
+ }
4622
+ ];
4623
+
4624
+ // src/models/routeway.ts
4625
+ var routewayModels = [
4626
+ {
4627
+ id: "deepseek-r1t2-chimera-free",
4628
+ name: "DeepSeek R1T2 Chimera (Free)",
4629
+ family: "deepseek",
4630
+ free: true,
4631
+ deprecatedAt: void 0,
4632
+ deactivatedAt: void 0,
4633
+ providers: [
4634
+ {
4635
+ providerId: "routeway",
4636
+ modelName: "deepseek-r1t2-chimera:free",
4637
+ inputPrice: 0 / 1e6,
4638
+ outputPrice: 0 / 1e6,
4639
+ requestPrice: 0,
4640
+ contextSize: 163840,
4641
+ maxOutput: void 0,
4642
+ streaming: true,
4643
+ vision: false,
4644
+ tools: false
4645
+ }
4646
+ ],
4647
+ jsonOutput: true
4648
+ },
4649
+ {
4650
+ id: "glm-4.5-air-free",
4651
+ name: "GLM-4.5 Air (Free)",
4652
+ family: "glm",
4653
+ free: true,
4654
+ deprecatedAt: void 0,
4655
+ deactivatedAt: void 0,
4656
+ providers: [
4657
+ {
4658
+ providerId: "routeway",
4659
+ modelName: "glm-4.5-air:free",
4660
+ inputPrice: 0 / 1e6,
4661
+ outputPrice: 0 / 1e6,
4662
+ requestPrice: 0,
4663
+ contextSize: 131072,
4664
+ maxOutput: void 0,
4665
+ streaming: true,
4666
+ vision: false,
4667
+ tools: false
4668
+ }
4669
+ ],
4670
+ jsonOutput: true
4671
+ },
4672
+ {
4673
+ id: "kimi-k2-free",
4674
+ name: "Kimi K2 (Free)",
4675
+ family: "kimi",
4676
+ free: true,
4677
+ deprecatedAt: void 0,
4678
+ deactivatedAt: void 0,
4679
+ providers: [
4680
+ {
4681
+ providerId: "routeway",
4682
+ modelName: "kimi-k2:free",
4683
+ inputPrice: 0 / 1e6,
4684
+ outputPrice: 0 / 1e6,
4685
+ requestPrice: 0,
4686
+ contextSize: 32768,
4687
+ maxOutput: void 0,
4688
+ streaming: true,
4689
+ vision: false,
4690
+ tools: false
4691
+ }
4692
+ ],
4693
+ jsonOutput: true
4694
+ },
4695
+ {
4696
+ id: "gpt-oss-20b-free",
4697
+ name: "GPT OSS 20B (Free)",
4698
+ family: "gpt-oss",
4699
+ free: true,
4700
+ deprecatedAt: void 0,
4701
+ deactivatedAt: void 0,
4702
+ providers: [
4703
+ {
4704
+ providerId: "routeway",
4705
+ modelName: "gpt-oss-20b:free",
4706
+ inputPrice: 0 / 1e6,
4707
+ outputPrice: 0 / 1e6,
4708
+ requestPrice: 0,
4709
+ contextSize: 131072,
4710
+ maxOutput: void 0,
4711
+ streaming: true,
4712
+ vision: false,
4713
+ tools: false
4714
+ }
4715
+ ],
4716
+ jsonOutput: true
4717
+ },
4718
+ {
4719
+ id: "gpt-4.1-free",
4720
+ name: "GPT-4.1 (Free)",
4721
+ family: "openai",
4722
+ free: true,
4723
+ deprecatedAt: void 0,
4724
+ deactivatedAt: void 0,
4725
+ providers: [
4726
+ {
4727
+ providerId: "routeway",
4728
+ modelName: "gpt-4.1:free",
4729
+ inputPrice: 0 / 1e6,
4730
+ outputPrice: 0 / 1e6,
4731
+ requestPrice: 0,
4732
+ contextSize: 1047576,
4733
+ maxOutput: void 0,
4734
+ streaming: true,
4735
+ vision: false,
4736
+ tools: false
4737
+ }
4738
+ ],
4739
+ jsonOutput: true
4740
+ },
4741
+ {
4742
+ id: "llama-3.3-70b-instruct-free",
4743
+ name: "Meta Llama 3.3 70B Instruct (Free)",
4744
+ family: "meta",
4745
+ free: true,
4746
+ deprecatedAt: void 0,
4747
+ deactivatedAt: void 0,
4748
+ providers: [
4749
+ {
4750
+ providerId: "routeway",
4751
+ modelName: "llama-3.3-70b-instruct:free",
4752
+ inputPrice: 0 / 1e6,
4753
+ outputPrice: 0 / 1e6,
4754
+ requestPrice: 0,
4755
+ contextSize: 131072,
4756
+ maxOutput: void 0,
4757
+ streaming: true,
4758
+ vision: false,
4759
+ tools: false
4760
+ }
4761
+ ],
4762
+ jsonOutput: true
4763
+ },
4764
+ {
4765
+ id: "llama-4-scout-free",
4766
+ name: "Meta Llama 4 Scout (Free)",
4767
+ family: "meta",
4768
+ free: true,
4769
+ deprecatedAt: void 0,
4770
+ deactivatedAt: void 0,
4771
+ providers: [
4772
+ {
4773
+ providerId: "routeway",
4774
+ modelName: "llama-4-scout:free",
4775
+ inputPrice: 0 / 1e6,
4776
+ outputPrice: 0 / 1e6,
4777
+ requestPrice: 0,
4778
+ contextSize: 1e6,
4779
+ maxOutput: void 0,
4780
+ streaming: true,
4781
+ vision: false,
4782
+ tools: false
4783
+ }
4784
+ ],
4785
+ jsonOutput: true
4786
+ },
4787
+ {
4788
+ id: "llama-4-maverick-free",
4789
+ name: "Meta Llama 4 Maverick (Free)",
4790
+ family: "meta",
4791
+ free: true,
4792
+ deprecatedAt: void 0,
4793
+ deactivatedAt: void 0,
4794
+ providers: [
4795
+ {
4796
+ providerId: "routeway",
4797
+ modelName: "llama-4-maverick:free",
4798
+ inputPrice: 0 / 1e6,
4799
+ outputPrice: 0 / 1e6,
4800
+ requestPrice: 0,
4801
+ contextSize: 1e6,
4802
+ maxOutput: void 0,
4803
+ streaming: true,
4804
+ vision: false,
4805
+ tools: false
4806
+ }
4807
+ ],
4808
+ jsonOutput: true
4809
+ },
4810
+ {
4811
+ id: "nemotron-nano-9b-v2",
4812
+ name: "Nemotron Nano 9B V2",
4813
+ family: "nvidia",
4814
+ free: true,
4815
+ deprecatedAt: void 0,
4816
+ deactivatedAt: void 0,
4817
+ providers: [
4818
+ {
4819
+ providerId: "routeway",
4820
+ modelName: "nemotron-nano-9b-v2:free",
4821
+ inputPrice: 0 / 1e6,
4822
+ outputPrice: 0 / 1e6,
4823
+ requestPrice: 0,
4824
+ contextSize: 128e3,
4825
+ maxOutput: void 0,
4826
+ streaming: true,
4827
+ vision: false,
4828
+ tools: false
4829
+ }
4830
+ ],
4831
+ jsonOutput: true
4832
+ }
4833
+ ];
4834
+
4835
+ // src/models/xai.ts
4836
+ var xaiModels = [
4837
+ {
4838
+ id: "grok-3",
4839
+ name: "Grok-3",
4840
+ family: "xai",
4841
+ deprecatedAt: void 0,
4842
+ deactivatedAt: void 0,
4843
+ providers: [
4844
+ {
4845
+ providerId: "xai",
4846
+ modelName: "grok-3",
4847
+ inputPrice: 3 / 1e6,
4848
+ outputPrice: 15 / 1e6,
4849
+ requestPrice: 0,
4850
+ contextSize: 131072,
4851
+ maxOutput: void 0,
4852
+ streaming: true,
4853
+ vision: false,
4854
+ tools: true
4855
+ }
4856
+ ],
4857
+ jsonOutput: true
4858
+ },
4859
+ {
4860
+ id: "grok-3-mini",
4861
+ name: "Grok-3 Mini",
4862
+ family: "xai",
4863
+ deprecatedAt: void 0,
4864
+ deactivatedAt: void 0,
4865
+ providers: [
4866
+ {
4867
+ providerId: "xai",
4868
+ modelName: "grok-3-mini",
4869
+ inputPrice: 0.3 / 1e6,
4870
+ outputPrice: 0.5 / 1e6,
4871
+ requestPrice: 0,
4872
+ contextSize: 131072,
4873
+ maxOutput: void 0,
4874
+ streaming: true,
4875
+ vision: false,
4876
+ tools: true
4877
+ }
4878
+ ],
4879
+ jsonOutput: true
4880
+ },
4881
+ {
4882
+ id: "grok-3-fast",
4883
+ name: "Grok-3 Fast",
4884
+ family: "xai",
4885
+ deprecatedAt: /* @__PURE__ */ new Date("2025-08-08"),
4886
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-15"),
4887
+ providers: [
4888
+ {
4889
+ providerId: "xai",
4890
+ modelName: "grok-3-fast",
4891
+ inputPrice: 5 / 1e6,
4892
+ outputPrice: 25 / 1e6,
4893
+ requestPrice: 0,
4894
+ contextSize: 131072,
4895
+ maxOutput: void 0,
4896
+ streaming: true,
4897
+ vision: false,
4898
+ tools: true
4899
+ }
4900
+ ],
4901
+ jsonOutput: true
4902
+ },
4903
+ {
4904
+ id: "grok-3-mini-fast",
4905
+ name: "Grok-3 Mini Fast",
4906
+ family: "xai",
4907
+ deprecatedAt: /* @__PURE__ */ new Date("2025-08-08"),
4908
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-15"),
4909
+ providers: [
4910
+ {
4911
+ providerId: "xai",
4912
+ modelName: "grok-3-mini-fast",
4913
+ inputPrice: 0.6 / 1e6,
4914
+ outputPrice: 4 / 1e6,
4915
+ requestPrice: 0,
4916
+ contextSize: 131072,
4917
+ maxOutput: void 0,
4918
+ streaming: true,
4919
+ vision: false,
4920
+ tools: true
4921
+ }
4922
+ ],
4923
+ jsonOutput: true
4924
+ },
4925
+ {
4926
+ id: "grok-2-1212",
4927
+ name: "Grok-2 (1212)",
4928
+ family: "xai",
4929
+ deprecatedAt: /* @__PURE__ */ new Date("2025-08-08"),
4930
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-15"),
4931
+ providers: [
4932
+ {
4933
+ providerId: "xai",
4934
+ modelName: "grok-2-1212",
4935
+ inputPrice: 2 / 1e6,
4936
+ outputPrice: 10 / 1e6,
4937
+ requestPrice: 0,
4938
+ contextSize: 131072,
4939
+ maxOutput: void 0,
4940
+ streaming: true,
4941
+ vision: false,
4942
+ tools: true
4943
+ }
4944
+ ],
4945
+ jsonOutput: true
4946
+ },
4947
+ {
4948
+ id: "grok-2-vision-1212",
4949
+ name: "Grok-2 Vision (1212)",
4950
+ family: "xai",
4951
+ deprecatedAt: /* @__PURE__ */ new Date("2025-08-08"),
4952
+ deactivatedAt: /* @__PURE__ */ new Date("2025-09-15"),
4953
+ providers: [
4954
+ {
4955
+ providerId: "xai",
4956
+ modelName: "grok-2-vision-1212",
4957
+ inputPrice: 2 / 1e6,
4958
+ outputPrice: 10 / 1e6,
4959
+ requestPrice: 0,
4960
+ imageInputPrice: 2 / 1e6,
4961
+ contextSize: 32768,
4962
+ maxOutput: void 0,
4963
+ streaming: true,
4964
+ vision: true,
4965
+ tools: true
4966
+ }
4967
+ ],
4968
+ jsonOutput: true
4969
+ },
4970
+ {
4971
+ id: "grok-4-0709",
4972
+ name: "Grok-4 (0709)",
4973
+ family: "xai",
4974
+ deprecatedAt: void 0,
4975
+ deactivatedAt: void 0,
4976
+ providers: [
4977
+ {
4978
+ providerId: "xai",
4979
+ modelName: "grok-4-0709",
4980
+ inputPrice: 3 / 1e6,
4981
+ outputPrice: 15 / 1e6,
4982
+ requestPrice: 0,
4983
+ imageInputPrice: void 0,
4984
+ contextSize: 256e3,
4985
+ maxOutput: 256e3,
4986
+ streaming: true,
4987
+ vision: false,
4988
+ tools: true
4989
+ }
4990
+ ],
4991
+ jsonOutput: true
4992
+ },
4993
+ {
4994
+ id: "grok-code-fast-1",
4995
+ name: "Grok Code Fast 1",
4996
+ family: "xai",
4997
+ deprecatedAt: void 0,
4998
+ deactivatedAt: void 0,
4999
+ providers: [
5000
+ {
5001
+ providerId: "xai",
5002
+ modelName: "grok-code-fast-1",
5003
+ inputPrice: 0.2 / 1e6,
5004
+ outputPrice: 1.5 / 1e6,
5005
+ requestPrice: 0,
5006
+ contextSize: 256e3,
5007
+ maxOutput: 1e4,
5008
+ streaming: true,
5009
+ vision: false,
5010
+ tools: true
5011
+ }
5012
+ ],
5013
+ jsonOutput: true
5014
+ }
5015
+ ];
5016
+
5017
+ // src/models/zai.ts
5018
+ var zaiModels = [
5019
+ {
5020
+ id: "glm-4.5",
5021
+ name: "GLM-4.5",
5022
+ family: "glm",
5023
+ deprecatedAt: void 0,
5024
+ deactivatedAt: void 0,
5025
+ providers: [
5026
+ {
5027
+ providerId: "zai",
5028
+ modelName: "glm-4.5",
5029
+ inputPrice: 0.6 / 1e6,
5030
+ outputPrice: 2.2 / 1e6,
5031
+ requestPrice: 0,
5032
+ contextSize: 128e3,
5033
+ maxOutput: void 0,
5034
+ streaming: true,
5035
+ reasoning: true,
5036
+ vision: false,
5037
+ tools: true
5038
+ }
5039
+ ],
5040
+ jsonOutput: true
5041
+ },
5042
+ {
5043
+ id: "glm-4.5v",
5044
+ name: "GLM-4.5V",
5045
+ family: "glm",
5046
+ deprecatedAt: void 0,
5047
+ deactivatedAt: void 0,
5048
+ providers: [
5049
+ {
5050
+ providerId: "zai",
5051
+ modelName: "glm-4.5v",
5052
+ inputPrice: 0.6 / 1e6,
5053
+ outputPrice: 1.8 / 1e6,
5054
+ requestPrice: 0,
5055
+ contextSize: 128e3,
5056
+ maxOutput: void 0,
5057
+ streaming: true,
5058
+ reasoning: true,
5059
+ reasoningOutput: "omit",
5060
+ vision: true,
5061
+ tools: true
5062
+ }
5063
+ ],
5064
+ jsonOutput: true
5065
+ },
5066
+ {
5067
+ id: "glm-4.5-air",
5068
+ name: "GLM-4.5 Air",
5069
+ family: "glm",
5070
+ deprecatedAt: void 0,
5071
+ deactivatedAt: void 0,
5072
+ providers: [
5073
+ {
5074
+ providerId: "zai",
5075
+ modelName: "glm-4.5-air",
5076
+ inputPrice: 0.2 / 1e6,
5077
+ outputPrice: 1.1 / 1e6,
5078
+ requestPrice: 0,
5079
+ contextSize: 128e3,
5080
+ maxOutput: void 0,
5081
+ streaming: true,
5082
+ reasoning: false,
5083
+ vision: false,
5084
+ tools: true
5085
+ }
5086
+ ],
5087
+ jsonOutput: true
5088
+ },
5089
+ {
5090
+ id: "glm-4.5-x",
5091
+ name: "GLM-4.5 X",
5092
+ family: "glm",
5093
+ deprecatedAt: void 0,
5094
+ deactivatedAt: void 0,
5095
+ providers: [
5096
+ {
5097
+ providerId: "zai",
5098
+ modelName: "glm-4.5-x",
5099
+ inputPrice: 2.2 / 1e6,
5100
+ outputPrice: 8.9 / 1e6,
5101
+ requestPrice: 0,
5102
+ contextSize: 128e3,
5103
+ maxOutput: void 0,
5104
+ streaming: true,
5105
+ reasoning: true,
5106
+ vision: false,
5107
+ tools: true
5108
+ }
5109
+ ],
5110
+ jsonOutput: true
5111
+ },
5112
+ {
5113
+ id: "glm-4.5-airx",
5114
+ name: "GLM-4.5 AirX",
5115
+ family: "glm",
5116
+ deprecatedAt: void 0,
5117
+ deactivatedAt: void 0,
5118
+ providers: [
5119
+ {
5120
+ providerId: "zai",
5121
+ modelName: "glm-4.5-airx",
5122
+ inputPrice: 1.1 / 1e6,
5123
+ outputPrice: 4.5 / 1e6,
5124
+ requestPrice: 0,
5125
+ contextSize: 128e3,
5126
+ maxOutput: void 0,
5127
+ streaming: true,
5128
+ reasoning: false,
5129
+ vision: false,
5130
+ tools: true
5131
+ }
5132
+ ],
5133
+ jsonOutput: true
5134
+ },
5135
+ {
5136
+ id: "glm-4.5-flash",
5137
+ name: "GLM-4.5 Flash",
5138
+ family: "glm",
5139
+ deprecatedAt: void 0,
5140
+ deactivatedAt: void 0,
5141
+ providers: [
5142
+ {
5143
+ providerId: "zai",
5144
+ modelName: "glm-4.5-flash",
5145
+ inputPrice: 0,
5146
+ outputPrice: 0,
5147
+ requestPrice: 0,
5148
+ contextSize: 128e3,
5149
+ maxOutput: void 0,
5150
+ streaming: true,
5151
+ reasoning: false,
5152
+ vision: false,
5153
+ tools: true
5154
+ }
5155
+ ],
5156
+ jsonOutput: true
5157
+ },
5158
+ {
5159
+ id: "glm-4-32b-0414-128k",
5160
+ name: "GLM-4 32B (0414-128k)",
5161
+ family: "glm",
5162
+ deprecatedAt: void 0,
5163
+ deactivatedAt: void 0,
5164
+ providers: [
5165
+ {
5166
+ providerId: "zai",
5167
+ modelName: "glm-4-32b-0414-128k",
5168
+ inputPrice: 0.1 / 1e6,
5169
+ outputPrice: 0.1 / 1e6,
5170
+ requestPrice: 0,
5171
+ contextSize: 128e3,
5172
+ maxOutput: void 0,
5173
+ streaming: true,
5174
+ reasoning: false,
5175
+ vision: false,
5176
+ tools: true
5177
+ }
5178
+ ],
5179
+ jsonOutput: true
5180
+ }
5181
+ ];
5182
+
5183
+ // src/models/index.ts
5184
+ var models = [
5185
+ ...llmgatewayModels,
5186
+ ...openaiModels,
5187
+ ...anthropicModels,
5188
+ ...googleModels,
5189
+ ...perplexityModels,
5190
+ ...xaiModels,
5191
+ ...metaModels,
5192
+ ...deepseekModels,
5193
+ ...mistralModels,
5194
+ ...microsoftModels,
5195
+ ...moonshotModels,
5196
+ ...alibabaModels,
5197
+ ...nousresearchModels,
5198
+ ...routewayModels,
5199
+ ...zaiModels
5200
+ ];
2116
5201
  export {
2117
5202
  LLMGatewayChatLanguageModel,
2118
- LLMGatewayCompletionLanguageModel
5203
+ LLMGatewayCompletionLanguageModel,
5204
+ models
2119
5205
  };
2120
5206
  //# sourceMappingURL=index.mjs.map