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