GPT-5-Codex launched on September 15, 2025 as the GPT-5-class entry in OpenAI's Codex product line, designed specifically for autonomous software engineering. The model combines GPT-5's advanced reasoning capabilities with specialized training for the coding agent workflow: reading repository context, planning changes, writing code, executing tests in sandboxed environments, and iterating until tasks are verified complete.
Unlike general-purpose models that also happen to be good at code, GPT-5-Codex is architecturally optimized for the agentic coding loop. It understands repository structures, respects existing coding conventions, and produces changes that integrate cleanly with the surrounding codebase. The sandboxed execution environment means it can validate its own work by running tests before returning results.
The model supports a context window of 400K tokens, enabling it to read substantial portions of a codebase in a single pass. This broad context awareness is critical for refactoring tasks and architectural changes that span multiple files and modules.