TL;DR
OpenAI is drawing a line in the sand. GPT-5 Codex is not an API release.
Read next
Codex works from the terminal, cloud tasks, IDEs, GitHub, Slack, and Linear. Here is how to use it and how it compares to Claude Code.
5 min readOpenAI is turning Codex from a coding assistant into a broader agent workspace for files, apps, browser QA, images, automations, and repeatable knowledge work.
8 min readGPT-5 introduces a fundamentally different approach to inference. Instead of forcing developers to manually configure reasoning parameters, the model operates as a unified system with real-time rou...
7 min readMay 2026 Update: Since this article was published, OpenAI has released GPT-5.4 and GPT-5.5. Codex now runs on GPT-5.5 with a 258k context window, and the Codex CLI supports xhigh effort mode via GPT-5.4. The cross-platform continuity and agent.md configuration described below remain core features, but the underlying model has improved significantly. Notably, Codex is expanding beyond code into general-purpose work - research, documents, and operational tasks with files, tools, and review loops. See our OpenAI Codex Guide for the latest capabilities.
OpenAI is drawing a line in the sand. GPT-5 Codex is not an API release. It is a product-optimized model built specifically for OpenAI's own coding ecosystem. This marks a strategic pivot: frontier coding capabilities reserved for first-party experiences rather than third-party tools.
For model-selection context, compare this with OpenAI Codex: Cloud AI Coding With GPT-5.3 and Codex vs Claude Code in April 2026: Which Agent for Which Job; model quality matters most when it is tied to a concrete coding workflow.
The model sits behind a unified brand. Whether you open VS Code, run a CLI command, or fire up the web interface, you are accessing Codex. Same name, same underlying capabilities, consistent behavior across environments. This is OpenAI consolidating its developer tooling under a single vertical.
GPT-5 Codex was trained on the full software lifecycle: building from scratch, feature implementation, debugging, testing, large-scale refactors, and code reviews. The training focused on practical engineering rather than synthetic benchmarks.
The results show. On refactoring tasks specifically, the gains are significant. GPT-5 Codex High scores 74.5% against GPT-5 High's 72.8%. More importantly, the model requires less hand-holding. You do not need to specify style guides or cleanliness standards. It infers quality conventions and produces cleaner code with minimal prompting.
The model also generates better comments. It avoids the verbose, obvious annotations common to earlier agentic tools. Less noise, more signal.

Codex borrows the routing logic from ChatGPT's default mode. It adapts compute time based on task complexity, spinning up more reasoning for difficult problems and staying lightweight for simple queries.
The critical improvement is persistence. Previous iterations of Codex struggled with extended autonomous execution. GPT-5 Codex has demonstrated the ability to work independently for over seven hours on complex tasks, iterating on implementations, fixing test failures, and delivering complete solutions without human intervention.
This combines two distinct skill sets: real-time pair programming for interactive sessions, and long-haul independent execution for substantial engineering work. You can steer the model via agent.md files - similar to cursor rules or claude.md - injecting system-level instructions without rewriting prompts for every interaction.

Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
From the archive
Codex is available across VS Code, Cursor, Windsurf, the web app adjacent to ChatGPT, a standalone CLI, and GitHub Actions. The key differentiator is state persistence. You can start a task in the web app, continue it in your IDE, and finish it from the CLI. The conversation thread follows you across interfaces.
This unlocks practical workflows. Spot a mobile bug on your website while away from your desk? Open the web app on your phone, describe the issue, and let Codex generate a pull request. Return to your workstation and review the implementation in VS Code with full context intact.

The CLI interface supports slash commands, execution planning, and command-line operations. For high-variance tasks, you can spawn four parallel cloud instances, each exploring different implementation approaches. Review all four outputs and select the best direction rather than iterating serially.
GitHub integration allows tagging Codex in pull requests or issues for automated review or implementation. It operates on repository context directly, providing an additional verification layer before human review.

Codex ships today for ChatGPT Plus, Pro, Business, Edu, and Enterprise subscribers. API access is planned specifically for Codex functionality, but the model itself remains product-bound.
This approach - reserving frontier capabilities for owned-and-operated interfaces - sets a precedent. Third-party tools like Cursor, Windsurf, and web app builders currently rely on OpenAI and Anthropic models. If model providers increasingly reserve their best coding models for proprietary products, the competitive landscape for developer tooling shifts significantly.
The question is whether competitors follow suit. For now, Codex represents OpenAI's bet that the best coding agent is one you access directly, anywhere you work, with context that never resets.
GPT-5 Codex is OpenAI's product-optimized coding model built specifically for their Codex ecosystem. Unlike general-purpose API models, it is trained on the full software development lifecycle - building, debugging, testing, refactoring, and code review. The model powers OpenAI's coding tools across VS Code, CLI, web app, and GitHub integrations.
GPT-5 Codex is a product-bound model, not an API release. It is optimized for coding tasks with better code generation, cleaner comments, and longer autonomous execution (7+ hours demonstrated). The regular GPT-5 API serves general purposes, while Codex is specifically tuned for software development workflows.
Codex is available across VS Code, Cursor, Windsurf, the web app (adjacent to ChatGPT), a standalone CLI, and GitHub Actions. The key feature is cross-platform context continuity - you can start a task on your phone in the web app and continue it in your IDE with full conversation history intact.
An agent.md file is a configuration file that injects system-level instructions into Codex without rewriting prompts for every interaction. It is similar to cursor rules or CLAUDE.md files. You define coding standards, project context, and behavioral preferences that persist across sessions.
Codex is available for ChatGPT Plus, Pro, Business, Edu, and Enterprise subscribers. There is no standalone API access for the Codex model itself - you access it through OpenAI's owned-and-operated interfaces.
Yes. GPT-5 Codex has demonstrated the ability to work independently for over seven hours on complex tasks. It can iterate on implementations, fix failing tests, and deliver complete solutions without human intervention. This makes it suitable for substantial engineering work, not just real-time pair programming.
For high-variance tasks, you can spawn four parallel cloud instances of Codex, each exploring different implementation approaches. You review all four outputs and select the best direction, rather than iterating serially on a single approach. This is available through the CLI interface.
Codex focuses on cross-platform continuity and product integration within OpenAI's ecosystem. Claude Code emphasizes terminal-native workflows and skill extensibility. Cursor is IDE-first with strong VS Code integration. The strategic difference is that Codex reserves frontier capabilities for first-party experiences, while competitors rely on model access from providers like OpenAI and Anthropic.
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
OpenAI's latest flagship model. Major leap in reasoning, coding, and instruction following over GPT-4o. Powers ChatGPT P...
View ToolOpenAI's flagship. GPT-4o for general use, o3 for reasoning, Codex for coding. 300M+ weekly users. Tasks, agents, web br...
View ToolOpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolOpenAI's coding agent for terminal, cloud, IDE, GitHub, Slack, and Linear workflows. Reads repos, edits files, runs comm...
View ToolEvery coding agent in one window. Stop alt-tabbing between Claude, Codex, and Cursor.
View AppScore every coding agent on your own tasks. Catch regressions in CI.
View AppCompare AI coding agents on reproducible tasks with scored, shareable runs.
View AppInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedClickable PR link in the footer with review state color coding.
Claude CodeSet up Codex Chronicle on macOS, manage permissions, and understand privacy, security, and troubleshooting.
Getting Started
Codex works from the terminal, cloud tasks, IDEs, GitHub, Slack, and Linear. Here is how to use it and how it compares t...

OpenAI is turning Codex from a coding assistant into a broader agent workspace for files, apps, browser QA, images, auto...

GPT-5 introduces a fundamentally different approach to inference. Instead of forcing developers to manually configure re...

State-of-the-art computer use, steerable thinking you can redirect mid-response, and a million tokens of context. GPT 5....

OpenAI's April 2026 Codex changelog shows a clear product shift: Codex is becoming a full agent workspace with goals, br...

A developer's comparison of OpenAI and Anthropic ecosystems - models, coding tools, APIs, pricing, and which to choose f...

GPT-5.5-Codex merges Codex and GPT-5 stacks. Here is what the unified model means for real coding agents - latency, cost...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.