@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.
@@ -0,0 +1,146 @@
1
+ export declare const xiaomiModels: [{
2
+ readonly id: "mimo-v2.5-pro";
3
+ readonly name: "MiMo V2.5 Pro";
4
+ 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.";
5
+ readonly family: "xiaomi";
6
+ readonly releasedAt: Date;
7
+ readonly providers: [{
8
+ readonly providerId: "xiaomi";
9
+ readonly modelName: "mimo-v2.5-pro";
10
+ readonly inputPrice: number;
11
+ readonly outputPrice: number;
12
+ readonly cachedInputPrice: number;
13
+ readonly requestPrice: 0;
14
+ readonly contextSize: 1000000;
15
+ readonly maxOutput: 131072;
16
+ readonly streaming: true;
17
+ readonly reasoning: true;
18
+ readonly vision: false;
19
+ readonly tools: true;
20
+ readonly jsonOutput: true;
21
+ readonly pricingTiers: [{
22
+ readonly name: "256K";
23
+ readonly upToTokens: 256000;
24
+ readonly inputPrice: number;
25
+ readonly outputPrice: number;
26
+ readonly cachedInputPrice: number;
27
+ }, {
28
+ readonly name: "1M";
29
+ readonly upToTokens: 1000000;
30
+ readonly inputPrice: number;
31
+ readonly outputPrice: number;
32
+ readonly cachedInputPrice: number;
33
+ }];
34
+ }];
35
+ }, {
36
+ readonly id: "mimo-v2-pro";
37
+ readonly name: "MiMo V2 Pro";
38
+ readonly description: "Xiaomi's 1T-parameter model with 42B active parameters and 1M context window using hybrid Global Attention + SWA architecture.";
39
+ readonly family: "xiaomi";
40
+ readonly releasedAt: Date;
41
+ readonly providers: [{
42
+ readonly providerId: "xiaomi";
43
+ readonly modelName: "mimo-v2-pro";
44
+ readonly inputPrice: number;
45
+ readonly outputPrice: number;
46
+ readonly cachedInputPrice: number;
47
+ readonly requestPrice: 0;
48
+ readonly contextSize: 1000000;
49
+ readonly maxOutput: 131072;
50
+ readonly streaming: true;
51
+ readonly reasoning: true;
52
+ readonly vision: false;
53
+ readonly tools: true;
54
+ readonly jsonOutput: true;
55
+ readonly pricingTiers: [{
56
+ readonly name: "256K";
57
+ readonly upToTokens: 256000;
58
+ readonly inputPrice: number;
59
+ readonly outputPrice: number;
60
+ readonly cachedInputPrice: number;
61
+ }, {
62
+ readonly name: "1M";
63
+ readonly upToTokens: 1000000;
64
+ readonly inputPrice: number;
65
+ readonly outputPrice: number;
66
+ readonly cachedInputPrice: number;
67
+ }];
68
+ }];
69
+ }, {
70
+ readonly id: "mimo-v2.5";
71
+ readonly name: "MiMo V2.5";
72
+ 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.";
73
+ readonly family: "xiaomi";
74
+ readonly releasedAt: Date;
75
+ readonly providers: [{
76
+ readonly providerId: "xiaomi";
77
+ readonly modelName: "mimo-v2.5";
78
+ readonly inputPrice: number;
79
+ readonly outputPrice: number;
80
+ readonly cachedInputPrice: number;
81
+ readonly requestPrice: 0;
82
+ readonly contextSize: 1000000;
83
+ readonly maxOutput: 131072;
84
+ readonly streaming: true;
85
+ readonly reasoning: true;
86
+ readonly vision: true;
87
+ readonly tools: true;
88
+ readonly jsonOutput: true;
89
+ readonly pricingTiers: [{
90
+ readonly name: "256K";
91
+ readonly upToTokens: 256000;
92
+ readonly inputPrice: number;
93
+ readonly outputPrice: number;
94
+ readonly cachedInputPrice: number;
95
+ }, {
96
+ readonly name: "1M";
97
+ readonly upToTokens: 1000000;
98
+ readonly inputPrice: number;
99
+ readonly outputPrice: number;
100
+ readonly cachedInputPrice: number;
101
+ }];
102
+ }];
103
+ }, {
104
+ readonly id: "mimo-v2-omni";
105
+ readonly name: "MiMo V2 Omni";
106
+ readonly description: "Xiaomi's multimodal model supporting text, vision, and speech modalities with 256K context window.";
107
+ readonly family: "xiaomi";
108
+ readonly releasedAt: Date;
109
+ readonly providers: [{
110
+ readonly providerId: "xiaomi";
111
+ readonly modelName: "mimo-v2-omni";
112
+ readonly inputPrice: number;
113
+ readonly outputPrice: number;
114
+ readonly cachedInputPrice: number;
115
+ readonly requestPrice: 0;
116
+ readonly contextSize: 256000;
117
+ readonly maxOutput: 131072;
118
+ readonly streaming: true;
119
+ readonly reasoning: false;
120
+ readonly vision: true;
121
+ readonly tools: true;
122
+ readonly jsonOutput: true;
123
+ }];
124
+ }, {
125
+ readonly id: "mimo-v2-flash";
126
+ readonly name: "MiMo V2 Flash";
127
+ readonly description: "Xiaomi's high-efficiency inference model with hybrid architecture, 3 MTP layers for 2.5-3.7x faster inference, and 256K context.";
128
+ readonly family: "xiaomi";
129
+ readonly releasedAt: Date;
130
+ readonly providers: [{
131
+ readonly providerId: "xiaomi";
132
+ readonly modelName: "mimo-v2-flash";
133
+ readonly inputPrice: number;
134
+ readonly outputPrice: number;
135
+ readonly cachedInputPrice: number;
136
+ readonly requestPrice: 0;
137
+ readonly contextSize: 256000;
138
+ readonly maxOutput: undefined;
139
+ readonly streaming: true;
140
+ readonly reasoning: true;
141
+ readonly reasoningOutput: "omit";
142
+ readonly vision: false;
143
+ readonly tools: true;
144
+ readonly jsonOutput: true;
145
+ }];
146
+ }];
@@ -0,0 +1,172 @@
1
+ export const xiaomiModels = [
2
+ {
3
+ id: "mimo-v2.5-pro",
4
+ name: "MiMo V2.5 Pro",
5
+ 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.",
6
+ family: "xiaomi",
7
+ releasedAt: new Date("2026-04-23"),
8
+ providers: [
9
+ {
10
+ providerId: "xiaomi",
11
+ modelName: "mimo-v2.5-pro",
12
+ inputPrice: 1 / 1e6,
13
+ outputPrice: 3 / 1e6,
14
+ cachedInputPrice: 0.2 / 1e6,
15
+ requestPrice: 0,
16
+ contextSize: 1000000,
17
+ maxOutput: 131072,
18
+ streaming: true,
19
+ reasoning: true,
20
+ vision: false,
21
+ tools: true,
22
+ jsonOutput: true,
23
+ pricingTiers: [
24
+ {
25
+ name: "256K",
26
+ upToTokens: 256000,
27
+ inputPrice: 1 / 1e6,
28
+ outputPrice: 3 / 1e6,
29
+ cachedInputPrice: 0.2 / 1e6,
30
+ },
31
+ {
32
+ name: "1M",
33
+ upToTokens: 1000000,
34
+ inputPrice: 2 / 1e6,
35
+ outputPrice: 6 / 1e6,
36
+ cachedInputPrice: 0.4 / 1e6,
37
+ },
38
+ ],
39
+ },
40
+ ],
41
+ },
42
+ {
43
+ id: "mimo-v2-pro",
44
+ name: "MiMo V2 Pro",
45
+ description: "Xiaomi's 1T-parameter model with 42B active parameters and 1M context window using hybrid Global Attention + SWA architecture.",
46
+ family: "xiaomi",
47
+ releasedAt: new Date("2026-03-18"),
48
+ providers: [
49
+ {
50
+ providerId: "xiaomi",
51
+ modelName: "mimo-v2-pro",
52
+ inputPrice: 1 / 1e6,
53
+ outputPrice: 3 / 1e6,
54
+ cachedInputPrice: 0.2 / 1e6,
55
+ requestPrice: 0,
56
+ contextSize: 1000000,
57
+ maxOutput: 131072,
58
+ streaming: true,
59
+ reasoning: true,
60
+ vision: false,
61
+ tools: true,
62
+ jsonOutput: true,
63
+ pricingTiers: [
64
+ {
65
+ name: "256K",
66
+ upToTokens: 256000,
67
+ inputPrice: 1 / 1e6,
68
+ outputPrice: 3 / 1e6,
69
+ cachedInputPrice: 0.2 / 1e6,
70
+ },
71
+ {
72
+ name: "1M",
73
+ upToTokens: 1000000,
74
+ inputPrice: 2 / 1e6,
75
+ outputPrice: 6 / 1e6,
76
+ cachedInputPrice: 0.4 / 1e6,
77
+ },
78
+ ],
79
+ },
80
+ ],
81
+ },
82
+ {
83
+ id: "mimo-v2.5",
84
+ name: "MiMo V2.5",
85
+ 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.",
86
+ family: "xiaomi",
87
+ releasedAt: new Date("2026-04-23"),
88
+ providers: [
89
+ {
90
+ providerId: "xiaomi",
91
+ modelName: "mimo-v2.5",
92
+ inputPrice: 0.4 / 1e6,
93
+ outputPrice: 2 / 1e6,
94
+ cachedInputPrice: 0.08 / 1e6,
95
+ requestPrice: 0,
96
+ contextSize: 1000000,
97
+ maxOutput: 131072,
98
+ streaming: true,
99
+ reasoning: true,
100
+ vision: true,
101
+ tools: true,
102
+ jsonOutput: true,
103
+ pricingTiers: [
104
+ {
105
+ name: "256K",
106
+ upToTokens: 256000,
107
+ inputPrice: 0.4 / 1e6,
108
+ outputPrice: 2 / 1e6,
109
+ cachedInputPrice: 0.08 / 1e6,
110
+ },
111
+ {
112
+ name: "1M",
113
+ upToTokens: 1000000,
114
+ inputPrice: 0.8 / 1e6,
115
+ outputPrice: 4 / 1e6,
116
+ cachedInputPrice: 0.16 / 1e6,
117
+ },
118
+ ],
119
+ },
120
+ ],
121
+ },
122
+ {
123
+ id: "mimo-v2-omni",
124
+ name: "MiMo V2 Omni",
125
+ description: "Xiaomi's multimodal model supporting text, vision, and speech modalities with 256K context window.",
126
+ family: "xiaomi",
127
+ releasedAt: new Date("2026-03-18"),
128
+ providers: [
129
+ {
130
+ providerId: "xiaomi",
131
+ modelName: "mimo-v2-omni",
132
+ inputPrice: 0.4 / 1e6,
133
+ outputPrice: 2 / 1e6,
134
+ cachedInputPrice: 0.08 / 1e6,
135
+ requestPrice: 0,
136
+ contextSize: 256000,
137
+ maxOutput: 131072,
138
+ streaming: true,
139
+ reasoning: false,
140
+ vision: true,
141
+ tools: true,
142
+ jsonOutput: true,
143
+ },
144
+ ],
145
+ },
146
+ {
147
+ id: "mimo-v2-flash",
148
+ name: "MiMo V2 Flash",
149
+ description: "Xiaomi's high-efficiency inference model with hybrid architecture, 3 MTP layers for 2.5-3.7x faster inference, and 256K context.",
150
+ family: "xiaomi",
151
+ releasedAt: new Date("2025-12-16"),
152
+ providers: [
153
+ {
154
+ providerId: "xiaomi",
155
+ modelName: "mimo-v2-flash",
156
+ inputPrice: 0.1 / 1e6,
157
+ outputPrice: 0.3 / 1e6,
158
+ cachedInputPrice: 0.01 / 1e6,
159
+ requestPrice: 0,
160
+ contextSize: 256000,
161
+ maxOutput: undefined,
162
+ streaming: true,
163
+ reasoning: true,
164
+ reasoningOutput: "omit",
165
+ vision: false,
166
+ tools: true,
167
+ jsonOutput: true,
168
+ },
169
+ ],
170
+ },
171
+ ];
172
+ //# sourceMappingURL=xiaomi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xiaomi.js","sourceRoot":"","sources":["../../src/models/xiaomi.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;QACC,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,WAAW,EACV,8KAA8K;QAC/K,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,SAAS,EAAE;YACV;gBACC,UAAU,EAAE,QAAiB;gBAC7B,SAAS,EAAE,eAAe;gBAC1B,UAAU,EAAE,CAAC,GAAG,GAAG;gBACnB,WAAW,EAAE,CAAC,GAAG,GAAG;gBACpB,gBAAgB,EAAE,GAAG,GAAG,GAAG;gBAC3B,YAAY,EAAE,CAAC;gBACf,WAAW,EAAE,OAAO;gBACpB,SAAS,EAAE,MAAM;gBACjB,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;gBACX,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE;oBACb;wBACC,IAAI,EAAE,MAAM;wBACZ,UAAU,EAAE,MAAM;wBAClB,UAAU,EAAE,CAAC,GAAG,GAAG;wBACnB,WAAW,EAAE,CAAC,GAAG,GAAG;wBACpB,gBAAgB,EAAE,GAAG,GAAG,GAAG;qBAC3B;oBACD;wBACC,IAAI,EAAE,IAAI;wBACV,UAAU,EAAE,OAAO;wBACnB,UAAU,EAAE,CAAC,GAAG,GAAG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