@funkai/models 0.1.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.
Files changed (213) hide show
  1. package/.generated/entries.json +23 -0
  2. package/.generated/req.txt +1 -0
  3. package/.turbo/turbo-build.log +145 -0
  4. package/.turbo/turbo-typecheck.log +4 -0
  5. package/CHANGELOG.md +23 -0
  6. package/README.md +95 -0
  7. package/dist/alibaba-B6q4Ng1R.mjs +957 -0
  8. package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
  9. package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
  10. package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
  11. package/dist/anthropic-yB7ST97_.mjs +651 -0
  12. package/dist/anthropic-yB7ST97_.mjs.map +1 -0
  13. package/dist/cerebras-COfl7XM-.mjs +95 -0
  14. package/dist/cerebras-COfl7XM-.mjs.map +1 -0
  15. package/dist/cohere-B7TgO0hT.mjs +271 -0
  16. package/dist/cohere-B7TgO0hT.mjs.map +1 -0
  17. package/dist/deepinfra-B0GxUwCG.mjs +636 -0
  18. package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
  19. package/dist/deepseek-D64ZEsvS.mjs +50 -0
  20. package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
  21. package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
  22. package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
  23. package/dist/google-BypRl349.mjs +833 -0
  24. package/dist/google-BypRl349.mjs.map +1 -0
  25. package/dist/google-vertex-DbS-zTGD.mjs +730 -0
  26. package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
  27. package/dist/groq-ei_PerYi.mjs +381 -0
  28. package/dist/groq-ei_PerYi.mjs.map +1 -0
  29. package/dist/huggingface-DaM1EeLP.mjs +456 -0
  30. package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
  31. package/dist/inception-CspEzqNV.mjs +101 -0
  32. package/dist/inception-CspEzqNV.mjs.map +1 -0
  33. package/dist/index.d.mts +30314 -0
  34. package/dist/index.d.mts.map +1 -0
  35. package/dist/index.mjs +271 -0
  36. package/dist/index.mjs.map +1 -0
  37. package/dist/llama-Cf3-koap.mjs +161 -0
  38. package/dist/llama-Cf3-koap.mjs.map +1 -0
  39. package/dist/mistral-BI9MdAO4.mjs +579 -0
  40. package/dist/mistral-BI9MdAO4.mjs.map +1 -0
  41. package/dist/nvidia-COHacuoa.mjs +1625 -0
  42. package/dist/nvidia-COHacuoa.mjs.map +1 -0
  43. package/dist/openai-C0nCfZUq.mjs +1023 -0
  44. package/dist/openai-C0nCfZUq.mjs.map +1 -0
  45. package/dist/openrouter-DSFzxKQb.mjs +4608 -0
  46. package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
  47. package/dist/perplexity-zeZ2WlBU.mjs +96 -0
  48. package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
  49. package/dist/providers/alibaba.d.mts +1795 -0
  50. package/dist/providers/alibaba.d.mts.map +1 -0
  51. package/dist/providers/alibaba.mjs +39 -0
  52. package/dist/providers/alibaba.mjs.map +1 -0
  53. package/dist/providers/amazon-bedrock.d.mts +3713 -0
  54. package/dist/providers/amazon-bedrock.d.mts.map +1 -0
  55. package/dist/providers/amazon-bedrock.mjs +39 -0
  56. package/dist/providers/amazon-bedrock.mjs.map +1 -0
  57. package/dist/providers/anthropic.d.mts +1109 -0
  58. package/dist/providers/anthropic.d.mts.map +1 -0
  59. package/dist/providers/anthropic.mjs +39 -0
  60. package/dist/providers/anthropic.mjs.map +1 -0
  61. package/dist/providers/cerebras.d.mts +219 -0
  62. package/dist/providers/cerebras.d.mts.map +1 -0
  63. package/dist/providers/cerebras.mjs +39 -0
  64. package/dist/providers/cerebras.mjs.map +1 -0
  65. package/dist/providers/cohere.d.mts +555 -0
  66. package/dist/providers/cohere.d.mts.map +1 -0
  67. package/dist/providers/cohere.mjs +39 -0
  68. package/dist/providers/cohere.mjs.map +1 -0
  69. package/dist/providers/deepinfra.d.mts +1245 -0
  70. package/dist/providers/deepinfra.d.mts.map +1 -0
  71. package/dist/providers/deepinfra.mjs +39 -0
  72. package/dist/providers/deepinfra.mjs.map +1 -0
  73. package/dist/providers/deepseek.d.mts +139 -0
  74. package/dist/providers/deepseek.d.mts.map +1 -0
  75. package/dist/providers/deepseek.mjs +39 -0
  76. package/dist/providers/deepseek.mjs.map +1 -0
  77. package/dist/providers/fireworks-ai.d.mts +611 -0
  78. package/dist/providers/fireworks-ai.d.mts.map +1 -0
  79. package/dist/providers/fireworks-ai.mjs +39 -0
  80. package/dist/providers/fireworks-ai.mjs.map +1 -0
  81. package/dist/providers/google-vertex.d.mts +1227 -0
  82. package/dist/providers/google-vertex.d.mts.map +1 -0
  83. package/dist/providers/google-vertex.mjs +39 -0
  84. package/dist/providers/google-vertex.mjs.map +1 -0
  85. package/dist/providers/google.d.mts +1359 -0
  86. package/dist/providers/google.d.mts.map +1 -0
  87. package/dist/providers/google.mjs +39 -0
  88. package/dist/providers/google.mjs.map +1 -0
  89. package/dist/providers/groq.d.mts +765 -0
  90. package/dist/providers/groq.d.mts.map +1 -0
  91. package/dist/providers/groq.mjs +39 -0
  92. package/dist/providers/groq.mjs.map +1 -0
  93. package/dist/providers/huggingface.d.mts +901 -0
  94. package/dist/providers/huggingface.d.mts.map +1 -0
  95. package/dist/providers/huggingface.mjs +39 -0
  96. package/dist/providers/huggingface.mjs.map +1 -0
  97. package/dist/providers/inception.d.mts +231 -0
  98. package/dist/providers/inception.d.mts.map +1 -0
  99. package/dist/providers/inception.mjs +39 -0
  100. package/dist/providers/inception.mjs.map +1 -0
  101. package/dist/providers/llama.d.mts +345 -0
  102. package/dist/providers/llama.d.mts.map +1 -0
  103. package/dist/providers/llama.mjs +39 -0
  104. package/dist/providers/llama.mjs.map +1 -0
  105. package/dist/providers/mistral.d.mts +1143 -0
  106. package/dist/providers/mistral.d.mts.map +1 -0
  107. package/dist/providers/mistral.mjs +39 -0
  108. package/dist/providers/mistral.mjs.map +1 -0
  109. package/dist/providers/nvidia.d.mts +3117 -0
  110. package/dist/providers/nvidia.d.mts.map +1 -0
  111. package/dist/providers/nvidia.mjs +39 -0
  112. package/dist/providers/nvidia.mjs.map +1 -0
  113. package/dist/providers/openai.d.mts +1963 -0
  114. package/dist/providers/openai.d.mts.map +1 -0
  115. package/dist/providers/openai.mjs +39 -0
  116. package/dist/providers/openai.mjs.map +1 -0
  117. package/dist/providers/openrouter.d.mts +8531 -0
  118. package/dist/providers/openrouter.d.mts.map +1 -0
  119. package/dist/providers/openrouter.mjs +39 -0
  120. package/dist/providers/openrouter.mjs.map +1 -0
  121. package/dist/providers/perplexity.d.mts +221 -0
  122. package/dist/providers/perplexity.d.mts.map +1 -0
  123. package/dist/providers/perplexity.mjs +39 -0
  124. package/dist/providers/perplexity.mjs.map +1 -0
  125. package/dist/providers/togetherai.d.mts +767 -0
  126. package/dist/providers/togetherai.d.mts.map +1 -0
  127. package/dist/providers/togetherai.mjs +39 -0
  128. package/dist/providers/togetherai.mjs.map +1 -0
  129. package/dist/providers/xai.d.mts +1161 -0
  130. package/dist/providers/xai.d.mts.map +1 -0
  131. package/dist/providers/xai.mjs +39 -0
  132. package/dist/providers/xai.mjs.map +1 -0
  133. package/dist/togetherai-BvcxUfPE.mjs +382 -0
  134. package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
  135. package/dist/types-DjdaZckF.d.mts +71 -0
  136. package/dist/types-DjdaZckF.d.mts.map +1 -0
  137. package/dist/xai-fSuAkQJo.mjs +587 -0
  138. package/dist/xai-fSuAkQJo.mjs.map +1 -0
  139. package/docs/catalog/filtering.md +102 -0
  140. package/docs/catalog/overview.md +168 -0
  141. package/docs/catalog/providers.md +73 -0
  142. package/docs/cost/overview.md +125 -0
  143. package/docs/guides/filter-models.md +113 -0
  144. package/docs/guides/setup-resolver.md +106 -0
  145. package/docs/guides/track-costs.md +133 -0
  146. package/docs/overview.md +139 -0
  147. package/docs/provider/configuration.md +100 -0
  148. package/docs/provider/openrouter.md +105 -0
  149. package/docs/provider/overview.md +131 -0
  150. package/docs/troubleshooting.md +100 -0
  151. package/package.json +142 -0
  152. package/providers.json +39 -0
  153. package/scripts/generate-models.ts +392 -0
  154. package/src/catalog/index.test.ts +124 -0
  155. package/src/catalog/index.ts +65 -0
  156. package/src/catalog/providers/alibaba.ts +468 -0
  157. package/src/catalog/providers/amazon-bedrock.ts +941 -0
  158. package/src/catalog/providers/anthropic.ts +270 -0
  159. package/src/catalog/providers/cerebras.ts +61 -0
  160. package/src/catalog/providers/cohere.ts +149 -0
  161. package/src/catalog/providers/deepinfra.ts +325 -0
  162. package/src/catalog/providers/deepseek.ts +39 -0
  163. package/src/catalog/providers/fireworks-ai.ts +160 -0
  164. package/src/catalog/providers/google-vertex.ts +314 -0
  165. package/src/catalog/providers/google.ts +347 -0
  166. package/src/catalog/providers/groq.ts +204 -0
  167. package/src/catalog/providers/huggingface.ts +237 -0
  168. package/src/catalog/providers/inception.ts +61 -0
  169. package/src/catalog/providers/index.ts +59 -0
  170. package/src/catalog/providers/llama.ts +94 -0
  171. package/src/catalog/providers/mistral.ts +303 -0
  172. package/src/catalog/providers/nvidia.ts +820 -0
  173. package/src/catalog/providers/openai.ts +501 -0
  174. package/src/catalog/providers/openrouter.ts +2201 -0
  175. package/src/catalog/providers/perplexity.ts +61 -0
  176. package/src/catalog/providers/togetherai.ts +204 -0
  177. package/src/catalog/providers/xai.ts +292 -0
  178. package/src/catalog/types.ts +86 -0
  179. package/src/cost/calculate.test.ts +157 -0
  180. package/src/cost/calculate.ts +43 -0
  181. package/src/cost/index.ts +2 -0
  182. package/src/cost/types.ts +25 -0
  183. package/src/index.ts +25 -0
  184. package/src/provider/index.ts +9 -0
  185. package/src/provider/openrouter.test.ts +125 -0
  186. package/src/provider/openrouter.ts +110 -0
  187. package/src/provider/resolver.test.ts +138 -0
  188. package/src/provider/resolver.ts +125 -0
  189. package/src/provider/types.ts +39 -0
  190. package/src/providers/alibaba.ts +65 -0
  191. package/src/providers/amazon-bedrock.ts +67 -0
  192. package/src/providers/anthropic.ts +65 -0
  193. package/src/providers/cerebras.ts +65 -0
  194. package/src/providers/cohere.ts +65 -0
  195. package/src/providers/deepinfra.ts +65 -0
  196. package/src/providers/deepseek.ts +65 -0
  197. package/src/providers/fireworks-ai.ts +65 -0
  198. package/src/providers/google-vertex.ts +67 -0
  199. package/src/providers/google.ts +65 -0
  200. package/src/providers/groq.ts +65 -0
  201. package/src/providers/huggingface.ts +67 -0
  202. package/src/providers/inception.ts +65 -0
  203. package/src/providers/llama.ts +65 -0
  204. package/src/providers/mistral.ts +65 -0
  205. package/src/providers/nvidia.ts +65 -0
  206. package/src/providers/openai.ts +65 -0
  207. package/src/providers/openrouter.ts +67 -0
  208. package/src/providers/perplexity.ts +67 -0
  209. package/src/providers/togetherai.ts +65 -0
  210. package/src/providers/xai.ts +65 -0
  211. package/tsconfig.json +25 -0
  212. package/tsdown.config.ts +23 -0
  213. package/vitest.config.ts +29 -0
@@ -0,0 +1,957 @@
1
+ //#region src/catalog/providers/alibaba.ts
2
+ const ALIBABA_MODELS = [
3
+ {
4
+ id: "qwen-vl-plus",
5
+ name: "Qwen-VL Plus",
6
+ provider: "alibaba",
7
+ family: "qwen",
8
+ pricing: {
9
+ input: 21e-8,
10
+ output: 63e-8
11
+ },
12
+ contextWindow: 131072,
13
+ maxOutput: 8192,
14
+ modalities: {
15
+ input: ["text", "image"],
16
+ output: ["text"]
17
+ },
18
+ capabilities: {
19
+ reasoning: false,
20
+ toolCall: true,
21
+ attachment: false,
22
+ structuredOutput: false
23
+ }
24
+ },
25
+ {
26
+ id: "qwen-vl-max",
27
+ name: "Qwen-VL Max",
28
+ provider: "alibaba",
29
+ family: "qwen",
30
+ pricing: {
31
+ input: 8e-7,
32
+ output: 32e-7
33
+ },
34
+ contextWindow: 131072,
35
+ maxOutput: 8192,
36
+ modalities: {
37
+ input: ["text", "image"],
38
+ output: ["text"]
39
+ },
40
+ capabilities: {
41
+ reasoning: false,
42
+ toolCall: true,
43
+ attachment: false,
44
+ structuredOutput: false
45
+ }
46
+ },
47
+ {
48
+ id: "qwen3-next-80b-a3b-thinking",
49
+ name: "Qwen3-Next 80B-A3B (Thinking)",
50
+ provider: "alibaba",
51
+ family: "qwen",
52
+ pricing: {
53
+ input: 5e-7,
54
+ output: 6e-6
55
+ },
56
+ contextWindow: 131072,
57
+ maxOutput: 32768,
58
+ modalities: {
59
+ input: ["text"],
60
+ output: ["text"]
61
+ },
62
+ capabilities: {
63
+ reasoning: true,
64
+ toolCall: true,
65
+ attachment: false,
66
+ structuredOutput: false
67
+ }
68
+ },
69
+ {
70
+ id: "qwen3-coder-480b-a35b-instruct",
71
+ name: "Qwen3-Coder 480B-A35B Instruct",
72
+ provider: "alibaba",
73
+ family: "qwen",
74
+ pricing: {
75
+ input: 15e-7,
76
+ output: 75e-7
77
+ },
78
+ contextWindow: 262144,
79
+ maxOutput: 65536,
80
+ modalities: {
81
+ input: ["text"],
82
+ output: ["text"]
83
+ },
84
+ capabilities: {
85
+ reasoning: false,
86
+ toolCall: true,
87
+ attachment: false,
88
+ structuredOutput: false
89
+ }
90
+ },
91
+ {
92
+ id: "qwen3-14b",
93
+ name: "Qwen3 14B",
94
+ provider: "alibaba",
95
+ family: "qwen",
96
+ pricing: {
97
+ input: 35e-8,
98
+ output: 14e-7,
99
+ reasoning: 42e-7
100
+ },
101
+ contextWindow: 131072,
102
+ maxOutput: 8192,
103
+ modalities: {
104
+ input: ["text"],
105
+ output: ["text"]
106
+ },
107
+ capabilities: {
108
+ reasoning: true,
109
+ toolCall: true,
110
+ attachment: false,
111
+ structuredOutput: false
112
+ }
113
+ },
114
+ {
115
+ id: "qwen3-coder-flash",
116
+ name: "Qwen3 Coder Flash",
117
+ provider: "alibaba",
118
+ family: "qwen",
119
+ pricing: {
120
+ input: 3e-7,
121
+ output: 15e-7
122
+ },
123
+ contextWindow: 1e6,
124
+ maxOutput: 65536,
125
+ modalities: {
126
+ input: ["text"],
127
+ output: ["text"]
128
+ },
129
+ capabilities: {
130
+ reasoning: false,
131
+ toolCall: true,
132
+ attachment: false,
133
+ structuredOutput: false
134
+ }
135
+ },
136
+ {
137
+ id: "qwen3-vl-30b-a3b",
138
+ name: "Qwen3-VL 30B-A3B",
139
+ provider: "alibaba",
140
+ family: "qwen",
141
+ pricing: {
142
+ input: 2e-7,
143
+ output: 8e-7,
144
+ reasoning: 24e-7
145
+ },
146
+ contextWindow: 131072,
147
+ maxOutput: 32768,
148
+ modalities: {
149
+ input: ["text", "image"],
150
+ output: ["text"]
151
+ },
152
+ capabilities: {
153
+ reasoning: true,
154
+ toolCall: true,
155
+ attachment: false,
156
+ structuredOutput: false
157
+ }
158
+ },
159
+ {
160
+ id: "qwen3-asr-flash",
161
+ name: "Qwen3-ASR Flash",
162
+ provider: "alibaba",
163
+ family: "qwen",
164
+ pricing: {
165
+ input: 35e-9,
166
+ output: 35e-9
167
+ },
168
+ contextWindow: 53248,
169
+ maxOutput: 4096,
170
+ modalities: {
171
+ input: ["audio"],
172
+ output: ["text"]
173
+ },
174
+ capabilities: {
175
+ reasoning: false,
176
+ toolCall: false,
177
+ attachment: false,
178
+ structuredOutput: false
179
+ }
180
+ },
181
+ {
182
+ id: "qwen-max",
183
+ name: "Qwen Max",
184
+ provider: "alibaba",
185
+ family: "qwen",
186
+ pricing: {
187
+ input: 16e-7,
188
+ output: 64e-7
189
+ },
190
+ contextWindow: 32768,
191
+ maxOutput: 8192,
192
+ modalities: {
193
+ input: ["text"],
194
+ output: ["text"]
195
+ },
196
+ capabilities: {
197
+ reasoning: false,
198
+ toolCall: true,
199
+ attachment: false,
200
+ structuredOutput: false
201
+ }
202
+ },
203
+ {
204
+ id: "qwen-turbo",
205
+ name: "Qwen Turbo",
206
+ provider: "alibaba",
207
+ family: "qwen",
208
+ pricing: {
209
+ input: 5e-8,
210
+ output: 2e-7,
211
+ reasoning: 5e-7
212
+ },
213
+ contextWindow: 1e6,
214
+ maxOutput: 16384,
215
+ modalities: {
216
+ input: ["text"],
217
+ output: ["text"]
218
+ },
219
+ capabilities: {
220
+ reasoning: true,
221
+ toolCall: true,
222
+ attachment: false,
223
+ structuredOutput: false
224
+ }
225
+ },
226
+ {
227
+ id: "qwen2-5-7b-instruct",
228
+ name: "Qwen2.5 7B Instruct",
229
+ provider: "alibaba",
230
+ family: "qwen",
231
+ pricing: {
232
+ input: 175e-9,
233
+ output: 7e-7
234
+ },
235
+ contextWindow: 131072,
236
+ maxOutput: 8192,
237
+ modalities: {
238
+ input: ["text"],
239
+ output: ["text"]
240
+ },
241
+ capabilities: {
242
+ reasoning: false,
243
+ toolCall: true,
244
+ attachment: false,
245
+ structuredOutput: false
246
+ }
247
+ },
248
+ {
249
+ id: "qwen2-5-vl-72b-instruct",
250
+ name: "Qwen2.5-VL 72B Instruct",
251
+ provider: "alibaba",
252
+ family: "qwen",
253
+ pricing: {
254
+ input: 28e-7,
255
+ output: 84e-7
256
+ },
257
+ contextWindow: 131072,
258
+ maxOutput: 8192,
259
+ modalities: {
260
+ input: ["text", "image"],
261
+ output: ["text"]
262
+ },
263
+ capabilities: {
264
+ reasoning: false,
265
+ toolCall: true,
266
+ attachment: false,
267
+ structuredOutput: false
268
+ }
269
+ },
270
+ {
271
+ id: "qwen2-5-14b-instruct",
272
+ name: "Qwen2.5 14B Instruct",
273
+ provider: "alibaba",
274
+ family: "qwen",
275
+ pricing: {
276
+ input: 35e-8,
277
+ output: 14e-7
278
+ },
279
+ contextWindow: 131072,
280
+ maxOutput: 8192,
281
+ modalities: {
282
+ input: ["text"],
283
+ output: ["text"]
284
+ },
285
+ capabilities: {
286
+ reasoning: false,
287
+ toolCall: true,
288
+ attachment: false,
289
+ structuredOutput: false
290
+ }
291
+ },
292
+ {
293
+ id: "qwen3-8b",
294
+ name: "Qwen3 8B",
295
+ provider: "alibaba",
296
+ family: "qwen",
297
+ pricing: {
298
+ input: 18e-8,
299
+ output: 7e-7,
300
+ reasoning: 21e-7
301
+ },
302
+ contextWindow: 131072,
303
+ maxOutput: 8192,
304
+ modalities: {
305
+ input: ["text"],
306
+ output: ["text"]
307
+ },
308
+ capabilities: {
309
+ reasoning: true,
310
+ toolCall: true,
311
+ attachment: false,
312
+ structuredOutput: false
313
+ }
314
+ },
315
+ {
316
+ id: "qwen3-32b",
317
+ name: "Qwen3 32B",
318
+ provider: "alibaba",
319
+ family: "qwen",
320
+ pricing: {
321
+ input: 7e-7,
322
+ output: 28e-7,
323
+ reasoning: 84e-7
324
+ },
325
+ contextWindow: 131072,
326
+ maxOutput: 16384,
327
+ modalities: {
328
+ input: ["text"],
329
+ output: ["text"]
330
+ },
331
+ capabilities: {
332
+ reasoning: true,
333
+ toolCall: true,
334
+ attachment: false,
335
+ structuredOutput: false
336
+ }
337
+ },
338
+ {
339
+ id: "qwen3.5-397b-a17b",
340
+ name: "Qwen3.5 397B-A17B",
341
+ provider: "alibaba",
342
+ family: "qwen",
343
+ pricing: {
344
+ input: 6e-7,
345
+ output: 36e-7,
346
+ reasoning: 36e-7
347
+ },
348
+ contextWindow: 262144,
349
+ maxOutput: 65536,
350
+ modalities: {
351
+ input: [
352
+ "text",
353
+ "image",
354
+ "video"
355
+ ],
356
+ output: ["text"]
357
+ },
358
+ capabilities: {
359
+ reasoning: true,
360
+ toolCall: true,
361
+ attachment: false,
362
+ structuredOutput: false
363
+ }
364
+ },
365
+ {
366
+ id: "qvq-max",
367
+ name: "QVQ Max",
368
+ provider: "alibaba",
369
+ family: "qvq",
370
+ pricing: {
371
+ input: 12e-7,
372
+ output: 48e-7
373
+ },
374
+ contextWindow: 131072,
375
+ maxOutput: 8192,
376
+ modalities: {
377
+ input: ["text", "image"],
378
+ output: ["text"]
379
+ },
380
+ capabilities: {
381
+ reasoning: true,
382
+ toolCall: true,
383
+ attachment: false,
384
+ structuredOutput: false
385
+ }
386
+ },
387
+ {
388
+ id: "qwen2-5-omni-7b",
389
+ name: "Qwen2.5-Omni 7B",
390
+ provider: "alibaba",
391
+ family: "qwen",
392
+ pricing: {
393
+ input: 1e-7,
394
+ output: 4e-7
395
+ },
396
+ contextWindow: 32768,
397
+ maxOutput: 2048,
398
+ modalities: {
399
+ input: [
400
+ "text",
401
+ "image",
402
+ "audio",
403
+ "video"
404
+ ],
405
+ output: ["text", "audio"]
406
+ },
407
+ capabilities: {
408
+ reasoning: false,
409
+ toolCall: true,
410
+ attachment: false,
411
+ structuredOutput: false
412
+ }
413
+ },
414
+ {
415
+ id: "qwen2-5-vl-7b-instruct",
416
+ name: "Qwen2.5-VL 7B Instruct",
417
+ provider: "alibaba",
418
+ family: "qwen",
419
+ pricing: {
420
+ input: 35e-8,
421
+ output: 105e-8
422
+ },
423
+ contextWindow: 131072,
424
+ maxOutput: 8192,
425
+ modalities: {
426
+ input: ["text", "image"],
427
+ output: ["text"]
428
+ },
429
+ capabilities: {
430
+ reasoning: false,
431
+ toolCall: true,
432
+ attachment: false,
433
+ structuredOutput: false
434
+ }
435
+ },
436
+ {
437
+ id: "qwen-omni-turbo-realtime",
438
+ name: "Qwen-Omni Turbo Realtime",
439
+ provider: "alibaba",
440
+ family: "qwen",
441
+ pricing: {
442
+ input: 27e-8,
443
+ output: 107e-8
444
+ },
445
+ contextWindow: 32768,
446
+ maxOutput: 2048,
447
+ modalities: {
448
+ input: [
449
+ "text",
450
+ "image",
451
+ "audio"
452
+ ],
453
+ output: ["text", "audio"]
454
+ },
455
+ capabilities: {
456
+ reasoning: false,
457
+ toolCall: true,
458
+ attachment: false,
459
+ structuredOutput: false
460
+ }
461
+ },
462
+ {
463
+ id: "qwen3-235b-a22b",
464
+ name: "Qwen3 235B-A22B",
465
+ provider: "alibaba",
466
+ family: "qwen",
467
+ pricing: {
468
+ input: 7e-7,
469
+ output: 28e-7,
470
+ reasoning: 84e-7
471
+ },
472
+ contextWindow: 131072,
473
+ maxOutput: 16384,
474
+ modalities: {
475
+ input: ["text"],
476
+ output: ["text"]
477
+ },
478
+ capabilities: {
479
+ reasoning: true,
480
+ toolCall: true,
481
+ attachment: false,
482
+ structuredOutput: false
483
+ }
484
+ },
485
+ {
486
+ id: "qwen3-coder-30b-a3b-instruct",
487
+ name: "Qwen3-Coder 30B-A3B Instruct",
488
+ provider: "alibaba",
489
+ family: "qwen",
490
+ pricing: {
491
+ input: 45e-8,
492
+ output: 225e-8
493
+ },
494
+ contextWindow: 262144,
495
+ maxOutput: 65536,
496
+ modalities: {
497
+ input: ["text"],
498
+ output: ["text"]
499
+ },
500
+ capabilities: {
501
+ reasoning: false,
502
+ toolCall: true,
503
+ attachment: false,
504
+ structuredOutput: false
505
+ }
506
+ },
507
+ {
508
+ id: "qwen-omni-turbo",
509
+ name: "Qwen-Omni Turbo",
510
+ provider: "alibaba",
511
+ family: "qwen",
512
+ pricing: {
513
+ input: 7e-8,
514
+ output: 27e-8
515
+ },
516
+ contextWindow: 32768,
517
+ maxOutput: 2048,
518
+ modalities: {
519
+ input: [
520
+ "text",
521
+ "image",
522
+ "audio",
523
+ "video"
524
+ ],
525
+ output: ["text", "audio"]
526
+ },
527
+ capabilities: {
528
+ reasoning: false,
529
+ toolCall: true,
530
+ attachment: false,
531
+ structuredOutput: false
532
+ }
533
+ },
534
+ {
535
+ id: "qwen-mt-plus",
536
+ name: "Qwen-MT Plus",
537
+ provider: "alibaba",
538
+ family: "qwen",
539
+ pricing: {
540
+ input: 246e-8,
541
+ output: 737e-8
542
+ },
543
+ contextWindow: 16384,
544
+ maxOutput: 8192,
545
+ modalities: {
546
+ input: ["text"],
547
+ output: ["text"]
548
+ },
549
+ capabilities: {
550
+ reasoning: false,
551
+ toolCall: false,
552
+ attachment: false,
553
+ structuredOutput: false
554
+ }
555
+ },
556
+ {
557
+ id: "qwen3-vl-plus",
558
+ name: "Qwen3-VL Plus",
559
+ provider: "alibaba",
560
+ family: "qwen",
561
+ pricing: {
562
+ input: 2e-7,
563
+ output: 16e-7,
564
+ reasoning: 48e-7
565
+ },
566
+ contextWindow: 262144,
567
+ maxOutput: 32768,
568
+ modalities: {
569
+ input: ["text", "image"],
570
+ output: ["text"]
571
+ },
572
+ capabilities: {
573
+ reasoning: true,
574
+ toolCall: true,
575
+ attachment: false,
576
+ structuredOutput: false
577
+ }
578
+ },
579
+ {
580
+ id: "qwen3-livetranslate-flash-realtime",
581
+ name: "Qwen3-LiveTranslate Flash Realtime",
582
+ provider: "alibaba",
583
+ family: "qwen",
584
+ pricing: {
585
+ input: 1e-5,
586
+ output: 1e-5
587
+ },
588
+ contextWindow: 53248,
589
+ maxOutput: 4096,
590
+ modalities: {
591
+ input: [
592
+ "text",
593
+ "image",
594
+ "audio",
595
+ "video"
596
+ ],
597
+ output: ["text", "audio"]
598
+ },
599
+ capabilities: {
600
+ reasoning: false,
601
+ toolCall: false,
602
+ attachment: false,
603
+ structuredOutput: false
604
+ }
605
+ },
606
+ {
607
+ id: "qwen-plus",
608
+ name: "Qwen Plus",
609
+ provider: "alibaba",
610
+ family: "qwen",
611
+ pricing: {
612
+ input: 4e-7,
613
+ output: 12e-7,
614
+ reasoning: 4e-6
615
+ },
616
+ contextWindow: 1e6,
617
+ maxOutput: 32768,
618
+ modalities: {
619
+ input: ["text"],
620
+ output: ["text"]
621
+ },
622
+ capabilities: {
623
+ reasoning: true,
624
+ toolCall: true,
625
+ attachment: false,
626
+ structuredOutput: false
627
+ }
628
+ },
629
+ {
630
+ id: "qwen2-5-32b-instruct",
631
+ name: "Qwen2.5 32B Instruct",
632
+ provider: "alibaba",
633
+ family: "qwen",
634
+ pricing: {
635
+ input: 7e-7,
636
+ output: 28e-7
637
+ },
638
+ contextWindow: 131072,
639
+ maxOutput: 8192,
640
+ modalities: {
641
+ input: ["text"],
642
+ output: ["text"]
643
+ },
644
+ capabilities: {
645
+ reasoning: false,
646
+ toolCall: true,
647
+ attachment: false,
648
+ structuredOutput: false
649
+ }
650
+ },
651
+ {
652
+ id: "qwen3-next-80b-a3b-instruct",
653
+ name: "Qwen3-Next 80B-A3B Instruct",
654
+ provider: "alibaba",
655
+ family: "qwen",
656
+ pricing: {
657
+ input: 5e-7,
658
+ output: 2e-6
659
+ },
660
+ contextWindow: 131072,
661
+ maxOutput: 32768,
662
+ modalities: {
663
+ input: ["text"],
664
+ output: ["text"]
665
+ },
666
+ capabilities: {
667
+ reasoning: false,
668
+ toolCall: true,
669
+ attachment: false,
670
+ structuredOutput: false
671
+ }
672
+ },
673
+ {
674
+ id: "qwen3.5-plus",
675
+ name: "Qwen3.5 Plus",
676
+ provider: "alibaba",
677
+ family: "qwen",
678
+ pricing: {
679
+ input: 4e-7,
680
+ output: 24e-7,
681
+ reasoning: 24e-7
682
+ },
683
+ contextWindow: 1e6,
684
+ maxOutput: 65536,
685
+ modalities: {
686
+ input: [
687
+ "text",
688
+ "image",
689
+ "video"
690
+ ],
691
+ output: ["text"]
692
+ },
693
+ capabilities: {
694
+ reasoning: true,
695
+ toolCall: true,
696
+ attachment: false,
697
+ structuredOutput: false
698
+ }
699
+ },
700
+ {
701
+ id: "qwen3-max",
702
+ name: "Qwen3 Max",
703
+ provider: "alibaba",
704
+ family: "qwen",
705
+ pricing: {
706
+ input: 12e-7,
707
+ output: 6e-6
708
+ },
709
+ contextWindow: 262144,
710
+ maxOutput: 65536,
711
+ modalities: {
712
+ input: ["text"],
713
+ output: ["text"]
714
+ },
715
+ capabilities: {
716
+ reasoning: false,
717
+ toolCall: true,
718
+ attachment: false,
719
+ structuredOutput: false
720
+ }
721
+ },
722
+ {
723
+ id: "qwen3-omni-flash",
724
+ name: "Qwen3-Omni Flash",
725
+ provider: "alibaba",
726
+ family: "qwen",
727
+ pricing: {
728
+ input: 43e-8,
729
+ output: 166e-8
730
+ },
731
+ contextWindow: 65536,
732
+ maxOutput: 16384,
733
+ modalities: {
734
+ input: [
735
+ "text",
736
+ "image",
737
+ "audio",
738
+ "video"
739
+ ],
740
+ output: ["text", "audio"]
741
+ },
742
+ capabilities: {
743
+ reasoning: true,
744
+ toolCall: true,
745
+ attachment: false,
746
+ structuredOutput: false
747
+ }
748
+ },
749
+ {
750
+ id: "qwen3-coder-plus",
751
+ name: "Qwen3 Coder Plus",
752
+ provider: "alibaba",
753
+ family: "qwen",
754
+ pricing: {
755
+ input: 1e-6,
756
+ output: 5e-6
757
+ },
758
+ contextWindow: 1048576,
759
+ maxOutput: 65536,
760
+ modalities: {
761
+ input: ["text"],
762
+ output: ["text"]
763
+ },
764
+ capabilities: {
765
+ reasoning: false,
766
+ toolCall: true,
767
+ attachment: false,
768
+ structuredOutput: false
769
+ }
770
+ },
771
+ {
772
+ id: "qwen-flash",
773
+ name: "Qwen Flash",
774
+ provider: "alibaba",
775
+ family: "qwen",
776
+ pricing: {
777
+ input: 5e-8,
778
+ output: 4e-7
779
+ },
780
+ contextWindow: 1e6,
781
+ maxOutput: 32768,
782
+ modalities: {
783
+ input: ["text"],
784
+ output: ["text"]
785
+ },
786
+ capabilities: {
787
+ reasoning: true,
788
+ toolCall: true,
789
+ attachment: false,
790
+ structuredOutput: false
791
+ }
792
+ },
793
+ {
794
+ id: "qwen2-5-72b-instruct",
795
+ name: "Qwen2.5 72B Instruct",
796
+ provider: "alibaba",
797
+ family: "qwen",
798
+ pricing: {
799
+ input: 14e-7,
800
+ output: 56e-7
801
+ },
802
+ contextWindow: 131072,
803
+ maxOutput: 8192,
804
+ modalities: {
805
+ input: ["text"],
806
+ output: ["text"]
807
+ },
808
+ capabilities: {
809
+ reasoning: false,
810
+ toolCall: true,
811
+ attachment: false,
812
+ structuredOutput: false
813
+ }
814
+ },
815
+ {
816
+ id: "qwen3-omni-flash-realtime",
817
+ name: "Qwen3-Omni Flash Realtime",
818
+ provider: "alibaba",
819
+ family: "qwen",
820
+ pricing: {
821
+ input: 52e-8,
822
+ output: 199e-8
823
+ },
824
+ contextWindow: 65536,
825
+ maxOutput: 16384,
826
+ modalities: {
827
+ input: [
828
+ "text",
829
+ "image",
830
+ "audio",
831
+ "video"
832
+ ],
833
+ output: ["text", "audio"]
834
+ },
835
+ capabilities: {
836
+ reasoning: false,
837
+ toolCall: true,
838
+ attachment: false,
839
+ structuredOutput: false
840
+ }
841
+ },
842
+ {
843
+ id: "qwen-vl-ocr",
844
+ name: "Qwen-VL OCR",
845
+ provider: "alibaba",
846
+ family: "qwen",
847
+ pricing: {
848
+ input: 72e-8,
849
+ output: 72e-8
850
+ },
851
+ contextWindow: 34096,
852
+ maxOutput: 4096,
853
+ modalities: {
854
+ input: ["text", "image"],
855
+ output: ["text"]
856
+ },
857
+ capabilities: {
858
+ reasoning: false,
859
+ toolCall: false,
860
+ attachment: false,
861
+ structuredOutput: false
862
+ }
863
+ },
864
+ {
865
+ id: "qwq-plus",
866
+ name: "QwQ Plus",
867
+ provider: "alibaba",
868
+ family: "qwen",
869
+ pricing: {
870
+ input: 8e-7,
871
+ output: 24e-7
872
+ },
873
+ contextWindow: 131072,
874
+ maxOutput: 8192,
875
+ modalities: {
876
+ input: ["text"],
877
+ output: ["text"]
878
+ },
879
+ capabilities: {
880
+ reasoning: true,
881
+ toolCall: true,
882
+ attachment: false,
883
+ structuredOutput: false
884
+ }
885
+ },
886
+ {
887
+ id: "qwen3-vl-235b-a22b",
888
+ name: "Qwen3-VL 235B-A22B",
889
+ provider: "alibaba",
890
+ family: "qwen",
891
+ pricing: {
892
+ input: 7e-7,
893
+ output: 28e-7,
894
+ reasoning: 84e-7
895
+ },
896
+ contextWindow: 131072,
897
+ maxOutput: 32768,
898
+ modalities: {
899
+ input: ["text", "image"],
900
+ output: ["text"]
901
+ },
902
+ capabilities: {
903
+ reasoning: true,
904
+ toolCall: true,
905
+ attachment: false,
906
+ structuredOutput: false
907
+ }
908
+ },
909
+ {
910
+ id: "qwen-plus-character-ja",
911
+ name: "Qwen Plus Character (Japanese)",
912
+ provider: "alibaba",
913
+ family: "qwen",
914
+ pricing: {
915
+ input: 5e-7,
916
+ output: 14e-7
917
+ },
918
+ contextWindow: 8192,
919
+ maxOutput: 512,
920
+ modalities: {
921
+ input: ["text"],
922
+ output: ["text"]
923
+ },
924
+ capabilities: {
925
+ reasoning: false,
926
+ toolCall: true,
927
+ attachment: false,
928
+ structuredOutput: false
929
+ }
930
+ },
931
+ {
932
+ id: "qwen-mt-turbo",
933
+ name: "Qwen-MT Turbo",
934
+ provider: "alibaba",
935
+ family: "qwen",
936
+ pricing: {
937
+ input: 16e-8,
938
+ output: 49e-8
939
+ },
940
+ contextWindow: 16384,
941
+ maxOutput: 8192,
942
+ modalities: {
943
+ input: ["text"],
944
+ output: ["text"]
945
+ },
946
+ capabilities: {
947
+ reasoning: false,
948
+ toolCall: false,
949
+ attachment: false,
950
+ structuredOutput: false
951
+ }
952
+ }
953
+ ];
954
+ //#endregion
955
+ export { ALIBABA_MODELS as t };
956
+
957
+ //# sourceMappingURL=alibaba-B6q4Ng1R.mjs.map