@@ -117,65 +117,62 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
117117 id : 'openai' ,
118118 name : 'OpenAI' ,
119119 description : "OpenAI's models" ,
120- defaultModel : 'gpt-4o ' ,
120+ defaultModel : 'gpt-4.1 ' ,
121121 modelPatterns : [ / ^ g p t / , / ^ o \d / , / ^ t e x t - e m b e d d i n g / ] ,
122122 icon : OpenAIIcon ,
123123 capabilities : {
124124 toolUsageControl : true ,
125125 } ,
126126 models : [
127+ // GPT-4.1 family
127128 {
128- id : 'gpt-4o ' ,
129+ id : 'gpt-4.1 ' ,
129130 pricing : {
130- input : 2.5 ,
131- cachedInput : 1.25 ,
132- output : 10 .0,
131+ input : 2.0 ,
132+ cachedInput : 0.5 ,
133+ output : 8 .0,
133134 updatedAt : '2026-04-01' ,
134135 } ,
135136 capabilities : {
136137 temperature : { min : 0 , max : 2 } ,
138+ maxOutputTokens : 32768 ,
137139 } ,
138- contextWindow : 128000 ,
140+ contextWindow : 1047576 ,
139141 } ,
140142 {
141- id : 'gpt-5.4 ' ,
143+ id : 'gpt-4.1-mini ' ,
142144 pricing : {
143- input : 2.5 ,
144- cachedInput : 0.25 ,
145- output : 15.0 ,
145+ input : 0.4 ,
146+ cachedInput : 0.1 ,
147+ output : 1.6 ,
146148 updatedAt : '2026-04-01' ,
147149 } ,
148150 capabilities : {
149- reasoningEffort : {
150- values : [ 'none' , 'low' , 'medium' , 'high' , 'xhigh' ] ,
151- } ,
152- verbosity : {
153- values : [ 'low' , 'medium' , 'high' ] ,
154- } ,
155- maxOutputTokens : 128000 ,
151+ temperature : { min : 0 , max : 2 } ,
152+ maxOutputTokens : 32768 ,
156153 } ,
157- contextWindow : 1050000 ,
154+ contextWindow : 1047576 ,
158155 } ,
159156 {
160- id : 'gpt-5.4-pro ' ,
157+ id : 'gpt-4.1-nano ' ,
161158 pricing : {
162- input : 30.0 ,
163- output : 180.0 ,
159+ input : 0.1 ,
160+ cachedInput : 0.025 ,
161+ output : 0.4 ,
164162 updatedAt : '2026-04-01' ,
165163 } ,
166164 capabilities : {
167- reasoningEffort : {
168- values : [ 'medium' , 'high' , 'xhigh' ] ,
169- } ,
170- maxOutputTokens : 128000 ,
165+ temperature : { min : 0 , max : 2 } ,
166+ maxOutputTokens : 32768 ,
171167 } ,
172- contextWindow : 1050000 ,
168+ contextWindow : 1047576 ,
173169 } ,
170+ // GPT-5.4 family
174171 {
175- id : 'gpt-5.2 -pro' ,
172+ id : 'gpt-5.4 -pro' ,
176173 pricing : {
177- input : 21 .0,
178- output : 168 .0,
174+ input : 30 .0,
175+ output : 180 .0,
179176 updatedAt : '2026-04-01' ,
180177 } ,
181178 capabilities : {
@@ -184,22 +181,26 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
184181 } ,
185182 maxOutputTokens : 128000 ,
186183 } ,
187- contextWindow : 400000 ,
184+ contextWindow : 1050000 ,
188185 } ,
189186 {
190- id : 'gpt-5-pro ' ,
187+ id : 'gpt-5.4 ' ,
191188 pricing : {
192- input : 15.0 ,
193- output : 120.0 ,
189+ input : 2.5 ,
190+ cachedInput : 0.25 ,
191+ output : 15.0 ,
194192 updatedAt : '2026-04-01' ,
195193 } ,
196194 capabilities : {
197195 reasoningEffort : {
198- values : [ 'high' ] ,
196+ values : [ 'none' , 'low' , 'medium' , ' high' , 'xhigh '] ,
199197 } ,
200- maxOutputTokens : 272000 ,
198+ verbosity : {
199+ values : [ 'low' , 'medium' , 'high' ] ,
200+ } ,
201+ maxOutputTokens : 128000 ,
201202 } ,
202- contextWindow : 400000 ,
203+ contextWindow : 1050000 ,
203204 } ,
204205 {
205206 id : 'gpt-5.4-mini' ,
@@ -239,6 +240,22 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
239240 } ,
240241 contextWindow : 400000 ,
241242 } ,
243+ // GPT-5.2 family
244+ {
245+ id : 'gpt-5.2-pro' ,
246+ pricing : {
247+ input : 21.0 ,
248+ output : 168.0 ,
249+ updatedAt : '2026-04-01' ,
250+ } ,
251+ capabilities : {
252+ reasoningEffort : {
253+ values : [ 'medium' , 'high' , 'xhigh' ] ,
254+ } ,
255+ maxOutputTokens : 128000 ,
256+ } ,
257+ contextWindow : 400000 ,
258+ } ,
242259 {
243260 id : 'gpt-5.2' ,
244261 pricing : {
@@ -257,6 +274,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
257274 } ,
258275 contextWindow : 400000 ,
259276 } ,
277+ // GPT-5.1 family
260278 {
261279 id : 'gpt-5.1' ,
262280 pricing : {
@@ -275,6 +293,22 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
275293 } ,
276294 contextWindow : 400000 ,
277295 } ,
296+ // GPT-5 family
297+ {
298+ id : 'gpt-5-pro' ,
299+ pricing : {
300+ input : 15.0 ,
301+ output : 120.0 ,
302+ updatedAt : '2026-04-01' ,
303+ } ,
304+ capabilities : {
305+ reasoningEffort : {
306+ values : [ 'high' ] ,
307+ } ,
308+ maxOutputTokens : 272000 ,
309+ } ,
310+ contextWindow : 400000 ,
311+ } ,
278312 {
279313 id : 'gpt-5' ,
280314 pricing : {
@@ -342,18 +376,32 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
342376 } ,
343377 contextWindow : 128000 ,
344378 } ,
379+ // o-series reasoning models
345380 {
346- id : 'o1 ' ,
381+ id : 'o4-mini ' ,
347382 pricing : {
348- input : 15.0 ,
349- cachedInput : 7.5 ,
350- output : 60 ,
383+ input : 1.1 ,
384+ cachedInput : 0.275 ,
385+ output : 4.4 ,
351386 updatedAt : '2026-04-01' ,
352387 } ,
353388 capabilities : {
354389 reasoningEffort : {
355390 values : [ 'low' , 'medium' , 'high' ] ,
356391 } ,
392+ maxOutputTokens : 100000 ,
393+ } ,
394+ contextWindow : 200000 ,
395+ } ,
396+ {
397+ id : 'o3-pro' ,
398+ pricing : {
399+ input : 20.0 ,
400+ output : 80.0 ,
401+ updatedAt : '2026-04-01' ,
402+ } ,
403+ capabilities : {
404+ maxOutputTokens : 100000 ,
357405 } ,
358406 contextWindow : 200000 ,
359407 } ,
@@ -390,82 +438,41 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
390438 contextWindow : 200000 ,
391439 } ,
392440 {
393- id : 'o3-pro' ,
394- pricing : {
395- input : 20.0 ,
396- output : 80.0 ,
397- updatedAt : '2026-04-01' ,
398- } ,
399- capabilities : {
400- maxOutputTokens : 100000 ,
401- } ,
402- contextWindow : 200000 ,
403- } ,
404- {
405- id : 'o4-mini' ,
441+ id : 'o1' ,
406442 pricing : {
407- input : 1.1 ,
408- cachedInput : 0.275 ,
409- output : 4.4 ,
443+ input : 15.0 ,
444+ cachedInput : 7.5 ,
445+ output : 60 ,
410446 updatedAt : '2026-04-01' ,
411447 } ,
412448 capabilities : {
413449 reasoningEffort : {
414450 values : [ 'low' , 'medium' , 'high' ] ,
415451 } ,
416- maxOutputTokens : 100000 ,
417452 } ,
418453 contextWindow : 200000 ,
419454 } ,
455+ // Legacy
420456 {
421- id : 'gpt-4.1' ,
422- pricing : {
423- input : 2.0 ,
424- cachedInput : 0.5 ,
425- output : 8.0 ,
426- updatedAt : '2026-04-01' ,
427- } ,
428- capabilities : {
429- temperature : { min : 0 , max : 2 } ,
430- maxOutputTokens : 32768 ,
431- } ,
432- contextWindow : 1047576 ,
433- } ,
434- {
435- id : 'gpt-4.1-nano' ,
436- pricing : {
437- input : 0.1 ,
438- cachedInput : 0.025 ,
439- output : 0.4 ,
440- updatedAt : '2026-04-01' ,
441- } ,
442- capabilities : {
443- temperature : { min : 0 , max : 2 } ,
444- maxOutputTokens : 32768 ,
445- } ,
446- contextWindow : 1047576 ,
447- } ,
448- {
449- id : 'gpt-4.1-mini' ,
457+ id : 'gpt-4o' ,
450458 pricing : {
451- input : 0.4 ,
452- cachedInput : 0.1 ,
453- output : 1.6 ,
459+ input : 2.5 ,
460+ cachedInput : 1.25 ,
461+ output : 10.0 ,
454462 updatedAt : '2026-04-01' ,
455463 } ,
456464 capabilities : {
457465 temperature : { min : 0 , max : 2 } ,
458- maxOutputTokens : 32768 ,
459466 } ,
460- contextWindow : 1047576 ,
467+ contextWindow : 128000 ,
461468 } ,
462469 ] ,
463470 } ,
464471 anthropic : {
465472 id : 'anthropic' ,
466473 name : 'Anthropic' ,
467474 description : "Anthropic's Claude models" ,
468- defaultModel : 'claude-sonnet-4-5 ' ,
475+ defaultModel : 'claude-sonnet-4-6 ' ,
469476 modelPatterns : [ / ^ c l a u d e / ] ,
470477 icon : AnthropicIcon ,
471478 capabilities : {
0 commit comments