|
|
@@ -16,7 +16,7 @@ import type { ModelInfo } from "../model.js"
|
|
|
|
|
|
export type OpenAiCodexModelId = keyof typeof openAiCodexModels
|
|
|
|
|
|
-export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.2-codex"
|
|
|
+export const openAiCodexDefaultModelId: OpenAiCodexModelId = "gpt-5.3-codex"
|
|
|
|
|
|
/**
|
|
|
* Models available through the Codex OAuth flow.
|
|
|
@@ -54,6 +54,20 @@ export const openAiCodexModels = {
|
|
|
supportsTemperature: false,
|
|
|
description: "GPT-5.1 Codex: GPT-5.1 optimized for agentic coding via ChatGPT subscription",
|
|
|
},
|
|
|
+ "gpt-5.3-codex": {
|
|
|
+ maxTokens: 128000,
|
|
|
+ contextWindow: 400000,
|
|
|
+ includedTools: ["apply_patch"],
|
|
|
+ excludedTools: ["apply_diff", "write_to_file"],
|
|
|
+ supportsImages: true,
|
|
|
+ supportsPromptCache: true,
|
|
|
+ supportsReasoningEffort: ["low", "medium", "high", "xhigh"],
|
|
|
+ reasoningEffort: "medium",
|
|
|
+ inputPrice: 0,
|
|
|
+ outputPrice: 0,
|
|
|
+ supportsTemperature: false,
|
|
|
+ description: "GPT-5.3 Codex: OpenAI's flagship coding model via ChatGPT subscription",
|
|
|
+ },
|
|
|
"gpt-5.2-codex": {
|
|
|
maxTokens: 128000,
|
|
|
contextWindow: 400000,
|