Open History to see the last commit
1// Generated by scripts/sync-model-catalogs.ts from modelschemas. Do not edit.
2import type { ModelRecord } from '@tanstack/ai'
3
4/** Every OpenAI chat model on modelschemas.com, sorted by id. */
5export const models: ReadonlyArray<ModelRecord> = [
6 {
7 id: 'babbage-002',
8 name: 'Babbage 002',
9 input: ['text'],
10 reasoning: false,
11 prices: { currency: 'USD', input: 0.4, output: 0.4 },
12 maxOutputTokens: 16384,
13 },
14 {
15 id: 'chat-latest',
16 name: 'Chat Latest',
17 input: ['text', 'image'],
18 reasoning: false,
19 prices: { currency: 'USD', input: 5, output: 30, cacheRead: 0.5 },
20 contextWindow: 400000,
21 maxOutputTokens: 128000,
22 },
23 {
24 id: 'davinci-002',
25 name: 'Davinci 002',
26 input: ['text'],
27 reasoning: false,
28 prices: { currency: 'USD', input: 2, output: 2 },
29 maxOutputTokens: 16384,
30 },
31 {
32 id: 'gpt-3.5-turbo',
33 name: 'GPT 3.5 Turbo',
34 input: ['text'],
35 reasoning: false,
36 prices: { currency: 'USD', input: 0.5, output: 1.5 },
37 contextWindow: 16385,
38 maxOutputTokens: 4096,
39 },
40 {
41 id: 'gpt-3.5-turbo-0125',
42 name: 'GPT 3.5 Turbo 0125',
43 input: ['text'],
44 reasoning: false,
45 prices: { currency: 'USD', input: 0.5, output: 1.5 },
46 contextWindow: 16385,
47 maxOutputTokens: 4096,
48 },
49 {
50 id: 'gpt-3.5-turbo-1106',
51 name: 'GPT 3.5 Turbo 1106',
52 input: ['text'],
53 reasoning: false,
54 contextWindow: 16385,
55 maxOutputTokens: 4096,
56 },
57 { id: 'gpt-3.5-turbo-16k', name: 'GPT 3.5 Turbo 16k', reasoning: false },
58 {
59 id: 'gpt-3.5-turbo-instruct',
60 name: 'GPT 3.5 Turbo Instruct',
61 input: ['text'],
62 reasoning: false,
63 contextWindow: 16385,
64 maxOutputTokens: 4096,
65 },
66 {
67 id: 'gpt-3.5-turbo-instruct-0914',
68 name: 'GPT 3.5 Turbo Instruct 0914',
69 reasoning: false,
70 },
71 {
72 id: 'gpt-4',
73 name: 'GPT 4',
74 input: ['text'],
75 reasoning: false,
76 prices: { currency: 'USD', input: 30, output: 60 },
77 contextWindow: 8192,
78 maxOutputTokens: 8192,
79 },
80 {
81 id: 'gpt-4-0613',
82 name: 'GPT 4 0613',
83 input: ['text'],
84 reasoning: false,
85 prices: { currency: 'USD', input: 30, output: 60 },
86 contextWindow: 8192,
87 maxOutputTokens: 8192,
88 },
89 {
90 id: 'gpt-4-turbo',
91 name: 'GPT 4 Turbo',
92 input: ['text', 'image'],
93 reasoning: false,
94 prices: { currency: 'USD', input: 10, output: 30 },
95 contextWindow: 128000,
96 maxOutputTokens: 4096,
97 },
98 {
99 id: 'gpt-4-turbo-2024-04-09',
100 name: 'GPT 4 Turbo 2024 04 09',
101 input: ['text', 'image'],
102 reasoning: false,
103 prices: { currency: 'USD', input: 10, output: 30 },
104 contextWindow: 128000,
105 maxOutputTokens: 4096,
106 },
107 {
108 id: 'gpt-4.1',
109 name: 'GPT 4.1',
110 input: ['text', 'image', 'document'],
111 reasoning: false,
112 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
113 contextWindow: 1047576,
114 maxOutputTokens: 32768,
115 },
116 {
117 id: 'gpt-4.1-2025-04-14',
118 name: 'GPT 4.1 2025 04 14',
119 input: ['text', 'image', 'document'],
120 reasoning: false,
121 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
122 contextWindow: 1047576,
123 maxOutputTokens: 32768,
124 },
125 {
126 id: 'gpt-4.1-mini',
127 name: 'GPT 4.1 Mini',
128 input: ['text', 'image', 'document'],
129 reasoning: false,
130 prices: { currency: 'USD', input: 0.4, output: 1.6, cacheRead: 0.1 },
131 contextWindow: 1047576,
132 maxOutputTokens: 32768,
133 },
134 {
135 id: 'gpt-4.1-mini-2025-04-14',
136 name: 'GPT 4.1 Mini 2025 04 14',
137 input: ['text', 'image', 'document'],
138 reasoning: false,
139 prices: { currency: 'USD', input: 0.4, output: 1.6, cacheRead: 0.1 },
140 contextWindow: 1047576,
141 maxOutputTokens: 32768,
142 },
143 {
144 id: 'gpt-4.1-nano',
145 name: 'GPT 4.1 Nano',
146 input: ['text', 'image', 'document'],
147 reasoning: false,
148 prices: { currency: 'USD', input: 0.1, output: 0.4, cacheRead: 0.025 },
149 contextWindow: 1047576,
150 maxOutputTokens: 32768,
151 },
152 {
153 id: 'gpt-4.1-nano-2025-04-14',
154 name: 'GPT 4.1 Nano 2025 04 14',
155 input: ['text', 'image', 'document'],
156 reasoning: false,
157 prices: { currency: 'USD', input: 0.1, output: 0.4, cacheRead: 0.025 },
158 contextWindow: 1047576,
159 maxOutputTokens: 32768,
160 },
161 {
162 id: 'gpt-4o',
163 name: 'GPT 4o',
164 input: ['text', 'image', 'document'],
165 reasoning: false,
166 prices: { currency: 'USD', input: 2.5, output: 10, cacheRead: 1.25 },
167 contextWindow: 128000,
168 maxOutputTokens: 16384,
169 },
170 {
171 id: 'gpt-4o-2024-05-13',
172 name: 'GPT 4o 2024 05 13',
173 input: ['text', 'image', 'document'],
174 reasoning: false,
175 contextWindow: 128000,
176 maxOutputTokens: 16384,
177 },
178 {
179 id: 'gpt-4o-2024-08-06',
180 name: 'GPT 4o 2024 08 06',
181 input: ['text', 'image', 'document'],
182 reasoning: false,
183 prices: { currency: 'USD', input: 2.5, output: 10, cacheRead: 1.25 },
184 contextWindow: 128000,
185 maxOutputTokens: 16384,
186 },
187 {
188 id: 'gpt-4o-2024-11-20',
189 name: 'GPT 4o 2024 11 20',
190 input: ['text', 'image', 'document'],
191 reasoning: false,
192 contextWindow: 128000,
193 maxOutputTokens: 16384,
194 },
195 {
196 id: 'gpt-4o-mini',
197 name: 'GPT 4o Mini',
198 input: ['text', 'image', 'document'],
199 reasoning: false,
200 prices: { currency: 'USD', input: 0.15, output: 0.6, cacheRead: 0.075 },
201 contextWindow: 128000,
202 maxOutputTokens: 16384,
203 },
204 {
205 id: 'gpt-4o-mini-2024-07-18',
206 name: 'GPT 4o Mini 2024 07 18',
207 input: ['text', 'image', 'document'],
208 reasoning: false,
209 prices: { currency: 'USD', input: 0.15, output: 0.6, cacheRead: 0.075 },
210 contextWindow: 128000,
211 maxOutputTokens: 16384,
212 },
213 {
214 id: 'gpt-4o-mini-search-preview',
215 name: 'GPT 4o Mini Search Preview',
216 input: ['text'],
217 reasoning: false,
218 prices: { currency: 'USD', input: 0.15, output: 0.6 },
219 contextWindow: 128000,
220 maxOutputTokens: 16384,
221 },
222 {
223 id: 'gpt-4o-mini-search-preview-2025-03-11',
224 name: 'GPT 4o Mini Search Preview 2025 03 11',
225 input: ['text'],
226 reasoning: false,
227 prices: { currency: 'USD', input: 0.15, output: 0.6 },
228 contextWindow: 128000,
229 maxOutputTokens: 16384,
230 },
231 {
232 id: 'gpt-4o-search-preview',
233 name: 'GPT 4o Search Preview',
234 input: ['text'],
235 reasoning: false,
236 prices: { currency: 'USD', input: 2.5, output: 10 },
237 contextWindow: 128000,
238 maxOutputTokens: 16384,
239 },
240 {
241 id: 'gpt-4o-search-preview-2025-03-11',
242 name: 'GPT 4o Search Preview 2025 03 11',
243 input: ['text'],
244 reasoning: false,
245 prices: { currency: 'USD', input: 2.5, output: 10 },
246 contextWindow: 128000,
247 maxOutputTokens: 16384,
248 },
249 {
250 id: 'gpt-5',
251 name: 'GPT 5',
252 input: ['text', 'image', 'document'],
253 reasoning: {
254 levels: {
255 minimal: 'minimal',
256 low: 'low',
257 medium: 'medium',
258 high: 'high',
259 },
260 budget: false,
261 },
262 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
263 contextWindow: 400000,
264 maxOutputTokens: 128000,
265 },
266 {
267 id: 'gpt-5-2025-08-07',
268 name: 'GPT 5 2025 08 07',
269 input: ['text', 'image', 'document'],
270 reasoning: {
271 levels: {
272 minimal: 'minimal',
273 low: 'low',
274 medium: 'medium',
275 high: 'high',
276 },
277 budget: false,
278 },
279 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
280 contextWindow: 400000,
281 maxOutputTokens: 128000,
282 },
283 {
284 id: 'gpt-5-chat-latest',
285 name: 'GPT 5 Chat Latest',
286 input: ['text', 'image'],
287 reasoning: false,
288 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
289 contextWindow: 128000,
290 maxOutputTokens: 16384,
291 },
292 {
293 id: 'gpt-5-codex',
294 name: 'GPT 5 Codex',
295 input: ['text', 'image'],
296 reasoning: { levels: {}, budget: false },
297 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
298 contextWindow: 400000,
299 maxOutputTokens: 128000,
300 },
301 {
302 id: 'gpt-5-mini',
303 name: 'GPT 5 Mini',
304 input: ['text', 'image', 'document'],
305 reasoning: {
306 levels: {
307 minimal: 'minimal',
308 low: 'low',
309 medium: 'medium',
310 high: 'high',
311 },
312 budget: false,
313 },
314 prices: { currency: 'USD', input: 0.25, output: 2, cacheRead: 0.025 },
315 contextWindow: 400000,
316 maxOutputTokens: 128000,
317 },
318 {
319 id: 'gpt-5-mini-2025-08-07',
320 name: 'GPT 5 Mini 2025 08 07',
321 input: ['text', 'image', 'document'],
322 reasoning: {
323 levels: {
324 minimal: 'minimal',
325 low: 'low',
326 medium: 'medium',
327 high: 'high',
328 },
329 budget: false,
330 },
331 prices: { currency: 'USD', input: 0.25, output: 2, cacheRead: 0.025 },
332 contextWindow: 400000,
333 maxOutputTokens: 128000,
334 },
335 {
336 id: 'gpt-5-nano',
337 name: 'GPT 5 Nano',
338 input: ['text', 'image', 'document'],
339 reasoning: {
340 levels: {
341 minimal: 'minimal',
342 low: 'low',
343 medium: 'medium',
344 high: 'high',
345 },
346 budget: false,
347 },
348 prices: { currency: 'USD', input: 0.05, output: 0.4, cacheRead: 0.005 },
349 contextWindow: 400000,
350 maxOutputTokens: 128000,
351 },
352 {
353 id: 'gpt-5-nano-2025-08-07',
354 name: 'GPT 5 Nano 2025 08 07',
355 input: ['text', 'image', 'document'],
356 reasoning: {
357 levels: {
358 minimal: 'minimal',
359 low: 'low',
360 medium: 'medium',
361 high: 'high',
362 },
363 budget: false,
364 },
365 prices: { currency: 'USD', input: 0.05, output: 0.4, cacheRead: 0.005 },
366 contextWindow: 400000,
367 maxOutputTokens: 128000,
368 },
369 {
370 id: 'gpt-5-pro',
371 name: 'GPT 5 Pro',
372 input: ['text', 'image', 'document'],
373 reasoning: { levels: { high: 'high' }, budget: false },
374 prices: { currency: 'USD', input: 15, output: 120 },
375 contextWindow: 400000,
376 maxOutputTokens: 272000,
377 },
378 {
379 id: 'gpt-5-pro-2025-10-06',
380 name: 'GPT 5 Pro 2025 10 06',
381 input: ['text', 'image', 'document'],
382 reasoning: { levels: { high: 'high' }, budget: false },
383 prices: { currency: 'USD', input: 15, output: 120 },
384 contextWindow: 400000,
385 maxOutputTokens: 272000,
386 },
387 {
388 id: 'gpt-5-search-api',
389 name: 'GPT 5 Search Api',
390 reasoning: false,
391 prices: { currency: 'USD', input: 1.25, output: 0.125, cacheRead: 10 },
392 },
393 {
394 id: 'gpt-5-search-api-2025-10-14',
395 name: 'GPT 5 Search Api 2025 10 14',
396 reasoning: false,
397 },
398 {
399 id: 'gpt-5.1',
400 name: 'GPT 5.1',
401 input: ['text', 'image', 'document'],
402 reasoning: {
403 levels: { off: 'none', low: 'low', medium: 'medium', high: 'high' },
404 budget: false,
405 },
406 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
407 contextWindow: 400000,
408 maxOutputTokens: 128000,
409 },
410 {
411 id: 'gpt-5.1-2025-11-13',
412 name: 'GPT 5.1 2025 11 13',
413 input: ['text', 'image', 'document'],
414 reasoning: {
415 levels: { off: 'none', low: 'low', medium: 'medium', high: 'high' },
416 budget: false,
417 },
418 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
419 contextWindow: 400000,
420 maxOutputTokens: 128000,
421 },
422 {
423 id: 'gpt-5.1-chat-latest',
424 name: 'GPT 5.1 Chat Latest',
425 input: ['text', 'image'],
426 reasoning: false,
427 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
428 contextWindow: 128000,
429 maxOutputTokens: 16384,
430 },
431 {
432 id: 'gpt-5.1-codex',
433 name: 'GPT 5.1 Codex',
434 input: ['text', 'image'],
435 reasoning: {
436 levels: { off: 'none', low: 'low', medium: 'medium', high: 'high' },
437 budget: false,
438 },
439 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
440 contextWindow: 400000,
441 maxOutputTokens: 128000,
442 },
443 {
444 id: 'gpt-5.1-codex-max',
445 name: 'GPT 5.1 Codex Max',
446 input: ['text', 'image'],
447 reasoning: {
448 levels: { off: 'none', low: 'low', medium: 'medium', high: 'high' },
449 budget: false,
450 },
451 prices: { currency: 'USD', input: 1.25, output: 10, cacheRead: 0.125 },
452 contextWindow: 400000,
453 maxOutputTokens: 128000,
454 },
455 {
456 id: 'gpt-5.1-codex-mini',
457 name: 'GPT 5.1 Codex Mini',
458 input: ['text', 'image'],
459 reasoning: {
460 levels: { off: 'none', low: 'low', medium: 'medium', high: 'high' },
461 budget: false,
462 },
463 prices: { currency: 'USD', input: 0.25, output: 2, cacheRead: 0.025 },
464 contextWindow: 400000,
465 maxOutputTokens: 128000,
466 },
467 {
468 id: 'gpt-5.2',
469 name: 'GPT 5.2',
470 input: ['text', 'image', 'document'],
471 reasoning: {
472 levels: {
473 off: 'none',
474 low: 'low',
475 medium: 'medium',
476 high: 'high',
477 xhigh: 'xhigh',
478 },
479 budget: false,
480 },
481 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
482 contextWindow: 400000,
483 maxOutputTokens: 128000,
484 },
485 {
486 id: 'gpt-5.2-2025-12-11',
487 name: 'GPT 5.2 2025 12 11',
488 input: ['text', 'image', 'document'],
489 reasoning: {
490 levels: {
491 off: 'none',
492 low: 'low',
493 medium: 'medium',
494 high: 'high',
495 xhigh: 'xhigh',
496 },
497 budget: false,
498 },
499 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
500 contextWindow: 400000,
501 maxOutputTokens: 128000,
502 },
503 {
504 id: 'gpt-5.2-chat-latest',
505 name: 'GPT 5.2 Chat Latest',
506 input: ['text', 'image'],
507 reasoning: false,
508 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
509 contextWindow: 128000,
510 maxOutputTokens: 16384,
511 },
512 {
513 id: 'gpt-5.2-codex',
514 name: 'GPT 5.2 Codex',
515 input: ['text', 'image'],
516 reasoning: {
517 levels: { low: 'low', medium: 'medium', high: 'high', xhigh: 'xhigh' },
518 budget: false,
519 },
520 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
521 contextWindow: 400000,
522 maxOutputTokens: 128000,
523 },
524 {
525 id: 'gpt-5.2-pro',
526 name: 'GPT 5.2 Pro',
527 input: ['text', 'image'],
528 reasoning: {
529 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
530 budget: false,
531 },
532 prices: { currency: 'USD', input: 21, output: 168 },
533 contextWindow: 400000,
534 maxOutputTokens: 128000,
535 },
536 {
537 id: 'gpt-5.2-pro-2025-12-11',
538 name: 'GPT 5.2 Pro 2025 12 11',
539 input: ['text', 'image'],
540 reasoning: {
541 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
542 budget: false,
543 },
544 prices: { currency: 'USD', input: 21, output: 168 },
545 contextWindow: 400000,
546 maxOutputTokens: 128000,
547 },
548 {
549 id: 'gpt-5.3-chat-latest',
550 name: 'GPT 5.3 Chat Latest',
551 input: ['text', 'image'],
552 reasoning: false,
553 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
554 contextWindow: 128000,
555 maxOutputTokens: 16384,
556 },
557 {
558 id: 'gpt-5.3-codex',
559 name: 'GPT 5.3 Codex',
560 input: ['text', 'image'],
561 reasoning: {
562 levels: { low: 'low', medium: 'medium', high: 'high', xhigh: 'xhigh' },
563 budget: false,
564 },
565 prices: { currency: 'USD', input: 1.75, output: 14, cacheRead: 0.175 },
566 contextWindow: 400000,
567 maxOutputTokens: 128000,
568 },
569 {
570 id: 'gpt-5.4',
571 name: 'GPT 5.4',
572 input: ['text', 'image', 'document'],
573 reasoning: {
574 levels: {
575 off: 'none',
576 low: 'low',
577 medium: 'medium',
578 high: 'high',
579 xhigh: 'xhigh',
580 },
581 budget: false,
582 },
583 prices: {
584 currency: 'USD',
585 input: 2.5,
586 output: 15,
587 cacheRead: 0.25,
588 tiers: [
589 { inputTokensAbove: 272000, input: 5, output: 22.5, cacheRead: 0.5 },
590 ],
591 },
592 contextWindow: 1050000,
593 maxOutputTokens: 128000,
594 },
595 {
596 id: 'gpt-5.4-2026-03-05',
597 name: 'GPT 5.4 2026 03 05',
598 input: ['text', 'image', 'document'],
599 reasoning: {
600 levels: {
601 off: 'none',
602 low: 'low',
603 medium: 'medium',
604 high: 'high',
605 xhigh: 'xhigh',
606 },
607 budget: false,
608 },
609 prices: {
610 currency: 'USD',
611 input: 2.5,
612 output: 15,
613 cacheRead: 0.25,
614 tiers: [
615 { inputTokensAbove: 272000, input: 5, output: 22.5, cacheRead: 0.5 },
616 ],
617 },
618 contextWindow: 1050000,
619 maxOutputTokens: 128000,
620 },
621 {
622 id: 'gpt-5.4-mini',
623 name: 'GPT 5.4 Mini',
624 input: ['text', 'image', 'document'],
625 reasoning: {
626 levels: {
627 off: 'none',
628 low: 'low',
629 medium: 'medium',
630 high: 'high',
631 xhigh: 'xhigh',
632 },
633 budget: false,
634 },
635 prices: { currency: 'USD', input: 0.75, output: 4.5, cacheRead: 0.075 },
636 contextWindow: 400000,
637 maxOutputTokens: 128000,
638 },
639 {
640 id: 'gpt-5.4-mini-2026-03-17',
641 name: 'GPT 5.4 Mini 2026 03 17',
642 input: ['text', 'image', 'document'],
643 reasoning: {
644 levels: {
645 off: 'none',
646 low: 'low',
647 medium: 'medium',
648 high: 'high',
649 xhigh: 'xhigh',
650 },
651 budget: false,
652 },
653 prices: { currency: 'USD', input: 0.75, output: 4.5, cacheRead: 0.075 },
654 contextWindow: 400000,
655 maxOutputTokens: 128000,
656 },
657 {
658 id: 'gpt-5.4-nano',
659 name: 'GPT 5.4 Nano',
660 input: ['text', 'image', 'document'],
661 reasoning: {
662 levels: {
663 off: 'none',
664 low: 'low',
665 medium: 'medium',
666 high: 'high',
667 xhigh: 'xhigh',
668 },
669 budget: false,
670 },
671 prices: { currency: 'USD', input: 0.2, output: 1.25, cacheRead: 0.02 },
672 contextWindow: 400000,
673 maxOutputTokens: 128000,
674 },
675 {
676 id: 'gpt-5.4-nano-2026-03-17',
677 name: 'GPT 5.4 Nano 2026 03 17',
678 input: ['text', 'image', 'document'],
679 reasoning: {
680 levels: {
681 off: 'none',
682 low: 'low',
683 medium: 'medium',
684 high: 'high',
685 xhigh: 'xhigh',
686 },
687 budget: false,
688 },
689 prices: { currency: 'USD', input: 0.2, output: 1.25, cacheRead: 0.02 },
690 contextWindow: 400000,
691 maxOutputTokens: 128000,
692 },
693 {
694 id: 'gpt-5.4-pro',
695 name: 'GPT 5.4 Pro',
696 input: ['text', 'image'],
697 reasoning: {
698 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
699 budget: false,
700 },
701 prices: {
702 currency: 'USD',
703 input: 30,
704 output: 180,
705 tiers: [{ inputTokensAbove: 272000, input: 60, output: 270 }],
706 },
707 contextWindow: 1050000,
708 maxOutputTokens: 128000,
709 },
710 {
711 id: 'gpt-5.4-pro-2026-03-05',
712 name: 'GPT 5.4 Pro 2026 03 05',
713 input: ['text', 'image'],
714 reasoning: {
715 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
716 budget: false,
717 },
718 prices: {
719 currency: 'USD',
720 input: 30,
721 output: 180,
722 tiers: [{ inputTokensAbove: 272000, input: 60, output: 270 }],
723 },
724 contextWindow: 1050000,
725 maxOutputTokens: 128000,
726 },
727 {
728 id: 'gpt-5.5',
729 name: 'GPT 5.5',
730 input: ['text', 'image', 'document'],
731 reasoning: {
732 levels: {
733 off: 'none',
734 low: 'low',
735 medium: 'medium',
736 high: 'high',
737 xhigh: 'xhigh',
738 },
739 budget: false,
740 },
741 prices: {
742 currency: 'USD',
743 input: 5,
744 output: 30,
745 cacheRead: 0.5,
746 tiers: [
747 { inputTokensAbove: 272000, input: 10, output: 45, cacheRead: 1 },
748 ],
749 },
750 contextWindow: 1050000,
751 maxOutputTokens: 128000,
752 },
753 {
754 id: 'gpt-5.5-2026-04-23',
755 name: 'GPT 5.5 2026 04 23',
756 input: ['text', 'image', 'document'],
757 reasoning: {
758 levels: {
759 off: 'none',
760 low: 'low',
761 medium: 'medium',
762 high: 'high',
763 xhigh: 'xhigh',
764 },
765 budget: false,
766 },
767 prices: {
768 currency: 'USD',
769 input: 5,
770 output: 30,
771 cacheRead: 0.5,
772 tiers: [
773 { inputTokensAbove: 272000, input: 10, output: 45, cacheRead: 1 },
774 ],
775 },
776 contextWindow: 1050000,
777 maxOutputTokens: 128000,
778 },
779 {
780 id: 'gpt-5.5-pro',
781 name: 'GPT 5.5 Pro',
782 input: ['text', 'image'],
783 reasoning: {
784 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
785 budget: false,
786 },
787 prices: { currency: 'USD', input: 30, output: 180 },
788 contextWindow: 1050000,
789 maxOutputTokens: 128000,
790 },
791 {
792 id: 'gpt-5.5-pro-2026-04-23',
793 name: 'GPT 5.5 Pro 2026 04 23',
794 input: ['text', 'image'],
795 reasoning: {
796 levels: { medium: 'medium', high: 'high', xhigh: 'xhigh' },
797 budget: false,
798 },
799 prices: { currency: 'USD', input: 30, output: 180 },
800 contextWindow: 1050000,
801 maxOutputTokens: 128000,
802 },
803 {
804 id: 'gpt-5.6-luna',
805 name: 'GPT 5.6 Luna',
806 input: ['text', 'image'],
807 reasoning: {
808 levels: {
809 off: 'none',
810 low: 'low',
811 medium: 'medium',
812 high: 'high',
813 xhigh: 'xhigh',
814 max: 'max',
815 },
816 budget: false,
817 },
818 prices: {
819 currency: 'USD',
820 input: 0.2,
821 output: 1.2,
822 cacheRead: 0.02,
823 cacheWrite: 0.25,
824 tiers: [
825 {
826 inputTokensAbove: 272000,
827 input: 0.4,
828 output: 1.8,
829 cacheRead: 0.04,
830 cacheWrite: 0.5,
831 },
832 ],
833 },
834 contextWindow: 1050000,
835 maxOutputTokens: 128000,
836 },
837 {
838 id: 'gpt-5.6-sol',
839 name: 'GPT 5.6 Sol',
840 input: ['text', 'image'],
841 reasoning: {
842 levels: {
843 off: 'none',
844 low: 'low',
845 medium: 'medium',
846 high: 'high',
847 xhigh: 'xhigh',
848 max: 'max',
849 },
850 budget: false,
851 },
852 prices: {
853 currency: 'USD',
854 input: 4,
855 output: 20,
856 cacheRead: 0.4,
857 cacheWrite: 5,
858 tiers: [
859 {
860 inputTokensAbove: 272000,
861 input: 8,
862 output: 30,
863 cacheRead: 0.8,
864 cacheWrite: 10,
865 },
866 ],
867 },
868 contextWindow: 1050000,
869 maxOutputTokens: 128000,
870 },
871 {
872 id: 'gpt-5.6-terra',
873 name: 'GPT 5.6 Terra',
874 input: ['text', 'image'],
875 reasoning: {
876 levels: {
877 off: 'none',
878 low: 'low',
879 medium: 'medium',
880 high: 'high',
881 xhigh: 'xhigh',
882 max: 'max',
883 },
884 budget: false,
885 },
886 prices: {
887 currency: 'USD',
888 input: 2,
889 output: 12,
890 cacheRead: 0.2,
891 cacheWrite: 2.5,
892 tiers: [
893 {
894 inputTokensAbove: 272000,
895 input: 4,
896 output: 18,
897 cacheRead: 0.4,
898 cacheWrite: 5,
899 },
900 ],
901 },
902 contextWindow: 1050000,
903 maxOutputTokens: 128000,
904 },
905 {
906 id: 'gpt-6-astra',
907 name: 'GPT 6 Astra',
908 input: ['text', 'image'],
909 reasoning: {
910 levels: {
911 low: 'low',
912 medium: 'medium',
913 high: 'high',
914 xhigh: 'xhigh',
915 max: 'max',
916 },
917 budget: false,
918 },
919 prices: {
920 currency: 'USD',
921 input: 10,
922 output: 50,
923 cacheRead: 1,
924 cacheWrite: 12.5,
925 tiers: [
926 {
927 inputTokensAbove: 272000,
928 input: 20,
929 output: 75,
930 cacheRead: 2,
931 cacheWrite: 25,
932 },
933 ],
934 },
935 contextWindow: 1050000,
936 maxOutputTokens: 128000,
937 },
938 {
939 id: 'gpt-6-luna',
940 name: 'GPT 6 Luna',
941 input: ['text', 'image'],
942 reasoning: {
943 levels: {
944 off: 'none',
945 low: 'low',
946 medium: 'medium',
947 high: 'high',
948 xhigh: 'xhigh',
949 max: 'max',
950 },
951 budget: false,
952 },
953 prices: {
954 currency: 'USD',
955 input: 0.1,
956 output: 0.5,
957 cacheRead: 0.01,
958 cacheWrite: 0.125,
959 tiers: [
960 {
961 inputTokensAbove: 272000,
962 input: 0.2,
963 output: 0.75,
964 cacheRead: 0.02,
965 cacheWrite: 0.25,
966 },
967 ],
968 },
969 contextWindow: 1050000,
970 maxOutputTokens: 128000,
971 },
972 {
973 id: 'gpt-6-sol',
974 name: 'GPT 6 Sol',
975 input: ['text', 'image'],
976 reasoning: {
977 levels: {
978 off: 'none',
979 low: 'low',
980 medium: 'medium',
981 high: 'high',
982 xhigh: 'xhigh',
983 max: 'max',
984 },
985 budget: false,
986 },
987 prices: {
988 currency: 'USD',
989 input: 2,
990 output: 10,
991 cacheRead: 0.2,
992 cacheWrite: 2.5,
993 tiers: [
994 {
995 inputTokensAbove: 272000,
996 input: 4,
997 output: 15,
998 cacheRead: 0.4,
999 cacheWrite: 5,
1000 },
1001 ],
1002 },
1003 contextWindow: 1050000,
1004 maxOutputTokens: 128000,
1005 },
1006 {
1007 id: 'gpt-6.1-sol',
1008 name: 'GPT 6.1 Sol',
1009 input: ['text', 'image'],
1010 reasoning: {
1011 levels: {
1012 low: 'low',
1013 medium: 'medium',
1014 high: 'high',
1015 xhigh: 'xhigh',
1016 max: 'max',
1017 },
1018 budget: false,
1019 },
1020 prices: {
1021 currency: 'USD',
1022 input: 2,
1023 output: 10,
1024 cacheRead: 0.1,
1025 cacheWrite: 2.5,
1026 tiers: [
1027 {
1028 inputTokensAbove: 272000,
1029 input: 4,
1030 output: 15,
1031 cacheRead: 0.2,
1032 cacheWrite: 5,
1033 },
1034 ],
1035 },
1036 contextWindow: 1050000,
1037 maxOutputTokens: 128000,
1038 },
1039 {
1040 id: 'gpt-audio',
1041 name: 'GPT Audio',
1042 input: ['text', 'audio'],
1043 reasoning: false,
1044 prices: { currency: 'USD', input: 2.5, output: 10 },
1045 contextWindow: 128000,
1046 maxOutputTokens: 16384,
1047 },
1048 {
1049 id: 'gpt-audio-1.5',
1050 name: 'GPT Audio 1.5',
1051 input: ['text', 'audio'],
1052 reasoning: false,
1053 prices: { currency: 'USD', input: 2.5, output: 10 },
1054 contextWindow: 128000,
1055 maxOutputTokens: 16384,
1056 },
1057 {
1058 id: 'gpt-audio-2025-08-28',
1059 name: 'GPT Audio 2025 08 28',
1060 input: ['text', 'audio'],
1061 reasoning: false,
1062 prices: { currency: 'USD', input: 2.5, output: 10 },
1063 contextWindow: 128000,
1064 maxOutputTokens: 16384,
1065 },
1066 {
1067 id: 'gpt-audio-mini',
1068 name: 'GPT Audio Mini',
1069 input: ['text', 'audio'],
1070 reasoning: false,
1071 prices: { currency: 'USD', input: 0.6, output: 2.4 },
1072 contextWindow: 128000,
1073 maxOutputTokens: 16384,
1074 },
1075 {
1076 id: 'gpt-audio-mini-2025-10-06',
1077 name: 'GPT Audio Mini 2025 10 06',
1078 input: ['text', 'audio'],
1079 reasoning: false,
1080 contextWindow: 128000,
1081 maxOutputTokens: 16384,
1082 },
1083 {
1084 id: 'gpt-audio-mini-2025-12-15',
1085 name: 'GPT Audio Mini 2025 12 15',
1086 input: ['text', 'audio'],
1087 reasoning: false,
1088 prices: { currency: 'USD', input: 0.6, output: 2.4 },
1089 contextWindow: 128000,
1090 maxOutputTokens: 16384,
1091 },
1092 {
1093 id: 'gpt-live-1',
1094 name: 'GPT Live 1',
1095 input: ['audio', 'text'],
1096 reasoning: false,
1097 prices: { currency: 'USD' },
1098 },
1099 {
1100 id: 'gpt-realtime',
1101 name: 'GPT Realtime',
1102 input: ['text', 'audio', 'image'],
1103 reasoning: false,
1104 prices: { currency: 'USD', input: 4, output: 16, cacheRead: 0.4 },
1105 contextWindow: 32000,
1106 maxOutputTokens: 4096,
1107 },
1108 {
1109 id: 'gpt-realtime-1.5',
1110 name: 'GPT Realtime 1.5',
1111 input: ['text', 'audio', 'image'],
1112 reasoning: false,
1113 prices: { currency: 'USD', input: 4, output: 16, cacheRead: 0.4 },
1114 contextWindow: 32000,
1115 maxOutputTokens: 4096,
1116 },
1117 {
1118 id: 'gpt-realtime-2',
1119 name: 'GPT Realtime 2',
1120 input: ['text', 'audio', 'image'],
1121 reasoning: {
1122 levels: {
1123 minimal: 'minimal',
1124 low: 'low',
1125 medium: 'medium',
1126 high: 'high',
1127 xhigh: 'xhigh',
1128 },
1129 budget: false,
1130 },
1131 prices: { currency: 'USD', input: 4, output: 24, cacheRead: 0.4 },
1132 contextWindow: 128000,
1133 maxOutputTokens: 32000,
1134 },
1135 {
1136 id: 'gpt-realtime-2.1',
1137 name: 'GPT Realtime 2.1',
1138 input: ['text', 'audio', 'image'],
1139 reasoning: { levels: {}, budget: false },
1140 prices: { currency: 'USD', input: 4, output: 24, cacheRead: 0.4 },
1141 contextWindow: 128000,
1142 maxOutputTokens: 32000,
1143 },
1144 {
1145 id: 'gpt-realtime-2.1-mini',
1146 name: 'GPT Realtime 2.1 Mini',
1147 input: ['text', 'audio', 'image'],
1148 reasoning: { levels: {}, budget: false },
1149 prices: { currency: 'USD', input: 0.6, output: 2.4, cacheRead: 0.06 },
1150 contextWindow: 128000,
1151 maxOutputTokens: 32000,
1152 },
1153 {
1154 id: 'gpt-realtime-2025-08-28',
1155 name: 'GPT Realtime 2025 08 28',
1156 input: ['text', 'audio', 'image'],
1157 reasoning: false,
1158 prices: { currency: 'USD', input: 4, output: 16, cacheRead: 0.4 },
1159 contextWindow: 32000,
1160 maxOutputTokens: 4096,
1161 },
1162 {
1163 id: 'gpt-realtime-mini',
1164 name: 'GPT Realtime Mini',
1165 input: ['text', 'image', 'audio'],
1166 reasoning: false,
1167 prices: { currency: 'USD', input: 0.6, output: 2.4, cacheRead: 0.06 },
1168 contextWindow: 32000,
1169 maxOutputTokens: 4096,
1170 },
1171 {
1172 id: 'gpt-realtime-mini-2025-12-15',
1173 name: 'GPT Realtime Mini 2025 12 15',
1174 input: ['text', 'image', 'audio'],
1175 reasoning: false,
1176 prices: { currency: 'USD', input: 0.6, output: 2.4, cacheRead: 0.06 },
1177 contextWindow: 32000,
1178 maxOutputTokens: 4096,
1179 },
1180 {
1181 id: 'gpt-realtime-translate',
1182 name: 'GPT Realtime Translate',
1183 input: ['audio'],
1184 reasoning: false,
1185 prices: { currency: 'USD' },
1186 contextWindow: 16000,
1187 maxOutputTokens: 2000,
1188 },
1189 {
1190 id: 'gpt-realtime-whisper',
1191 name: 'GPT Realtime Whisper',
1192 input: ['audio', 'text'],
1193 reasoning: false,
1194 prices: { currency: 'USD' },
1195 contextWindow: 16000,
1196 maxOutputTokens: 2000,
1197 },
1198 {
1199 id: 'o1',
1200 name: 'O1',
1201 input: ['text', 'image', 'document'],
1202 reasoning: { levels: {}, budget: false },
1203 prices: { currency: 'USD', input: 15, output: 60, cacheRead: 7.5 },
1204 contextWindow: 200000,
1205 maxOutputTokens: 100000,
1206 },
1207 {
1208 id: 'o1-2024-12-17',
1209 name: 'O1 2024 12 17',
1210 input: ['text', 'image', 'document'],
1211 reasoning: { levels: {}, budget: false },
1212 prices: { currency: 'USD', input: 15, output: 60, cacheRead: 7.5 },
1213 contextWindow: 200000,
1214 maxOutputTokens: 100000,
1215 },
1216 {
1217 id: 'o1-pro',
1218 name: 'O1 Pro',
1219 input: ['text', 'image'],
1220 reasoning: { levels: {}, budget: false },
1221 prices: { currency: 'USD', input: 150, output: 600 },
1222 contextWindow: 200000,
1223 maxOutputTokens: 100000,
1224 },
1225 {
1226 id: 'o1-pro-2025-03-19',
1227 name: 'O1 Pro 2025 03 19',
1228 input: ['text', 'image'],
1229 reasoning: { levels: {}, budget: false },
1230 prices: { currency: 'USD', input: 150, output: 600 },
1231 contextWindow: 200000,
1232 maxOutputTokens: 100000,
1233 },
1234 {
1235 id: 'o3',
1236 name: 'O3',
1237 input: ['text', 'image', 'document'],
1238 reasoning: { levels: {}, budget: false },
1239 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
1240 contextWindow: 200000,
1241 maxOutputTokens: 100000,
1242 },
1243 {
1244 id: 'o3-2025-04-16',
1245 name: 'O3 2025 04 16',
1246 input: ['text', 'image', 'document'],
1247 reasoning: { levels: {}, budget: false },
1248 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
1249 contextWindow: 200000,
1250 maxOutputTokens: 100000,
1251 },
1252 {
1253 id: 'o3-deep-research',
1254 name: 'O3 Deep Research',
1255 input: ['text', 'image', 'document'],
1256 reasoning: { levels: {}, budget: false },
1257 prices: { currency: 'USD', input: 10, output: 40, cacheRead: 2.5 },
1258 contextWindow: 200000,
1259 maxOutputTokens: 100000,
1260 },
1261 {
1262 id: 'o3-deep-research-2025-06-26',
1263 name: 'O3 Deep Research 2025 06 26',
1264 input: ['text', 'image', 'document'],
1265 reasoning: { levels: {}, budget: false },
1266 prices: { currency: 'USD', input: 10, output: 40, cacheRead: 2.5 },
1267 contextWindow: 200000,
1268 maxOutputTokens: 100000,
1269 },
1270 {
1271 id: 'o3-mini',
1272 name: 'O3 Mini',
1273 input: ['text', 'document'],
1274 reasoning: { levels: {}, budget: false },
1275 prices: { currency: 'USD', input: 1.1, output: 4.4, cacheRead: 0.55 },
1276 contextWindow: 200000,
1277 maxOutputTokens: 100000,
1278 },
1279 {
1280 id: 'o3-mini-2025-01-31',
1281 name: 'O3 Mini 2025 01 31',
1282 input: ['text', 'document'],
1283 reasoning: { levels: {}, budget: false },
1284 prices: { currency: 'USD', input: 1.1, output: 4.4, cacheRead: 0.55 },
1285 contextWindow: 200000,
1286 maxOutputTokens: 100000,
1287 },
1288 {
1289 id: 'o3-pro',
1290 name: 'O3 Pro',
1291 input: ['text', 'image'],
1292 reasoning: { levels: {}, budget: false },
1293 prices: { currency: 'USD', input: 20, output: 80 },
1294 contextWindow: 200000,
1295 maxOutputTokens: 100000,
1296 },
1297 {
1298 id: 'o3-pro-2025-06-10',
1299 name: 'O3 Pro 2025 06 10',
1300 input: ['text', 'image'],
1301 reasoning: { levels: {}, budget: false },
1302 prices: { currency: 'USD', input: 20, output: 80 },
1303 contextWindow: 200000,
1304 maxOutputTokens: 100000,
1305 },
1306 {
1307 id: 'o4-mini',
1308 name: 'O4 Mini',
1309 input: ['text', 'image', 'document'],
1310 reasoning: { levels: {}, budget: false },
1311 prices: { currency: 'USD', input: 1.1, output: 4.4, cacheRead: 0.275 },
1312 contextWindow: 200000,
1313 maxOutputTokens: 100000,
1314 },
1315 {
1316 id: 'o4-mini-2025-04-16',
1317 name: 'O4 Mini 2025 04 16',
1318 input: ['text', 'image', 'document'],
1319 reasoning: { levels: {}, budget: false },
1320 prices: { currency: 'USD', input: 1.1, output: 4.4, cacheRead: 0.275 },
1321 contextWindow: 200000,
1322 maxOutputTokens: 100000,
1323 },
1324 {
1325 id: 'o4-mini-deep-research',
1326 name: 'O4 Mini Deep Research',
1327 input: ['text', 'image', 'document'],
1328 reasoning: { levels: {}, budget: false },
1329 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
1330 contextWindow: 200000,
1331 maxOutputTokens: 100000,
1332 },
1333 {
1334 id: 'o4-mini-deep-research-2025-06-26',
1335 name: 'O4 Mini Deep Research 2025 06 26',
1336 input: ['text', 'image', 'document'],
1337 reasoning: { levels: {}, budget: false },
1338 prices: { currency: 'USD', input: 2, output: 8, cacheRead: 0.5 },
1339 contextWindow: 200000,
1340 maxOutputTokens: 100000,
1341 },
1342]