@llmgateway/ai-sdk-provider 2.0.1 → 2.1.1

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