Back to feed

Changelog Update

OpenAI/Codex CLICLIv5.2-Codex
2025-12-18

Introducing GPT-5.2-Codex

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:

codex --model gpt-5.2-codex

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:

model = "gpt-5.2-codex”