@funkai/models 0.3.0 → 0.3.2

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.
Files changed (83) hide show
  1. package/.turbo/turbo-build.log +34 -33
  2. package/CHANGELOG.md +36 -0
  3. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -1
  4. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -1
  5. package/dist/anthropic-yB7ST97_.mjs.map +1 -1
  6. package/dist/cerebras-COfl7XM-.mjs.map +1 -1
  7. package/dist/cohere-B7TgO0hT.mjs.map +1 -1
  8. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -1
  9. package/dist/deepseek-D64ZEsvS.mjs.map +1 -1
  10. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -1
  11. package/dist/google-BypRl349.mjs.map +1 -1
  12. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -1
  13. package/dist/groq-ei_PerYi.mjs.map +1 -1
  14. package/dist/huggingface-DaM1EeLP.mjs.map +1 -1
  15. package/dist/inception-CspEzqNV.mjs.map +1 -1
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.d.mts.map +1 -1
  18. package/dist/index.mjs +14 -2
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/llama-Cf3-koap.mjs.map +1 -1
  21. package/dist/mistral-BI9MdAO4.mjs.map +1 -1
  22. package/dist/nvidia-COHacuoa.mjs.map +1 -1
  23. package/dist/openai-C0nCfZUq.mjs.map +1 -1
  24. package/dist/openrouter-DSFzxKQb.mjs.map +1 -1
  25. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -1
  26. package/dist/providers/alibaba.d.mts +1 -1
  27. package/dist/providers/amazon-bedrock.d.mts +1 -1
  28. package/dist/providers/anthropic.d.mts +1 -1
  29. package/dist/providers/cerebras.d.mts +1 -1
  30. package/dist/providers/cohere.d.mts +1 -1
  31. package/dist/providers/deepinfra.d.mts +1 -1
  32. package/dist/providers/deepseek.d.mts +1 -1
  33. package/dist/providers/fireworks-ai.d.mts +1 -1
  34. package/dist/providers/google-vertex.d.mts +1 -1
  35. package/dist/providers/google.d.mts +1 -1
  36. package/dist/providers/groq.d.mts +1 -1
  37. package/dist/providers/huggingface.d.mts +1 -1
  38. package/dist/providers/inception.d.mts +1 -1
  39. package/dist/providers/llama.d.mts +1 -1
  40. package/dist/providers/mistral.d.mts +1 -1
  41. package/dist/providers/nvidia.d.mts +1 -1
  42. package/dist/providers/openai.d.mts +1 -1
  43. package/dist/providers/openrouter.d.mts +1 -1
  44. package/dist/providers/perplexity.d.mts +1 -1
  45. package/dist/providers/togetherai.d.mts +1 -1
  46. package/dist/providers/xai.d.mts +1 -1
  47. package/dist/togetherai-BvcxUfPE.mjs.map +1 -1
  48. package/dist/{types-DjdaZckF.d.mts → types-DIzolT_s.d.mts} +61 -21
  49. package/dist/types-DIzolT_s.d.mts.map +1 -0
  50. package/dist/xai-fSuAkQJo.mjs.map +1 -1
  51. package/package.json +6 -3
  52. package/scripts/generate-models.ts +147 -56
  53. package/src/catalog/index.test.ts +8 -8
  54. package/src/catalog/index.ts +5 -1
  55. package/src/catalog/providers/alibaba.ts +91 -91
  56. package/src/catalog/providers/amazon-bedrock.ts +205 -185
  57. package/src/catalog/providers/anthropic.ts +87 -62
  58. package/src/catalog/providers/cerebras.ts +9 -9
  59. package/src/catalog/providers/cohere.ts +16 -16
  60. package/src/catalog/providers/deepinfra.ts +71 -71
  61. package/src/catalog/providers/deepseek.ts +3 -3
  62. package/src/catalog/providers/fireworks-ai.ts +36 -36
  63. package/src/catalog/providers/google-vertex.ts +62 -62
  64. package/src/catalog/providers/google.ts +69 -69
  65. package/src/catalog/providers/groq.ts +24 -24
  66. package/src/catalog/providers/huggingface.ts +52 -52
  67. package/src/catalog/providers/inception.ts +9 -9
  68. package/src/catalog/providers/index.ts +1 -0
  69. package/src/catalog/providers/llama.ts +7 -7
  70. package/src/catalog/providers/mistral.ts +60 -60
  71. package/src/catalog/providers/nvidia.ts +84 -84
  72. package/src/catalog/providers/openai.ts +115 -115
  73. package/src/catalog/providers/openrouter.ts +448 -433
  74. package/src/catalog/providers/perplexity.ts +9 -9
  75. package/src/catalog/providers/togetherai.ts +47 -47
  76. package/src/catalog/providers/xai.ts +49 -49
  77. package/src/catalog/types.ts +60 -20
  78. package/src/cost/calculate.test.ts +11 -11
  79. package/src/provider/registry.ts +21 -2
  80. package/src/provider/types.ts +1 -1
  81. package/tsconfig.json +2 -1
  82. package/tsdown.config.ts +7 -3
  83. package/dist/types-DjdaZckF.d.mts.map +0 -1
@@ -20,7 +20,7 @@ export const ALIBABA_MODELS = [
20
20
  provider: "alibaba",
21
21
  family: "qwen",
22
22
  pricing: { input: 2.1e-7, output: 6.3e-7 },
23
- contextWindow: 131072,
23
+ contextWindow: 131_072,
24
24
  maxOutput: 8192,
25
25
  modalities: { input: ["text", "image"], output: ["text"] },
26
26
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -30,8 +30,8 @@ export const ALIBABA_MODELS = [
30
30
  name: "Qwen-VL Max",
31
31
  provider: "alibaba",
32
32
  family: "qwen",
33
- pricing: { input: 8e-7, output: 0.0000032 },
34
- contextWindow: 131072,
33
+ pricing: { input: 8e-7, output: 0.000_003_2 },
34
+ contextWindow: 131_072,
35
35
  maxOutput: 8192,
36
36
  modalities: { input: ["text", "image"], output: ["text"] },
37
37
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -41,9 +41,9 @@ export const ALIBABA_MODELS = [
41
41
  name: "Qwen3-Next 80B-A3B (Thinking)",
42
42
  provider: "alibaba",
43
43
  family: "qwen",
44
- pricing: { input: 5e-7, output: 0.000006 },
45
- contextWindow: 131072,
46
- maxOutput: 32768,
44
+ pricing: { input: 5e-7, output: 0.000_006 },
45
+ contextWindow: 131_072,
46
+ maxOutput: 32_768,
47
47
  modalities: { input: ["text"], output: ["text"] },
48
48
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
49
49
  },
@@ -52,9 +52,9 @@ export const ALIBABA_MODELS = [
52
52
  name: "Qwen3-Coder 480B-A35B Instruct",
53
53
  provider: "alibaba",
54
54
  family: "qwen",
55
- pricing: { input: 0.0000015, output: 0.0000075 },
56
- contextWindow: 262144,
57
- maxOutput: 65536,
55
+ pricing: { input: 0.000_001_5, output: 0.000_007_5 },
56
+ contextWindow: 262_144,
57
+ maxOutput: 65_536,
58
58
  modalities: { input: ["text"], output: ["text"] },
59
59
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
60
60
  },
@@ -63,8 +63,8 @@ export const ALIBABA_MODELS = [
63
63
  name: "Qwen3 14B",
64
64
  provider: "alibaba",
65
65
  family: "qwen",
66
- pricing: { input: 3.5e-7, output: 0.0000014, reasoning: 0.0000042 },
67
- contextWindow: 131072,
66
+ pricing: { input: 3.5e-7, output: 0.000_001_4, reasoning: 0.000_004_2 },
67
+ contextWindow: 131_072,
68
68
  maxOutput: 8192,
69
69
  modalities: { input: ["text"], output: ["text"] },
70
70
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -74,9 +74,9 @@ export const ALIBABA_MODELS = [
74
74
  name: "Qwen3 Coder Flash",
75
75
  provider: "alibaba",
76
76
  family: "qwen",
77
- pricing: { input: 3e-7, output: 0.0000015 },
78
- contextWindow: 1000000,
79
- maxOutput: 65536,
77
+ pricing: { input: 3e-7, output: 0.000_001_5 },
78
+ contextWindow: 1_000_000,
79
+ maxOutput: 65_536,
80
80
  modalities: { input: ["text"], output: ["text"] },
81
81
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
82
82
  },
@@ -85,9 +85,9 @@ export const ALIBABA_MODELS = [
85
85
  name: "Qwen3-VL 30B-A3B",
86
86
  provider: "alibaba",
87
87
  family: "qwen",
88
- pricing: { input: 2e-7, output: 8e-7, reasoning: 0.0000024 },
89
- contextWindow: 131072,
90
- maxOutput: 32768,
88
+ pricing: { input: 2e-7, output: 8e-7, reasoning: 0.000_002_4 },
89
+ contextWindow: 131_072,
90
+ maxOutput: 32_768,
91
91
  modalities: { input: ["text", "image"], output: ["text"] },
92
92
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
93
93
  },
@@ -97,7 +97,7 @@ export const ALIBABA_MODELS = [
97
97
  provider: "alibaba",
98
98
  family: "qwen",
99
99
  pricing: { input: 3.5e-8, output: 3.5e-8 },
100
- contextWindow: 53248,
100
+ contextWindow: 53_248,
101
101
  maxOutput: 4096,
102
102
  modalities: { input: ["audio"], output: ["text"] },
103
103
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
@@ -107,8 +107,8 @@ export const ALIBABA_MODELS = [
107
107
  name: "Qwen Max",
108
108
  provider: "alibaba",
109
109
  family: "qwen",
110
- pricing: { input: 0.0000016, output: 0.0000064 },
111
- contextWindow: 32768,
110
+ pricing: { input: 0.000_001_6, output: 0.000_006_4 },
111
+ contextWindow: 32_768,
112
112
  maxOutput: 8192,
113
113
  modalities: { input: ["text"], output: ["text"] },
114
114
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -119,8 +119,8 @@ export const ALIBABA_MODELS = [
119
119
  provider: "alibaba",
120
120
  family: "qwen",
121
121
  pricing: { input: 5e-8, output: 2e-7, reasoning: 5e-7 },
122
- contextWindow: 1000000,
123
- maxOutput: 16384,
122
+ contextWindow: 1_000_000,
123
+ maxOutput: 16_384,
124
124
  modalities: { input: ["text"], output: ["text"] },
125
125
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
126
126
  },
@@ -130,7 +130,7 @@ export const ALIBABA_MODELS = [
130
130
  provider: "alibaba",
131
131
  family: "qwen",
132
132
  pricing: { input: 1.75e-7, output: 7e-7 },
133
- contextWindow: 131072,
133
+ contextWindow: 131_072,
134
134
  maxOutput: 8192,
135
135
  modalities: { input: ["text"], output: ["text"] },
136
136
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -140,8 +140,8 @@ export const ALIBABA_MODELS = [
140
140
  name: "Qwen2.5-VL 72B Instruct",
141
141
  provider: "alibaba",
142
142
  family: "qwen",
143
- pricing: { input: 0.0000028, output: 0.0000084 },
144
- contextWindow: 131072,
143
+ pricing: { input: 0.000_002_8, output: 0.000_008_4 },
144
+ contextWindow: 131_072,
145
145
  maxOutput: 8192,
146
146
  modalities: { input: ["text", "image"], output: ["text"] },
147
147
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -151,8 +151,8 @@ export const ALIBABA_MODELS = [
151
151
  name: "Qwen2.5 14B Instruct",
152
152
  provider: "alibaba",
153
153
  family: "qwen",
154
- pricing: { input: 3.5e-7, output: 0.0000014 },
155
- contextWindow: 131072,
154
+ pricing: { input: 3.5e-7, output: 0.000_001_4 },
155
+ contextWindow: 131_072,
156
156
  maxOutput: 8192,
157
157
  modalities: { input: ["text"], output: ["text"] },
158
158
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -162,8 +162,8 @@ export const ALIBABA_MODELS = [
162
162
  name: "Qwen3 8B",
163
163
  provider: "alibaba",
164
164
  family: "qwen",
165
- pricing: { input: 1.8e-7, output: 7e-7, reasoning: 0.0000021 },
166
- contextWindow: 131072,
165
+ pricing: { input: 1.8e-7, output: 7e-7, reasoning: 0.000_002_1 },
166
+ contextWindow: 131_072,
167
167
  maxOutput: 8192,
168
168
  modalities: { input: ["text"], output: ["text"] },
169
169
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -173,9 +173,9 @@ export const ALIBABA_MODELS = [
173
173
  name: "Qwen3 32B",
174
174
  provider: "alibaba",
175
175
  family: "qwen",
176
- pricing: { input: 7e-7, output: 0.0000028, reasoning: 0.0000084 },
177
- contextWindow: 131072,
178
- maxOutput: 16384,
176
+ pricing: { input: 7e-7, output: 0.000_002_8, reasoning: 0.000_008_4 },
177
+ contextWindow: 131_072,
178
+ maxOutput: 16_384,
179
179
  modalities: { input: ["text"], output: ["text"] },
180
180
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
181
181
  },
@@ -184,9 +184,9 @@ export const ALIBABA_MODELS = [
184
184
  name: "Qwen3.5 397B-A17B",
185
185
  provider: "alibaba",
186
186
  family: "qwen",
187
- pricing: { input: 6e-7, output: 0.0000036, reasoning: 0.0000036 },
188
- contextWindow: 262144,
189
- maxOutput: 65536,
187
+ pricing: { input: 6e-7, output: 0.000_003_6, reasoning: 0.000_003_6 },
188
+ contextWindow: 262_144,
189
+ maxOutput: 65_536,
190
190
  modalities: { input: ["text", "image", "video"], output: ["text"] },
191
191
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
192
192
  },
@@ -195,8 +195,8 @@ export const ALIBABA_MODELS = [
195
195
  name: "QVQ Max",
196
196
  provider: "alibaba",
197
197
  family: "qvq",
198
- pricing: { input: 0.0000012, output: 0.0000048 },
199
- contextWindow: 131072,
198
+ pricing: { input: 0.000_001_2, output: 0.000_004_8 },
199
+ contextWindow: 131_072,
200
200
  maxOutput: 8192,
201
201
  modalities: { input: ["text", "image"], output: ["text"] },
202
202
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -207,7 +207,7 @@ export const ALIBABA_MODELS = [
207
207
  provider: "alibaba",
208
208
  family: "qwen",
209
209
  pricing: { input: 1e-7, output: 4e-7 },
210
- contextWindow: 32768,
210
+ contextWindow: 32_768,
211
211
  maxOutput: 2048,
212
212
  modalities: { input: ["text", "image", "audio", "video"], output: ["text", "audio"] },
213
213
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -217,8 +217,8 @@ export const ALIBABA_MODELS = [
217
217
  name: "Qwen2.5-VL 7B Instruct",
218
218
  provider: "alibaba",
219
219
  family: "qwen",
220
- pricing: { input: 3.5e-7, output: 0.00000105 },
221
- contextWindow: 131072,
220
+ pricing: { input: 3.5e-7, output: 0.000_001_05 },
221
+ contextWindow: 131_072,
222
222
  maxOutput: 8192,
223
223
  modalities: { input: ["text", "image"], output: ["text"] },
224
224
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -228,8 +228,8 @@ export const ALIBABA_MODELS = [
228
228
  name: "Qwen-Omni Turbo Realtime",
229
229
  provider: "alibaba",
230
230
  family: "qwen",
231
- pricing: { input: 2.7e-7, output: 0.00000107 },
232
- contextWindow: 32768,
231
+ pricing: { input: 2.7e-7, output: 0.000_001_07 },
232
+ contextWindow: 32_768,
233
233
  maxOutput: 2048,
234
234
  modalities: { input: ["text", "image", "audio"], output: ["text", "audio"] },
235
235
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -239,9 +239,9 @@ export const ALIBABA_MODELS = [
239
239
  name: "Qwen3 235B-A22B",
240
240
  provider: "alibaba",
241
241
  family: "qwen",
242
- pricing: { input: 7e-7, output: 0.0000028, reasoning: 0.0000084 },
243
- contextWindow: 131072,
244
- maxOutput: 16384,
242
+ pricing: { input: 7e-7, output: 0.000_002_8, reasoning: 0.000_008_4 },
243
+ contextWindow: 131_072,
244
+ maxOutput: 16_384,
245
245
  modalities: { input: ["text"], output: ["text"] },
246
246
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
247
247
  },
@@ -250,9 +250,9 @@ export const ALIBABA_MODELS = [
250
250
  name: "Qwen3-Coder 30B-A3B Instruct",
251
251
  provider: "alibaba",
252
252
  family: "qwen",
253
- pricing: { input: 4.5e-7, output: 0.00000225 },
254
- contextWindow: 262144,
255
- maxOutput: 65536,
253
+ pricing: { input: 4.5e-7, output: 0.000_002_25 },
254
+ contextWindow: 262_144,
255
+ maxOutput: 65_536,
256
256
  modalities: { input: ["text"], output: ["text"] },
257
257
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
258
258
  },
@@ -262,7 +262,7 @@ export const ALIBABA_MODELS = [
262
262
  provider: "alibaba",
263
263
  family: "qwen",
264
264
  pricing: { input: 7e-8, output: 2.7e-7 },
265
- contextWindow: 32768,
265
+ contextWindow: 32_768,
266
266
  maxOutput: 2048,
267
267
  modalities: { input: ["text", "image", "audio", "video"], output: ["text", "audio"] },
268
268
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -272,8 +272,8 @@ export const ALIBABA_MODELS = [
272
272
  name: "Qwen-MT Plus",
273
273
  provider: "alibaba",
274
274
  family: "qwen",
275
- pricing: { input: 0.00000246, output: 0.00000737 },
276
- contextWindow: 16384,
275
+ pricing: { input: 0.000_002_46, output: 0.000_007_37 },
276
+ contextWindow: 16_384,
277
277
  maxOutput: 8192,
278
278
  modalities: { input: ["text"], output: ["text"] },
279
279
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
@@ -283,9 +283,9 @@ export const ALIBABA_MODELS = [
283
283
  name: "Qwen3-VL Plus",
284
284
  provider: "alibaba",
285
285
  family: "qwen",
286
- pricing: { input: 2e-7, output: 0.0000016, reasoning: 0.0000048 },
287
- contextWindow: 262144,
288
- maxOutput: 32768,
286
+ pricing: { input: 2e-7, output: 0.000_001_6, reasoning: 0.000_004_8 },
287
+ contextWindow: 262_144,
288
+ maxOutput: 32_768,
289
289
  modalities: { input: ["text", "image"], output: ["text"] },
290
290
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
291
291
  },
@@ -294,8 +294,8 @@ export const ALIBABA_MODELS = [
294
294
  name: "Qwen3-LiveTranslate Flash Realtime",
295
295
  provider: "alibaba",
296
296
  family: "qwen",
297
- pricing: { input: 0.00001, output: 0.00001 },
298
- contextWindow: 53248,
297
+ pricing: { input: 0.000_01, output: 0.000_01 },
298
+ contextWindow: 53_248,
299
299
  maxOutput: 4096,
300
300
  modalities: { input: ["text", "image", "audio", "video"], output: ["text", "audio"] },
301
301
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
@@ -305,9 +305,9 @@ export const ALIBABA_MODELS = [
305
305
  name: "Qwen Plus",
306
306
  provider: "alibaba",
307
307
  family: "qwen",
308
- pricing: { input: 4e-7, output: 0.0000012, reasoning: 0.000004 },
309
- contextWindow: 1000000,
310
- maxOutput: 32768,
308
+ pricing: { input: 4e-7, output: 0.000_001_2, reasoning: 0.000_004 },
309
+ contextWindow: 1_000_000,
310
+ maxOutput: 32_768,
311
311
  modalities: { input: ["text"], output: ["text"] },
312
312
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
313
313
  },
@@ -316,8 +316,8 @@ export const ALIBABA_MODELS = [
316
316
  name: "Qwen2.5 32B Instruct",
317
317
  provider: "alibaba",
318
318
  family: "qwen",
319
- pricing: { input: 7e-7, output: 0.0000028 },
320
- contextWindow: 131072,
319
+ pricing: { input: 7e-7, output: 0.000_002_8 },
320
+ contextWindow: 131_072,
321
321
  maxOutput: 8192,
322
322
  modalities: { input: ["text"], output: ["text"] },
323
323
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -327,9 +327,9 @@ export const ALIBABA_MODELS = [
327
327
  name: "Qwen3-Next 80B-A3B Instruct",
328
328
  provider: "alibaba",
329
329
  family: "qwen",
330
- pricing: { input: 5e-7, output: 0.000002 },
331
- contextWindow: 131072,
332
- maxOutput: 32768,
330
+ pricing: { input: 5e-7, output: 0.000_002 },
331
+ contextWindow: 131_072,
332
+ maxOutput: 32_768,
333
333
  modalities: { input: ["text"], output: ["text"] },
334
334
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
335
335
  },
@@ -338,9 +338,9 @@ export const ALIBABA_MODELS = [
338
338
  name: "Qwen3.5 Plus",
339
339
  provider: "alibaba",
340
340
  family: "qwen",
341
- pricing: { input: 4e-7, output: 0.0000024, reasoning: 0.0000024 },
342
- contextWindow: 1000000,
343
- maxOutput: 65536,
341
+ pricing: { input: 4e-7, output: 0.000_002_4, reasoning: 0.000_002_4 },
342
+ contextWindow: 1_000_000,
343
+ maxOutput: 65_536,
344
344
  modalities: { input: ["text", "image", "video"], output: ["text"] },
345
345
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
346
346
  },
@@ -349,9 +349,9 @@ export const ALIBABA_MODELS = [
349
349
  name: "Qwen3 Max",
350
350
  provider: "alibaba",
351
351
  family: "qwen",
352
- pricing: { input: 0.0000012, output: 0.000006 },
353
- contextWindow: 262144,
354
- maxOutput: 65536,
352
+ pricing: { input: 0.000_001_2, output: 0.000_006 },
353
+ contextWindow: 262_144,
354
+ maxOutput: 65_536,
355
355
  modalities: { input: ["text"], output: ["text"] },
356
356
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
357
357
  },
@@ -360,9 +360,9 @@ export const ALIBABA_MODELS = [
360
360
  name: "Qwen3-Omni Flash",
361
361
  provider: "alibaba",
362
362
  family: "qwen",
363
- pricing: { input: 4.3e-7, output: 0.00000166 },
364
- contextWindow: 65536,
365
- maxOutput: 16384,
363
+ pricing: { input: 4.3e-7, output: 0.000_001_66 },
364
+ contextWindow: 65_536,
365
+ maxOutput: 16_384,
366
366
  modalities: { input: ["text", "image", "audio", "video"], output: ["text", "audio"] },
367
367
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
368
368
  },
@@ -371,9 +371,9 @@ export const ALIBABA_MODELS = [
371
371
  name: "Qwen3 Coder Plus",
372
372
  provider: "alibaba",
373
373
  family: "qwen",
374
- pricing: { input: 0.000001, output: 0.000005 },
375
- contextWindow: 1048576,
376
- maxOutput: 65536,
374
+ pricing: { input: 0.000_001, output: 0.000_005 },
375
+ contextWindow: 1_048_576,
376
+ maxOutput: 65_536,
377
377
  modalities: { input: ["text"], output: ["text"] },
378
378
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
379
379
  },
@@ -383,8 +383,8 @@ export const ALIBABA_MODELS = [
383
383
  provider: "alibaba",
384
384
  family: "qwen",
385
385
  pricing: { input: 5e-8, output: 4e-7 },
386
- contextWindow: 1000000,
387
- maxOutput: 32768,
386
+ contextWindow: 1_000_000,
387
+ maxOutput: 32_768,
388
388
  modalities: { input: ["text"], output: ["text"] },
389
389
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
390
390
  },
@@ -393,8 +393,8 @@ export const ALIBABA_MODELS = [
393
393
  name: "Qwen2.5 72B Instruct",
394
394
  provider: "alibaba",
395
395
  family: "qwen",
396
- pricing: { input: 0.0000014, output: 0.0000056 },
397
- contextWindow: 131072,
396
+ pricing: { input: 0.000_001_4, output: 0.000_005_6 },
397
+ contextWindow: 131_072,
398
398
  maxOutput: 8192,
399
399
  modalities: { input: ["text"], output: ["text"] },
400
400
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
@@ -404,9 +404,9 @@ export const ALIBABA_MODELS = [
404
404
  name: "Qwen3-Omni Flash Realtime",
405
405
  provider: "alibaba",
406
406
  family: "qwen",
407
- pricing: { input: 5.2e-7, output: 0.00000199 },
408
- contextWindow: 65536,
409
- maxOutput: 16384,
407
+ pricing: { input: 5.2e-7, output: 0.000_001_99 },
408
+ contextWindow: 65_536,
409
+ maxOutput: 16_384,
410
410
  modalities: { input: ["text", "image", "audio", "video"], output: ["text", "audio"] },
411
411
  capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
412
412
  },
@@ -416,7 +416,7 @@ export const ALIBABA_MODELS = [
416
416
  provider: "alibaba",
417
417
  family: "qwen",
418
418
  pricing: { input: 7.2e-7, output: 7.2e-7 },
419
- contextWindow: 34096,
419
+ contextWindow: 34_096,
420
420
  maxOutput: 4096,
421
421
  modalities: { input: ["text", "image"], output: ["text"] },
422
422
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
@@ -426,8 +426,8 @@ export const ALIBABA_MODELS = [
426
426
  name: "QwQ Plus",
427
427
  provider: "alibaba",
428
428
  family: "qwen",
429
- pricing: { input: 8e-7, output: 0.0000024 },
430
- contextWindow: 131072,
429
+ pricing: { input: 8e-7, output: 0.000_002_4 },
430
+ contextWindow: 131_072,
431
431
  maxOutput: 8192,
432
432
  modalities: { input: ["text"], output: ["text"] },
433
433
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
@@ -437,9 +437,9 @@ export const ALIBABA_MODELS = [
437
437
  name: "Qwen3-VL 235B-A22B",
438
438
  provider: "alibaba",
439
439
  family: "qwen",
440
- pricing: { input: 7e-7, output: 0.0000028, reasoning: 0.0000084 },
441
- contextWindow: 131072,
442
- maxOutput: 32768,
440
+ pricing: { input: 7e-7, output: 0.000_002_8, reasoning: 0.000_008_4 },
441
+ contextWindow: 131_072,
442
+ maxOutput: 32_768,
443
443
  modalities: { input: ["text", "image"], output: ["text"] },
444
444
  capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
445
445
  },
@@ -448,7 +448,7 @@ export const ALIBABA_MODELS = [
448
448
  name: "Qwen Plus Character (Japanese)",
449
449
  provider: "alibaba",
450
450
  family: "qwen",
451
- pricing: { input: 5e-7, output: 0.0000014 },
451
+ pricing: { input: 5e-7, output: 0.000_001_4 },
452
452
  contextWindow: 8192,
453
453
  maxOutput: 512,
454
454
  modalities: { input: ["text"], output: ["text"] },
@@ -460,7 +460,7 @@ export const ALIBABA_MODELS = [
460
460
  provider: "alibaba",
461
461
  family: "qwen",
462
462
  pricing: { input: 1.6e-7, output: 4.9e-7 },
463
- contextWindow: 16384,
463
+ contextWindow: 16_384,
464
464
  maxOutput: 8192,
465
465
  modalities: { input: ["text"], output: ["text"] },
466
466
  capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },