@@ -3,39 +3,9 @@ import type { ModelInfo } from "../model.js"
33// https://openai.com/api/pricing/
44export type OpenAiNativeModelId = keyof typeof openAiNativeModels
55
6- export const openAiNativeDefaultModelId : OpenAiNativeModelId = "gpt-5-2025-08-07 "
6+ export const openAiNativeDefaultModelId : OpenAiNativeModelId = "gpt-4o "
77
88export const openAiNativeModels = {
9- "gpt-5-2025-08-07" : {
10- maxTokens : 128000 ,
11- contextWindow : 400000 ,
12- supportsImages : true ,
13- supportsPromptCache : true ,
14- supportsReasoningEffort : true ,
15- inputPrice : 1.25 ,
16- outputPrice : 10.0 ,
17- cacheReadsPrice : 0.125 ,
18- } ,
19- "gpt-5-mini-2025-08-07" : {
20- maxTokens : 128000 ,
21- contextWindow : 400000 ,
22- supportsImages : true ,
23- supportsPromptCache : true ,
24- supportsReasoningEffort : true ,
25- inputPrice : 0.25 ,
26- outputPrice : 2.0 ,
27- cacheReadsPrice : 0.025 ,
28- } ,
29- "gpt-5-nano-2025-08-07" : {
30- maxTokens : 128000 ,
31- contextWindow : 400000 ,
32- supportsImages : true ,
33- supportsPromptCache : true ,
34- supportsReasoningEffort : true ,
35- inputPrice : 0.05 ,
36- outputPrice : 0.4 ,
37- cacheReadsPrice : 0.005 ,
38- } ,
399 "nectarine-alpha-new-reasoning-effort-2025-07-25" : {
4010 maxTokens : 128000 ,
4111 contextWindow : 400000 ,
@@ -51,7 +21,6 @@ export const openAiNativeModels = {
5121 contextWindow : 1_047_576 ,
5222 supportsImages : true ,
5323 supportsPromptCache : true ,
54- supportsReasoningEffort : true ,
5524 inputPrice : 2 ,
5625 outputPrice : 8 ,
5726 cacheReadsPrice : 0.5 ,
@@ -61,7 +30,6 @@ export const openAiNativeModels = {
6130 contextWindow : 1_047_576 ,
6231 supportsImages : true ,
6332 supportsPromptCache : true ,
64- supportsReasoningEffort : true ,
6533 inputPrice : 0.4 ,
6634 outputPrice : 1.6 ,
6735 cacheReadsPrice : 0.1 ,
@@ -71,7 +39,6 @@ export const openAiNativeModels = {
7139 contextWindow : 1_047_576 ,
7240 supportsImages : true ,
7341 supportsPromptCache : true ,
74- supportsReasoningEffort : true ,
7542 inputPrice : 0.1 ,
7643 outputPrice : 0.4 ,
7744 cacheReadsPrice : 0.025 ,
@@ -84,7 +51,6 @@ export const openAiNativeModels = {
8451 inputPrice : 2.0 ,
8552 outputPrice : 8.0 ,
8653 cacheReadsPrice : 0.5 ,
87- supportsReasoningEffort : true ,
8854 reasoningEffort : "medium" ,
8955 } ,
9056 "o3-high" : {
@@ -115,7 +81,6 @@ export const openAiNativeModels = {
11581 inputPrice : 1.1 ,
11682 outputPrice : 4.4 ,
11783 cacheReadsPrice : 0.275 ,
118- supportsReasoningEffort : true ,
11984 reasoningEffort : "medium" ,
12085 } ,
12186 "o4-mini-high" : {
@@ -146,7 +111,6 @@ export const openAiNativeModels = {
146111 inputPrice : 1.1 ,
147112 outputPrice : 4.4 ,
148113 cacheReadsPrice : 0.55 ,
149- supportsReasoningEffort : true ,
150114 reasoningEffort : "medium" ,
151115 } ,
152116 "o3-mini-high" : {
@@ -174,7 +138,6 @@ export const openAiNativeModels = {
174138 contextWindow : 200_000 ,
175139 supportsImages : true ,
176140 supportsPromptCache : true ,
177- supportsReasoningEffort : true ,
178141 inputPrice : 15 ,
179142 outputPrice : 60 ,
180143 cacheReadsPrice : 7.5 ,
@@ -184,7 +147,6 @@ export const openAiNativeModels = {
184147 contextWindow : 128_000 ,
185148 supportsImages : true ,
186149 supportsPromptCache : true ,
187- supportsReasoningEffort : true ,
188150 inputPrice : 15 ,
189151 outputPrice : 60 ,
190152 cacheReadsPrice : 7.5 ,
@@ -194,7 +156,6 @@ export const openAiNativeModels = {
194156 contextWindow : 128_000 ,
195157 supportsImages : true ,
196158 supportsPromptCache : true ,
197- supportsReasoningEffort : true ,
198159 inputPrice : 1.1 ,
199160 outputPrice : 4.4 ,
200161 cacheReadsPrice : 0.55 ,
@@ -204,7 +165,6 @@ export const openAiNativeModels = {
204165 contextWindow : 128_000 ,
205166 supportsImages : true ,
206167 supportsPromptCache : true ,
207- supportsReasoningEffort : true ,
208168 inputPrice : 75 ,
209169 outputPrice : 150 ,
210170 cacheReadsPrice : 37.5 ,
@@ -214,7 +174,6 @@ export const openAiNativeModels = {
214174 contextWindow : 128_000 ,
215175 supportsImages : true ,
216176 supportsPromptCache : true ,
217- supportsReasoningEffort : true ,
218177 inputPrice : 2.5 ,
219178 outputPrice : 10 ,
220179 cacheReadsPrice : 1.25 ,
@@ -224,7 +183,6 @@ export const openAiNativeModels = {
224183 contextWindow : 128_000 ,
225184 supportsImages : true ,
226185 supportsPromptCache : true ,
227- supportsReasoningEffort : true ,
228186 inputPrice : 0.15 ,
229187 outputPrice : 0.6 ,
230188 cacheReadsPrice : 0.075 ,
0 commit comments