@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,456 @@
1
+ //#region src/catalog/providers/huggingface.ts
2
+ const HUGGINGFACE_MODELS = [
3
+ {
4
+ id: "zai-org/GLM-4.7-Flash",
5
+ name: "GLM-4.7-Flash",
6
+ provider: "huggingface",
7
+ family: "glm",
8
+ pricing: {
9
+ input: 0,
10
+ output: 0
11
+ },
12
+ contextWindow: 2e5,
13
+ maxOutput: 128e3,
14
+ modalities: {
15
+ input: ["text"],
16
+ output: ["text"]
17
+ },
18
+ capabilities: {
19
+ reasoning: true,
20
+ toolCall: true,
21
+ attachment: false,
22
+ structuredOutput: false
23
+ }
24
+ },
25
+ {
26
+ id: "zai-org/GLM-4.7",
27
+ name: "GLM-4.7",
28
+ provider: "huggingface",
29
+ family: "glm",
30
+ pricing: {
31
+ input: 6e-7,
32
+ output: 22e-7,
33
+ cacheRead: 11e-8
34
+ },
35
+ contextWindow: 204800,
36
+ maxOutput: 131072,
37
+ modalities: {
38
+ input: ["text"],
39
+ output: ["text"]
40
+ },
41
+ capabilities: {
42
+ reasoning: true,
43
+ toolCall: true,
44
+ attachment: false,
45
+ structuredOutput: false
46
+ }
47
+ },
48
+ {
49
+ id: "zai-org/GLM-5",
50
+ name: "GLM-5",
51
+ provider: "huggingface",
52
+ family: "glm",
53
+ pricing: {
54
+ input: 1e-6,
55
+ output: 32e-7,
56
+ cacheRead: 2e-7
57
+ },
58
+ contextWindow: 202752,
59
+ maxOutput: 131072,
60
+ modalities: {
61
+ input: ["text"],
62
+ output: ["text"]
63
+ },
64
+ capabilities: {
65
+ reasoning: true,
66
+ toolCall: true,
67
+ attachment: false,
68
+ structuredOutput: false
69
+ }
70
+ },
71
+ {
72
+ id: "XiaomiMiMo/MiMo-V2-Flash",
73
+ name: "MiMo-V2-Flash",
74
+ provider: "huggingface",
75
+ family: "mimo",
76
+ pricing: {
77
+ input: 1e-7,
78
+ output: 3e-7
79
+ },
80
+ contextWindow: 262144,
81
+ maxOutput: 4096,
82
+ modalities: {
83
+ input: ["text"],
84
+ output: ["text"]
85
+ },
86
+ capabilities: {
87
+ reasoning: true,
88
+ toolCall: true,
89
+ attachment: false,
90
+ structuredOutput: false
91
+ }
92
+ },
93
+ {
94
+ id: "MiniMaxAI/MiniMax-M2.5",
95
+ name: "MiniMax-M2.5",
96
+ provider: "huggingface",
97
+ family: "minimax",
98
+ pricing: {
99
+ input: 3e-7,
100
+ output: 12e-7,
101
+ cacheRead: 3e-8
102
+ },
103
+ contextWindow: 204800,
104
+ maxOutput: 131072,
105
+ modalities: {
106
+ input: ["text"],
107
+ output: ["text"]
108
+ },
109
+ capabilities: {
110
+ reasoning: true,
111
+ toolCall: true,
112
+ attachment: false,
113
+ structuredOutput: false
114
+ }
115
+ },
116
+ {
117
+ id: "MiniMaxAI/MiniMax-M2.1",
118
+ name: "MiniMax-M2.1",
119
+ provider: "huggingface",
120
+ family: "minimax",
121
+ pricing: {
122
+ input: 3e-7,
123
+ output: 12e-7
124
+ },
125
+ contextWindow: 204800,
126
+ maxOutput: 131072,
127
+ modalities: {
128
+ input: ["text"],
129
+ output: ["text"]
130
+ },
131
+ capabilities: {
132
+ reasoning: true,
133
+ toolCall: true,
134
+ attachment: false,
135
+ structuredOutput: false
136
+ }
137
+ },
138
+ {
139
+ id: "deepseek-ai/DeepSeek-R1-0528",
140
+ name: "DeepSeek-R1-0528",
141
+ provider: "huggingface",
142
+ family: "deepseek-thinking",
143
+ pricing: {
144
+ input: 3e-6,
145
+ output: 5e-6
146
+ },
147
+ contextWindow: 163840,
148
+ maxOutput: 163840,
149
+ modalities: {
150
+ input: ["text"],
151
+ output: ["text"]
152
+ },
153
+ capabilities: {
154
+ reasoning: true,
155
+ toolCall: true,
156
+ attachment: false,
157
+ structuredOutput: false
158
+ }
159
+ },
160
+ {
161
+ id: "deepseek-ai/DeepSeek-V3.2",
162
+ name: "DeepSeek-V3.2",
163
+ provider: "huggingface",
164
+ family: "deepseek",
165
+ pricing: {
166
+ input: 28e-8,
167
+ output: 4e-7
168
+ },
169
+ contextWindow: 163840,
170
+ maxOutput: 65536,
171
+ modalities: {
172
+ input: ["text"],
173
+ output: ["text"]
174
+ },
175
+ capabilities: {
176
+ reasoning: true,
177
+ toolCall: true,
178
+ attachment: false,
179
+ structuredOutput: false
180
+ }
181
+ },
182
+ {
183
+ id: "moonshotai/Kimi-K2-Instruct",
184
+ name: "Kimi-K2-Instruct",
185
+ provider: "huggingface",
186
+ family: "kimi",
187
+ pricing: {
188
+ input: 1e-6,
189
+ output: 3e-6
190
+ },
191
+ contextWindow: 131072,
192
+ maxOutput: 16384,
193
+ modalities: {
194
+ input: ["text"],
195
+ output: ["text"]
196
+ },
197
+ capabilities: {
198
+ reasoning: false,
199
+ toolCall: true,
200
+ attachment: false,
201
+ structuredOutput: false
202
+ }
203
+ },
204
+ {
205
+ id: "moonshotai/Kimi-K2-Instruct-0905",
206
+ name: "Kimi-K2-Instruct-0905",
207
+ provider: "huggingface",
208
+ family: "kimi",
209
+ pricing: {
210
+ input: 1e-6,
211
+ output: 3e-6
212
+ },
213
+ contextWindow: 262144,
214
+ maxOutput: 16384,
215
+ modalities: {
216
+ input: ["text"],
217
+ output: ["text"]
218
+ },
219
+ capabilities: {
220
+ reasoning: false,
221
+ toolCall: true,
222
+ attachment: false,
223
+ structuredOutput: false
224
+ }
225
+ },
226
+ {
227
+ id: "moonshotai/Kimi-K2.5",
228
+ name: "Kimi-K2.5",
229
+ provider: "huggingface",
230
+ family: "kimi",
231
+ pricing: {
232
+ input: 6e-7,
233
+ output: 3e-6,
234
+ cacheRead: 1e-7
235
+ },
236
+ contextWindow: 262144,
237
+ maxOutput: 262144,
238
+ modalities: {
239
+ input: [
240
+ "text",
241
+ "image",
242
+ "video"
243
+ ],
244
+ output: ["text"]
245
+ },
246
+ capabilities: {
247
+ reasoning: true,
248
+ toolCall: true,
249
+ attachment: true,
250
+ structuredOutput: false
251
+ }
252
+ },
253
+ {
254
+ id: "moonshotai/Kimi-K2-Thinking",
255
+ name: "Kimi-K2-Thinking",
256
+ provider: "huggingface",
257
+ family: "kimi-thinking",
258
+ pricing: {
259
+ input: 6e-7,
260
+ output: 25e-7,
261
+ cacheRead: 15e-8
262
+ },
263
+ contextWindow: 262144,
264
+ maxOutput: 262144,
265
+ modalities: {
266
+ input: ["text"],
267
+ output: ["text"]
268
+ },
269
+ capabilities: {
270
+ reasoning: true,
271
+ toolCall: true,
272
+ attachment: false,
273
+ structuredOutput: false
274
+ }
275
+ },
276
+ {
277
+ id: "Qwen/Qwen3-Next-80B-A3B-Instruct",
278
+ name: "Qwen3-Next-80B-A3B-Instruct",
279
+ provider: "huggingface",
280
+ family: "qwen",
281
+ pricing: {
282
+ input: 25e-8,
283
+ output: 1e-6
284
+ },
285
+ contextWindow: 262144,
286
+ maxOutput: 66536,
287
+ modalities: {
288
+ input: ["text"],
289
+ output: ["text"]
290
+ },
291
+ capabilities: {
292
+ reasoning: false,
293
+ toolCall: true,
294
+ attachment: false,
295
+ structuredOutput: false
296
+ }
297
+ },
298
+ {
299
+ id: "Qwen/Qwen3.5-397B-A17B",
300
+ name: "Qwen3.5-397B-A17B",
301
+ provider: "huggingface",
302
+ family: "qwen",
303
+ pricing: {
304
+ input: 6e-7,
305
+ output: 36e-7
306
+ },
307
+ contextWindow: 262144,
308
+ maxOutput: 32768,
309
+ modalities: {
310
+ input: ["text", "image"],
311
+ output: ["text"]
312
+ },
313
+ capabilities: {
314
+ reasoning: true,
315
+ toolCall: true,
316
+ attachment: true,
317
+ structuredOutput: false
318
+ }
319
+ },
320
+ {
321
+ id: "Qwen/Qwen3-235B-A22B-Thinking-2507",
322
+ name: "Qwen3-235B-A22B-Thinking-2507",
323
+ provider: "huggingface",
324
+ family: "qwen",
325
+ pricing: {
326
+ input: 3e-7,
327
+ output: 3e-6
328
+ },
329
+ contextWindow: 262144,
330
+ maxOutput: 131072,
331
+ modalities: {
332
+ input: ["text"],
333
+ output: ["text"]
334
+ },
335
+ capabilities: {
336
+ reasoning: true,
337
+ toolCall: true,
338
+ attachment: false,
339
+ structuredOutput: false
340
+ }
341
+ },
342
+ {
343
+ id: "Qwen/Qwen3-Coder-Next",
344
+ name: "Qwen3-Coder-Next",
345
+ provider: "huggingface",
346
+ family: "qwen",
347
+ pricing: {
348
+ input: 2e-7,
349
+ output: 15e-7
350
+ },
351
+ contextWindow: 262144,
352
+ maxOutput: 65536,
353
+ modalities: {
354
+ input: ["text"],
355
+ output: ["text"]
356
+ },
357
+ capabilities: {
358
+ reasoning: false,
359
+ toolCall: true,
360
+ attachment: false,
361
+ structuredOutput: false
362
+ }
363
+ },
364
+ {
365
+ id: "Qwen/Qwen3-Coder-480B-A35B-Instruct",
366
+ name: "Qwen3-Coder-480B-A35B-Instruct",
367
+ provider: "huggingface",
368
+ family: "qwen",
369
+ pricing: {
370
+ input: 2e-6,
371
+ output: 2e-6
372
+ },
373
+ contextWindow: 262144,
374
+ maxOutput: 66536,
375
+ modalities: {
376
+ input: ["text"],
377
+ output: ["text"]
378
+ },
379
+ capabilities: {
380
+ reasoning: false,
381
+ toolCall: true,
382
+ attachment: false,
383
+ structuredOutput: false
384
+ }
385
+ },
386
+ {
387
+ id: "Qwen/Qwen3-Embedding-4B",
388
+ name: "Qwen 3 Embedding 4B",
389
+ provider: "huggingface",
390
+ family: "qwen",
391
+ pricing: {
392
+ input: 1e-8,
393
+ output: 0
394
+ },
395
+ contextWindow: 32e3,
396
+ maxOutput: 2048,
397
+ modalities: {
398
+ input: ["text"],
399
+ output: ["text"]
400
+ },
401
+ capabilities: {
402
+ reasoning: false,
403
+ toolCall: false,
404
+ attachment: false,
405
+ structuredOutput: false
406
+ }
407
+ },
408
+ {
409
+ id: "Qwen/Qwen3-Embedding-8B",
410
+ name: "Qwen 3 Embedding 8B",
411
+ provider: "huggingface",
412
+ family: "qwen",
413
+ pricing: {
414
+ input: 1e-8,
415
+ output: 0
416
+ },
417
+ contextWindow: 32e3,
418
+ maxOutput: 4096,
419
+ modalities: {
420
+ input: ["text"],
421
+ output: ["text"]
422
+ },
423
+ capabilities: {
424
+ reasoning: false,
425
+ toolCall: false,
426
+ attachment: false,
427
+ structuredOutput: false
428
+ }
429
+ },
430
+ {
431
+ id: "Qwen/Qwen3-Next-80B-A3B-Thinking",
432
+ name: "Qwen3-Next-80B-A3B-Thinking",
433
+ provider: "huggingface",
434
+ family: "qwen",
435
+ pricing: {
436
+ input: 3e-7,
437
+ output: 2e-6
438
+ },
439
+ contextWindow: 262144,
440
+ maxOutput: 131072,
441
+ modalities: {
442
+ input: ["text"],
443
+ output: ["text"]
444
+ },
445
+ capabilities: {
446
+ reasoning: false,
447
+ toolCall: true,
448
+ attachment: false,
449
+ structuredOutput: false
450
+ }
451
+ }
452
+ ];
453
+ //#endregion
454
+ export { HUGGINGFACE_MODELS as t };
455
+
456
+ //# sourceMappingURL=huggingface-DaM1EeLP.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huggingface-DaM1EeLP.mjs","names":[],"sources":["../src/catalog/providers/huggingface.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const HUGGINGFACE_MODELS = [\n {\n id: \"zai-org/GLM-4.7-Flash\",\n name: \"GLM-4.7-Flash\",\n provider: \"huggingface\",\n family: \"glm\",\n pricing: { input: 0, output: 0 },\n contextWindow: 200000,\n maxOutput: 128000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-4.7\",\n name: \"GLM-4.7\",\n provider: \"huggingface\",\n family: \"glm\",\n pricing: { input: 6e-7, output: 0.0000022, cacheRead: 1.1e-7 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-5\",\n name: \"GLM-5\",\n provider: \"huggingface\",\n family: \"glm\",\n pricing: { input: 0.000001, output: 0.0000032, cacheRead: 2e-7 },\n contextWindow: 202752,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"XiaomiMiMo/MiMo-V2-Flash\",\n name: \"MiMo-V2-Flash\",\n provider: \"huggingface\",\n family: \"mimo\",\n pricing: { input: 1e-7, output: 3e-7 },\n contextWindow: 262144,\n maxOutput: 4096,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"MiniMaxAI/MiniMax-M2.5\",\n name: \"MiniMax-M2.5\",\n provider: \"huggingface\",\n family: \"minimax\",\n pricing: { input: 3e-7, output: 0.0000012, cacheRead: 3e-8 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"MiniMaxAI/MiniMax-M2.1\",\n name: \"MiniMax-M2.1\",\n provider: \"huggingface\",\n family: \"minimax\",\n pricing: { input: 3e-7, output: 0.0000012 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"deepseek-ai/DeepSeek-R1-0528\",\n name: \"DeepSeek-R1-0528\",\n provider: \"huggingface\",\n family: \"deepseek-thinking\",\n pricing: { input: 0.000003, output: 0.000005 },\n contextWindow: 163840,\n maxOutput: 163840,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"deepseek-ai/DeepSeek-V3.2\",\n name: \"DeepSeek-V3.2\",\n provider: \"huggingface\",\n family: \"deepseek\",\n pricing: { input: 2.8e-7, output: 4e-7 },\n contextWindow: 163840,\n maxOutput: 65536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2-Instruct\",\n name: \"Kimi-K2-Instruct\",\n provider: \"huggingface\",\n family: \"kimi\",\n pricing: { input: 0.000001, output: 0.000003 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2-Instruct-0905\",\n name: \"Kimi-K2-Instruct-0905\",\n provider: \"huggingface\",\n family: \"kimi\",\n pricing: { input: 0.000001, output: 0.000003 },\n contextWindow: 262144,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2.5\",\n name: \"Kimi-K2.5\",\n provider: \"huggingface\",\n family: \"kimi\",\n pricing: { input: 6e-7, output: 0.000003, cacheRead: 1e-7 },\n contextWindow: 262144,\n maxOutput: 262144,\n modalities: { input: [\"text\", \"image\", \"video\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2-Thinking\",\n name: \"Kimi-K2-Thinking\",\n provider: \"huggingface\",\n family: \"kimi-thinking\",\n pricing: { input: 6e-7, output: 0.0000025, cacheRead: 1.5e-7 },\n contextWindow: 262144,\n maxOutput: 262144,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Next-80B-A3B-Instruct\",\n name: \"Qwen3-Next-80B-A3B-Instruct\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 2.5e-7, output: 0.000001 },\n contextWindow: 262144,\n maxOutput: 66536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3.5-397B-A17B\",\n name: \"Qwen3.5-397B-A17B\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 6e-7, output: 0.0000036 },\n contextWindow: 262144,\n maxOutput: 32768,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-235B-A22B-Thinking-2507\",\n name: \"Qwen3-235B-A22B-Thinking-2507\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 3e-7, output: 0.000003 },\n contextWindow: 262144,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Coder-Next\",\n name: \"Qwen3-Coder-Next\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 2e-7, output: 0.0000015 },\n contextWindow: 262144,\n maxOutput: 65536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Coder-480B-A35B-Instruct\",\n name: \"Qwen3-Coder-480B-A35B-Instruct\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 0.000002, output: 0.000002 },\n contextWindow: 262144,\n maxOutput: 66536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Embedding-4B\",\n name: \"Qwen 3 Embedding 4B\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 1e-8, output: 0 },\n contextWindow: 32000,\n maxOutput: 2048,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Embedding-8B\",\n name: \"Qwen 3 Embedding 8B\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 1e-8, output: 0 },\n contextWindow: 32000,\n maxOutput: 4096,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Next-80B-A3B-Thinking\",\n name: \"Qwen3-Next-80B-A3B-Thinking\",\n provider: \"huggingface\",\n family: \"qwen\",\n pricing: { input: 3e-7, output: 0.000002 },\n contextWindow: 262144,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,qBAAqB;CAChC;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAG,QAAQ;GAAG;EAChC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAW,WAAW;GAAQ;EAC9D,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAU,QAAQ;GAAW,WAAW;GAAM;EAChE,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAM;EACtC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAA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,cAAc;GAAE,WAAW;GAAO,UAAU;GAAO,YAAY;GAAO,kBAAkB;GAAO;EAChG;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAG;EACnC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAO,YAAY;GAAO,kBAAkB;GAAO;EAChG;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAU;EAC1C,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACF"}
@@ -0,0 +1,101 @@
1
+ //#region src/catalog/providers/inception.ts
2
+ const INCEPTION_MODELS = [
3
+ {
4
+ id: "mercury-2",
5
+ name: "Mercury 2",
6
+ provider: "inception",
7
+ family: "mercury",
8
+ pricing: {
9
+ input: 25e-8,
10
+ output: 75e-8,
11
+ cacheRead: 25e-9
12
+ },
13
+ contextWindow: 128e3,
14
+ maxOutput: 5e4,
15
+ modalities: {
16
+ input: ["text"],
17
+ output: ["text"]
18
+ },
19
+ capabilities: {
20
+ reasoning: true,
21
+ toolCall: true,
22
+ attachment: false,
23
+ structuredOutput: true
24
+ }
25
+ },
26
+ {
27
+ id: "mercury",
28
+ name: "Mercury",
29
+ provider: "inception",
30
+ family: "mercury",
31
+ pricing: {
32
+ input: 25e-8,
33
+ output: 1e-6,
34
+ cacheRead: 25e-8,
35
+ cacheWrite: 1e-6
36
+ },
37
+ contextWindow: 128e3,
38
+ maxOutput: 16384,
39
+ modalities: {
40
+ input: ["text"],
41
+ output: ["text"]
42
+ },
43
+ capabilities: {
44
+ reasoning: false,
45
+ toolCall: true,
46
+ attachment: false,
47
+ structuredOutput: false
48
+ }
49
+ },
50
+ {
51
+ id: "mercury-edit",
52
+ name: "Mercury Edit",
53
+ provider: "inception",
54
+ family: "",
55
+ pricing: {
56
+ input: 25e-8,
57
+ output: 75e-8,
58
+ cacheRead: 25e-9
59
+ },
60
+ contextWindow: 128e3,
61
+ maxOutput: 8192,
62
+ modalities: {
63
+ input: ["text"],
64
+ output: ["text"]
65
+ },
66
+ capabilities: {
67
+ reasoning: true,
68
+ toolCall: false,
69
+ attachment: false,
70
+ structuredOutput: false
71
+ }
72
+ },
73
+ {
74
+ id: "mercury-coder",
75
+ name: "Mercury Coder",
76
+ provider: "inception",
77
+ family: "mercury",
78
+ pricing: {
79
+ input: 25e-8,
80
+ output: 1e-6,
81
+ cacheRead: 25e-8,
82
+ cacheWrite: 1e-6
83
+ },
84
+ contextWindow: 128e3,
85
+ maxOutput: 16384,
86
+ modalities: {
87
+ input: ["text"],
88
+ output: ["text"]
89
+ },
90
+ capabilities: {
91
+ reasoning: false,
92
+ toolCall: true,
93
+ attachment: false,
94
+ structuredOutput: false
95
+ }
96
+ }
97
+ ];
98
+ //#endregion
99
+ export { INCEPTION_MODELS as t };
100
+
101
+ //# sourceMappingURL=inception-CspEzqNV.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inception-CspEzqNV.mjs","names":[],"sources":["../src/catalog/providers/inception.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const INCEPTION_MODELS = [\n {\n id: \"mercury-2\",\n name: \"Mercury 2\",\n provider: \"inception\",\n family: \"mercury\",\n pricing: { input: 2.5e-7, output: 7.5e-7, cacheRead: 2.5e-8 },\n contextWindow: 128000,\n maxOutput: 50000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: true },\n },\n {\n id: \"mercury\",\n name: \"Mercury\",\n provider: \"inception\",\n family: \"mercury\",\n pricing: { input: 2.5e-7, output: 0.000001, cacheRead: 2.5e-7, cacheWrite: 0.000001 },\n contextWindow: 128000,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"mercury-edit\",\n name: \"Mercury Edit\",\n provider: \"inception\",\n family: \"\",\n pricing: { input: 2.5e-7, output: 7.5e-7, cacheRead: 2.5e-8 },\n contextWindow: 128000,\n maxOutput: 8192,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"mercury-coder\",\n name: \"Mercury Coder\",\n provider: \"inception\",\n family: \"mercury\",\n pricing: { input: 2.5e-7, output: 0.000001, cacheRead: 2.5e-7, cacheWrite: 0.000001 },\n contextWindow: 128000,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,mBAAmB;CAC9B;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAQ,WAAW;GAAQ;EAC7D,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAM;EAC7F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAU,WAAW;GAAQ,YAAY;GAAU;EACrF,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAQ,WAAW;GAAQ;EAC7D,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAO,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAU,WAAW;GAAQ,YAAY;GAAU;EACrF,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAO,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC/F;CACF"}