Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

models.ts

335 lines9.0 KB

1// Generated by scripts/sync-model-catalogs.ts from modelschemas. Do not edit.
2import type { ModelRecord } from '@tanstack/ai'
3​
4/** Every Cloudflare Workers AI chat model on modelschemas.com, sorted by id. */
5export const models: ReadonlyArray<ModelRecord> = [
6 {
7 id: '@cf/aisingapore/gemma-sea-lion-v4-27b-it',
8 name: 'gemma-sea-lion-v4-27b-it',
9 input: ['text'],
10 reasoning: false,
11 prices: { currency: 'USD', input: 0.351, output: 0.555 },
12 contextWindow: 128000,
13 },
14 {
15 id: '@cf/cloudflare/clairic',
16 name: 'clairic',
17 input: ['text', 'image'],
18 reasoning: false,
19 contextWindow: 65536,
20 },
21 {
22 id: '@cf/cloudflare/clef',
23 name: 'clef',
24 input: ['text', 'image'],
25 reasoning: false,
26 contextWindow: 65536,
27 },
28 {
29 id: '@cf/cloudflare/clef-flash',
30 name: 'clef-flash',
31 input: ['text', 'image'],
32 reasoning: false,
33 contextWindow: 24576,
34 },
35 {
36 id: '@cf/cloudflare/clef-omni',
37 name: 'clef-omni',
38 input: ['text', 'image'],
39 reasoning: false,
40 contextWindow: 64000,
41 },
42 {
43 id: '@cf/daily-co/phonellm-mini-alpha-2',
44 name: 'phonellm-mini-alpha-2',
45 input: ['text'],
46 reasoning: false,
47 prices: { currency: 'USD', input: 0.06, output: 0.24 },
48 contextWindow: 262140,
49 },
50 {
51 id: '@cf/deepseek-ai/deepseek-r1-distill-qwen-32b',
52 name: 'deepseek-r1-distill-qwen-32b',
53 input: ['text'],
54 reasoning: { levels: {}, budget: false },
55 prices: { currency: 'USD', input: 0.497, output: 4.881 },
56 contextWindow: 80000,
57 },
58 {
59 id: '@cf/deepseek-ai/deepseek-v4-flash-0731',
60 name: 'deepseek-v4-flash-0731',
61 input: ['text'],
62 reasoning: {
63 levels: { off: 'none', low: 'low', high: 'high', max: 'max' },
64 budget: false,
65 },
66 prices: { currency: 'USD', input: 0.44, output: 1.32, cacheRead: 0.014 },
67 contextWindow: 1048576,
68 },
69 {
70 id: '@cf/deepseek-ai/deepseek-v4-pro-0813',
71 name: 'deepseek-v4-pro-0813',
72 input: ['text'],
73 reasoning: {
74 levels: { off: 'none', low: 'low', high: 'high', max: 'max' },
75 budget: false,
76 },
77 prices: { currency: 'USD', input: 1.32, output: 3.96, cacheRead: 0.044 },
78 contextWindow: 1048576,
79 },
80 {
81 id: '@cf/deepseek-ai/deepseek-v4.1-flash-1017',
82 name: 'deepseek-v4.1-flash-1017',
83 input: ['text', 'image'],
84 reasoning: {
85 levels: { off: 'none', low: 'low', high: 'high', max: 'max' },
86 budget: false,
87 },
88 prices: { currency: 'USD', input: 0.3, output: 1.2, cacheRead: 0.006 },
89 contextWindow: 1048576,
90 },
91 {
92 id: '@cf/google/gemma-2b-it-lora',
93 name: 'gemma-2b-it-lora',
94 input: ['text'],
95 reasoning: false,
96 contextWindow: 8192,
97 },
98 {
99 id: '@cf/google/gemma-4-26b-a4b-it',
100 name: 'gemma-4-26b-a4b-it',
101 input: ['text', 'image'],
102 reasoning: { levels: {}, budget: false },
103 prices: { currency: 'USD', input: 0.1, output: 0.3 },
104 contextWindow: 256000,
105 },
106 {
107 id: '@cf/google/gemma-7b-it-lora',
108 name: 'gemma-7b-it-lora',
109 input: ['text'],
110 reasoning: false,
111 contextWindow: 3500,
112 },
113 {
114 id: '@cf/ibm-granite/granite-4.0-h-micro',
115 name: 'granite-4.0-h-micro',
116 input: ['text'],
117 reasoning: false,
118 prices: { currency: 'USD', input: 0.017, output: 0.112 },
119 contextWindow: 131000,
120 },
121 {
122 id: '@cf/meta-llama/llama-2-7b-chat-hf-lora',
123 name: 'llama-2-7b-chat-hf-lora',
124 input: ['text'],
125 reasoning: false,
126 contextWindow: 8192,
127 },
128 {
129 id: '@cf/meta/llama-3.1-8b-instruct-fp8',
130 name: 'llama-3.1-8b-instruct-fp8',
131 input: ['text'],
132 reasoning: false,
133 prices: { currency: 'USD', input: 0.152, output: 0.287 },
134 contextWindow: 32000,
135 },
136 {
137 id: '@cf/meta/llama-3.2-11b-vision-instruct',
138 name: 'llama-3.2-11b-vision-instruct',
139 input: ['text', 'image'],
140 reasoning: false,
141 prices: { currency: 'USD', input: 0.0485, output: 0.676 },
142 contextWindow: 128000,
143 },
144 {
145 id: '@cf/meta/llama-3.2-1b-instruct',
146 name: 'llama-3.2-1b-instruct',
147 input: ['text'],
148 reasoning: false,
149 prices: { currency: 'USD', input: 0.027, output: 0.201 },
150 contextWindow: 60000,
151 },
152 {
153 id: '@cf/meta/llama-3.2-3b-instruct',
154 name: 'llama-3.2-3b-instruct',
155 input: ['text'],
156 reasoning: false,
157 prices: { currency: 'USD', input: 0.0509, output: 0.335 },
158 contextWindow: 80000,
159 },
160 {
161 id: '@cf/meta/llama-3.3-70b-instruct-fp8-fast',
162 name: 'llama-3.3-70b-instruct-fp8-fast',
163 input: ['text'],
164 reasoning: false,
165 prices: { currency: 'USD', input: 0.293, output: 2.253 },
166 contextWindow: 24000,
167 },
168 {
169 id: '@cf/meta/llama-4-scout-17b-16e-instruct',
170 name: 'llama-4-scout-17b-16e-instruct',
171 input: ['text', 'image'],
172 reasoning: false,
173 prices: { currency: 'USD', input: 0.27, output: 0.85 },
174 contextWindow: 131000,
175 },
176 {
177 id: '@cf/meta/llama-guard-3-8b',
178 name: 'llama-guard-3-8b',
179 input: ['text'],
180 reasoning: false,
181 prices: { currency: 'USD', input: 0.484, output: 0.03 },
182 contextWindow: 131072,
183 },
184 {
185 id: '@cf/mistral/mistral-7b-instruct-v0.2-lora',
186 name: 'mistral-7b-instruct-v0.2-lora',
187 input: ['text'],
188 reasoning: false,
189 contextWindow: 15000,
190 },
191 {
192 id: '@cf/mistralai/mistral-small-3.1-24b-instruct',
193 name: 'mistral-small-3.1-24b-instruct',
194 input: ['text'],
195 reasoning: false,
196 prices: { currency: 'USD', input: 0.351, output: 0.555 },
197 contextWindow: 128000,
198 },
199 {
200 id: '@cf/moonshotai/kimi-k2.6',
201 name: 'kimi-k2.6',
202 input: ['text', 'image'],
203 reasoning: { levels: { off: 'none', high: 'high' }, budget: false },
204 prices: { currency: 'USD', input: 0.95, output: 4, cacheRead: 0.16 },
205 contextWindow: 262144,
206 },
207 {
208 id: '@cf/moonshotai/kimi-k2.7-code',
209 name: 'kimi-k2.7-code',
210 input: ['text', 'image'],
211 reasoning: { levels: {}, budget: false },
212 prices: { currency: 'USD', input: 0.95, output: 4, cacheRead: 0.19 },
213 contextWindow: 262144,
214 },
215 {
216 id: '@cf/nvidia/nemotron-3-120b-a12b',
217 name: 'nemotron-3-120b-a12b',
218 input: ['text'],
219 reasoning: { levels: {}, budget: false },
220 prices: { currency: 'USD', input: 0.5, output: 1.5 },
221 contextWindow: 256000,
222 },
223 {
224 id: '@cf/openai/gpt-oss-120b',
225 name: 'gpt-oss-120b',
226 input: ['text'],
227 reasoning: {
228 levels: { low: 'low', medium: 'medium', high: 'high' },
229 budget: false,
230 },
231 prices: { currency: 'USD', input: 0.35, output: 0.75 },
232 contextWindow: 128000,
233 },
234 {
235 id: '@cf/openai/gpt-oss-20b',
236 name: 'gpt-oss-20b',
237 input: ['text'],
238 reasoning: {
239 levels: { low: 'low', medium: 'medium', high: 'high' },
240 budget: false,
241 },
242 prices: { currency: 'USD', input: 0.2, output: 0.3 },
243 contextWindow: 128000,
244 },
245 {
246 id: '@cf/qwen/qwen2.5-coder-32b-instruct',
247 name: 'qwen2.5-coder-32b-instruct',
248 input: ['text'],
249 reasoning: false,
250 prices: { currency: 'USD', input: 0.66, output: 1 },
251 contextWindow: 32768,
252 },
253 {
254 id: '@cf/qwen/qwen3-30b-a3b-fp8',
255 name: 'qwen3-30b-a3b-fp8',
256 input: ['text'],
257 reasoning: { levels: {}, budget: false },
258 prices: { currency: 'USD', input: 0.0509, output: 0.335 },
259 contextWindow: 32768,
260 },
261 {
262 id: '@cf/qwen/qwen3.8-27b',
263 name: 'qwen3.8-27b',
264 input: ['text', 'image'],
265 reasoning: {
266 levels: { low: 'low', medium: 'medium', xhigh: 'xhigh' },
267 budget: false,
268 },
269 prices: { currency: 'USD', input: 0.45, output: 3.2, cacheRead: 0.05 },
270 contextWindow: 262144,
271 },
272 {
273 id: '@cf/qwen/qwq-32b',
274 name: 'qwq-32b',
275 input: ['text'],
276 reasoning: { levels: {}, budget: false },
277 prices: { currency: 'USD', input: 0.66, output: 1 },
278 contextWindow: 24000,
279 },
280 {
281 id: '@cf/swiss-ai/apertus-v1.5-8b',
282 name: 'apertus-v1.5-8b',
283 input: ['text', 'image'],
284 reasoning: false,
285 contextWindow: 262144,
286 },
287 {
288 id: '@cf/utter-project/eurollm-9b-it',
289 name: 'eurollm-9b-it',
290 input: ['text'],
291 reasoning: false,
292 contextWindow: 32000,
293 },
294 {
295 id: '@cf/zai-org/glm-4.7-flash',
296 name: 'glm-4.7-flash',
297 input: ['text'],
298 reasoning: { levels: {}, budget: false },
299 prices: { currency: 'USD', input: 0.0605, output: 0.4 },
300 contextWindow: 131072,
301 },
302 {
303 id: '@cf/zai-org/glm-5.2',
304 name: 'glm-5.2',
305 input: ['text'],
306 reasoning: {
307 levels: { off: 'none', high: 'high', max: 'max' },
308 budget: false,
309 },
310 prices: { currency: 'USD', input: 1.4, output: 4.4, cacheRead: 0.26 },
311 contextWindow: 262144,
312 },
313 {
314 id: '@cf/zai-org/glm-5.3',
315 name: 'glm-5.3',
316 input: ['text'],
317 reasoning: {
318 levels: { low: 'low', high: 'high', max: 'max' },
319 budget: false,
320 },
321 prices: { currency: 'USD', input: 1.4, output: 4.4, cacheRead: 0.26 },
322 contextWindow: 1048576,
323 },
324 {
325 id: '@cf/zai-org/glm-5.3-flash',
326 name: 'glm-5.3-flash',
327 input: ['text', 'image'],
328 reasoning: {
329 levels: { low: 'low', high: 'high', max: 'max' },
330 budget: false,
331 },
332 prices: { currency: 'USD', input: 0.15, output: 0.5, cacheRead: 0.03 },
333 contextWindow: 1048576,
334 },