@llmgateway/models 1.74.3 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/anthropic.d.ts +64 -14
- package/dist/models/anthropic.js +64 -14
- package/dist/models/anthropic.js.map +1 -1
- package/dist/models/minimax.d.ts +2 -2
- package/dist/models/minimax.js +2 -2
- package/dist/models/minimax.js.map +1 -1
- package/dist/models/xai.d.ts +12 -0
- package/dist/models/xai.js +12 -0
- package/dist/models/xai.js.map +1 -1
- package/dist/models.d.ts +84 -16
- package/dist/models.js.map +1 -1
- package/dist/providers.d.ts +1 -0
- package/dist/providers.js +1 -0
- package/dist/providers.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -7,12 +7,16 @@ export interface PricingTier {
|
|
|
7
7
|
inputPrice: number;
|
|
8
8
|
outputPrice: number;
|
|
9
9
|
cachedInputPrice?: number;
|
|
10
|
+
cacheWriteInputPrice?: number;
|
|
11
|
+
cacheWriteInputPrice1h?: number;
|
|
10
12
|
}
|
|
11
13
|
export interface ProviderRegion {
|
|
12
14
|
id: string;
|
|
13
15
|
inputPrice?: number;
|
|
14
16
|
outputPrice?: number;
|
|
15
17
|
cachedInputPrice?: number;
|
|
18
|
+
cacheWriteInputPrice?: number;
|
|
19
|
+
cacheWriteInputPrice1h?: number;
|
|
16
20
|
pricingTiers?: PricingTier[];
|
|
17
21
|
discount?: number;
|
|
18
22
|
requestPrice?: number;
|
|
@@ -29,6 +33,8 @@ export interface ProviderModelMapping {
|
|
|
29
33
|
outputPrice?: number;
|
|
30
34
|
imageOutputPrice?: number;
|
|
31
35
|
cachedInputPrice?: number;
|
|
36
|
+
cacheWriteInputPrice?: number;
|
|
37
|
+
cacheWriteInputPrice1h?: number;
|
|
32
38
|
minCacheableTokens?: number;
|
|
33
39
|
imageInputPrice?: number;
|
|
34
40
|
imageOutputTokensByResolution?: Record<string, number>;
|
|
@@ -1791,6 +1797,8 @@ export declare const models: [{
|
|
|
1791
1797
|
readonly inputPrice: number;
|
|
1792
1798
|
readonly outputPrice: number;
|
|
1793
1799
|
readonly cachedInputPrice: number;
|
|
1800
|
+
readonly cacheWriteInputPrice: number;
|
|
1801
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1794
1802
|
readonly minCacheableTokens: 1024;
|
|
1795
1803
|
readonly requestPrice: 0;
|
|
1796
1804
|
readonly contextSize: 200000;
|
|
@@ -1814,7 +1822,7 @@ export declare const models: [{
|
|
|
1814
1822
|
readonly cachedInputPrice: number;
|
|
1815
1823
|
readonly minCacheableTokens: 1024;
|
|
1816
1824
|
readonly requestPrice: 0;
|
|
1817
|
-
readonly discount: 0.
|
|
1825
|
+
readonly discount: 0.2;
|
|
1818
1826
|
readonly contextSize: 200000;
|
|
1819
1827
|
readonly maxOutput: 8192;
|
|
1820
1828
|
readonly reasoning: true;
|
|
@@ -1836,6 +1844,8 @@ export declare const models: [{
|
|
|
1836
1844
|
readonly inputPrice: number;
|
|
1837
1845
|
readonly outputPrice: number;
|
|
1838
1846
|
readonly cachedInputPrice: number;
|
|
1847
|
+
readonly cacheWriteInputPrice: number;
|
|
1848
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1839
1849
|
readonly minCacheableTokens: 2048;
|
|
1840
1850
|
readonly requestPrice: 0;
|
|
1841
1851
|
readonly contextSize: 200000;
|
|
@@ -1862,6 +1872,8 @@ export declare const models: [{
|
|
|
1862
1872
|
readonly inputPrice: number;
|
|
1863
1873
|
readonly outputPrice: number;
|
|
1864
1874
|
readonly cachedInputPrice: number;
|
|
1875
|
+
readonly cacheWriteInputPrice: number;
|
|
1876
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1865
1877
|
readonly minCacheableTokens: 1024;
|
|
1866
1878
|
readonly requestPrice: 0;
|
|
1867
1879
|
readonly contextSize: 200000;
|
|
@@ -1888,6 +1900,8 @@ export declare const models: [{
|
|
|
1888
1900
|
readonly inputPrice: number;
|
|
1889
1901
|
readonly outputPrice: number;
|
|
1890
1902
|
readonly cachedInputPrice: number;
|
|
1903
|
+
readonly cacheWriteInputPrice: number;
|
|
1904
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1891
1905
|
readonly minCacheableTokens: 1024;
|
|
1892
1906
|
readonly requestPrice: 0;
|
|
1893
1907
|
readonly contextSize: 200000;
|
|
@@ -1910,7 +1924,7 @@ export declare const models: [{
|
|
|
1910
1924
|
readonly cachedInputPrice: number;
|
|
1911
1925
|
readonly minCacheableTokens: 1024;
|
|
1912
1926
|
readonly requestPrice: 0;
|
|
1913
|
-
readonly discount: 0.
|
|
1927
|
+
readonly discount: 0.2;
|
|
1914
1928
|
readonly contextSize: 200000;
|
|
1915
1929
|
readonly maxOutput: 8192;
|
|
1916
1930
|
readonly streaming: true;
|
|
@@ -1951,6 +1965,8 @@ export declare const models: [{
|
|
|
1951
1965
|
readonly inputPrice: number;
|
|
1952
1966
|
readonly outputPrice: number;
|
|
1953
1967
|
readonly cachedInputPrice: number;
|
|
1968
|
+
readonly cacheWriteInputPrice: number;
|
|
1969
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1954
1970
|
readonly minCacheableTokens: 1024;
|
|
1955
1971
|
readonly requestPrice: 0;
|
|
1956
1972
|
readonly contextSize: 200000;
|
|
@@ -1972,7 +1988,7 @@ export declare const models: [{
|
|
|
1972
1988
|
readonly cachedInputPrice: number;
|
|
1973
1989
|
readonly minCacheableTokens: 1024;
|
|
1974
1990
|
readonly requestPrice: 0;
|
|
1975
|
-
readonly discount: 0.
|
|
1991
|
+
readonly discount: 0.2;
|
|
1976
1992
|
readonly contextSize: 200000;
|
|
1977
1993
|
readonly maxOutput: undefined;
|
|
1978
1994
|
readonly reasoning: true;
|
|
@@ -1995,6 +2011,8 @@ export declare const models: [{
|
|
|
1995
2011
|
readonly inputPrice: number;
|
|
1996
2012
|
readonly outputPrice: number;
|
|
1997
2013
|
readonly cachedInputPrice: number;
|
|
2014
|
+
readonly cacheWriteInputPrice: number;
|
|
2015
|
+
readonly cacheWriteInputPrice1h: number;
|
|
1998
2016
|
readonly minCacheableTokens: 1024;
|
|
1999
2017
|
readonly requestPrice: 0;
|
|
2000
2018
|
readonly contextSize: 200000;
|
|
@@ -2016,7 +2034,7 @@ export declare const models: [{
|
|
|
2016
2034
|
readonly cachedInputPrice: number;
|
|
2017
2035
|
readonly minCacheableTokens: 1024;
|
|
2018
2036
|
readonly requestPrice: 0;
|
|
2019
|
-
readonly discount: 0.
|
|
2037
|
+
readonly discount: 0.2;
|
|
2020
2038
|
readonly contextSize: 200000;
|
|
2021
2039
|
readonly maxOutput: 8192;
|
|
2022
2040
|
readonly reasoning: true;
|
|
@@ -2039,6 +2057,8 @@ export declare const models: [{
|
|
|
2039
2057
|
readonly inputPrice: number;
|
|
2040
2058
|
readonly outputPrice: number;
|
|
2041
2059
|
readonly cachedInputPrice: number;
|
|
2060
|
+
readonly cacheWriteInputPrice: number;
|
|
2061
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2042
2062
|
readonly minCacheableTokens: 1024;
|
|
2043
2063
|
readonly requestPrice: 0;
|
|
2044
2064
|
readonly contextSize: 200000;
|
|
@@ -2060,7 +2080,7 @@ export declare const models: [{
|
|
|
2060
2080
|
readonly cachedInputPrice: number;
|
|
2061
2081
|
readonly minCacheableTokens: 1024;
|
|
2062
2082
|
readonly requestPrice: 0;
|
|
2063
|
-
readonly discount: 0.
|
|
2083
|
+
readonly discount: 0.2;
|
|
2064
2084
|
readonly contextSize: 200000;
|
|
2065
2085
|
readonly maxOutput: 8192;
|
|
2066
2086
|
readonly reasoning: true;
|
|
@@ -2082,6 +2102,8 @@ export declare const models: [{
|
|
|
2082
2102
|
readonly inputPrice: number;
|
|
2083
2103
|
readonly outputPrice: number;
|
|
2084
2104
|
readonly cachedInputPrice: number;
|
|
2105
|
+
readonly cacheWriteInputPrice: number;
|
|
2106
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2085
2107
|
readonly minCacheableTokens: 2048;
|
|
2086
2108
|
readonly requestPrice: 0;
|
|
2087
2109
|
readonly contextSize: 200000;
|
|
@@ -2102,7 +2124,7 @@ export declare const models: [{
|
|
|
2102
2124
|
readonly cachedInputPrice: number;
|
|
2103
2125
|
readonly minCacheableTokens: 2048;
|
|
2104
2126
|
readonly requestPrice: 0;
|
|
2105
|
-
readonly discount: 0.
|
|
2127
|
+
readonly discount: 0.2;
|
|
2106
2128
|
readonly contextSize: 200000;
|
|
2107
2129
|
readonly maxOutput: 64000;
|
|
2108
2130
|
readonly reasoning: true;
|
|
@@ -2142,6 +2164,8 @@ export declare const models: [{
|
|
|
2142
2164
|
readonly inputPrice: number;
|
|
2143
2165
|
readonly outputPrice: number;
|
|
2144
2166
|
readonly cachedInputPrice: number;
|
|
2167
|
+
readonly cacheWriteInputPrice: number;
|
|
2168
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2145
2169
|
readonly minCacheableTokens: 4096;
|
|
2146
2170
|
readonly requestPrice: 0;
|
|
2147
2171
|
readonly contextSize: 200000;
|
|
@@ -2161,7 +2185,7 @@ export declare const models: [{
|
|
|
2161
2185
|
readonly cachedInputPrice: number;
|
|
2162
2186
|
readonly minCacheableTokens: 4096;
|
|
2163
2187
|
readonly requestPrice: 0;
|
|
2164
|
-
readonly discount: 0.
|
|
2188
|
+
readonly discount: 0.2;
|
|
2165
2189
|
readonly contextSize: 200000;
|
|
2166
2190
|
readonly maxOutput: 64000;
|
|
2167
2191
|
readonly streaming: true;
|
|
@@ -2182,6 +2206,8 @@ export declare const models: [{
|
|
|
2182
2206
|
readonly inputPrice: number;
|
|
2183
2207
|
readonly outputPrice: number;
|
|
2184
2208
|
readonly cachedInputPrice: number;
|
|
2209
|
+
readonly cacheWriteInputPrice: number;
|
|
2210
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2185
2211
|
readonly minCacheableTokens: 4096;
|
|
2186
2212
|
readonly requestPrice: 0;
|
|
2187
2213
|
readonly contextSize: 200000;
|
|
@@ -2201,7 +2227,7 @@ export declare const models: [{
|
|
|
2201
2227
|
readonly cachedInputPrice: number;
|
|
2202
2228
|
readonly minCacheableTokens: 4096;
|
|
2203
2229
|
readonly requestPrice: 0;
|
|
2204
|
-
readonly discount: 0.
|
|
2230
|
+
readonly discount: 0.2;
|
|
2205
2231
|
readonly contextSize: 200000;
|
|
2206
2232
|
readonly maxOutput: 64000;
|
|
2207
2233
|
readonly streaming: true;
|
|
@@ -2223,6 +2249,8 @@ export declare const models: [{
|
|
|
2223
2249
|
readonly inputPrice: number;
|
|
2224
2250
|
readonly outputPrice: number;
|
|
2225
2251
|
readonly cachedInputPrice: number;
|
|
2252
|
+
readonly cacheWriteInputPrice: number;
|
|
2253
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2226
2254
|
readonly minCacheableTokens: 1024;
|
|
2227
2255
|
readonly requestPrice: 0;
|
|
2228
2256
|
readonly contextSize: 200000;
|
|
@@ -2244,7 +2272,7 @@ export declare const models: [{
|
|
|
2244
2272
|
readonly cachedInputPrice: number;
|
|
2245
2273
|
readonly minCacheableTokens: 1024;
|
|
2246
2274
|
readonly requestPrice: 0;
|
|
2247
|
-
readonly discount: 0.
|
|
2275
|
+
readonly discount: 0.2;
|
|
2248
2276
|
readonly contextSize: 200000;
|
|
2249
2277
|
readonly maxOutput: undefined;
|
|
2250
2278
|
readonly reasoning: true;
|
|
@@ -2267,6 +2295,8 @@ export declare const models: [{
|
|
|
2267
2295
|
readonly inputPrice: number;
|
|
2268
2296
|
readonly outputPrice: number;
|
|
2269
2297
|
readonly cachedInputPrice: number;
|
|
2298
|
+
readonly cacheWriteInputPrice: number;
|
|
2299
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2270
2300
|
readonly minCacheableTokens: 1024;
|
|
2271
2301
|
readonly requestPrice: 0;
|
|
2272
2302
|
readonly contextSize: 200000;
|
|
@@ -2288,7 +2318,7 @@ export declare const models: [{
|
|
|
2288
2318
|
readonly cachedInputPrice: number;
|
|
2289
2319
|
readonly minCacheableTokens: 1024;
|
|
2290
2320
|
readonly requestPrice: 0;
|
|
2291
|
-
readonly discount: 0.
|
|
2321
|
+
readonly discount: 0.2;
|
|
2292
2322
|
readonly contextSize: 200000;
|
|
2293
2323
|
readonly maxOutput: 32000;
|
|
2294
2324
|
readonly streaming: true;
|
|
@@ -2312,6 +2342,8 @@ export declare const models: [{
|
|
|
2312
2342
|
readonly inputPrice: number;
|
|
2313
2343
|
readonly outputPrice: number;
|
|
2314
2344
|
readonly cachedInputPrice: number;
|
|
2345
|
+
readonly cacheWriteInputPrice: number;
|
|
2346
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2315
2347
|
readonly minCacheableTokens: 1024;
|
|
2316
2348
|
readonly requestPrice: 0;
|
|
2317
2349
|
readonly contextSize: 200000;
|
|
@@ -2334,6 +2366,8 @@ export declare const models: [{
|
|
|
2334
2366
|
readonly inputPrice: number;
|
|
2335
2367
|
readonly outputPrice: number;
|
|
2336
2368
|
readonly cachedInputPrice: number;
|
|
2369
|
+
readonly cacheWriteInputPrice: number;
|
|
2370
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2337
2371
|
readonly minCacheableTokens: 1024;
|
|
2338
2372
|
readonly requestPrice: 0;
|
|
2339
2373
|
readonly contextSize: 200000;
|
|
@@ -2357,6 +2391,8 @@ export declare const models: [{
|
|
|
2357
2391
|
readonly inputPrice: number;
|
|
2358
2392
|
readonly outputPrice: number;
|
|
2359
2393
|
readonly cachedInputPrice: number;
|
|
2394
|
+
readonly cacheWriteInputPrice: number;
|
|
2395
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2360
2396
|
readonly minCacheableTokens: 2048;
|
|
2361
2397
|
readonly requestPrice: 0;
|
|
2362
2398
|
readonly contextSize: 200000;
|
|
@@ -2379,7 +2415,7 @@ export declare const models: [{
|
|
|
2379
2415
|
readonly cachedInputPrice: number;
|
|
2380
2416
|
readonly minCacheableTokens: 2048;
|
|
2381
2417
|
readonly requestPrice: 0;
|
|
2382
|
-
readonly discount: 0.
|
|
2418
|
+
readonly discount: 0.2;
|
|
2383
2419
|
readonly contextSize: 200000;
|
|
2384
2420
|
readonly maxOutput: 8192;
|
|
2385
2421
|
readonly streaming: true;
|
|
@@ -2400,6 +2436,8 @@ export declare const models: [{
|
|
|
2400
2436
|
readonly inputPrice: number;
|
|
2401
2437
|
readonly outputPrice: number;
|
|
2402
2438
|
readonly cachedInputPrice: number;
|
|
2439
|
+
readonly cacheWriteInputPrice: number;
|
|
2440
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2403
2441
|
readonly minCacheableTokens: 1024;
|
|
2404
2442
|
readonly requestPrice: 0;
|
|
2405
2443
|
readonly contextSize: 200000;
|
|
@@ -2420,6 +2458,8 @@ export declare const models: [{
|
|
|
2420
2458
|
readonly inputPrice: number;
|
|
2421
2459
|
readonly outputPrice: number;
|
|
2422
2460
|
readonly cachedInputPrice: number;
|
|
2461
|
+
readonly cacheWriteInputPrice: number;
|
|
2462
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2423
2463
|
readonly minCacheableTokens: 1024;
|
|
2424
2464
|
readonly requestPrice: 0;
|
|
2425
2465
|
readonly contextSize: 200000;
|
|
@@ -2442,6 +2482,8 @@ export declare const models: [{
|
|
|
2442
2482
|
readonly inputPrice: number;
|
|
2443
2483
|
readonly outputPrice: number;
|
|
2444
2484
|
readonly cachedInputPrice: number;
|
|
2485
|
+
readonly cacheWriteInputPrice: number;
|
|
2486
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2445
2487
|
readonly minCacheableTokens: 1024;
|
|
2446
2488
|
readonly requestPrice: 0;
|
|
2447
2489
|
readonly contextSize: 200000;
|
|
@@ -2465,6 +2507,8 @@ export declare const models: [{
|
|
|
2465
2507
|
readonly inputPrice: number;
|
|
2466
2508
|
readonly outputPrice: number;
|
|
2467
2509
|
readonly cachedInputPrice: number;
|
|
2510
|
+
readonly cacheWriteInputPrice: number;
|
|
2511
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2468
2512
|
readonly minCacheableTokens: 4096;
|
|
2469
2513
|
readonly requestPrice: 0;
|
|
2470
2514
|
readonly contextSize: 200000;
|
|
@@ -2487,7 +2531,7 @@ export declare const models: [{
|
|
|
2487
2531
|
readonly cachedInputPrice: number;
|
|
2488
2532
|
readonly minCacheableTokens: 4096;
|
|
2489
2533
|
readonly requestPrice: 0;
|
|
2490
|
-
readonly discount: 0.
|
|
2534
|
+
readonly discount: 0.2;
|
|
2491
2535
|
readonly contextSize: 200000;
|
|
2492
2536
|
readonly maxOutput: 32000;
|
|
2493
2537
|
readonly reasoning: true;
|
|
@@ -2528,6 +2572,8 @@ export declare const models: [{
|
|
|
2528
2572
|
readonly inputPrice: number;
|
|
2529
2573
|
readonly outputPrice: number;
|
|
2530
2574
|
readonly cachedInputPrice: number;
|
|
2575
|
+
readonly cacheWriteInputPrice: number;
|
|
2576
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2531
2577
|
readonly minCacheableTokens: 4096;
|
|
2532
2578
|
readonly pricingTiers: [{
|
|
2533
2579
|
readonly name: "Up to 200K";
|
|
@@ -2535,12 +2581,16 @@ export declare const models: [{
|
|
|
2535
2581
|
readonly inputPrice: number;
|
|
2536
2582
|
readonly outputPrice: number;
|
|
2537
2583
|
readonly cachedInputPrice: number;
|
|
2584
|
+
readonly cacheWriteInputPrice: number;
|
|
2585
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2538
2586
|
}, {
|
|
2539
2587
|
readonly name: "Over 200K";
|
|
2540
2588
|
readonly upToTokens: number;
|
|
2541
2589
|
readonly inputPrice: number;
|
|
2542
2590
|
readonly outputPrice: number;
|
|
2543
2591
|
readonly cachedInputPrice: number;
|
|
2592
|
+
readonly cacheWriteInputPrice: number;
|
|
2593
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2544
2594
|
}];
|
|
2545
2595
|
readonly requestPrice: 0;
|
|
2546
2596
|
readonly contextSize: 1000000;
|
|
@@ -2563,7 +2613,7 @@ export declare const models: [{
|
|
|
2563
2613
|
readonly cachedInputPrice: number;
|
|
2564
2614
|
readonly minCacheableTokens: 4096;
|
|
2565
2615
|
readonly requestPrice: 0;
|
|
2566
|
-
readonly discount: 0.
|
|
2616
|
+
readonly discount: 0.2;
|
|
2567
2617
|
readonly contextSize: 1000000;
|
|
2568
2618
|
readonly maxOutput: 128000;
|
|
2569
2619
|
readonly reasoning: true;
|
|
@@ -2585,6 +2635,8 @@ export declare const models: [{
|
|
|
2585
2635
|
readonly inputPrice: number;
|
|
2586
2636
|
readonly outputPrice: number;
|
|
2587
2637
|
readonly cachedInputPrice: number;
|
|
2638
|
+
readonly cacheWriteInputPrice: number;
|
|
2639
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2588
2640
|
readonly minCacheableTokens: 4096;
|
|
2589
2641
|
readonly pricingTiers: [{
|
|
2590
2642
|
readonly name: "Up to 200K";
|
|
@@ -2592,12 +2644,16 @@ export declare const models: [{
|
|
|
2592
2644
|
readonly inputPrice: number;
|
|
2593
2645
|
readonly outputPrice: number;
|
|
2594
2646
|
readonly cachedInputPrice: number;
|
|
2647
|
+
readonly cacheWriteInputPrice: number;
|
|
2648
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2595
2649
|
}, {
|
|
2596
2650
|
readonly name: "Over 200K";
|
|
2597
2651
|
readonly upToTokens: number;
|
|
2598
2652
|
readonly inputPrice: number;
|
|
2599
2653
|
readonly outputPrice: number;
|
|
2600
2654
|
readonly cachedInputPrice: number;
|
|
2655
|
+
readonly cacheWriteInputPrice: number;
|
|
2656
|
+
readonly cacheWriteInputPrice1h: number;
|
|
2601
2657
|
}];
|
|
2602
2658
|
readonly requestPrice: 0;
|
|
2603
2659
|
readonly contextSize: 1000000;
|
|
@@ -2620,7 +2676,7 @@ export declare const models: [{
|
|
|
2620
2676
|
readonly cachedInputPrice: number;
|
|
2621
2677
|
readonly minCacheableTokens: 4096;
|
|
2622
2678
|
readonly requestPrice: 0;
|
|
2623
|
-
readonly discount: 0.
|
|
2679
|
+
readonly discount: 0.2;
|
|
2624
2680
|
readonly contextSize: 1000000;
|
|
2625
2681
|
readonly maxOutput: 128000;
|
|
2626
2682
|
readonly reasoning: true;
|
|
@@ -4266,6 +4322,7 @@ export declare const models: [{
|
|
|
4266
4322
|
readonly vision: false;
|
|
4267
4323
|
readonly tools: true;
|
|
4268
4324
|
readonly jsonOutput: true;
|
|
4325
|
+
readonly deactivatedAt: Date;
|
|
4269
4326
|
}];
|
|
4270
4327
|
}, {
|
|
4271
4328
|
readonly id: "grok-3-mini";
|
|
@@ -4386,6 +4443,7 @@ export declare const models: [{
|
|
|
4386
4443
|
readonly test: "skip";
|
|
4387
4444
|
readonly providerId: "xai";
|
|
4388
4445
|
readonly modelName: "grok-4-0709";
|
|
4446
|
+
readonly deactivatedAt: Date;
|
|
4389
4447
|
readonly inputPrice: number;
|
|
4390
4448
|
readonly outputPrice: number;
|
|
4391
4449
|
readonly pricingTiers: [{
|
|
@@ -4456,6 +4514,7 @@ export declare const models: [{
|
|
|
4456
4514
|
readonly providers: [{
|
|
4457
4515
|
readonly providerId: "xai";
|
|
4458
4516
|
readonly modelName: "grok-4-fast-reasoning";
|
|
4517
|
+
readonly deactivatedAt: Date;
|
|
4459
4518
|
readonly inputPrice: number;
|
|
4460
4519
|
readonly outputPrice: number;
|
|
4461
4520
|
readonly pricingTiers: [{
|
|
@@ -4492,6 +4551,7 @@ export declare const models: [{
|
|
|
4492
4551
|
readonly providers: [{
|
|
4493
4552
|
readonly providerId: "xai";
|
|
4494
4553
|
readonly modelName: "grok-4-fast-non-reasoning";
|
|
4554
|
+
readonly deactivatedAt: Date;
|
|
4495
4555
|
readonly inputPrice: number;
|
|
4496
4556
|
readonly outputPrice: number;
|
|
4497
4557
|
readonly pricingTiers: [{
|
|
@@ -4528,6 +4588,7 @@ export declare const models: [{
|
|
|
4528
4588
|
readonly test: "skip";
|
|
4529
4589
|
readonly providerId: "xai";
|
|
4530
4590
|
readonly modelName: "grok-code-fast-1";
|
|
4591
|
+
readonly deactivatedAt: Date;
|
|
4531
4592
|
readonly inputPrice: number;
|
|
4532
4593
|
readonly cachedInputPrice: number;
|
|
4533
4594
|
readonly outputPrice: number;
|
|
@@ -4549,6 +4610,7 @@ export declare const models: [{
|
|
|
4549
4610
|
readonly providers: [{
|
|
4550
4611
|
readonly providerId: "xai";
|
|
4551
4612
|
readonly modelName: "grok-4-1-fast-reasoning";
|
|
4613
|
+
readonly deactivatedAt: Date;
|
|
4552
4614
|
readonly inputPrice: number;
|
|
4553
4615
|
readonly outputPrice: number;
|
|
4554
4616
|
readonly pricingTiers: [{
|
|
@@ -4602,6 +4664,7 @@ export declare const models: [{
|
|
|
4602
4664
|
readonly providers: [{
|
|
4603
4665
|
readonly providerId: "xai";
|
|
4604
4666
|
readonly modelName: "grok-4-1-fast-non-reasoning";
|
|
4667
|
+
readonly deactivatedAt: Date;
|
|
4605
4668
|
readonly inputPrice: number;
|
|
4606
4669
|
readonly outputPrice: number;
|
|
4607
4670
|
readonly pricingTiers: [{
|
|
@@ -4652,6 +4715,7 @@ export declare const models: [{
|
|
|
4652
4715
|
readonly providers: [{
|
|
4653
4716
|
readonly providerId: "xai";
|
|
4654
4717
|
readonly modelName: "grok-4-fast-non-reasoning";
|
|
4718
|
+
readonly deactivatedAt: Date;
|
|
4655
4719
|
readonly inputPrice: number;
|
|
4656
4720
|
readonly outputPrice: number;
|
|
4657
4721
|
readonly pricingTiers: [{
|
|
@@ -4680,6 +4744,7 @@ export declare const models: [{
|
|
|
4680
4744
|
}, {
|
|
4681
4745
|
readonly providerId: "xai";
|
|
4682
4746
|
readonly modelName: "grok-4-fast-reasoning";
|
|
4747
|
+
readonly deactivatedAt: Date;
|
|
4683
4748
|
readonly inputPrice: number;
|
|
4684
4749
|
readonly outputPrice: number;
|
|
4685
4750
|
readonly pricingTiers: [{
|
|
@@ -4716,6 +4781,7 @@ export declare const models: [{
|
|
|
4716
4781
|
readonly providers: [{
|
|
4717
4782
|
readonly providerId: "xai";
|
|
4718
4783
|
readonly modelName: "grok-4-1-fast-non-reasoning";
|
|
4784
|
+
readonly deactivatedAt: Date;
|
|
4719
4785
|
readonly inputPrice: number;
|
|
4720
4786
|
readonly outputPrice: number;
|
|
4721
4787
|
readonly pricingTiers: [{
|
|
@@ -4759,6 +4825,7 @@ export declare const models: [{
|
|
|
4759
4825
|
}, {
|
|
4760
4826
|
readonly providerId: "xai";
|
|
4761
4827
|
readonly modelName: "grok-4-1-fast-reasoning";
|
|
4828
|
+
readonly deactivatedAt: Date;
|
|
4762
4829
|
readonly inputPrice: number;
|
|
4763
4830
|
readonly outputPrice: number;
|
|
4764
4831
|
readonly pricingTiers: [{
|
|
@@ -4955,6 +5022,7 @@ export declare const models: [{
|
|
|
4955
5022
|
readonly test: "skip";
|
|
4956
5023
|
readonly providerId: "xai";
|
|
4957
5024
|
readonly modelName: "grok-imagine-image-pro";
|
|
5025
|
+
readonly deactivatedAt: Date;
|
|
4958
5026
|
readonly inputPrice: 0;
|
|
4959
5027
|
readonly outputPrice: 0;
|
|
4960
5028
|
readonly requestPrice: 0.07;
|
|
@@ -5858,7 +5926,7 @@ export declare const models: [{
|
|
|
5858
5926
|
readonly reasoning: true;
|
|
5859
5927
|
readonly splitTaggedReasoning: true;
|
|
5860
5928
|
readonly vision: false;
|
|
5861
|
-
readonly tools:
|
|
5929
|
+
readonly tools: true;
|
|
5862
5930
|
readonly jsonOutput: false;
|
|
5863
5931
|
}, {
|
|
5864
5932
|
readonly providerId: "novita";
|
|
@@ -5908,7 +5976,7 @@ export declare const models: [{
|
|
|
5908
5976
|
readonly reasoning: true;
|
|
5909
5977
|
readonly splitTaggedReasoning: true;
|
|
5910
5978
|
readonly vision: false;
|
|
5911
|
-
readonly tools:
|
|
5979
|
+
readonly tools: true;
|
|
5912
5980
|
readonly jsonOutput: false;
|
|
5913
5981
|
}];
|
|
5914
5982
|
}, {
|
package/dist/models.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAsZ5C,MAAM,CAAC,MAAM,MAAM,GAAG;IACrB,GAAG,gBAAgB;IACnB,GAAG,YAAY;IACf,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,gBAAgB;IACnB,GAAG,SAAS;IACZ,GAAG,UAAU;IACb,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,aAAa;IAChB,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,kBAAkB;IACrB,GAAG,SAAS;CACyB,CAAC"}
|
package/dist/providers.d.ts
CHANGED
package/dist/providers.js
CHANGED
package/dist/providers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../src/providers.ts"],"names":[],"mappings":"AAqDA,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB;QACC,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,aAAa;QACnB,WAAW,EACV,6EAA6E;QAC9E,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,SA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I;QACb,YAAY,EAAE,IAAI;KAClB;IACD;QACC,EAAE,EAAE,MAAM;QACV,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,qDAAqD;QAClE,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,kBAAkB;aAC1B;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,kBAAkB;QAC3B,YAAY,EAAE,IAAI;KAClB;IACD;QACC,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,WAAW,EACV,gEAAgE;QACjE,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,sBAAsB;aAC9B;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,qBAAqB;QAC9B,YAAY,EAAE,IAAI;KAClB;IACD;QACC,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,kCAAkC;QAC/C,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,kBAAkB;aAC1B;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,cAAc;QACvB,YAAY,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../src/providers.ts"],"names":[],"mappings":"AAqDA,MAAM,CAAC,MAAM,SAAS,GAAG;IACxB;QACC,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,aAAa;QACnB,WAAW,EACV,6EAA6E;QAC9E,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,uBAAuB;QAChC,YAAY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AAE,IAAI;KAClB;IACD;QACC,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,WAAW,EACV,iFAAiF;QAClF,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,qBAAqB;aAC7B;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,oBAAoB;QAC7B,YAAY,EAAE,IAAI;KAClB;IACD;QACC,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,YAAY;QAClB,WAAW,EACV,+FAA+F;QAChG,GAAG,EAAE;YACJ,QAAQ,EAAE;gBACT,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,2BAA2B;QACpC,YAAY,EAAE,IAAI;KAClB;CACuC,CAAC;AAI1C,MAAM,UAAU,qBAAqB,CACpC,UAA+B;IAE/B,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,UAAU,CAAC,CAAC;AACnD,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export interface TextContent {
|
|
|
4
4
|
text: string;
|
|
5
5
|
cache_control?: {
|
|
6
6
|
type: "ephemeral";
|
|
7
|
+
ttl?: "5m" | "1h";
|
|
7
8
|
};
|
|
8
9
|
}
|
|
9
10
|
export interface ImageUrlContent {
|
|
@@ -207,6 +208,7 @@ export interface AnthropicSystemContent {
|
|
|
207
208
|
text: string;
|
|
208
209
|
cache_control?: {
|
|
209
210
|
type: "ephemeral";
|
|
211
|
+
ttl?: "5m" | "1h";
|
|
210
212
|
};
|
|
211
213
|
}
|
|
212
214
|
export interface AnthropicRequestBody extends BaseRequestBody {
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAkYA,MAAM,UAAU,aAAa,CAAC,OAAuB;IACpD,OAAO,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAChC,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,WAAW,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,cAAc,CAC7B,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC/B,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAClC,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,aAAa,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAC3B,IAA6C;IAE7C,OAAO,MAAM,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,eAAe,CAC9B,IAA6C;IAE7C,OAAO,MAAM,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,YAAY,CAC3B,IAA6C;IAE7C,OAAO,sBAAsB,IAAI,IAAI,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAC3B,WAAgC;IAEhC,OAAO,YAAY,IAAI,WAAW,CAAC;AACpC,CAAC"}
|