@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,767 @@
1
+ import { n as ModelDefinition } from "../types-DjdaZckF.mjs";
2
+ import { LiteralUnion } from "type-fest";
3
+
4
+ //#region src/catalog/providers/togetherai.d.ts
5
+ declare const TOGETHERAI_MODELS: readonly [{
6
+ readonly id: "zai-org/GLM-4.6";
7
+ readonly name: "GLM 4.6";
8
+ readonly provider: "togetherai";
9
+ readonly family: "glm";
10
+ readonly pricing: {
11
+ readonly input: 6e-7;
12
+ readonly output: 0.0000022;
13
+ };
14
+ readonly contextWindow: 200000;
15
+ readonly maxOutput: 200000;
16
+ readonly modalities: {
17
+ readonly input: readonly ["text"];
18
+ readonly output: readonly ["text"];
19
+ };
20
+ readonly capabilities: {
21
+ readonly reasoning: false;
22
+ readonly toolCall: true;
23
+ readonly attachment: false;
24
+ readonly structuredOutput: false;
25
+ };
26
+ }, {
27
+ readonly id: "zai-org/GLM-4.7";
28
+ readonly name: "GLM-4.7";
29
+ readonly provider: "togetherai";
30
+ readonly family: "glm";
31
+ readonly pricing: {
32
+ readonly input: 4.5e-7;
33
+ readonly output: 0.000002;
34
+ };
35
+ readonly contextWindow: 200000;
36
+ readonly maxOutput: 200000;
37
+ readonly modalities: {
38
+ readonly input: readonly ["text"];
39
+ readonly output: readonly ["text"];
40
+ };
41
+ readonly capabilities: {
42
+ readonly reasoning: true;
43
+ readonly toolCall: true;
44
+ readonly attachment: false;
45
+ readonly structuredOutput: false;
46
+ };
47
+ }, {
48
+ readonly id: "zai-org/GLM-5";
49
+ readonly name: "GLM-5";
50
+ readonly provider: "togetherai";
51
+ readonly family: "glm";
52
+ readonly pricing: {
53
+ readonly input: 0.000001;
54
+ readonly output: 0.0000032;
55
+ };
56
+ readonly contextWindow: 202752;
57
+ readonly maxOutput: 131072;
58
+ readonly modalities: {
59
+ readonly input: readonly ["text"];
60
+ readonly output: readonly ["text"];
61
+ };
62
+ readonly capabilities: {
63
+ readonly reasoning: true;
64
+ readonly toolCall: true;
65
+ readonly attachment: false;
66
+ readonly structuredOutput: true;
67
+ };
68
+ }, {
69
+ readonly id: "essentialai/Rnj-1-Instruct";
70
+ readonly name: "Rnj-1 Instruct";
71
+ readonly provider: "togetherai";
72
+ readonly family: "rnj";
73
+ readonly pricing: {
74
+ readonly input: 1.5e-7;
75
+ readonly output: 1.5e-7;
76
+ };
77
+ readonly contextWindow: 32768;
78
+ readonly maxOutput: 32768;
79
+ readonly modalities: {
80
+ readonly input: readonly ["text"];
81
+ readonly output: readonly ["text"];
82
+ };
83
+ readonly capabilities: {
84
+ readonly reasoning: false;
85
+ readonly toolCall: true;
86
+ readonly attachment: false;
87
+ readonly structuredOutput: false;
88
+ };
89
+ }, {
90
+ readonly id: "MiniMaxAI/MiniMax-M2.5";
91
+ readonly name: "MiniMax-M2.5";
92
+ readonly provider: "togetherai";
93
+ readonly family: "minimax";
94
+ readonly pricing: {
95
+ readonly input: 3e-7;
96
+ readonly output: 0.0000012;
97
+ readonly cacheRead: 6e-8;
98
+ };
99
+ readonly contextWindow: 204800;
100
+ readonly maxOutput: 131072;
101
+ readonly modalities: {
102
+ readonly input: readonly ["text"];
103
+ readonly output: readonly ["text"];
104
+ };
105
+ readonly capabilities: {
106
+ readonly reasoning: true;
107
+ readonly toolCall: true;
108
+ readonly attachment: false;
109
+ readonly structuredOutput: false;
110
+ };
111
+ }, {
112
+ readonly id: "deepseek-ai/DeepSeek-V3-1";
113
+ readonly name: "DeepSeek V3.1";
114
+ readonly provider: "togetherai";
115
+ readonly family: "deepseek";
116
+ readonly pricing: {
117
+ readonly input: 6e-7;
118
+ readonly output: 0.0000017;
119
+ };
120
+ readonly contextWindow: 131072;
121
+ readonly maxOutput: 131072;
122
+ readonly modalities: {
123
+ readonly input: readonly ["text"];
124
+ readonly output: readonly ["text"];
125
+ };
126
+ readonly capabilities: {
127
+ readonly reasoning: true;
128
+ readonly toolCall: true;
129
+ readonly attachment: false;
130
+ readonly structuredOutput: false;
131
+ };
132
+ }, {
133
+ readonly id: "deepseek-ai/DeepSeek-R1";
134
+ readonly name: "DeepSeek R1";
135
+ readonly provider: "togetherai";
136
+ readonly family: "deepseek-thinking";
137
+ readonly pricing: {
138
+ readonly input: 0.000003;
139
+ readonly output: 0.000007;
140
+ };
141
+ readonly contextWindow: 163839;
142
+ readonly maxOutput: 163839;
143
+ readonly modalities: {
144
+ readonly input: readonly ["text"];
145
+ readonly output: readonly ["text"];
146
+ };
147
+ readonly capabilities: {
148
+ readonly reasoning: true;
149
+ readonly toolCall: false;
150
+ readonly attachment: false;
151
+ readonly structuredOutput: false;
152
+ };
153
+ }, {
154
+ readonly id: "deepseek-ai/DeepSeek-V3";
155
+ readonly name: "DeepSeek V3";
156
+ readonly provider: "togetherai";
157
+ readonly family: "deepseek";
158
+ readonly pricing: {
159
+ readonly input: 0.00000125;
160
+ readonly output: 0.00000125;
161
+ };
162
+ readonly contextWindow: 131072;
163
+ readonly maxOutput: 131072;
164
+ readonly modalities: {
165
+ readonly input: readonly ["text"];
166
+ readonly output: readonly ["text"];
167
+ };
168
+ readonly capabilities: {
169
+ readonly reasoning: true;
170
+ readonly toolCall: true;
171
+ readonly attachment: false;
172
+ readonly structuredOutput: false;
173
+ };
174
+ }, {
175
+ readonly id: "moonshotai/Kimi-K2-Instruct";
176
+ readonly name: "Kimi K2 Instruct";
177
+ readonly provider: "togetherai";
178
+ readonly family: "kimi";
179
+ readonly pricing: {
180
+ readonly input: 0.000001;
181
+ readonly output: 0.000003;
182
+ };
183
+ readonly contextWindow: 131072;
184
+ readonly maxOutput: 131072;
185
+ readonly modalities: {
186
+ readonly input: readonly ["text"];
187
+ readonly output: readonly ["text"];
188
+ };
189
+ readonly capabilities: {
190
+ readonly reasoning: false;
191
+ readonly toolCall: true;
192
+ readonly attachment: false;
193
+ readonly structuredOutput: false;
194
+ };
195
+ }, {
196
+ readonly id: "moonshotai/Kimi-K2.5";
197
+ readonly name: "Kimi K2.5";
198
+ readonly provider: "togetherai";
199
+ readonly family: "kimi";
200
+ readonly pricing: {
201
+ readonly input: 5e-7;
202
+ readonly output: 0.0000028;
203
+ };
204
+ readonly contextWindow: 262144;
205
+ readonly maxOutput: 262144;
206
+ readonly modalities: {
207
+ readonly input: readonly ["text", "image"];
208
+ readonly output: readonly ["text"];
209
+ };
210
+ readonly capabilities: {
211
+ readonly reasoning: true;
212
+ readonly toolCall: true;
213
+ readonly attachment: false;
214
+ readonly structuredOutput: false;
215
+ };
216
+ }, {
217
+ readonly id: "meta-llama/Llama-3.3-70B-Instruct-Turbo";
218
+ readonly name: "Llama 3.3 70B";
219
+ readonly provider: "togetherai";
220
+ readonly family: "llama";
221
+ readonly pricing: {
222
+ readonly input: 8.8e-7;
223
+ readonly output: 8.8e-7;
224
+ };
225
+ readonly contextWindow: 131072;
226
+ readonly maxOutput: 131072;
227
+ readonly modalities: {
228
+ readonly input: readonly ["text"];
229
+ readonly output: readonly ["text"];
230
+ };
231
+ readonly capabilities: {
232
+ readonly reasoning: false;
233
+ readonly toolCall: true;
234
+ readonly attachment: false;
235
+ readonly structuredOutput: false;
236
+ };
237
+ }, {
238
+ readonly id: "Qwen/Qwen3-Next-80B-A3B-Instruct";
239
+ readonly name: "Qwen3-Next-80B-A3B-Instruct";
240
+ readonly provider: "togetherai";
241
+ readonly family: "qwen";
242
+ readonly pricing: {
243
+ readonly input: 1.5e-7;
244
+ readonly output: 0.0000015;
245
+ };
246
+ readonly contextWindow: 262144;
247
+ readonly maxOutput: 262144;
248
+ readonly modalities: {
249
+ readonly input: readonly ["text"];
250
+ readonly output: readonly ["text"];
251
+ };
252
+ readonly capabilities: {
253
+ readonly reasoning: false;
254
+ readonly toolCall: true;
255
+ readonly attachment: false;
256
+ readonly structuredOutput: false;
257
+ };
258
+ }, {
259
+ readonly id: "Qwen/Qwen3-235B-A22B-Instruct-2507-tput";
260
+ readonly name: "Qwen3 235B A22B Instruct 2507 FP8";
261
+ readonly provider: "togetherai";
262
+ readonly family: "qwen";
263
+ readonly pricing: {
264
+ readonly input: 2e-7;
265
+ readonly output: 6e-7;
266
+ };
267
+ readonly contextWindow: 262144;
268
+ readonly maxOutput: 262144;
269
+ readonly modalities: {
270
+ readonly input: readonly ["text"];
271
+ readonly output: readonly ["text"];
272
+ };
273
+ readonly capabilities: {
274
+ readonly reasoning: true;
275
+ readonly toolCall: true;
276
+ readonly attachment: false;
277
+ readonly structuredOutput: false;
278
+ };
279
+ }, {
280
+ readonly id: "Qwen/Qwen3.5-397B-A17B";
281
+ readonly name: "Qwen3.5 397B A17B";
282
+ readonly provider: "togetherai";
283
+ readonly family: "qwen";
284
+ readonly pricing: {
285
+ readonly input: 6e-7;
286
+ readonly output: 0.0000036;
287
+ };
288
+ readonly contextWindow: 262144;
289
+ readonly maxOutput: 130000;
290
+ readonly modalities: {
291
+ readonly input: readonly ["text", "image"];
292
+ readonly output: readonly ["text"];
293
+ };
294
+ readonly capabilities: {
295
+ readonly reasoning: true;
296
+ readonly toolCall: true;
297
+ readonly attachment: false;
298
+ readonly structuredOutput: false;
299
+ };
300
+ }, {
301
+ readonly id: "Qwen/Qwen3-Coder-Next-FP8";
302
+ readonly name: "Qwen3 Coder Next FP8";
303
+ readonly provider: "togetherai";
304
+ readonly family: "qwen";
305
+ readonly pricing: {
306
+ readonly input: 5e-7;
307
+ readonly output: 0.0000012;
308
+ };
309
+ readonly contextWindow: 262144;
310
+ readonly maxOutput: 262144;
311
+ readonly modalities: {
312
+ readonly input: readonly ["text"];
313
+ readonly output: readonly ["text"];
314
+ };
315
+ readonly capabilities: {
316
+ readonly reasoning: true;
317
+ readonly toolCall: true;
318
+ readonly attachment: false;
319
+ readonly structuredOutput: false;
320
+ };
321
+ }, {
322
+ readonly id: "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8";
323
+ readonly name: "Qwen3 Coder 480B A35B Instruct";
324
+ readonly provider: "togetherai";
325
+ readonly family: "qwen";
326
+ readonly pricing: {
327
+ readonly input: 0.000002;
328
+ readonly output: 0.000002;
329
+ };
330
+ readonly contextWindow: 262144;
331
+ readonly maxOutput: 262144;
332
+ readonly modalities: {
333
+ readonly input: readonly ["text"];
334
+ readonly output: readonly ["text"];
335
+ };
336
+ readonly capabilities: {
337
+ readonly reasoning: false;
338
+ readonly toolCall: true;
339
+ readonly attachment: false;
340
+ readonly structuredOutput: false;
341
+ };
342
+ }, {
343
+ readonly id: "openai/gpt-oss-120b";
344
+ readonly name: "GPT OSS 120B";
345
+ readonly provider: "togetherai";
346
+ readonly family: "gpt-oss";
347
+ readonly pricing: {
348
+ readonly input: 1.5e-7;
349
+ readonly output: 6e-7;
350
+ };
351
+ readonly contextWindow: 131072;
352
+ readonly maxOutput: 131072;
353
+ readonly modalities: {
354
+ readonly input: readonly ["text"];
355
+ readonly output: readonly ["text"];
356
+ };
357
+ readonly capabilities: {
358
+ readonly reasoning: true;
359
+ readonly toolCall: true;
360
+ readonly attachment: false;
361
+ readonly structuredOutput: false;
362
+ };
363
+ }];
364
+ //#endregion
365
+ //#region src/providers/togetherai.d.ts
366
+ /**
367
+ * Known model identifiers for Together AI.
368
+ *
369
+ * @example
370
+ * ```typescript
371
+ * import type { TogetherModelId } from '@funkai/models/togetherai'
372
+ *
373
+ * const id: TogetherModelId = 'zai-org/GLM-4.6'
374
+ * ```
375
+ */
376
+ type TogetherModelId = (typeof TOGETHERAI_MODELS)[number]["id"];
377
+ /**
378
+ * All Together AI models in the catalog.
379
+ *
380
+ * @example
381
+ * ```typescript
382
+ * import { togetherModels } from '@funkai/models/togetherai'
383
+ *
384
+ * for (const m of togetherModels) {
385
+ * console.log(m.id, m.pricing.input)
386
+ * }
387
+ * ```
388
+ */
389
+ declare const togetherModels: readonly [{
390
+ readonly id: "zai-org/GLM-4.6";
391
+ readonly name: "GLM 4.6";
392
+ readonly provider: "togetherai";
393
+ readonly family: "glm";
394
+ readonly pricing: {
395
+ readonly input: 6e-7;
396
+ readonly output: 0.0000022;
397
+ };
398
+ readonly contextWindow: 200000;
399
+ readonly maxOutput: 200000;
400
+ readonly modalities: {
401
+ readonly input: readonly ["text"];
402
+ readonly output: readonly ["text"];
403
+ };
404
+ readonly capabilities: {
405
+ readonly reasoning: false;
406
+ readonly toolCall: true;
407
+ readonly attachment: false;
408
+ readonly structuredOutput: false;
409
+ };
410
+ }, {
411
+ readonly id: "zai-org/GLM-4.7";
412
+ readonly name: "GLM-4.7";
413
+ readonly provider: "togetherai";
414
+ readonly family: "glm";
415
+ readonly pricing: {
416
+ readonly input: 4.5e-7;
417
+ readonly output: 0.000002;
418
+ };
419
+ readonly contextWindow: 200000;
420
+ readonly maxOutput: 200000;
421
+ readonly modalities: {
422
+ readonly input: readonly ["text"];
423
+ readonly output: readonly ["text"];
424
+ };
425
+ readonly capabilities: {
426
+ readonly reasoning: true;
427
+ readonly toolCall: true;
428
+ readonly attachment: false;
429
+ readonly structuredOutput: false;
430
+ };
431
+ }, {
432
+ readonly id: "zai-org/GLM-5";
433
+ readonly name: "GLM-5";
434
+ readonly provider: "togetherai";
435
+ readonly family: "glm";
436
+ readonly pricing: {
437
+ readonly input: 0.000001;
438
+ readonly output: 0.0000032;
439
+ };
440
+ readonly contextWindow: 202752;
441
+ readonly maxOutput: 131072;
442
+ readonly modalities: {
443
+ readonly input: readonly ["text"];
444
+ readonly output: readonly ["text"];
445
+ };
446
+ readonly capabilities: {
447
+ readonly reasoning: true;
448
+ readonly toolCall: true;
449
+ readonly attachment: false;
450
+ readonly structuredOutput: true;
451
+ };
452
+ }, {
453
+ readonly id: "essentialai/Rnj-1-Instruct";
454
+ readonly name: "Rnj-1 Instruct";
455
+ readonly provider: "togetherai";
456
+ readonly family: "rnj";
457
+ readonly pricing: {
458
+ readonly input: 1.5e-7;
459
+ readonly output: 1.5e-7;
460
+ };
461
+ readonly contextWindow: 32768;
462
+ readonly maxOutput: 32768;
463
+ readonly modalities: {
464
+ readonly input: readonly ["text"];
465
+ readonly output: readonly ["text"];
466
+ };
467
+ readonly capabilities: {
468
+ readonly reasoning: false;
469
+ readonly toolCall: true;
470
+ readonly attachment: false;
471
+ readonly structuredOutput: false;
472
+ };
473
+ }, {
474
+ readonly id: "MiniMaxAI/MiniMax-M2.5";
475
+ readonly name: "MiniMax-M2.5";
476
+ readonly provider: "togetherai";
477
+ readonly family: "minimax";
478
+ readonly pricing: {
479
+ readonly input: 3e-7;
480
+ readonly output: 0.0000012;
481
+ readonly cacheRead: 6e-8;
482
+ };
483
+ readonly contextWindow: 204800;
484
+ readonly maxOutput: 131072;
485
+ readonly modalities: {
486
+ readonly input: readonly ["text"];
487
+ readonly output: readonly ["text"];
488
+ };
489
+ readonly capabilities: {
490
+ readonly reasoning: true;
491
+ readonly toolCall: true;
492
+ readonly attachment: false;
493
+ readonly structuredOutput: false;
494
+ };
495
+ }, {
496
+ readonly id: "deepseek-ai/DeepSeek-V3-1";
497
+ readonly name: "DeepSeek V3.1";
498
+ readonly provider: "togetherai";
499
+ readonly family: "deepseek";
500
+ readonly pricing: {
501
+ readonly input: 6e-7;
502
+ readonly output: 0.0000017;
503
+ };
504
+ readonly contextWindow: 131072;
505
+ readonly maxOutput: 131072;
506
+ readonly modalities: {
507
+ readonly input: readonly ["text"];
508
+ readonly output: readonly ["text"];
509
+ };
510
+ readonly capabilities: {
511
+ readonly reasoning: true;
512
+ readonly toolCall: true;
513
+ readonly attachment: false;
514
+ readonly structuredOutput: false;
515
+ };
516
+ }, {
517
+ readonly id: "deepseek-ai/DeepSeek-R1";
518
+ readonly name: "DeepSeek R1";
519
+ readonly provider: "togetherai";
520
+ readonly family: "deepseek-thinking";
521
+ readonly pricing: {
522
+ readonly input: 0.000003;
523
+ readonly output: 0.000007;
524
+ };
525
+ readonly contextWindow: 163839;
526
+ readonly maxOutput: 163839;
527
+ readonly modalities: {
528
+ readonly input: readonly ["text"];
529
+ readonly output: readonly ["text"];
530
+ };
531
+ readonly capabilities: {
532
+ readonly reasoning: true;
533
+ readonly toolCall: false;
534
+ readonly attachment: false;
535
+ readonly structuredOutput: false;
536
+ };
537
+ }, {
538
+ readonly id: "deepseek-ai/DeepSeek-V3";
539
+ readonly name: "DeepSeek V3";
540
+ readonly provider: "togetherai";
541
+ readonly family: "deepseek";
542
+ readonly pricing: {
543
+ readonly input: 0.00000125;
544
+ readonly output: 0.00000125;
545
+ };
546
+ readonly contextWindow: 131072;
547
+ readonly maxOutput: 131072;
548
+ readonly modalities: {
549
+ readonly input: readonly ["text"];
550
+ readonly output: readonly ["text"];
551
+ };
552
+ readonly capabilities: {
553
+ readonly reasoning: true;
554
+ readonly toolCall: true;
555
+ readonly attachment: false;
556
+ readonly structuredOutput: false;
557
+ };
558
+ }, {
559
+ readonly id: "moonshotai/Kimi-K2-Instruct";
560
+ readonly name: "Kimi K2 Instruct";
561
+ readonly provider: "togetherai";
562
+ readonly family: "kimi";
563
+ readonly pricing: {
564
+ readonly input: 0.000001;
565
+ readonly output: 0.000003;
566
+ };
567
+ readonly contextWindow: 131072;
568
+ readonly maxOutput: 131072;
569
+ readonly modalities: {
570
+ readonly input: readonly ["text"];
571
+ readonly output: readonly ["text"];
572
+ };
573
+ readonly capabilities: {
574
+ readonly reasoning: false;
575
+ readonly toolCall: true;
576
+ readonly attachment: false;
577
+ readonly structuredOutput: false;
578
+ };
579
+ }, {
580
+ readonly id: "moonshotai/Kimi-K2.5";
581
+ readonly name: "Kimi K2.5";
582
+ readonly provider: "togetherai";
583
+ readonly family: "kimi";
584
+ readonly pricing: {
585
+ readonly input: 5e-7;
586
+ readonly output: 0.0000028;
587
+ };
588
+ readonly contextWindow: 262144;
589
+ readonly maxOutput: 262144;
590
+ readonly modalities: {
591
+ readonly input: readonly ["text", "image"];
592
+ readonly output: readonly ["text"];
593
+ };
594
+ readonly capabilities: {
595
+ readonly reasoning: true;
596
+ readonly toolCall: true;
597
+ readonly attachment: false;
598
+ readonly structuredOutput: false;
599
+ };
600
+ }, {
601
+ readonly id: "meta-llama/Llama-3.3-70B-Instruct-Turbo";
602
+ readonly name: "Llama 3.3 70B";
603
+ readonly provider: "togetherai";
604
+ readonly family: "llama";
605
+ readonly pricing: {
606
+ readonly input: 8.8e-7;
607
+ readonly output: 8.8e-7;
608
+ };
609
+ readonly contextWindow: 131072;
610
+ readonly maxOutput: 131072;
611
+ readonly modalities: {
612
+ readonly input: readonly ["text"];
613
+ readonly output: readonly ["text"];
614
+ };
615
+ readonly capabilities: {
616
+ readonly reasoning: false;
617
+ readonly toolCall: true;
618
+ readonly attachment: false;
619
+ readonly structuredOutput: false;
620
+ };
621
+ }, {
622
+ readonly id: "Qwen/Qwen3-Next-80B-A3B-Instruct";
623
+ readonly name: "Qwen3-Next-80B-A3B-Instruct";
624
+ readonly provider: "togetherai";
625
+ readonly family: "qwen";
626
+ readonly pricing: {
627
+ readonly input: 1.5e-7;
628
+ readonly output: 0.0000015;
629
+ };
630
+ readonly contextWindow: 262144;
631
+ readonly maxOutput: 262144;
632
+ readonly modalities: {
633
+ readonly input: readonly ["text"];
634
+ readonly output: readonly ["text"];
635
+ };
636
+ readonly capabilities: {
637
+ readonly reasoning: false;
638
+ readonly toolCall: true;
639
+ readonly attachment: false;
640
+ readonly structuredOutput: false;
641
+ };
642
+ }, {
643
+ readonly id: "Qwen/Qwen3-235B-A22B-Instruct-2507-tput";
644
+ readonly name: "Qwen3 235B A22B Instruct 2507 FP8";
645
+ readonly provider: "togetherai";
646
+ readonly family: "qwen";
647
+ readonly pricing: {
648
+ readonly input: 2e-7;
649
+ readonly output: 6e-7;
650
+ };
651
+ readonly contextWindow: 262144;
652
+ readonly maxOutput: 262144;
653
+ readonly modalities: {
654
+ readonly input: readonly ["text"];
655
+ readonly output: readonly ["text"];
656
+ };
657
+ readonly capabilities: {
658
+ readonly reasoning: true;
659
+ readonly toolCall: true;
660
+ readonly attachment: false;
661
+ readonly structuredOutput: false;
662
+ };
663
+ }, {
664
+ readonly id: "Qwen/Qwen3.5-397B-A17B";
665
+ readonly name: "Qwen3.5 397B A17B";
666
+ readonly provider: "togetherai";
667
+ readonly family: "qwen";
668
+ readonly pricing: {
669
+ readonly input: 6e-7;
670
+ readonly output: 0.0000036;
671
+ };
672
+ readonly contextWindow: 262144;
673
+ readonly maxOutput: 130000;
674
+ readonly modalities: {
675
+ readonly input: readonly ["text", "image"];
676
+ readonly output: readonly ["text"];
677
+ };
678
+ readonly capabilities: {
679
+ readonly reasoning: true;
680
+ readonly toolCall: true;
681
+ readonly attachment: false;
682
+ readonly structuredOutput: false;
683
+ };
684
+ }, {
685
+ readonly id: "Qwen/Qwen3-Coder-Next-FP8";
686
+ readonly name: "Qwen3 Coder Next FP8";
687
+ readonly provider: "togetherai";
688
+ readonly family: "qwen";
689
+ readonly pricing: {
690
+ readonly input: 5e-7;
691
+ readonly output: 0.0000012;
692
+ };
693
+ readonly contextWindow: 262144;
694
+ readonly maxOutput: 262144;
695
+ readonly modalities: {
696
+ readonly input: readonly ["text"];
697
+ readonly output: readonly ["text"];
698
+ };
699
+ readonly capabilities: {
700
+ readonly reasoning: true;
701
+ readonly toolCall: true;
702
+ readonly attachment: false;
703
+ readonly structuredOutput: false;
704
+ };
705
+ }, {
706
+ readonly id: "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8";
707
+ readonly name: "Qwen3 Coder 480B A35B Instruct";
708
+ readonly provider: "togetherai";
709
+ readonly family: "qwen";
710
+ readonly pricing: {
711
+ readonly input: 0.000002;
712
+ readonly output: 0.000002;
713
+ };
714
+ readonly contextWindow: 262144;
715
+ readonly maxOutput: 262144;
716
+ readonly modalities: {
717
+ readonly input: readonly ["text"];
718
+ readonly output: readonly ["text"];
719
+ };
720
+ readonly capabilities: {
721
+ readonly reasoning: false;
722
+ readonly toolCall: true;
723
+ readonly attachment: false;
724
+ readonly structuredOutput: false;
725
+ };
726
+ }, {
727
+ readonly id: "openai/gpt-oss-120b";
728
+ readonly name: "GPT OSS 120B";
729
+ readonly provider: "togetherai";
730
+ readonly family: "gpt-oss";
731
+ readonly pricing: {
732
+ readonly input: 1.5e-7;
733
+ readonly output: 6e-7;
734
+ };
735
+ readonly contextWindow: 131072;
736
+ readonly maxOutput: 131072;
737
+ readonly modalities: {
738
+ readonly input: readonly ["text"];
739
+ readonly output: readonly ["text"];
740
+ };
741
+ readonly capabilities: {
742
+ readonly reasoning: true;
743
+ readonly toolCall: true;
744
+ readonly attachment: false;
745
+ readonly structuredOutput: false;
746
+ };
747
+ }];
748
+ /**
749
+ * Look up a Together AI model by ID.
750
+ *
751
+ * @param id - The provider-native model identifier.
752
+ * @returns The matching model definition, or `null`.
753
+ *
754
+ * @example
755
+ * ```typescript
756
+ * import { togetherModel } from '@funkai/models/togetherai'
757
+ *
758
+ * const m = togetherModel('zai-org/GLM-4.6')
759
+ * if (m) {
760
+ * console.log(m.pricing.input)
761
+ * }
762
+ * ```
763
+ */
764
+ declare function togetherModel(id: LiteralUnion<TogetherModelId, string>): ModelDefinition | null;
765
+ //#endregion
766
+ export { TogetherModelId, togetherModel, togetherModels };
767
+ //# sourceMappingURL=togetherai.d.mts.map