Skip to content

Commit eb011e2

Browse files
committed
feat: add gpt-5.3-codex model and make it default for OpenAI Codex provider
1 parent 1b75d59 commit eb011e2

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

packages/types/src/providers/openai-codex.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { ModelInfo } from "../model.js"
1616

1717
export type OpenAiCodexModelId = keyof typeof openAiCodexModels
1818

19-
export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.2-codex"
19+
export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.3-codex"
2020

2121
/**
2222
* Models available through the Codex OAuth flow.
@@ -54,6 +54,20 @@ export const openAiCodexModels = {
5454
supportsTemperature: false,
5555
description: "GPT-5.1 Codex: GPT-5.1 optimized for agentic coding via ChatGPT subscription",
5656
},
57+
"gpt-5.3-codex": {
58+
maxTokens: 128000,
59+
contextWindow: 400000,
60+
includedTools: ["apply_patch"],
61+
excludedTools: ["apply_diff", "write_to_file"],
62+
supportsImages: true,
63+
supportsPromptCache: true,
64+
supportsReasoningEffort: ["low", "medium", "high", "xhigh"],
65+
reasoningEffort: "medium",
66+
inputPrice: 0,
67+
outputPrice: 0,
68+
supportsTemperature: false,
69+
description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription",
70+
},
5771
"gpt-5.2-codex": {
5872
maxTokens: 128000,
5973
contextWindow: 400000,

src/api/providers/__tests__/openai-codex.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("OpenAiCodexHandler.getModel", () => {
2020
const handler = new OpenAiCodexHandler({ apiModelId: "not-a-real-model" })
2121
const model = handler.getModel()
2222

23-
expect(model.id).toBe("gpt-5.2-codex")
23+
expect(model.id).toBe("gpt-5.3-codex")
2424
expect(model.info).toBeDefined()
2525
})
2626
})

0 commit comments

Comments
 (0)