@llmgateway/models 1.78.0 → 1.80.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/google.d.ts +111 -0
- package/dist/models/google.js +115 -0
- package/dist/models/google.js.map +1 -1
- package/dist/models/xiaomi.d.ts +146 -0
- package/dist/models/xiaomi.js +172 -0
- package/dist/models/xiaomi.js.map +1 -0
- package/dist/models.d.ts +259 -0
- package/dist/models.js +2 -0
- package/dist/models.js.map +1 -1
- package/dist/providers.d.ts +17 -0
- package/dist/providers.js +18 -0
- package/dist/providers.js.map +1 -1
- package/dist/types.d.ts +9 -1
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -37,7 +37,9 @@ export interface ProviderModelMapping {
|
|
|
37
37
|
cacheWriteInputPrice1h?: number;
|
|
38
38
|
minCacheableTokens?: number;
|
|
39
39
|
imageInputPrice?: number;
|
|
40
|
+
inputAudioPrice?: number;
|
|
40
41
|
cachedImageInputPrice?: number;
|
|
42
|
+
cachedInputAudioPrice?: number;
|
|
41
43
|
imageOutputTokensByResolution?: Record<string, number>;
|
|
42
44
|
imageInputTokensByResolution?: Record<string, number>;
|
|
43
45
|
requestPrice?: number;
|
|
@@ -48,6 +50,7 @@ export interface ProviderModelMapping {
|
|
|
48
50
|
maxOutput?: number;
|
|
49
51
|
streaming: boolean | "only";
|
|
50
52
|
vision?: boolean;
|
|
53
|
+
audio?: boolean;
|
|
51
54
|
reasoning?: boolean;
|
|
52
55
|
splitTaggedReasoning?: boolean;
|
|
53
56
|
supportsResponsesApi?: boolean;
|
|
@@ -2742,6 +2745,7 @@ export declare const models: [{
|
|
|
2742
2745
|
readonly reasoningMaxTokens: true;
|
|
2743
2746
|
readonly streaming: true;
|
|
2744
2747
|
readonly vision: true;
|
|
2748
|
+
readonly audio: true;
|
|
2745
2749
|
readonly tools: true;
|
|
2746
2750
|
readonly webSearch: true;
|
|
2747
2751
|
readonly webSearchPrice: 0.035;
|
|
@@ -2773,6 +2777,7 @@ export declare const models: [{
|
|
|
2773
2777
|
readonly reasoningMaxTokens: true;
|
|
2774
2778
|
readonly streaming: true;
|
|
2775
2779
|
readonly vision: true;
|
|
2780
|
+
readonly audio: true;
|
|
2776
2781
|
readonly tools: true;
|
|
2777
2782
|
readonly webSearch: true;
|
|
2778
2783
|
readonly webSearchPrice: 0.035;
|
|
@@ -2809,6 +2814,7 @@ export declare const models: [{
|
|
|
2809
2814
|
readonly reasoningMaxTokens: true;
|
|
2810
2815
|
readonly streaming: true;
|
|
2811
2816
|
readonly vision: true;
|
|
2817
|
+
readonly audio: true;
|
|
2812
2818
|
readonly tools: true;
|
|
2813
2819
|
readonly jsonOutput: true;
|
|
2814
2820
|
readonly jsonOutputSchema: true;
|
|
@@ -2837,6 +2843,7 @@ export declare const models: [{
|
|
|
2837
2843
|
readonly reasoningMaxTokens: true;
|
|
2838
2844
|
readonly streaming: true;
|
|
2839
2845
|
readonly vision: true;
|
|
2846
|
+
readonly audio: true;
|
|
2840
2847
|
readonly tools: true;
|
|
2841
2848
|
readonly jsonOutput: true;
|
|
2842
2849
|
readonly jsonOutputSchema: true;
|
|
@@ -2872,6 +2879,7 @@ export declare const models: [{
|
|
|
2872
2879
|
readonly reasoningMaxTokens: true;
|
|
2873
2880
|
readonly streaming: true;
|
|
2874
2881
|
readonly vision: true;
|
|
2882
|
+
readonly audio: true;
|
|
2875
2883
|
readonly tools: true;
|
|
2876
2884
|
readonly jsonOutput: true;
|
|
2877
2885
|
readonly jsonOutputSchema: true;
|
|
@@ -2900,6 +2908,7 @@ export declare const models: [{
|
|
|
2900
2908
|
readonly reasoningMaxTokens: true;
|
|
2901
2909
|
readonly streaming: true;
|
|
2902
2910
|
readonly vision: true;
|
|
2911
|
+
readonly audio: true;
|
|
2903
2912
|
readonly tools: true;
|
|
2904
2913
|
readonly jsonOutput: true;
|
|
2905
2914
|
readonly jsonOutputSchema: true;
|
|
@@ -2923,6 +2932,7 @@ export declare const models: [{
|
|
|
2923
2932
|
readonly reasoningMaxTokens: true;
|
|
2924
2933
|
readonly streaming: true;
|
|
2925
2934
|
readonly vision: true;
|
|
2935
|
+
readonly audio: true;
|
|
2926
2936
|
readonly tools: true;
|
|
2927
2937
|
readonly jsonOutput: true;
|
|
2928
2938
|
readonly jsonOutputSchema: true;
|
|
@@ -2939,6 +2949,7 @@ export declare const models: [{
|
|
|
2939
2949
|
readonly reasoningMaxTokens: true;
|
|
2940
2950
|
readonly streaming: true;
|
|
2941
2951
|
readonly vision: true;
|
|
2952
|
+
readonly audio: true;
|
|
2942
2953
|
readonly tools: true;
|
|
2943
2954
|
readonly jsonOutput: true;
|
|
2944
2955
|
readonly jsonOutputSchema: true;
|
|
@@ -2962,6 +2973,7 @@ export declare const models: [{
|
|
|
2962
2973
|
readonly reasoningMaxTokens: true;
|
|
2963
2974
|
readonly streaming: true;
|
|
2964
2975
|
readonly vision: true;
|
|
2976
|
+
readonly audio: true;
|
|
2965
2977
|
readonly tools: true;
|
|
2966
2978
|
readonly jsonOutput: true;
|
|
2967
2979
|
readonly jsonOutputSchema: true;
|
|
@@ -2978,6 +2990,7 @@ export declare const models: [{
|
|
|
2978
2990
|
readonly reasoningMaxTokens: true;
|
|
2979
2991
|
readonly streaming: true;
|
|
2980
2992
|
readonly vision: true;
|
|
2993
|
+
readonly audio: true;
|
|
2981
2994
|
readonly tools: true;
|
|
2982
2995
|
readonly jsonOutput: true;
|
|
2983
2996
|
readonly jsonOutputSchema: true;
|
|
@@ -3003,6 +3016,7 @@ export declare const models: [{
|
|
|
3003
3016
|
readonly reasoningMaxTokens: true;
|
|
3004
3017
|
readonly streaming: true;
|
|
3005
3018
|
readonly vision: true;
|
|
3019
|
+
readonly audio: true;
|
|
3006
3020
|
readonly tools: true;
|
|
3007
3021
|
readonly jsonOutput: true;
|
|
3008
3022
|
readonly jsonOutputSchema: true;
|
|
@@ -3020,6 +3034,7 @@ export declare const models: [{
|
|
|
3020
3034
|
readonly reasoningMaxTokens: true;
|
|
3021
3035
|
readonly streaming: true;
|
|
3022
3036
|
readonly vision: true;
|
|
3037
|
+
readonly audio: true;
|
|
3023
3038
|
readonly tools: true;
|
|
3024
3039
|
readonly jsonOutput: true;
|
|
3025
3040
|
readonly jsonOutputSchema: true;
|
|
@@ -3036,6 +3051,8 @@ export declare const models: [{
|
|
|
3036
3051
|
readonly inputPrice: number;
|
|
3037
3052
|
readonly outputPrice: number;
|
|
3038
3053
|
readonly cachedInputPrice: number;
|
|
3054
|
+
readonly inputAudioPrice: number;
|
|
3055
|
+
readonly cachedInputAudioPrice: number;
|
|
3039
3056
|
readonly requestPrice: 0;
|
|
3040
3057
|
readonly contextSize: 1048576;
|
|
3041
3058
|
readonly maxOutput: 65535;
|
|
@@ -3043,6 +3060,7 @@ export declare const models: [{
|
|
|
3043
3060
|
readonly reasoningMaxTokens: true;
|
|
3044
3061
|
readonly streaming: true;
|
|
3045
3062
|
readonly vision: true;
|
|
3063
|
+
readonly audio: true;
|
|
3046
3064
|
readonly tools: true;
|
|
3047
3065
|
readonly webSearch: true;
|
|
3048
3066
|
readonly webSearchPrice: 0.035;
|
|
@@ -3054,6 +3072,8 @@ export declare const models: [{
|
|
|
3054
3072
|
readonly inputPrice: number;
|
|
3055
3073
|
readonly outputPrice: number;
|
|
3056
3074
|
readonly cachedInputPrice: number;
|
|
3075
|
+
readonly inputAudioPrice: number;
|
|
3076
|
+
readonly cachedInputAudioPrice: number;
|
|
3057
3077
|
readonly requestPrice: 0;
|
|
3058
3078
|
readonly contextSize: 1048576;
|
|
3059
3079
|
readonly maxOutput: 65535;
|
|
@@ -3061,6 +3081,7 @@ export declare const models: [{
|
|
|
3061
3081
|
readonly reasoningMaxTokens: true;
|
|
3062
3082
|
readonly streaming: true;
|
|
3063
3083
|
readonly vision: true;
|
|
3084
|
+
readonly audio: true;
|
|
3064
3085
|
readonly tools: true;
|
|
3065
3086
|
readonly webSearch: true;
|
|
3066
3087
|
readonly webSearchPrice: 0.035;
|
|
@@ -3079,11 +3100,14 @@ export declare const models: [{
|
|
|
3079
3100
|
readonly inputPrice: number;
|
|
3080
3101
|
readonly outputPrice: number;
|
|
3081
3102
|
readonly cachedInputPrice: number;
|
|
3103
|
+
readonly inputAudioPrice: number;
|
|
3104
|
+
readonly cachedInputAudioPrice: number;
|
|
3082
3105
|
readonly requestPrice: 0;
|
|
3083
3106
|
readonly contextSize: 1048576;
|
|
3084
3107
|
readonly maxOutput: 65535;
|
|
3085
3108
|
readonly streaming: true;
|
|
3086
3109
|
readonly vision: true;
|
|
3110
|
+
readonly audio: true;
|
|
3087
3111
|
readonly tools: true;
|
|
3088
3112
|
readonly jsonOutput: true;
|
|
3089
3113
|
readonly jsonOutputSchema: true;
|
|
@@ -3093,11 +3117,14 @@ export declare const models: [{
|
|
|
3093
3117
|
readonly inputPrice: number;
|
|
3094
3118
|
readonly outputPrice: number;
|
|
3095
3119
|
readonly cachedInputPrice: number;
|
|
3120
|
+
readonly inputAudioPrice: number;
|
|
3121
|
+
readonly cachedInputAudioPrice: number;
|
|
3096
3122
|
readonly requestPrice: 0;
|
|
3097
3123
|
readonly contextSize: 1048576;
|
|
3098
3124
|
readonly maxOutput: 65535;
|
|
3099
3125
|
readonly streaming: true;
|
|
3100
3126
|
readonly vision: true;
|
|
3127
|
+
readonly audio: true;
|
|
3101
3128
|
readonly tools: true;
|
|
3102
3129
|
readonly jsonOutput: true;
|
|
3103
3130
|
readonly jsonOutputSchema: true;
|
|
@@ -3120,6 +3147,7 @@ export declare const models: [{
|
|
|
3120
3147
|
readonly maxOutput: 65535;
|
|
3121
3148
|
readonly streaming: true;
|
|
3122
3149
|
readonly vision: true;
|
|
3150
|
+
readonly audio: true;
|
|
3123
3151
|
readonly tools: true;
|
|
3124
3152
|
readonly jsonOutput: true;
|
|
3125
3153
|
readonly jsonOutputSchema: true;
|
|
@@ -3134,6 +3162,7 @@ export declare const models: [{
|
|
|
3134
3162
|
readonly maxOutput: 65535;
|
|
3135
3163
|
readonly streaming: true;
|
|
3136
3164
|
readonly vision: true;
|
|
3165
|
+
readonly audio: true;
|
|
3137
3166
|
readonly tools: true;
|
|
3138
3167
|
readonly jsonOutput: true;
|
|
3139
3168
|
readonly jsonOutputSchema: true;
|
|
@@ -3171,6 +3200,7 @@ export declare const models: [{
|
|
|
3171
3200
|
readonly reasoningMaxTokens: true;
|
|
3172
3201
|
readonly streaming: true;
|
|
3173
3202
|
readonly vision: true;
|
|
3203
|
+
readonly audio: true;
|
|
3174
3204
|
readonly tools: true;
|
|
3175
3205
|
readonly webSearch: true;
|
|
3176
3206
|
readonly webSearchPrice: 0.014;
|
|
@@ -3210,6 +3240,7 @@ export declare const models: [{
|
|
|
3210
3240
|
readonly reasoningMaxTokens: true;
|
|
3211
3241
|
readonly streaming: true;
|
|
3212
3242
|
readonly vision: true;
|
|
3243
|
+
readonly audio: true;
|
|
3213
3244
|
readonly tools: true;
|
|
3214
3245
|
readonly webSearch: true;
|
|
3215
3246
|
readonly webSearchPrice: 0.014;
|
|
@@ -3244,6 +3275,7 @@ export declare const models: [{
|
|
|
3244
3275
|
readonly reasoningMaxTokens: true;
|
|
3245
3276
|
readonly streaming: true;
|
|
3246
3277
|
readonly vision: true;
|
|
3278
|
+
readonly audio: true;
|
|
3247
3279
|
readonly tools: true;
|
|
3248
3280
|
readonly webSearch: true;
|
|
3249
3281
|
readonly webSearchPrice: 0.014;
|
|
@@ -3285,6 +3317,7 @@ export declare const models: [{
|
|
|
3285
3317
|
readonly reasoningMaxTokens: true;
|
|
3286
3318
|
readonly streaming: true;
|
|
3287
3319
|
readonly vision: true;
|
|
3320
|
+
readonly audio: true;
|
|
3288
3321
|
readonly tools: true;
|
|
3289
3322
|
readonly webSearch: true;
|
|
3290
3323
|
readonly webSearchPrice: 0.014;
|
|
@@ -3317,6 +3350,7 @@ export declare const models: [{
|
|
|
3317
3350
|
readonly reasoningMaxTokens: true;
|
|
3318
3351
|
readonly streaming: true;
|
|
3319
3352
|
readonly vision: true;
|
|
3353
|
+
readonly audio: true;
|
|
3320
3354
|
readonly tools: true;
|
|
3321
3355
|
readonly webSearch: true;
|
|
3322
3356
|
readonly webSearchPrice: 0.014;
|
|
@@ -3350,6 +3384,7 @@ export declare const models: [{
|
|
|
3350
3384
|
readonly reasoningMaxTokens: true;
|
|
3351
3385
|
readonly streaming: true;
|
|
3352
3386
|
readonly vision: true;
|
|
3387
|
+
readonly audio: true;
|
|
3353
3388
|
readonly tools: true;
|
|
3354
3389
|
readonly webSearch: true;
|
|
3355
3390
|
readonly webSearchPrice: 0.014;
|
|
@@ -3374,7 +3409,10 @@ export declare const models: [{
|
|
|
3374
3409
|
readonly maxOutput: 65536;
|
|
3375
3410
|
readonly streaming: true;
|
|
3376
3411
|
readonly vision: true;
|
|
3412
|
+
readonly audio: true;
|
|
3377
3413
|
readonly tools: true;
|
|
3414
|
+
readonly reasoning: true;
|
|
3415
|
+
readonly reasoningMaxTokens: true;
|
|
3378
3416
|
readonly jsonOutput: true;
|
|
3379
3417
|
readonly jsonOutputSchema: true;
|
|
3380
3418
|
}, {
|
|
@@ -3389,7 +3427,61 @@ export declare const models: [{
|
|
|
3389
3427
|
readonly maxOutput: 65536;
|
|
3390
3428
|
readonly streaming: true;
|
|
3391
3429
|
readonly vision: true;
|
|
3430
|
+
readonly audio: true;
|
|
3392
3431
|
readonly tools: true;
|
|
3432
|
+
readonly reasoning: true;
|
|
3433
|
+
readonly reasoningMaxTokens: true;
|
|
3434
|
+
readonly jsonOutput: true;
|
|
3435
|
+
readonly jsonOutputSchema: true;
|
|
3436
|
+
}];
|
|
3437
|
+
}, {
|
|
3438
|
+
readonly id: "gemini-3.1-flash-lite";
|
|
3439
|
+
readonly name: "Gemini 3.1 Flash Lite";
|
|
3440
|
+
readonly description: "Ultra-lightweight Gemini 3.1 Flash Lite for high-volume, cost-sensitive tasks.";
|
|
3441
|
+
readonly family: "google";
|
|
3442
|
+
readonly releasedAt: Date;
|
|
3443
|
+
readonly providers: [{
|
|
3444
|
+
readonly providerId: "google-ai-studio";
|
|
3445
|
+
readonly modelName: "gemini-3.1-flash-lite";
|
|
3446
|
+
readonly inputPrice: number;
|
|
3447
|
+
readonly outputPrice: number;
|
|
3448
|
+
readonly cachedInputPrice: number;
|
|
3449
|
+
readonly cacheWriteInputPrice: number;
|
|
3450
|
+
readonly inputAudioPrice: number;
|
|
3451
|
+
readonly cachedInputAudioPrice: number;
|
|
3452
|
+
readonly requestPrice: 0;
|
|
3453
|
+
readonly webSearchPrice: 0.014;
|
|
3454
|
+
readonly contextSize: 1048576;
|
|
3455
|
+
readonly maxOutput: 65536;
|
|
3456
|
+
readonly streaming: true;
|
|
3457
|
+
readonly vision: true;
|
|
3458
|
+
readonly audio: true;
|
|
3459
|
+
readonly tools: true;
|
|
3460
|
+
readonly webSearch: true;
|
|
3461
|
+
readonly reasoning: true;
|
|
3462
|
+
readonly reasoningMaxTokens: true;
|
|
3463
|
+
readonly jsonOutput: true;
|
|
3464
|
+
readonly jsonOutputSchema: true;
|
|
3465
|
+
}, {
|
|
3466
|
+
readonly providerId: "google-vertex";
|
|
3467
|
+
readonly modelName: "gemini-3.1-flash-lite";
|
|
3468
|
+
readonly inputPrice: number;
|
|
3469
|
+
readonly outputPrice: number;
|
|
3470
|
+
readonly cachedInputPrice: number;
|
|
3471
|
+
readonly cacheWriteInputPrice: number;
|
|
3472
|
+
readonly inputAudioPrice: number;
|
|
3473
|
+
readonly cachedInputAudioPrice: number;
|
|
3474
|
+
readonly requestPrice: 0;
|
|
3475
|
+
readonly webSearchPrice: 0.014;
|
|
3476
|
+
readonly contextSize: 1048576;
|
|
3477
|
+
readonly maxOutput: 65536;
|
|
3478
|
+
readonly streaming: true;
|
|
3479
|
+
readonly vision: true;
|
|
3480
|
+
readonly audio: true;
|
|
3481
|
+
readonly tools: true;
|
|
3482
|
+
readonly webSearch: true;
|
|
3483
|
+
readonly reasoning: true;
|
|
3484
|
+
readonly reasoningMaxTokens: true;
|
|
3393
3485
|
readonly jsonOutput: true;
|
|
3394
3486
|
readonly jsonOutputSchema: true;
|
|
3395
3487
|
}];
|
|
@@ -3630,6 +3722,8 @@ export declare const models: [{
|
|
|
3630
3722
|
readonly inputPrice: number;
|
|
3631
3723
|
readonly outputPrice: number;
|
|
3632
3724
|
readonly cachedInputPrice: number;
|
|
3725
|
+
readonly inputAudioPrice: number;
|
|
3726
|
+
readonly cachedInputAudioPrice: number;
|
|
3633
3727
|
readonly requestPrice: 0;
|
|
3634
3728
|
readonly contextSize: 1048576;
|
|
3635
3729
|
readonly maxOutput: 65535;
|
|
@@ -3637,6 +3731,7 @@ export declare const models: [{
|
|
|
3637
3731
|
readonly reasoningMaxTokens: true;
|
|
3638
3732
|
readonly streaming: true;
|
|
3639
3733
|
readonly vision: true;
|
|
3734
|
+
readonly audio: true;
|
|
3640
3735
|
readonly tools: true;
|
|
3641
3736
|
readonly webSearch: true;
|
|
3642
3737
|
readonly webSearchPrice: 0.014;
|
|
@@ -3648,6 +3743,8 @@ export declare const models: [{
|
|
|
3648
3743
|
readonly inputPrice: number;
|
|
3649
3744
|
readonly outputPrice: number;
|
|
3650
3745
|
readonly cachedInputPrice: number;
|
|
3746
|
+
readonly inputAudioPrice: number;
|
|
3747
|
+
readonly cachedInputAudioPrice: number;
|
|
3651
3748
|
readonly requestPrice: 0;
|
|
3652
3749
|
readonly contextSize: 1048576;
|
|
3653
3750
|
readonly maxOutput: 65535;
|
|
@@ -3655,6 +3752,7 @@ export declare const models: [{
|
|
|
3655
3752
|
readonly reasoningMaxTokens: true;
|
|
3656
3753
|
readonly streaming: true;
|
|
3657
3754
|
readonly vision: true;
|
|
3755
|
+
readonly audio: true;
|
|
3658
3756
|
readonly tools: true;
|
|
3659
3757
|
readonly webSearch: true;
|
|
3660
3758
|
readonly webSearchPrice: 0.014;
|
|
@@ -3904,6 +4002,7 @@ export declare const models: [{
|
|
|
3904
4002
|
readonly reasoningMaxTokens: true;
|
|
3905
4003
|
readonly streaming: true;
|
|
3906
4004
|
readonly vision: true;
|
|
4005
|
+
readonly audio: true;
|
|
3907
4006
|
readonly tools: true;
|
|
3908
4007
|
readonly jsonOutput: true;
|
|
3909
4008
|
readonly jsonOutputSchema: true;
|
|
@@ -3920,6 +4019,7 @@ export declare const models: [{
|
|
|
3920
4019
|
readonly reasoningMaxTokens: true;
|
|
3921
4020
|
readonly streaming: true;
|
|
3922
4021
|
readonly vision: true;
|
|
4022
|
+
readonly audio: true;
|
|
3923
4023
|
readonly tools: true;
|
|
3924
4024
|
readonly jsonOutput: true;
|
|
3925
4025
|
readonly jsonOutputSchema: true;
|
|
@@ -3943,6 +4043,7 @@ export declare const models: [{
|
|
|
3943
4043
|
readonly reasoningMaxTokens: true;
|
|
3944
4044
|
readonly streaming: true;
|
|
3945
4045
|
readonly vision: true;
|
|
4046
|
+
readonly audio: true;
|
|
3946
4047
|
readonly tools: true;
|
|
3947
4048
|
readonly jsonOutput: true;
|
|
3948
4049
|
readonly jsonOutputSchema: true;
|
|
@@ -3959,6 +4060,7 @@ export declare const models: [{
|
|
|
3959
4060
|
readonly reasoningMaxTokens: true;
|
|
3960
4061
|
readonly streaming: true;
|
|
3961
4062
|
readonly vision: true;
|
|
4063
|
+
readonly audio: true;
|
|
3962
4064
|
readonly tools: true;
|
|
3963
4065
|
readonly jsonOutput: true;
|
|
3964
4066
|
readonly jsonOutputSchema: true;
|
|
@@ -3982,6 +4084,7 @@ export declare const models: [{
|
|
|
3982
4084
|
readonly reasoningMaxTokens: true;
|
|
3983
4085
|
readonly streaming: true;
|
|
3984
4086
|
readonly vision: true;
|
|
4087
|
+
readonly audio: true;
|
|
3985
4088
|
readonly tools: true;
|
|
3986
4089
|
readonly jsonOutput: true;
|
|
3987
4090
|
readonly jsonOutputSchema: true;
|
|
@@ -3998,6 +4101,7 @@ export declare const models: [{
|
|
|
3998
4101
|
readonly reasoningMaxTokens: true;
|
|
3999
4102
|
readonly streaming: true;
|
|
4000
4103
|
readonly vision: true;
|
|
4104
|
+
readonly audio: true;
|
|
4001
4105
|
readonly tools: true;
|
|
4002
4106
|
readonly jsonOutput: true;
|
|
4003
4107
|
readonly jsonOutputSchema: true;
|
|
@@ -4021,6 +4125,7 @@ export declare const models: [{
|
|
|
4021
4125
|
readonly reasoningMaxTokens: true;
|
|
4022
4126
|
readonly streaming: true;
|
|
4023
4127
|
readonly vision: false;
|
|
4128
|
+
readonly audio: true;
|
|
4024
4129
|
readonly tools: true;
|
|
4025
4130
|
readonly jsonOutput: true;
|
|
4026
4131
|
readonly jsonOutputSchema: true;
|
|
@@ -4037,6 +4142,7 @@ export declare const models: [{
|
|
|
4037
4142
|
readonly reasoningMaxTokens: true;
|
|
4038
4143
|
readonly streaming: true;
|
|
4039
4144
|
readonly vision: false;
|
|
4145
|
+
readonly audio: true;
|
|
4040
4146
|
readonly tools: true;
|
|
4041
4147
|
readonly jsonOutput: true;
|
|
4042
4148
|
readonly jsonOutputSchema: true;
|
|
@@ -4058,6 +4164,7 @@ export declare const models: [{
|
|
|
4058
4164
|
readonly maxOutput: 8192;
|
|
4059
4165
|
readonly streaming: true;
|
|
4060
4166
|
readonly vision: false;
|
|
4167
|
+
readonly audio: true;
|
|
4061
4168
|
readonly tools: true;
|
|
4062
4169
|
readonly jsonOutput: true;
|
|
4063
4170
|
readonly jsonOutputSchema: true;
|
|
@@ -4073,6 +4180,7 @@ export declare const models: [{
|
|
|
4073
4180
|
readonly maxOutput: 8192;
|
|
4074
4181
|
readonly streaming: true;
|
|
4075
4182
|
readonly vision: false;
|
|
4183
|
+
readonly audio: true;
|
|
4076
4184
|
readonly tools: true;
|
|
4077
4185
|
readonly jsonOutput: true;
|
|
4078
4186
|
readonly jsonOutputSchema: true;
|
|
@@ -4091,11 +4199,14 @@ export declare const models: [{
|
|
|
4091
4199
|
readonly inputPrice: number;
|
|
4092
4200
|
readonly outputPrice: number;
|
|
4093
4201
|
readonly cachedInputPrice: number;
|
|
4202
|
+
readonly inputAudioPrice: number;
|
|
4203
|
+
readonly cachedInputAudioPrice: number;
|
|
4094
4204
|
readonly requestPrice: 0;
|
|
4095
4205
|
readonly contextSize: 1048576;
|
|
4096
4206
|
readonly maxOutput: 8192;
|
|
4097
4207
|
readonly streaming: true;
|
|
4098
4208
|
readonly vision: false;
|
|
4209
|
+
readonly audio: true;
|
|
4099
4210
|
readonly tools: true;
|
|
4100
4211
|
readonly jsonOutput: true;
|
|
4101
4212
|
readonly jsonOutputSchema: true;
|
|
@@ -4108,11 +4219,14 @@ export declare const models: [{
|
|
|
4108
4219
|
readonly inputPrice: number;
|
|
4109
4220
|
readonly outputPrice: number;
|
|
4110
4221
|
readonly cachedInputPrice: number;
|
|
4222
|
+
readonly inputAudioPrice: number;
|
|
4223
|
+
readonly cachedInputAudioPrice: number;
|
|
4111
4224
|
readonly requestPrice: 0;
|
|
4112
4225
|
readonly contextSize: 1048576;
|
|
4113
4226
|
readonly maxOutput: 8192;
|
|
4114
4227
|
readonly streaming: true;
|
|
4115
4228
|
readonly vision: false;
|
|
4229
|
+
readonly audio: true;
|
|
4116
4230
|
readonly tools: true;
|
|
4117
4231
|
readonly jsonOutput: true;
|
|
4118
4232
|
readonly jsonOutputSchema: true;
|
|
@@ -5082,6 +5196,151 @@ export declare const models: [{
|
|
|
5082
5196
|
readonly jsonOutput: false;
|
|
5083
5197
|
readonly imageGenerations: true;
|
|
5084
5198
|
}];
|
|
5199
|
+
}, {
|
|
5200
|
+
readonly id: "mimo-v2.5-pro";
|
|
5201
|
+
readonly name: "MiMo V2.5 Pro";
|
|
5202
|
+
readonly description: "Xiaomi's flagship 1T-parameter model with 42B activations, 1M ultra-long context, and deep thinking capabilities. Performs comparably to Claude Opus 4.6 in agent scenarios.";
|
|
5203
|
+
readonly family: "xiaomi";
|
|
5204
|
+
readonly releasedAt: Date;
|
|
5205
|
+
readonly providers: [{
|
|
5206
|
+
readonly providerId: "xiaomi";
|
|
5207
|
+
readonly modelName: "mimo-v2.5-pro";
|
|
5208
|
+
readonly inputPrice: number;
|
|
5209
|
+
readonly outputPrice: number;
|
|
5210
|
+
readonly cachedInputPrice: number;
|
|
5211
|
+
readonly requestPrice: 0;
|
|
5212
|
+
readonly contextSize: 1000000;
|
|
5213
|
+
readonly maxOutput: 131072;
|
|
5214
|
+
readonly streaming: true;
|
|
5215
|
+
readonly reasoning: true;
|
|
5216
|
+
readonly vision: false;
|
|
5217
|
+
readonly tools: true;
|
|
5218
|
+
readonly jsonOutput: true;
|
|
5219
|
+
readonly pricingTiers: [{
|
|
5220
|
+
readonly name: "256K";
|
|
5221
|
+
readonly upToTokens: 256000;
|
|
5222
|
+
readonly inputPrice: number;
|
|
5223
|
+
readonly outputPrice: number;
|
|
5224
|
+
readonly cachedInputPrice: number;
|
|
5225
|
+
}, {
|
|
5226
|
+
readonly name: "1M";
|
|
5227
|
+
readonly upToTokens: 1000000;
|
|
5228
|
+
readonly inputPrice: number;
|
|
5229
|
+
readonly outputPrice: number;
|
|
5230
|
+
readonly cachedInputPrice: number;
|
|
5231
|
+
}];
|
|
5232
|
+
}];
|
|
5233
|
+
}, {
|
|
5234
|
+
readonly id: "mimo-v2-pro";
|
|
5235
|
+
readonly name: "MiMo V2 Pro";
|
|
5236
|
+
readonly description: "Xiaomi's 1T-parameter model with 42B active parameters and 1M context window using hybrid Global Attention + SWA architecture.";
|
|
5237
|
+
readonly family: "xiaomi";
|
|
5238
|
+
readonly releasedAt: Date;
|
|
5239
|
+
readonly providers: [{
|
|
5240
|
+
readonly providerId: "xiaomi";
|
|
5241
|
+
readonly modelName: "mimo-v2-pro";
|
|
5242
|
+
readonly inputPrice: number;
|
|
5243
|
+
readonly outputPrice: number;
|
|
5244
|
+
readonly cachedInputPrice: number;
|
|
5245
|
+
readonly requestPrice: 0;
|
|
5246
|
+
readonly contextSize: 1000000;
|
|
5247
|
+
readonly maxOutput: 131072;
|
|
5248
|
+
readonly streaming: true;
|
|
5249
|
+
readonly reasoning: true;
|
|
5250
|
+
readonly vision: false;
|
|
5251
|
+
readonly tools: true;
|
|
5252
|
+
readonly jsonOutput: true;
|
|
5253
|
+
readonly pricingTiers: [{
|
|
5254
|
+
readonly name: "256K";
|
|
5255
|
+
readonly upToTokens: 256000;
|
|
5256
|
+
readonly inputPrice: number;
|
|
5257
|
+
readonly outputPrice: number;
|
|
5258
|
+
readonly cachedInputPrice: number;
|
|
5259
|
+
}, {
|
|
5260
|
+
readonly name: "1M";
|
|
5261
|
+
readonly upToTokens: 1000000;
|
|
5262
|
+
readonly inputPrice: number;
|
|
5263
|
+
readonly outputPrice: number;
|
|
5264
|
+
readonly cachedInputPrice: number;
|
|
5265
|
+
}];
|
|
5266
|
+
}];
|
|
5267
|
+
}, {
|
|
5268
|
+
readonly id: "mimo-v2.5";
|
|
5269
|
+
readonly name: "MiMo V2.5";
|
|
5270
|
+
readonly description: "Xiaomi's full-modal perception model supporting native understanding of images, videos, audio, and text with 1M context. Agent performance comparable to MiMo V2.5 Pro.";
|
|
5271
|
+
readonly family: "xiaomi";
|
|
5272
|
+
readonly releasedAt: Date;
|
|
5273
|
+
readonly providers: [{
|
|
5274
|
+
readonly providerId: "xiaomi";
|
|
5275
|
+
readonly modelName: "mimo-v2.5";
|
|
5276
|
+
readonly inputPrice: number;
|
|
5277
|
+
readonly outputPrice: number;
|
|
5278
|
+
readonly cachedInputPrice: number;
|
|
5279
|
+
readonly requestPrice: 0;
|
|
5280
|
+
readonly contextSize: 1000000;
|
|
5281
|
+
readonly maxOutput: 131072;
|
|
5282
|
+
readonly streaming: true;
|
|
5283
|
+
readonly reasoning: true;
|
|
5284
|
+
readonly vision: true;
|
|
5285
|
+
readonly tools: true;
|
|
5286
|
+
readonly jsonOutput: true;
|
|
5287
|
+
readonly pricingTiers: [{
|
|
5288
|
+
readonly name: "256K";
|
|
5289
|
+
readonly upToTokens: 256000;
|
|
5290
|
+
readonly inputPrice: number;
|
|
5291
|
+
readonly outputPrice: number;
|
|
5292
|
+
readonly cachedInputPrice: number;
|
|
5293
|
+
}, {
|
|
5294
|
+
readonly name: "1M";
|
|
5295
|
+
readonly upToTokens: 1000000;
|
|
5296
|
+
readonly inputPrice: number;
|
|
5297
|
+
readonly outputPrice: number;
|
|
5298
|
+
readonly cachedInputPrice: number;
|
|
5299
|
+
}];
|
|
5300
|
+
}];
|
|
5301
|
+
}, {
|
|
5302
|
+
readonly id: "mimo-v2-omni";
|
|
5303
|
+
readonly name: "MiMo V2 Omni";
|
|
5304
|
+
readonly description: "Xiaomi's multimodal model supporting text, vision, and speech modalities with 256K context window.";
|
|
5305
|
+
readonly family: "xiaomi";
|
|
5306
|
+
readonly releasedAt: Date;
|
|
5307
|
+
readonly providers: [{
|
|
5308
|
+
readonly providerId: "xiaomi";
|
|
5309
|
+
readonly modelName: "mimo-v2-omni";
|
|
5310
|
+
readonly inputPrice: number;
|
|
5311
|
+
readonly outputPrice: number;
|
|
5312
|
+
readonly cachedInputPrice: number;
|
|
5313
|
+
readonly requestPrice: 0;
|
|
5314
|
+
readonly contextSize: 256000;
|
|
5315
|
+
readonly maxOutput: 131072;
|
|
5316
|
+
readonly streaming: true;
|
|
5317
|
+
readonly reasoning: false;
|
|
5318
|
+
readonly vision: true;
|
|
5319
|
+
readonly tools: true;
|
|
5320
|
+
readonly jsonOutput: true;
|
|
5321
|
+
}];
|
|
5322
|
+
}, {
|
|
5323
|
+
readonly id: "mimo-v2-flash";
|
|
5324
|
+
readonly name: "MiMo V2 Flash";
|
|
5325
|
+
readonly description: "Xiaomi's high-efficiency inference model with hybrid architecture, 3 MTP layers for 2.5-3.7x faster inference, and 256K context.";
|
|
5326
|
+
readonly family: "xiaomi";
|
|
5327
|
+
readonly releasedAt: Date;
|
|
5328
|
+
readonly providers: [{
|
|
5329
|
+
readonly providerId: "xiaomi";
|
|
5330
|
+
readonly modelName: "mimo-v2-flash";
|
|
5331
|
+
readonly inputPrice: number;
|
|
5332
|
+
readonly outputPrice: number;
|
|
5333
|
+
readonly cachedInputPrice: number;
|
|
5334
|
+
readonly requestPrice: 0;
|
|
5335
|
+
readonly contextSize: 256000;
|
|
5336
|
+
readonly maxOutput: undefined;
|
|
5337
|
+
readonly streaming: true;
|
|
5338
|
+
readonly reasoning: true;
|
|
5339
|
+
readonly reasoningOutput: "omit";
|
|
5340
|
+
readonly vision: false;
|
|
5341
|
+
readonly tools: true;
|
|
5342
|
+
readonly jsonOutput: true;
|
|
5343
|
+
}];
|
|
5085
5344
|
}, {
|
|
5086
5345
|
readonly id: "llama-3.1-8b-instruct";
|
|
5087
5346
|
readonly name: "Llama 3.1 8B Instruct";
|
package/dist/models.js
CHANGED
|
@@ -13,6 +13,7 @@ import { nousresearchModels } from "./models/nousresearch.js";
|
|
|
13
13
|
import { openaiModels } from "./models/openai.js";
|
|
14
14
|
import { perplexityModels } from "./models/perplexity.js";
|
|
15
15
|
import { xaiModels } from "./models/xai.js";
|
|
16
|
+
import { xiaomiModels } from "./models/xiaomi.js";
|
|
16
17
|
import { zaiModels } from "./models/zai.js";
|
|
17
18
|
export const models = [
|
|
18
19
|
...llmgatewayModels,
|
|
@@ -21,6 +22,7 @@ export const models = [
|
|
|
21
22
|
...googleModels,
|
|
22
23
|
...perplexityModels,
|
|
23
24
|
...xaiModels,
|
|
25
|
+
...xiaomiModels,
|
|
24
26
|
...metaModels,
|
|
25
27
|
...deepseekModels,
|
|
26
28
|
...mistralModels,
|
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,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAib5C,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,YAAY;IACf,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
|
@@ -498,6 +498,23 @@ export declare const providers: [{
|
|
|
498
498
|
readonly color: "#FF6047";
|
|
499
499
|
readonly website: "https://www.embercloud.ai";
|
|
500
500
|
readonly announcement: null;
|
|
501
|
+
}, {
|
|
502
|
+
readonly id: "xiaomi";
|
|
503
|
+
readonly name: "Xiaomi";
|
|
504
|
+
readonly description: "Xiaomi MiMo API Open Platform provides access to the MiMo series of large language models.";
|
|
505
|
+
readonly env: {
|
|
506
|
+
readonly required: {
|
|
507
|
+
readonly apiKey: "LLM_XIAOMI_API_KEY";
|
|
508
|
+
};
|
|
509
|
+
readonly optional: {
|
|
510
|
+
readonly baseUrl: "LLM_XIAOMI_BASE_URL";
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
readonly streaming: true;
|
|
514
|
+
readonly cancellation: true;
|
|
515
|
+
readonly color: "#FF6900";
|
|
516
|
+
readonly website: "https://platform.xiaomimimo.com";
|
|
517
|
+
readonly announcement: null;
|
|
501
518
|
}];
|
|
502
519
|
export type ProviderId = (typeof providers)[number]["id"];
|
|
503
520
|
export declare function getProviderDefinition(providerId: ProviderId | string): ProviderDefinition | undefined;
|
package/dist/providers.js
CHANGED
|
@@ -491,6 +491,24 @@ export const providers = [
|
|
|
491
491
|
website: "https://www.embercloud.ai",
|
|
492
492
|
announcement: null,
|
|
493
493
|
},
|
|
494
|
+
{
|
|
495
|
+
id: "xiaomi",
|
|
496
|
+
name: "Xiaomi",
|
|
497
|
+
description: "Xiaomi MiMo API Open Platform provides access to the MiMo series of large language models.",
|
|
498
|
+
env: {
|
|
499
|
+
required: {
|
|
500
|
+
apiKey: "LLM_XIAOMI_API_KEY",
|
|
501
|
+
},
|
|
502
|
+
optional: {
|
|
503
|
+
baseUrl: "LLM_XIAOMI_BASE_URL",
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
streaming: true,
|
|
507
|
+
cancellation: true,
|
|
508
|
+
color: "#FF6900",
|
|
509
|
+
website: "https://platform.xiaomimimo.com",
|
|
510
|
+
announcement: null,
|
|
511
|
+
},
|
|
494
512
|
];
|
|
495
513
|
export function getProviderDefinition(providerId) {
|
|
496
514
|
return providers.find((p) => p.id === providerId);
|