AI summary
Written by AI from the official notes. Check them for exact details.OpenAI has released GPT-5.2-Codex, enhancing coding capabilities for software engineering tasks.
- Optimized for agentic coding in Codex.
- Improved context compaction for long-horizon work.
- Stronger performance on large code changes.
- Enhanced performance in Windows environments.
- Significantly stronger cybersecurity capabilities.
Why it matters: Software engineers and developers should care for improved coding efficiency and security.
Full release notes
Today we are releasing GPT-5.2-Codex, the most advanced agentic coding model yet for complex, real-world software engineering.
GPT-5.2-Codex is a version of GPT-5.2 further optimized for agentic coding in Codex, including improvements on long-horizon work through context compaction, stronger performance on large code changes like refactors and migrations, improved performance in Windows environments, and significantly stronger cybersecurity capabilities.
Starting today, the CLI and IDE Extension will default to gpt-5.2-codex for users who are signed in with ChatGPT. API access for the model will come soon.
If you have a model specified in your config.toml configuration file, you can instead try out gpt-5.2-codex for a new Codex CLI session using:
You can also use the /model slash command in the CLI. In the Codex IDE Extension you can select GPT-5.2-Codex from the dropdown menu.
If you want to switch for all sessions, you can change your default model to gpt-5.2-codex by updating your config.toml configuration file: