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