@llmgateway/models 1.15.0 → 1.16.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.
- package/dist/models/google.d.ts +62 -74
- package/dist/models/google.js +71 -89
- package/dist/models/google.js.map +1 -1
- package/dist/models/minimax.d.ts +37 -0
- package/dist/models/minimax.js +41 -0
- package/dist/models/minimax.js.map +1 -1
- package/dist/models/zai.d.ts +51 -0
- package/dist/models/zai.js +56 -0
- package/dist/models/zai.js.map +1 -1
- package/dist/models.d.ts +150 -74
- package/package.json +1 -1
package/dist/models/google.d.ts
CHANGED
|
@@ -9,20 +9,23 @@ export declare const googleModels: [{
|
|
|
9
9
|
readonly modelName: "gemini-2.5-pro";
|
|
10
10
|
readonly inputPrice: number;
|
|
11
11
|
readonly outputPrice: number;
|
|
12
|
+
readonly cachedInputPrice: number;
|
|
12
13
|
readonly pricingTiers: [{
|
|
13
14
|
readonly name: "Up to 200K";
|
|
14
15
|
readonly upToTokens: 200000;
|
|
15
16
|
readonly inputPrice: number;
|
|
16
17
|
readonly outputPrice: number;
|
|
18
|
+
readonly cachedInputPrice: number;
|
|
17
19
|
}, {
|
|
18
20
|
readonly name: "Over 200K";
|
|
19
21
|
readonly upToTokens: number;
|
|
20
22
|
readonly inputPrice: number;
|
|
21
23
|
readonly outputPrice: number;
|
|
24
|
+
readonly cachedInputPrice: number;
|
|
22
25
|
}];
|
|
23
26
|
readonly requestPrice: 0;
|
|
24
|
-
readonly contextSize:
|
|
25
|
-
readonly maxOutput:
|
|
27
|
+
readonly contextSize: 1048576;
|
|
28
|
+
readonly maxOutput: 65536;
|
|
26
29
|
readonly reasoning: true;
|
|
27
30
|
readonly reasoningMaxTokens: true;
|
|
28
31
|
readonly streaming: true;
|
|
@@ -37,20 +40,23 @@ export declare const googleModels: [{
|
|
|
37
40
|
readonly modelName: "gemini-2.5-pro";
|
|
38
41
|
readonly inputPrice: number;
|
|
39
42
|
readonly outputPrice: number;
|
|
43
|
+
readonly cachedInputPrice: number;
|
|
40
44
|
readonly pricingTiers: [{
|
|
41
45
|
readonly name: "Up to 200K";
|
|
42
46
|
readonly upToTokens: 200000;
|
|
43
47
|
readonly inputPrice: number;
|
|
44
48
|
readonly outputPrice: number;
|
|
49
|
+
readonly cachedInputPrice: number;
|
|
45
50
|
}, {
|
|
46
51
|
readonly name: "Over 200K";
|
|
47
52
|
readonly upToTokens: number;
|
|
48
53
|
readonly inputPrice: number;
|
|
49
54
|
readonly outputPrice: number;
|
|
55
|
+
readonly cachedInputPrice: number;
|
|
50
56
|
}];
|
|
51
57
|
readonly requestPrice: 0;
|
|
52
|
-
readonly contextSize:
|
|
53
|
-
readonly maxOutput:
|
|
58
|
+
readonly contextSize: 1048576;
|
|
59
|
+
readonly maxOutput: 65536;
|
|
54
60
|
readonly reasoning: true;
|
|
55
61
|
readonly reasoningMaxTokens: true;
|
|
56
62
|
readonly streaming: true;
|
|
@@ -278,8 +284,8 @@ export declare const googleModels: [{
|
|
|
278
284
|
readonly outputPrice: number;
|
|
279
285
|
readonly cachedInputPrice: number;
|
|
280
286
|
readonly requestPrice: 0;
|
|
281
|
-
readonly contextSize:
|
|
282
|
-
readonly maxOutput:
|
|
287
|
+
readonly contextSize: 1048576;
|
|
288
|
+
readonly maxOutput: 65536;
|
|
283
289
|
readonly reasoning: true;
|
|
284
290
|
readonly reasoningMaxTokens: true;
|
|
285
291
|
readonly streaming: true;
|
|
@@ -295,8 +301,8 @@ export declare const googleModels: [{
|
|
|
295
301
|
readonly outputPrice: number;
|
|
296
302
|
readonly cachedInputPrice: number;
|
|
297
303
|
readonly requestPrice: 0;
|
|
298
|
-
readonly contextSize:
|
|
299
|
-
readonly maxOutput:
|
|
304
|
+
readonly contextSize: 1048576;
|
|
305
|
+
readonly maxOutput: 65536;
|
|
300
306
|
readonly reasoning: true;
|
|
301
307
|
readonly reasoningMaxTokens: true;
|
|
302
308
|
readonly streaming: true;
|
|
@@ -318,8 +324,8 @@ export declare const googleModels: [{
|
|
|
318
324
|
readonly outputPrice: number;
|
|
319
325
|
readonly cachedInputPrice: number;
|
|
320
326
|
readonly requestPrice: 0;
|
|
321
|
-
readonly contextSize:
|
|
322
|
-
readonly maxOutput:
|
|
327
|
+
readonly contextSize: 1048576;
|
|
328
|
+
readonly maxOutput: 65535;
|
|
323
329
|
readonly reasoning: true;
|
|
324
330
|
readonly reasoningMaxTokens: true;
|
|
325
331
|
readonly streaming: true;
|
|
@@ -336,8 +342,8 @@ export declare const googleModels: [{
|
|
|
336
342
|
readonly outputPrice: number;
|
|
337
343
|
readonly cachedInputPrice: number;
|
|
338
344
|
readonly requestPrice: 0;
|
|
339
|
-
readonly contextSize:
|
|
340
|
-
readonly maxOutput:
|
|
345
|
+
readonly contextSize: 1048576;
|
|
346
|
+
readonly maxOutput: 65535;
|
|
341
347
|
readonly reasoning: true;
|
|
342
348
|
readonly reasoningMaxTokens: true;
|
|
343
349
|
readonly streaming: true;
|
|
@@ -361,8 +367,8 @@ export declare const googleModels: [{
|
|
|
361
367
|
readonly outputPrice: number;
|
|
362
368
|
readonly cachedInputPrice: number;
|
|
363
369
|
readonly requestPrice: 0;
|
|
364
|
-
readonly contextSize:
|
|
365
|
-
readonly maxOutput:
|
|
370
|
+
readonly contextSize: 1048576;
|
|
371
|
+
readonly maxOutput: 65535;
|
|
366
372
|
readonly streaming: true;
|
|
367
373
|
readonly vision: true;
|
|
368
374
|
readonly tools: true;
|
|
@@ -375,8 +381,8 @@ export declare const googleModels: [{
|
|
|
375
381
|
readonly outputPrice: number;
|
|
376
382
|
readonly cachedInputPrice: number;
|
|
377
383
|
readonly requestPrice: 0;
|
|
378
|
-
readonly contextSize:
|
|
379
|
-
readonly maxOutput:
|
|
384
|
+
readonly contextSize: 1048576;
|
|
385
|
+
readonly maxOutput: 65535;
|
|
380
386
|
readonly streaming: true;
|
|
381
387
|
readonly vision: true;
|
|
382
388
|
readonly tools: true;
|
|
@@ -396,8 +402,8 @@ export declare const googleModels: [{
|
|
|
396
402
|
readonly outputPrice: number;
|
|
397
403
|
readonly cachedInputPrice: number;
|
|
398
404
|
readonly requestPrice: 0;
|
|
399
|
-
readonly contextSize:
|
|
400
|
-
readonly maxOutput:
|
|
405
|
+
readonly contextSize: 1048576;
|
|
406
|
+
readonly maxOutput: 65535;
|
|
401
407
|
readonly streaming: true;
|
|
402
408
|
readonly vision: true;
|
|
403
409
|
readonly tools: true;
|
|
@@ -410,8 +416,8 @@ export declare const googleModels: [{
|
|
|
410
416
|
readonly outputPrice: number;
|
|
411
417
|
readonly cachedInputPrice: number;
|
|
412
418
|
readonly requestPrice: 0;
|
|
413
|
-
readonly contextSize:
|
|
414
|
-
readonly maxOutput:
|
|
419
|
+
readonly contextSize: 1048576;
|
|
420
|
+
readonly maxOutput: 65535;
|
|
415
421
|
readonly streaming: true;
|
|
416
422
|
readonly vision: true;
|
|
417
423
|
readonly tools: true;
|
|
@@ -444,8 +450,8 @@ export declare const googleModels: [{
|
|
|
444
450
|
readonly cachedInputPrice: number;
|
|
445
451
|
}];
|
|
446
452
|
readonly requestPrice: 0;
|
|
447
|
-
readonly contextSize:
|
|
448
|
-
readonly maxOutput:
|
|
453
|
+
readonly contextSize: 1048576;
|
|
454
|
+
readonly maxOutput: 65536;
|
|
449
455
|
readonly reasoning: true;
|
|
450
456
|
readonly reasoningMaxTokens: true;
|
|
451
457
|
readonly streaming: true;
|
|
@@ -475,8 +481,8 @@ export declare const googleModels: [{
|
|
|
475
481
|
readonly cachedInputPrice: number;
|
|
476
482
|
}];
|
|
477
483
|
readonly requestPrice: 0;
|
|
478
|
-
readonly contextSize:
|
|
479
|
-
readonly maxOutput:
|
|
484
|
+
readonly contextSize: 1048576;
|
|
485
|
+
readonly maxOutput: 65536;
|
|
480
486
|
readonly reasoning: true;
|
|
481
487
|
readonly reasoningMaxTokens: true;
|
|
482
488
|
readonly streaming: true;
|
|
@@ -499,22 +505,9 @@ export declare const googleModels: [{
|
|
|
499
505
|
readonly inputPrice: number;
|
|
500
506
|
readonly outputPrice: number;
|
|
501
507
|
readonly cachedInputPrice: number;
|
|
502
|
-
readonly pricingTiers: [{
|
|
503
|
-
readonly name: "Up to 200K";
|
|
504
|
-
readonly upToTokens: 200000;
|
|
505
|
-
readonly inputPrice: number;
|
|
506
|
-
readonly outputPrice: number;
|
|
507
|
-
readonly cachedInputPrice: number;
|
|
508
|
-
}, {
|
|
509
|
-
readonly name: "Over 200K";
|
|
510
|
-
readonly upToTokens: number;
|
|
511
|
-
readonly inputPrice: number;
|
|
512
|
-
readonly outputPrice: number;
|
|
513
|
-
readonly cachedInputPrice: number;
|
|
514
|
-
}];
|
|
515
508
|
readonly requestPrice: 0;
|
|
516
|
-
readonly contextSize:
|
|
517
|
-
readonly maxOutput:
|
|
509
|
+
readonly contextSize: 1048576;
|
|
510
|
+
readonly maxOutput: 65535;
|
|
518
511
|
readonly reasoning: true;
|
|
519
512
|
readonly reasoningMaxTokens: true;
|
|
520
513
|
readonly streaming: true;
|
|
@@ -530,22 +523,9 @@ export declare const googleModels: [{
|
|
|
530
523
|
readonly inputPrice: number;
|
|
531
524
|
readonly outputPrice: number;
|
|
532
525
|
readonly cachedInputPrice: number;
|
|
533
|
-
readonly pricingTiers: [{
|
|
534
|
-
readonly name: "Up to 200K";
|
|
535
|
-
readonly upToTokens: 200000;
|
|
536
|
-
readonly inputPrice: number;
|
|
537
|
-
readonly outputPrice: number;
|
|
538
|
-
readonly cachedInputPrice: number;
|
|
539
|
-
}, {
|
|
540
|
-
readonly name: "Over 200K";
|
|
541
|
-
readonly upToTokens: number;
|
|
542
|
-
readonly inputPrice: number;
|
|
543
|
-
readonly outputPrice: number;
|
|
544
|
-
readonly cachedInputPrice: number;
|
|
545
|
-
}];
|
|
546
526
|
readonly requestPrice: 0;
|
|
547
|
-
readonly contextSize:
|
|
548
|
-
readonly maxOutput:
|
|
527
|
+
readonly contextSize: 1048576;
|
|
528
|
+
readonly maxOutput: 65535;
|
|
549
529
|
readonly reasoning: true;
|
|
550
530
|
readonly reasoningMaxTokens: true;
|
|
551
531
|
readonly streaming: true;
|
|
@@ -570,9 +550,10 @@ export declare const googleModels: [{
|
|
|
570
550
|
readonly modelName: "gemini-2.5-flash-image-preview";
|
|
571
551
|
readonly inputPrice: number;
|
|
572
552
|
readonly outputPrice: number;
|
|
553
|
+
readonly imageOutputPrice: number;
|
|
573
554
|
readonly requestPrice: 0;
|
|
574
|
-
readonly contextSize:
|
|
575
|
-
readonly maxOutput:
|
|
555
|
+
readonly contextSize: 32768;
|
|
556
|
+
readonly maxOutput: 32768;
|
|
576
557
|
readonly streaming: true;
|
|
577
558
|
readonly vision: true;
|
|
578
559
|
readonly tools: false;
|
|
@@ -584,9 +565,10 @@ export declare const googleModels: [{
|
|
|
584
565
|
readonly modelName: "gemini-2.5-flash-image-preview";
|
|
585
566
|
readonly inputPrice: number;
|
|
586
567
|
readonly outputPrice: number;
|
|
568
|
+
readonly imageOutputPrice: number;
|
|
587
569
|
readonly requestPrice: 0;
|
|
588
|
-
readonly contextSize:
|
|
589
|
-
readonly maxOutput:
|
|
570
|
+
readonly contextSize: 32768;
|
|
571
|
+
readonly maxOutput: 32768;
|
|
590
572
|
readonly streaming: true;
|
|
591
573
|
readonly vision: true;
|
|
592
574
|
readonly tools: false;
|
|
@@ -598,10 +580,11 @@ export declare const googleModels: [{
|
|
|
598
580
|
readonly modelName: "gemini-2.5-flash-image-preview";
|
|
599
581
|
readonly inputPrice: number;
|
|
600
582
|
readonly outputPrice: number;
|
|
583
|
+
readonly imageOutputPrice: number;
|
|
601
584
|
readonly requestPrice: 0;
|
|
602
585
|
readonly discount: 0.2;
|
|
603
|
-
readonly contextSize:
|
|
604
|
-
readonly maxOutput:
|
|
586
|
+
readonly contextSize: 32768;
|
|
587
|
+
readonly maxOutput: 32768;
|
|
605
588
|
readonly streaming: true;
|
|
606
589
|
readonly vision: true;
|
|
607
590
|
readonly tools: false;
|
|
@@ -622,9 +605,10 @@ export declare const googleModels: [{
|
|
|
622
605
|
readonly modelName: "gemini-2.5-flash-image";
|
|
623
606
|
readonly inputPrice: number;
|
|
624
607
|
readonly outputPrice: number;
|
|
608
|
+
readonly cachedInputPrice: number;
|
|
625
609
|
readonly requestPrice: 0;
|
|
626
|
-
readonly contextSize:
|
|
627
|
-
readonly maxOutput:
|
|
610
|
+
readonly contextSize: 32768;
|
|
611
|
+
readonly maxOutput: 32768;
|
|
628
612
|
readonly streaming: true;
|
|
629
613
|
readonly vision: true;
|
|
630
614
|
readonly tools: false;
|
|
@@ -636,9 +620,10 @@ export declare const googleModels: [{
|
|
|
636
620
|
readonly modelName: "gemini-2.5-flash-image";
|
|
637
621
|
readonly inputPrice: number;
|
|
638
622
|
readonly outputPrice: number;
|
|
623
|
+
readonly cachedInputPrice: number;
|
|
639
624
|
readonly requestPrice: 0;
|
|
640
|
-
readonly contextSize:
|
|
641
|
-
readonly maxOutput:
|
|
625
|
+
readonly contextSize: 32768;
|
|
626
|
+
readonly maxOutput: 32768;
|
|
642
627
|
readonly streaming: true;
|
|
643
628
|
readonly vision: true;
|
|
644
629
|
readonly tools: false;
|
|
@@ -650,10 +635,11 @@ export declare const googleModels: [{
|
|
|
650
635
|
readonly modelName: "gemini-2.5-flash-image";
|
|
651
636
|
readonly inputPrice: number;
|
|
652
637
|
readonly outputPrice: number;
|
|
638
|
+
readonly cachedInputPrice: number;
|
|
653
639
|
readonly requestPrice: 0;
|
|
654
640
|
readonly discount: 0.2;
|
|
655
|
-
readonly contextSize:
|
|
656
|
-
readonly maxOutput:
|
|
641
|
+
readonly contextSize: 32768;
|
|
642
|
+
readonly maxOutput: 32768;
|
|
657
643
|
readonly streaming: true;
|
|
658
644
|
readonly vision: true;
|
|
659
645
|
readonly tools: false;
|
|
@@ -889,8 +875,8 @@ export declare const googleModels: [{
|
|
|
889
875
|
readonly inputPrice: number;
|
|
890
876
|
readonly outputPrice: number;
|
|
891
877
|
readonly requestPrice: 0;
|
|
892
|
-
readonly contextSize:
|
|
893
|
-
readonly maxOutput:
|
|
878
|
+
readonly contextSize: 1048576;
|
|
879
|
+
readonly maxOutput: 8192;
|
|
894
880
|
readonly streaming: true;
|
|
895
881
|
readonly vision: false;
|
|
896
882
|
readonly tools: true;
|
|
@@ -902,8 +888,8 @@ export declare const googleModels: [{
|
|
|
902
888
|
readonly inputPrice: number;
|
|
903
889
|
readonly outputPrice: number;
|
|
904
890
|
readonly requestPrice: 0;
|
|
905
|
-
readonly contextSize:
|
|
906
|
-
readonly maxOutput:
|
|
891
|
+
readonly contextSize: 1048576;
|
|
892
|
+
readonly maxOutput: 8192;
|
|
907
893
|
readonly streaming: true;
|
|
908
894
|
readonly vision: false;
|
|
909
895
|
readonly tools: true;
|
|
@@ -921,9 +907,10 @@ export declare const googleModels: [{
|
|
|
921
907
|
readonly modelName: "gemini-2.0-flash";
|
|
922
908
|
readonly inputPrice: number;
|
|
923
909
|
readonly outputPrice: number;
|
|
910
|
+
readonly cachedInputPrice: number;
|
|
924
911
|
readonly requestPrice: 0;
|
|
925
|
-
readonly contextSize:
|
|
926
|
-
readonly maxOutput:
|
|
912
|
+
readonly contextSize: 1048576;
|
|
913
|
+
readonly maxOutput: 8192;
|
|
927
914
|
readonly streaming: true;
|
|
928
915
|
readonly vision: false;
|
|
929
916
|
readonly tools: true;
|
|
@@ -935,9 +922,10 @@ export declare const googleModels: [{
|
|
|
935
922
|
readonly modelName: "gemini-2.0-flash";
|
|
936
923
|
readonly inputPrice: number;
|
|
937
924
|
readonly outputPrice: number;
|
|
925
|
+
readonly cachedInputPrice: number;
|
|
938
926
|
readonly requestPrice: 0;
|
|
939
|
-
readonly contextSize:
|
|
940
|
-
readonly maxOutput:
|
|
927
|
+
readonly contextSize: 1048576;
|
|
928
|
+
readonly maxOutput: 8192;
|
|
941
929
|
readonly streaming: true;
|
|
942
930
|
readonly vision: false;
|
|
943
931
|
readonly tools: true;
|