Skip to content

Commit fe82301

Browse files
committed
feat: increase GPT-5 models context window to 400,000
- Updated context window from 256,000 to 400,000 for gpt-5-2025-08-07 - Updated context window from 256,000 to 400,000 for gpt-5-mini-2025-08-07 - Updated context window from 256,000 to 400,000 for gpt-5-nano-2025-08-07 - Updated context window from 256,000 to 400,000 for nectarine-alpha-new-reasoning-effort-2025-07-25 As requested by @daniel-lxs in PR #6819
1 parent 4d6056e commit fe82301

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/types/src/providers/openai.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const openAiNativeDefaultModelId: OpenAiNativeModelId = "gpt-5-2025-08-07
88
export const openAiNativeModels = {
99
"gpt-5-2025-08-07": {
1010
maxTokens: 128000,
11-
contextWindow: 256000,
11+
contextWindow: 400000,
1212
supportsImages: true,
1313
supportsPromptCache: true,
1414
supportsReasoningEffort: true,
@@ -18,7 +18,7 @@ export const openAiNativeModels = {
1818
},
1919
"gpt-5-mini-2025-08-07": {
2020
maxTokens: 128000,
21-
contextWindow: 256000,
21+
contextWindow: 400000,
2222
supportsImages: true,
2323
supportsPromptCache: true,
2424
supportsReasoningEffort: true,
@@ -28,7 +28,7 @@ export const openAiNativeModels = {
2828
},
2929
"gpt-5-nano-2025-08-07": {
3030
maxTokens: 128000,
31-
contextWindow: 256000,
31+
contextWindow: 400000,
3232
supportsImages: true,
3333
supportsPromptCache: true,
3434
supportsReasoningEffort: true,
@@ -38,7 +38,7 @@ export const openAiNativeModels = {
3838
},
3939
"nectarine-alpha-new-reasoning-effort-2025-07-25": {
4040
maxTokens: 128000,
41-
contextWindow: 256000,
41+
contextWindow: 400000,
4242
supportsImages: true,
4343
supportsPromptCache: true,
4444
supportsReasoningEffort: true,

0 commit comments

Comments
 (0)