@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
|
@@ -11,6 +11,8 @@ export declare const anthropicModels: [{
|
|
|
11
11
|
readonly inputPrice: number;
|
|
12
12
|
readonly outputPrice: number;
|
|
13
13
|
readonly cachedInputPrice: number;
|
|
14
|
+
readonly cacheWriteInputPrice: number;
|
|
15
|
+
readonly cacheWriteInputPrice1h: number;
|
|
14
16
|
readonly minCacheableTokens: 1024;
|
|
15
17
|
readonly requestPrice: 0;
|
|
16
18
|
readonly contextSize: 200000;
|
|
@@ -34,7 +36,7 @@ export declare const anthropicModels: [{
|
|
|
34
36
|
readonly cachedInputPrice: number;
|
|
35
37
|
readonly minCacheableTokens: 1024;
|
|
36
38
|
readonly requestPrice: 0;
|
|
37
|
-
readonly discount: 0.
|
|
39
|
+
readonly discount: 0.2;
|
|
38
40
|
readonly contextSize: 200000;
|
|
39
41
|
readonly maxOutput: 8192;
|
|
40
42
|
readonly reasoning: true;
|
|
@@ -56,6 +58,8 @@ export declare const anthropicModels: [{
|
|
|
56
58
|
readonly inputPrice: number;
|
|
57
59
|
readonly outputPrice: number;
|
|
58
60
|
readonly cachedInputPrice: number;
|
|
61
|
+
readonly cacheWriteInputPrice: number;
|
|
62
|
+
readonly cacheWriteInputPrice1h: number;
|
|
59
63
|
readonly minCacheableTokens: 2048;
|
|
60
64
|
readonly requestPrice: 0;
|
|
61
65
|
readonly contextSize: 200000;
|
|
@@ -82,6 +86,8 @@ export declare const anthropicModels: [{
|
|
|
82
86
|
readonly inputPrice: number;
|
|
83
87
|
readonly outputPrice: number;
|
|
84
88
|
readonly cachedInputPrice: number;
|
|
89
|
+
readonly cacheWriteInputPrice: number;
|
|
90
|
+
readonly cacheWriteInputPrice1h: number;
|
|
85
91
|
readonly minCacheableTokens: 1024;
|
|
86
92
|
readonly requestPrice: 0;
|
|
87
93
|
readonly contextSize: 200000;
|
|
@@ -108,6 +114,8 @@ export declare const anthropicModels: [{
|
|
|
108
114
|
readonly inputPrice: number;
|
|
109
115
|
readonly outputPrice: number;
|
|
110
116
|
readonly cachedInputPrice: number;
|
|
117
|
+
readonly cacheWriteInputPrice: number;
|
|
118
|
+
readonly cacheWriteInputPrice1h: number;
|
|
111
119
|
readonly minCacheableTokens: 1024;
|
|
112
120
|
readonly requestPrice: 0;
|
|
113
121
|
readonly contextSize: 200000;
|
|
@@ -130,7 +138,7 @@ export declare const anthropicModels: [{
|
|
|
130
138
|
readonly cachedInputPrice: number;
|
|
131
139
|
readonly minCacheableTokens: 1024;
|
|
132
140
|
readonly requestPrice: 0;
|
|
133
|
-
readonly discount: 0.
|
|
141
|
+
readonly discount: 0.2;
|
|
134
142
|
readonly contextSize: 200000;
|
|
135
143
|
readonly maxOutput: 8192;
|
|
136
144
|
readonly streaming: true;
|
|
@@ -171,6 +179,8 @@ export declare const anthropicModels: [{
|
|
|
171
179
|
readonly inputPrice: number;
|
|
172
180
|
readonly outputPrice: number;
|
|
173
181
|
readonly cachedInputPrice: number;
|
|
182
|
+
readonly cacheWriteInputPrice: number;
|
|
183
|
+
readonly cacheWriteInputPrice1h: number;
|
|
174
184
|
readonly minCacheableTokens: 1024;
|
|
175
185
|
readonly requestPrice: 0;
|
|
176
186
|
readonly contextSize: 200000;
|
|
@@ -192,7 +202,7 @@ export declare const anthropicModels: [{
|
|
|
192
202
|
readonly cachedInputPrice: number;
|
|
193
203
|
readonly minCacheableTokens: 1024;
|
|
194
204
|
readonly requestPrice: 0;
|
|
195
|
-
readonly discount: 0.
|
|
205
|
+
readonly discount: 0.2;
|
|
196
206
|
readonly contextSize: 200000;
|
|
197
207
|
readonly maxOutput: undefined;
|
|
198
208
|
readonly reasoning: true;
|
|
@@ -215,6 +225,8 @@ export declare const anthropicModels: [{
|
|
|
215
225
|
readonly inputPrice: number;
|
|
216
226
|
readonly outputPrice: number;
|
|
217
227
|
readonly cachedInputPrice: number;
|
|
228
|
+
readonly cacheWriteInputPrice: number;
|
|
229
|
+
readonly cacheWriteInputPrice1h: number;
|
|
218
230
|
readonly minCacheableTokens: 1024;
|
|
219
231
|
readonly requestPrice: 0;
|
|
220
232
|
readonly contextSize: 200000;
|
|
@@ -236,7 +248,7 @@ export declare const anthropicModels: [{
|
|
|
236
248
|
readonly cachedInputPrice: number;
|
|
237
249
|
readonly minCacheableTokens: 1024;
|
|
238
250
|
readonly requestPrice: 0;
|
|
239
|
-
readonly discount: 0.
|
|
251
|
+
readonly discount: 0.2;
|
|
240
252
|
readonly contextSize: 200000;
|
|
241
253
|
readonly maxOutput: 8192;
|
|
242
254
|
readonly reasoning: true;
|
|
@@ -259,6 +271,8 @@ export declare const anthropicModels: [{
|
|
|
259
271
|
readonly inputPrice: number;
|
|
260
272
|
readonly outputPrice: number;
|
|
261
273
|
readonly cachedInputPrice: number;
|
|
274
|
+
readonly cacheWriteInputPrice: number;
|
|
275
|
+
readonly cacheWriteInputPrice1h: number;
|
|
262
276
|
readonly minCacheableTokens: 1024;
|
|
263
277
|
readonly requestPrice: 0;
|
|
264
278
|
readonly contextSize: 200000;
|
|
@@ -280,7 +294,7 @@ export declare const anthropicModels: [{
|
|
|
280
294
|
readonly cachedInputPrice: number;
|
|
281
295
|
readonly minCacheableTokens: 1024;
|
|
282
296
|
readonly requestPrice: 0;
|
|
283
|
-
readonly discount: 0.
|
|
297
|
+
readonly discount: 0.2;
|
|
284
298
|
readonly contextSize: 200000;
|
|
285
299
|
readonly maxOutput: 8192;
|
|
286
300
|
readonly reasoning: true;
|
|
@@ -302,6 +316,8 @@ export declare const anthropicModels: [{
|
|
|
302
316
|
readonly inputPrice: number;
|
|
303
317
|
readonly outputPrice: number;
|
|
304
318
|
readonly cachedInputPrice: number;
|
|
319
|
+
readonly cacheWriteInputPrice: number;
|
|
320
|
+
readonly cacheWriteInputPrice1h: number;
|
|
305
321
|
readonly minCacheableTokens: 2048;
|
|
306
322
|
readonly requestPrice: 0;
|
|
307
323
|
readonly contextSize: 200000;
|
|
@@ -322,7 +338,7 @@ export declare const anthropicModels: [{
|
|
|
322
338
|
readonly cachedInputPrice: number;
|
|
323
339
|
readonly minCacheableTokens: 2048;
|
|
324
340
|
readonly requestPrice: 0;
|
|
325
|
-
readonly discount: 0.
|
|
341
|
+
readonly discount: 0.2;
|
|
326
342
|
readonly contextSize: 200000;
|
|
327
343
|
readonly maxOutput: 64000;
|
|
328
344
|
readonly reasoning: true;
|
|
@@ -362,6 +378,8 @@ export declare const anthropicModels: [{
|
|
|
362
378
|
readonly inputPrice: number;
|
|
363
379
|
readonly outputPrice: number;
|
|
364
380
|
readonly cachedInputPrice: number;
|
|
381
|
+
readonly cacheWriteInputPrice: number;
|
|
382
|
+
readonly cacheWriteInputPrice1h: number;
|
|
365
383
|
readonly minCacheableTokens: 4096;
|
|
366
384
|
readonly requestPrice: 0;
|
|
367
385
|
readonly contextSize: 200000;
|
|
@@ -381,7 +399,7 @@ export declare const anthropicModels: [{
|
|
|
381
399
|
readonly cachedInputPrice: number;
|
|
382
400
|
readonly minCacheableTokens: 4096;
|
|
383
401
|
readonly requestPrice: 0;
|
|
384
|
-
readonly discount: 0.
|
|
402
|
+
readonly discount: 0.2;
|
|
385
403
|
readonly contextSize: 200000;
|
|
386
404
|
readonly maxOutput: 64000;
|
|
387
405
|
readonly streaming: true;
|
|
@@ -402,6 +420,8 @@ export declare const anthropicModels: [{
|
|
|
402
420
|
readonly inputPrice: number;
|
|
403
421
|
readonly outputPrice: number;
|
|
404
422
|
readonly cachedInputPrice: number;
|
|
423
|
+
readonly cacheWriteInputPrice: number;
|
|
424
|
+
readonly cacheWriteInputPrice1h: number;
|
|
405
425
|
readonly minCacheableTokens: 4096;
|
|
406
426
|
readonly requestPrice: 0;
|
|
407
427
|
readonly contextSize: 200000;
|
|
@@ -421,7 +441,7 @@ export declare const anthropicModels: [{
|
|
|
421
441
|
readonly cachedInputPrice: number;
|
|
422
442
|
readonly minCacheableTokens: 4096;
|
|
423
443
|
readonly requestPrice: 0;
|
|
424
|
-
readonly discount: 0.
|
|
444
|
+
readonly discount: 0.2;
|
|
425
445
|
readonly contextSize: 200000;
|
|
426
446
|
readonly maxOutput: 64000;
|
|
427
447
|
readonly streaming: true;
|
|
@@ -443,6 +463,8 @@ export declare const anthropicModels: [{
|
|
|
443
463
|
readonly inputPrice: number;
|
|
444
464
|
readonly outputPrice: number;
|
|
445
465
|
readonly cachedInputPrice: number;
|
|
466
|
+
readonly cacheWriteInputPrice: number;
|
|
467
|
+
readonly cacheWriteInputPrice1h: number;
|
|
446
468
|
readonly minCacheableTokens: 1024;
|
|
447
469
|
readonly requestPrice: 0;
|
|
448
470
|
readonly contextSize: 200000;
|
|
@@ -464,7 +486,7 @@ export declare const anthropicModels: [{
|
|
|
464
486
|
readonly cachedInputPrice: number;
|
|
465
487
|
readonly minCacheableTokens: 1024;
|
|
466
488
|
readonly requestPrice: 0;
|
|
467
|
-
readonly discount: 0.
|
|
489
|
+
readonly discount: 0.2;
|
|
468
490
|
readonly contextSize: 200000;
|
|
469
491
|
readonly maxOutput: undefined;
|
|
470
492
|
readonly reasoning: true;
|
|
@@ -487,6 +509,8 @@ export declare const anthropicModels: [{
|
|
|
487
509
|
readonly inputPrice: number;
|
|
488
510
|
readonly outputPrice: number;
|
|
489
511
|
readonly cachedInputPrice: number;
|
|
512
|
+
readonly cacheWriteInputPrice: number;
|
|
513
|
+
readonly cacheWriteInputPrice1h: number;
|
|
490
514
|
readonly minCacheableTokens: 1024;
|
|
491
515
|
readonly requestPrice: 0;
|
|
492
516
|
readonly contextSize: 200000;
|
|
@@ -508,7 +532,7 @@ export declare const anthropicModels: [{
|
|
|
508
532
|
readonly cachedInputPrice: number;
|
|
509
533
|
readonly minCacheableTokens: 1024;
|
|
510
534
|
readonly requestPrice: 0;
|
|
511
|
-
readonly discount: 0.
|
|
535
|
+
readonly discount: 0.2;
|
|
512
536
|
readonly contextSize: 200000;
|
|
513
537
|
readonly maxOutput: 32000;
|
|
514
538
|
readonly streaming: true;
|
|
@@ -532,6 +556,8 @@ export declare const anthropicModels: [{
|
|
|
532
556
|
readonly inputPrice: number;
|
|
533
557
|
readonly outputPrice: number;
|
|
534
558
|
readonly cachedInputPrice: number;
|
|
559
|
+
readonly cacheWriteInputPrice: number;
|
|
560
|
+
readonly cacheWriteInputPrice1h: number;
|
|
535
561
|
readonly minCacheableTokens: 1024;
|
|
536
562
|
readonly requestPrice: 0;
|
|
537
563
|
readonly contextSize: 200000;
|
|
@@ -554,6 +580,8 @@ export declare const anthropicModels: [{
|
|
|
554
580
|
readonly inputPrice: number;
|
|
555
581
|
readonly outputPrice: number;
|
|
556
582
|
readonly cachedInputPrice: number;
|
|
583
|
+
readonly cacheWriteInputPrice: number;
|
|
584
|
+
readonly cacheWriteInputPrice1h: number;
|
|
557
585
|
readonly minCacheableTokens: 1024;
|
|
558
586
|
readonly requestPrice: 0;
|
|
559
587
|
readonly contextSize: 200000;
|
|
@@ -577,6 +605,8 @@ export declare const anthropicModels: [{
|
|
|
577
605
|
readonly inputPrice: number;
|
|
578
606
|
readonly outputPrice: number;
|
|
579
607
|
readonly cachedInputPrice: number;
|
|
608
|
+
readonly cacheWriteInputPrice: number;
|
|
609
|
+
readonly cacheWriteInputPrice1h: number;
|
|
580
610
|
readonly minCacheableTokens: 2048;
|
|
581
611
|
readonly requestPrice: 0;
|
|
582
612
|
readonly contextSize: 200000;
|
|
@@ -599,7 +629,7 @@ export declare const anthropicModels: [{
|
|
|
599
629
|
readonly cachedInputPrice: number;
|
|
600
630
|
readonly minCacheableTokens: 2048;
|
|
601
631
|
readonly requestPrice: 0;
|
|
602
|
-
readonly discount: 0.
|
|
632
|
+
readonly discount: 0.2;
|
|
603
633
|
readonly contextSize: 200000;
|
|
604
634
|
readonly maxOutput: 8192;
|
|
605
635
|
readonly streaming: true;
|
|
@@ -620,6 +650,8 @@ export declare const anthropicModels: [{
|
|
|
620
650
|
readonly inputPrice: number;
|
|
621
651
|
readonly outputPrice: number;
|
|
622
652
|
readonly cachedInputPrice: number;
|
|
653
|
+
readonly cacheWriteInputPrice: number;
|
|
654
|
+
readonly cacheWriteInputPrice1h: number;
|
|
623
655
|
readonly minCacheableTokens: 1024;
|
|
624
656
|
readonly requestPrice: 0;
|
|
625
657
|
readonly contextSize: 200000;
|
|
@@ -640,6 +672,8 @@ export declare const anthropicModels: [{
|
|
|
640
672
|
readonly inputPrice: number;
|
|
641
673
|
readonly outputPrice: number;
|
|
642
674
|
readonly cachedInputPrice: number;
|
|
675
|
+
readonly cacheWriteInputPrice: number;
|
|
676
|
+
readonly cacheWriteInputPrice1h: number;
|
|
643
677
|
readonly minCacheableTokens: 1024;
|
|
644
678
|
readonly requestPrice: 0;
|
|
645
679
|
readonly contextSize: 200000;
|
|
@@ -662,6 +696,8 @@ export declare const anthropicModels: [{
|
|
|
662
696
|
readonly inputPrice: number;
|
|
663
697
|
readonly outputPrice: number;
|
|
664
698
|
readonly cachedInputPrice: number;
|
|
699
|
+
readonly cacheWriteInputPrice: number;
|
|
700
|
+
readonly cacheWriteInputPrice1h: number;
|
|
665
701
|
readonly minCacheableTokens: 1024;
|
|
666
702
|
readonly requestPrice: 0;
|
|
667
703
|
readonly contextSize: 200000;
|
|
@@ -685,6 +721,8 @@ export declare const anthropicModels: [{
|
|
|
685
721
|
readonly inputPrice: number;
|
|
686
722
|
readonly outputPrice: number;
|
|
687
723
|
readonly cachedInputPrice: number;
|
|
724
|
+
readonly cacheWriteInputPrice: number;
|
|
725
|
+
readonly cacheWriteInputPrice1h: number;
|
|
688
726
|
readonly minCacheableTokens: 4096;
|
|
689
727
|
readonly requestPrice: 0;
|
|
690
728
|
readonly contextSize: 200000;
|
|
@@ -707,7 +745,7 @@ export declare const anthropicModels: [{
|
|
|
707
745
|
readonly cachedInputPrice: number;
|
|
708
746
|
readonly minCacheableTokens: 4096;
|
|
709
747
|
readonly requestPrice: 0;
|
|
710
|
-
readonly discount: 0.
|
|
748
|
+
readonly discount: 0.2;
|
|
711
749
|
readonly contextSize: 200000;
|
|
712
750
|
readonly maxOutput: 32000;
|
|
713
751
|
readonly reasoning: true;
|
|
@@ -748,6 +786,8 @@ export declare const anthropicModels: [{
|
|
|
748
786
|
readonly inputPrice: number;
|
|
749
787
|
readonly outputPrice: number;
|
|
750
788
|
readonly cachedInputPrice: number;
|
|
789
|
+
readonly cacheWriteInputPrice: number;
|
|
790
|
+
readonly cacheWriteInputPrice1h: number;
|
|
751
791
|
readonly minCacheableTokens: 4096;
|
|
752
792
|
readonly pricingTiers: [{
|
|
753
793
|
readonly name: "Up to 200K";
|
|
@@ -755,12 +795,16 @@ export declare const anthropicModels: [{
|
|
|
755
795
|
readonly inputPrice: number;
|
|
756
796
|
readonly outputPrice: number;
|
|
757
797
|
readonly cachedInputPrice: number;
|
|
798
|
+
readonly cacheWriteInputPrice: number;
|
|
799
|
+
readonly cacheWriteInputPrice1h: number;
|
|
758
800
|
}, {
|
|
759
801
|
readonly name: "Over 200K";
|
|
760
802
|
readonly upToTokens: number;
|
|
761
803
|
readonly inputPrice: number;
|
|
762
804
|
readonly outputPrice: number;
|
|
763
805
|
readonly cachedInputPrice: number;
|
|
806
|
+
readonly cacheWriteInputPrice: number;
|
|
807
|
+
readonly cacheWriteInputPrice1h: number;
|
|
764
808
|
}];
|
|
765
809
|
readonly requestPrice: 0;
|
|
766
810
|
readonly contextSize: 1000000;
|
|
@@ -783,7 +827,7 @@ export declare const anthropicModels: [{
|
|
|
783
827
|
readonly cachedInputPrice: number;
|
|
784
828
|
readonly minCacheableTokens: 4096;
|
|
785
829
|
readonly requestPrice: 0;
|
|
786
|
-
readonly discount: 0.
|
|
830
|
+
readonly discount: 0.2;
|
|
787
831
|
readonly contextSize: 1000000;
|
|
788
832
|
readonly maxOutput: 128000;
|
|
789
833
|
readonly reasoning: true;
|
|
@@ -805,6 +849,8 @@ export declare const anthropicModels: [{
|
|
|
805
849
|
readonly inputPrice: number;
|
|
806
850
|
readonly outputPrice: number;
|
|
807
851
|
readonly cachedInputPrice: number;
|
|
852
|
+
readonly cacheWriteInputPrice: number;
|
|
853
|
+
readonly cacheWriteInputPrice1h: number;
|
|
808
854
|
readonly minCacheableTokens: 4096;
|
|
809
855
|
readonly pricingTiers: [{
|
|
810
856
|
readonly name: "Up to 200K";
|
|
@@ -812,12 +858,16 @@ export declare const anthropicModels: [{
|
|
|
812
858
|
readonly inputPrice: number;
|
|
813
859
|
readonly outputPrice: number;
|
|
814
860
|
readonly cachedInputPrice: number;
|
|
861
|
+
readonly cacheWriteInputPrice: number;
|
|
862
|
+
readonly cacheWriteInputPrice1h: number;
|
|
815
863
|
}, {
|
|
816
864
|
readonly name: "Over 200K";
|
|
817
865
|
readonly upToTokens: number;
|
|
818
866
|
readonly inputPrice: number;
|
|
819
867
|
readonly outputPrice: number;
|
|
820
868
|
readonly cachedInputPrice: number;
|
|
869
|
+
readonly cacheWriteInputPrice: number;
|
|
870
|
+
readonly cacheWriteInputPrice1h: number;
|
|
821
871
|
}];
|
|
822
872
|
readonly requestPrice: 0;
|
|
823
873
|
readonly contextSize: 1000000;
|
|
@@ -840,7 +890,7 @@ export declare const anthropicModels: [{
|
|
|
840
890
|
readonly cachedInputPrice: number;
|
|
841
891
|
readonly minCacheableTokens: 4096;
|
|
842
892
|
readonly requestPrice: 0;
|
|
843
|
-
readonly discount: 0.
|
|
893
|
+
readonly discount: 0.2;
|
|
844
894
|
readonly contextSize: 1000000;
|
|
845
895
|
readonly maxOutput: 128000;
|
|
846
896
|
readonly reasoning: true;
|
package/dist/models/anthropic.js
CHANGED
|
@@ -13,6 +13,8 @@ export const anthropicModels = [
|
|
|
13
13
|
inputPrice: 3.0 / 1e6,
|
|
14
14
|
outputPrice: 15.0 / 1e6,
|
|
15
15
|
cachedInputPrice: 0.3 / 1e6,
|
|
16
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
17
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
16
18
|
minCacheableTokens: 1024,
|
|
17
19
|
requestPrice: 0,
|
|
18
20
|
contextSize: 200000,
|
|
@@ -37,7 +39,7 @@ export const anthropicModels = [
|
|
|
37
39
|
cachedInputPrice: 0.3 / 1e6,
|
|
38
40
|
minCacheableTokens: 1024,
|
|
39
41
|
requestPrice: 0,
|
|
40
|
-
discount: 0.
|
|
42
|
+
discount: 0.2,
|
|
41
43
|
contextSize: 200000,
|
|
42
44
|
maxOutput: 8192,
|
|
43
45
|
reasoning: true,
|
|
@@ -62,6 +64,8 @@ export const anthropicModels = [
|
|
|
62
64
|
inputPrice: 0.8 / 1e6,
|
|
63
65
|
outputPrice: 4.0 / 1e6,
|
|
64
66
|
cachedInputPrice: 0.08 / 1e6,
|
|
67
|
+
cacheWriteInputPrice: 1.0 / 1e6,
|
|
68
|
+
cacheWriteInputPrice1h: 1.6 / 1e6,
|
|
65
69
|
minCacheableTokens: 2048,
|
|
66
70
|
requestPrice: 0,
|
|
67
71
|
contextSize: 200000,
|
|
@@ -91,6 +95,8 @@ export const anthropicModels = [
|
|
|
91
95
|
inputPrice: 3.0 / 1e6,
|
|
92
96
|
outputPrice: 15.0 / 1e6,
|
|
93
97
|
cachedInputPrice: 0.3 / 1e6,
|
|
98
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
99
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
94
100
|
minCacheableTokens: 1024,
|
|
95
101
|
requestPrice: 0,
|
|
96
102
|
contextSize: 200000,
|
|
@@ -120,6 +126,8 @@ export const anthropicModels = [
|
|
|
120
126
|
inputPrice: 3.0 / 1e6,
|
|
121
127
|
outputPrice: 15.0 / 1e6,
|
|
122
128
|
cachedInputPrice: 0.3 / 1e6,
|
|
129
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
130
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
123
131
|
minCacheableTokens: 1024,
|
|
124
132
|
requestPrice: 0,
|
|
125
133
|
contextSize: 200000,
|
|
@@ -143,7 +151,7 @@ export const anthropicModels = [
|
|
|
143
151
|
cachedInputPrice: 0.3 / 1e6,
|
|
144
152
|
minCacheableTokens: 1024,
|
|
145
153
|
requestPrice: 0,
|
|
146
|
-
discount: 0.
|
|
154
|
+
discount: 0.2,
|
|
147
155
|
contextSize: 200000,
|
|
148
156
|
maxOutput: 8192,
|
|
149
157
|
streaming: true,
|
|
@@ -190,6 +198,8 @@ export const anthropicModels = [
|
|
|
190
198
|
inputPrice: 3.0 / 1e6,
|
|
191
199
|
outputPrice: 15.0 / 1e6,
|
|
192
200
|
cachedInputPrice: 0.3 / 1e6,
|
|
201
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
202
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
193
203
|
minCacheableTokens: 1024,
|
|
194
204
|
requestPrice: 0,
|
|
195
205
|
contextSize: 200000,
|
|
@@ -212,7 +222,7 @@ export const anthropicModels = [
|
|
|
212
222
|
cachedInputPrice: 0.3 / 1e6,
|
|
213
223
|
minCacheableTokens: 1024,
|
|
214
224
|
requestPrice: 0,
|
|
215
|
-
discount: 0.
|
|
225
|
+
discount: 0.2,
|
|
216
226
|
contextSize: 200000,
|
|
217
227
|
maxOutput: undefined,
|
|
218
228
|
reasoning: true,
|
|
@@ -238,6 +248,8 @@ export const anthropicModels = [
|
|
|
238
248
|
inputPrice: 3.0 / 1e6,
|
|
239
249
|
outputPrice: 15.0 / 1e6,
|
|
240
250
|
cachedInputPrice: 0.3 / 1e6,
|
|
251
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
252
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
241
253
|
minCacheableTokens: 1024,
|
|
242
254
|
requestPrice: 0,
|
|
243
255
|
contextSize: 200000,
|
|
@@ -260,7 +272,7 @@ export const anthropicModels = [
|
|
|
260
272
|
cachedInputPrice: 0.3 / 1e6,
|
|
261
273
|
minCacheableTokens: 1024,
|
|
262
274
|
requestPrice: 0,
|
|
263
|
-
discount: 0.
|
|
275
|
+
discount: 0.2,
|
|
264
276
|
contextSize: 200000,
|
|
265
277
|
maxOutput: 8192,
|
|
266
278
|
reasoning: true,
|
|
@@ -286,6 +298,8 @@ export const anthropicModels = [
|
|
|
286
298
|
inputPrice: 3.0 / 1e6,
|
|
287
299
|
outputPrice: 15.0 / 1e6,
|
|
288
300
|
cachedInputPrice: 0.3 / 1e6,
|
|
301
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
302
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
289
303
|
minCacheableTokens: 1024,
|
|
290
304
|
requestPrice: 0,
|
|
291
305
|
contextSize: 200000,
|
|
@@ -308,7 +322,7 @@ export const anthropicModels = [
|
|
|
308
322
|
cachedInputPrice: 0.3 / 1e6,
|
|
309
323
|
minCacheableTokens: 1024,
|
|
310
324
|
requestPrice: 0,
|
|
311
|
-
discount: 0.
|
|
325
|
+
discount: 0.2,
|
|
312
326
|
contextSize: 200000,
|
|
313
327
|
maxOutput: 8192,
|
|
314
328
|
reasoning: true,
|
|
@@ -333,6 +347,8 @@ export const anthropicModels = [
|
|
|
333
347
|
inputPrice: 3.0 / 1e6,
|
|
334
348
|
outputPrice: 15.0 / 1e6,
|
|
335
349
|
cachedInputPrice: 0.3 / 1e6,
|
|
350
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
351
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
336
352
|
minCacheableTokens: 2048,
|
|
337
353
|
requestPrice: 0,
|
|
338
354
|
contextSize: 200000,
|
|
@@ -354,7 +370,7 @@ export const anthropicModels = [
|
|
|
354
370
|
cachedInputPrice: 0.3 / 1e6,
|
|
355
371
|
minCacheableTokens: 2048,
|
|
356
372
|
requestPrice: 0,
|
|
357
|
-
discount: 0.
|
|
373
|
+
discount: 0.2,
|
|
358
374
|
contextSize: 200000,
|
|
359
375
|
maxOutput: 64000,
|
|
360
376
|
reasoning: true,
|
|
@@ -398,6 +414,8 @@ export const anthropicModels = [
|
|
|
398
414
|
inputPrice: 1.0 / 1e6,
|
|
399
415
|
outputPrice: 5.0 / 1e6,
|
|
400
416
|
cachedInputPrice: 0.1 / 1e6,
|
|
417
|
+
cacheWriteInputPrice: 1.25 / 1e6,
|
|
418
|
+
cacheWriteInputPrice1h: 2.0 / 1e6,
|
|
401
419
|
minCacheableTokens: 4096,
|
|
402
420
|
requestPrice: 0,
|
|
403
421
|
contextSize: 200000,
|
|
@@ -418,7 +436,7 @@ export const anthropicModels = [
|
|
|
418
436
|
cachedInputPrice: 0.1 / 1e6,
|
|
419
437
|
minCacheableTokens: 4096,
|
|
420
438
|
requestPrice: 0,
|
|
421
|
-
discount: 0.
|
|
439
|
+
discount: 0.2,
|
|
422
440
|
contextSize: 200000,
|
|
423
441
|
maxOutput: 64000,
|
|
424
442
|
streaming: true,
|
|
@@ -442,6 +460,8 @@ export const anthropicModels = [
|
|
|
442
460
|
inputPrice: 1.0 / 1e6,
|
|
443
461
|
outputPrice: 5.0 / 1e6,
|
|
444
462
|
cachedInputPrice: 0.1 / 1e6,
|
|
463
|
+
cacheWriteInputPrice: 1.25 / 1e6,
|
|
464
|
+
cacheWriteInputPrice1h: 2.0 / 1e6,
|
|
445
465
|
minCacheableTokens: 4096,
|
|
446
466
|
requestPrice: 0,
|
|
447
467
|
contextSize: 200000,
|
|
@@ -462,7 +482,7 @@ export const anthropicModels = [
|
|
|
462
482
|
cachedInputPrice: 0.1 / 1e6,
|
|
463
483
|
minCacheableTokens: 4096,
|
|
464
484
|
requestPrice: 0,
|
|
465
|
-
discount: 0.
|
|
485
|
+
discount: 0.2,
|
|
466
486
|
contextSize: 200000,
|
|
467
487
|
maxOutput: 64000,
|
|
468
488
|
streaming: true,
|
|
@@ -487,6 +507,8 @@ export const anthropicModels = [
|
|
|
487
507
|
inputPrice: 15.0 / 1e6,
|
|
488
508
|
outputPrice: 75.0 / 1e6,
|
|
489
509
|
cachedInputPrice: 1.5 / 1e6,
|
|
510
|
+
cacheWriteInputPrice: 18.75 / 1e6,
|
|
511
|
+
cacheWriteInputPrice1h: 30.0 / 1e6,
|
|
490
512
|
minCacheableTokens: 1024,
|
|
491
513
|
requestPrice: 0,
|
|
492
514
|
contextSize: 200000,
|
|
@@ -509,7 +531,7 @@ export const anthropicModels = [
|
|
|
509
531
|
cachedInputPrice: 1.5 / 1e6,
|
|
510
532
|
minCacheableTokens: 1024,
|
|
511
533
|
requestPrice: 0,
|
|
512
|
-
discount: 0.
|
|
534
|
+
discount: 0.2,
|
|
513
535
|
contextSize: 200000,
|
|
514
536
|
maxOutput: undefined,
|
|
515
537
|
reasoning: true,
|
|
@@ -535,6 +557,8 @@ export const anthropicModels = [
|
|
|
535
557
|
inputPrice: 15.0 / 1e6,
|
|
536
558
|
outputPrice: 75.0 / 1e6,
|
|
537
559
|
cachedInputPrice: 1.5 / 1e6,
|
|
560
|
+
cacheWriteInputPrice: 18.75 / 1e6,
|
|
561
|
+
cacheWriteInputPrice1h: 30.0 / 1e6,
|
|
538
562
|
minCacheableTokens: 1024,
|
|
539
563
|
requestPrice: 0,
|
|
540
564
|
contextSize: 200000,
|
|
@@ -557,7 +581,7 @@ export const anthropicModels = [
|
|
|
557
581
|
cachedInputPrice: 1.5 / 1e6,
|
|
558
582
|
minCacheableTokens: 1024,
|
|
559
583
|
requestPrice: 0,
|
|
560
|
-
discount: 0.
|
|
584
|
+
discount: 0.2,
|
|
561
585
|
contextSize: 200000,
|
|
562
586
|
maxOutput: 32000,
|
|
563
587
|
streaming: true,
|
|
@@ -584,6 +608,8 @@ export const anthropicModels = [
|
|
|
584
608
|
inputPrice: 3.0 / 1e6,
|
|
585
609
|
outputPrice: 15.0 / 1e6,
|
|
586
610
|
cachedInputPrice: 0.3 / 1e6,
|
|
611
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
612
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
587
613
|
minCacheableTokens: 1024,
|
|
588
614
|
requestPrice: 0,
|
|
589
615
|
contextSize: 200000,
|
|
@@ -609,6 +635,8 @@ export const anthropicModels = [
|
|
|
609
635
|
inputPrice: 3.0 / 1e6,
|
|
610
636
|
outputPrice: 15.0 / 1e6,
|
|
611
637
|
cachedInputPrice: 0.3 / 1e6,
|
|
638
|
+
cacheWriteInputPrice: 3.75 / 1e6,
|
|
639
|
+
cacheWriteInputPrice1h: 6.0 / 1e6,
|
|
612
640
|
minCacheableTokens: 1024,
|
|
613
641
|
requestPrice: 0,
|
|
614
642
|
contextSize: 200000,
|
|
@@ -635,6 +663,8 @@ export const anthropicModels = [
|
|
|
635
663
|
inputPrice: 0.8 / 1e6,
|
|
636
664
|
outputPrice: 4.0 / 1e6,
|
|
637
665
|
cachedInputPrice: 0.08 / 1e6,
|
|
666
|
+
cacheWriteInputPrice: 1.0 / 1e6,
|
|
667
|
+
cacheWriteInputPrice1h: 1.6 / 1e6,
|
|
638
668
|
minCacheableTokens: 2048,
|
|
639
669
|
requestPrice: 0,
|
|
640
670
|
contextSize: 200000,
|
|
@@ -658,7 +688,7 @@ export const anthropicModels = [
|
|
|
658
688
|
cachedInputPrice: 0.08 / 1e6,
|
|
659
689
|
minCacheableTokens: 2048,
|
|
660
690
|
requestPrice: 0,
|
|
661
|
-
discount: 0.
|
|
691
|
+
discount: 0.2,
|
|
662
692
|
contextSize: 200000,
|
|
663
693
|
maxOutput: 8192,
|
|
664
694
|
streaming: true,
|
|
@@ -682,6 +712,8 @@ export const anthropicModels = [
|
|
|
682
712
|
inputPrice: 15.0 / 1e6,
|
|
683
713
|
outputPrice: 75.0 / 1e6,
|
|
684
714
|
cachedInputPrice: 1.5 / 1e6,
|
|
715
|
+
cacheWriteInputPrice: 18.75 / 1e6,
|
|
716
|
+
cacheWriteInputPrice1h: 30.0 / 1e6,
|
|
685
717
|
minCacheableTokens: 1024,
|
|
686
718
|
requestPrice: 0,
|
|
687
719
|
contextSize: 200000,
|
|
@@ -705,6 +737,8 @@ export const anthropicModels = [
|
|
|
705
737
|
inputPrice: 0.25 / 1e6,
|
|
706
738
|
outputPrice: 1.25 / 1e6,
|
|
707
739
|
cachedInputPrice: 0.03 / 1e6,
|
|
740
|
+
cacheWriteInputPrice: 0.3 / 1e6,
|
|
741
|
+
cacheWriteInputPrice1h: 0.5 / 1e6,
|
|
708
742
|
minCacheableTokens: 1024,
|
|
709
743
|
requestPrice: 0,
|
|
710
744
|
contextSize: 200000,
|
|
@@ -730,6 +764,8 @@ export const anthropicModels = [
|
|
|
730
764
|
inputPrice: 0.25 / 1e6,
|
|
731
765
|
outputPrice: 1.25 / 1e6,
|
|
732
766
|
cachedInputPrice: 0.03 / 1e6,
|
|
767
|
+
cacheWriteInputPrice: 0.3 / 1e6,
|
|
768
|
+
cacheWriteInputPrice1h: 0.5 / 1e6,
|
|
733
769
|
minCacheableTokens: 1024,
|
|
734
770
|
requestPrice: 0,
|
|
735
771
|
contextSize: 200000,
|
|
@@ -756,6 +792,8 @@ export const anthropicModels = [
|
|
|
756
792
|
inputPrice: 5.0 / 1e6,
|
|
757
793
|
outputPrice: 25.0 / 1e6,
|
|
758
794
|
cachedInputPrice: 0.5 / 1e6,
|
|
795
|
+
cacheWriteInputPrice: 6.25 / 1e6,
|
|
796
|
+
cacheWriteInputPrice1h: 10.0 / 1e6,
|
|
759
797
|
minCacheableTokens: 4096,
|
|
760
798
|
requestPrice: 0,
|
|
761
799
|
contextSize: 200000,
|
|
@@ -779,7 +817,7 @@ export const anthropicModels = [
|
|
|
779
817
|
cachedInputPrice: 0.5 / 1e6,
|
|
780
818
|
minCacheableTokens: 4096,
|
|
781
819
|
requestPrice: 0,
|
|
782
|
-
discount: 0.
|
|
820
|
+
discount: 0.2,
|
|
783
821
|
contextSize: 200000,
|
|
784
822
|
maxOutput: 32000,
|
|
785
823
|
reasoning: true,
|
|
@@ -824,6 +862,8 @@ export const anthropicModels = [
|
|
|
824
862
|
inputPrice: 5.0 / 1e6,
|
|
825
863
|
outputPrice: 25.0 / 1e6,
|
|
826
864
|
cachedInputPrice: 0.5 / 1e6,
|
|
865
|
+
cacheWriteInputPrice: 6.25 / 1e6,
|
|
866
|
+
cacheWriteInputPrice1h: 10.0 / 1e6,
|
|
827
867
|
minCacheableTokens: 4096,
|
|
828
868
|
pricingTiers: [
|
|
829
869
|
{
|
|
@@ -832,6 +872,8 @@ export const anthropicModels = [
|
|
|
832
872
|
inputPrice: 5.0 / 1e6,
|
|
833
873
|
outputPrice: 25.0 / 1e6,
|
|
834
874
|
cachedInputPrice: 0.5 / 1e6,
|
|
875
|
+
cacheWriteInputPrice: 6.25 / 1e6,
|
|
876
|
+
cacheWriteInputPrice1h: 10.0 / 1e6,
|
|
835
877
|
},
|
|
836
878
|
{
|
|
837
879
|
name: "Over 200K",
|
|
@@ -839,6 +881,8 @@ export const anthropicModels = [
|
|
|
839
881
|
inputPrice: 10.0 / 1e6,
|
|
840
882
|
outputPrice: 37.5 / 1e6,
|
|
841
883
|
cachedInputPrice: 1.0 / 1e6,
|
|
884
|
+
cacheWriteInputPrice: 12.5 / 1e6,
|
|
885
|
+
cacheWriteInputPrice1h: 20.0 / 1e6,
|
|
842
886
|
},
|
|
843
887
|
],
|
|
844
888
|
requestPrice: 0,
|
|
@@ -863,7 +907,7 @@ export const anthropicModels = [
|
|
|
863
907
|
cachedInputPrice: 0.5 / 1e6,
|
|
864
908
|
minCacheableTokens: 4096,
|
|
865
909
|
requestPrice: 0,
|
|
866
|
-
discount: 0.
|
|
910
|
+
discount: 0.2,
|
|
867
911
|
contextSize: 1000000,
|
|
868
912
|
maxOutput: 128000,
|
|
869
913
|
reasoning: true,
|
|
@@ -888,6 +932,8 @@ export const anthropicModels = [
|
|
|
888
932
|
inputPrice: 5.0 / 1e6,
|
|
889
933
|
outputPrice: 25.0 / 1e6,
|
|
890
934
|
cachedInputPrice: 0.5 / 1e6,
|
|
935
|
+
cacheWriteInputPrice: 6.25 / 1e6,
|
|
936
|
+
cacheWriteInputPrice1h: 10.0 / 1e6,
|
|
891
937
|
minCacheableTokens: 4096,
|
|
892
938
|
pricingTiers: [
|
|
893
939
|
{
|
|
@@ -896,6 +942,8 @@ export const anthropicModels = [
|
|
|
896
942
|
inputPrice: 5.0 / 1e6,
|
|
897
943
|
outputPrice: 25.0 / 1e6,
|
|
898
944
|
cachedInputPrice: 0.5 / 1e6,
|
|
945
|
+
cacheWriteInputPrice: 6.25 / 1e6,
|
|
946
|
+
cacheWriteInputPrice1h: 10.0 / 1e6,
|
|
899
947
|
},
|
|
900
948
|
{
|
|
901
949
|
name: "Over 200K",
|
|
@@ -903,6 +951,8 @@ export const anthropicModels = [
|
|
|
903
951
|
inputPrice: 10.0 / 1e6,
|
|
904
952
|
outputPrice: 37.5 / 1e6,
|
|
905
953
|
cachedInputPrice: 1.0 / 1e6,
|
|
954
|
+
cacheWriteInputPrice: 12.5 / 1e6,
|
|
955
|
+
cacheWriteInputPrice1h: 20.0 / 1e6,
|
|
906
956
|
},
|
|
907
957
|
],
|
|
908
958
|
requestPrice: 0,
|
|
@@ -927,7 +977,7 @@ export const anthropicModels = [
|
|
|
927
977
|
cachedInputPrice: 0.5 / 1e6,
|
|
928
978
|
minCacheableTokens: 4096,
|
|
929
979
|
requestPrice: 0,
|
|
930
|
-
discount: 0.
|
|
980
|
+
discount: 0.2,
|
|
931
981
|
contextSize: 1000000,
|
|
932
982
|
maxOutput: 128000,
|
|
933
983
|
reasoning: true,
|