COMPARISON · Last verified: September 2026
Codex vs Claude Code
Status update
- Codex app: on July 9, 2026, OpenAI merged the standalone Codex app into the ChatGPT desktop app for macOS and Windows, where Codex keeps its own coding view. The Codex CLI, the IDE extension and Codex cloud remain available.
OpenAI's and Anthropic's coding agents, compared on verified pricing, surfaces, models and features.
🏆 Quick Verdict
Claude Code (4.6/5 vs 4.5/5)
Codex has a limited free tier; Claude Code starts at $20/mo, or $17/mo billed annually
⭐ Strongest At
Every tool has one thing it does better than its competitors. Here is each one's honest edge:
Reach: it comes with every ChatGPT plan, from Free and Go ($8/mo) up, and from Plus up one plan covers the CLI, IDE extension, desktop app and Codex cloud.
Large autonomous changes: our review rates it the most capable agent for multi-file refactors and migrations, from plan to tests to pull request.
📊 Quick Specs
Codex vs Claude Code: official demos
Watch each tool in action: official demos for Codex and Claude Code, side by side, before you decide.
Codex
Claude Code
Official videos via YouTube (OpenAI; Anthropic), embedded for reference. ToolChase does not host or claim these videos.
What is Codex?
OpenAI Codex is OpenAI's coding agent. It reads your code, makes changes, runs commands and tests, reviews diffs and can open pull requests. It runs as the open-source Codex CLI on macOS, Linux and Windows; as an IDE extension for VS Code and compatible editors such as Cursor and Windsurf (now Devin Desktop), with Xcode and JetBrains IDEs offering their own Codex integrations; as a Codex view in the ChatGPT desktop app, into which OpenAI merged the standalone Codex app on July 9, 2026; and as Codex cloud, which runs tasks in parallel in isolated environments and can start work from GitHub, GitLab (beta), Linear or Slack. Remote in the ChatGPT mobile app steers work on a connected Mac or Windows PC. Codex reads AGENTS.md project instructions and supports skills, plugins, MCP, hooks, subagents and scheduled tasks. It is included in every ChatGPT plan, from Free to Enterprise, or runs on an OpenAI API key at API rates.
What is Claude Code?
Claude Code is Anthropic's agentic coding tool. It reads your codebase, plans a change, edits files across the project, runs commands and tests, fixes what fails, and works with git: it stages changes, writes commit messages, creates branches and opens pull requests. It started in the terminal and now runs on surfaces that share one engine: the CLI on macOS, Windows and Linux, a VS Code extension that also installs in Cursor, a JetBrains plugin, the Code tab of the Claude desktop app, the web at claude.ai/code and the Claude app for iOS and Android. It reads CLAUDE.md, can also read AGENTS.md, and supports MCP, skills, plugins, hooks and subagents. It runs in GitHub Actions and GitLab CI/CD, takes tasks from Slack, and runs scheduled cloud routines, a research preview. It is included in every paid Claude plan or billed per token through the Anthropic API.
Key differences at a glance
The two agents overlap heavily. These are the differences that matter most:
- -- Price of entry: Codex is included in every ChatGPT plan, including Free and Go ($8/mo); Claude Code is not on Claude's Free plan and starts with Pro at $20/mo ($17/mo billed annually).
- -- Models: Codex's recommended models are GPT-6 Astra and GPT-5.6 Sol, Terra and Luna; Claude Code uses Claude models such as Fable 5.1, Opus 5 and Sonnet 5.
- -- Desktop app: Codex lives inside the ChatGPT desktop app, on every ChatGPT plan; Claude Code's desktop surface is the Code tab of the Claude app, on paid plans.
- -- Hosted cloud work: Codex cloud works with GitHub and GitLab (beta) repos; Claude Code's cloud sessions, a research preview, need GitHub to clone repos and open pull requests, so GitLab teams run Claude Code in GitLab CI/CD (beta).
- -- Pull request review: Codex reviews GitHub pull requests on Plus and higher plans; Anthropic's managed Code Review is a Team and Enterprise research preview billed on usage (about $15-25 per review on average), and any paid Claude plan can run reviews through GitHub Actions.
- -- Local safety: Codex sandboxes local commands by default; Claude Code starts in auto mode on Pro, Max and Team, where a classifier model reviews actions, and offers an optional OS-level Bash sandbox.
- -- Score: Claude Code rates 4.6/5 in our review; Codex rates 4.5/5.
Feature-by-feature comparison
How the two compare on daily-use capabilities, as each vendor documents them:
Pricing comparison
Codex comes with every ChatGPT plan; what changes is how much you can use. Free ($0) is pitched at "quick coding tasks" and Go ($8/month) at "lightweight coding tasks". Plus ($20/month) covers Codex on the web, in the CLI, in the IDE extension and on iOS, plus automatic code review and Slack, and OpenAI pitches it for "a few focused coding sessions each week". Pro starts at $100/month for 5x the Plus limits; OpenAI temporarily paused new sign-ups for the 20x tier on September 10, 2026. Business is $20 per user per month billed annually (2+ users) or $25 billed monthly, and Enterprise and Edu are quoted by sales. With an OpenAI API key, Codex bills at API rates, for example GPT-5.6 Sol at $4/$20 per million input/output tokens (promotional pricing OpenAI says runs at least through November 21, 2026), but without cloud features such as GitHub code review.
Claude Code is not on Claude's Free plan. It is included in Pro at $20/month billed monthly, or $17/month billed annually ($200 up front), and in Max from $100/month, which offers 5x or 20x Pro's usage and is billed monthly. Team (2 to 150 people) includes it on Standard seats at $20 per seat per month billed annually or $25 monthly, and on Premium seats, with 5x the usage, at $100 billed annually or $125 monthly. Enterprise is $20 per seat per month billed annually plus usage at API rates. Usage is shared with the rest of your Claude plan and resets on a rolling five-hour window, with weekly limits on paid plans. Through the Anthropic API, Sonnet 5 costs $2/$10 and Opus 5 $5/$25 per million input/output tokens.
Worked example. A 5-person team pays the same on either: ChatGPT Business or Claude Team Standard costs 5 × $20 = $100 a month billed annually ($1,200 a year), or 5 × $25 = $125 a month billed monthly. Both plans let you mix seat types, so giving one heavy user a Premium seat (5x the usage of a Standard seat) makes the bill 4 × $20 + $100 = $180 a month billed annually on either ChatGPT Business or Claude Team.
Pros & Cons
Codex
- Included in every ChatGPT plan, from Free and the $8 Go plan up
- From Plus up, one plan covers the CLI, IDE extension, desktop app and Codex cloud
- Cloud tasks run in parallel on GitHub or GitLab (beta) repos
- GitHub pull request reviews included from Plus up
- Open-source CLI, and local commands are sandboxed by default
- Free and Go are pitched at quick, lightweight tasks; sustained work needs Plus or above
- Cloud tasks need an environment set up per repository, and agent internet access is off by default
- API-key use leaves out cloud features such as GitHub code review and Slack
- Scheduled tasks can't be managed from the CLI or IDE extension
Claude Code
- The most capable agent in our reviews for complex multi-file refactors and migrations
- Autonomous test-and-fix loop, plus commits, branches and pull requests
- One engine across the terminal, IDEs, desktop, web and mobile
- Sonnet 5 runs with a 1M-token context window on the Anthropic API, with no long-context premium
- Available through Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry as well as Anthropic's API
- Not on Claude's Free plan
- Pro's lower caps suit light use; heavy daily work usually means Max from $100/mo or the API
- API costs are hard to predict on large tasks
- Managed GitHub Code Review is limited to Team and Enterprise and billed on usage
- Cloud sessions are still a research preview and need GitHub to clone repos and open pull requests
Which Should You Choose?
Choose Codex if you:
- → Already pay for ChatGPT, or want to start free or on the $8 Go plan
- → Want hosted cloud tasks and hosted merge request reviews on GitLab (beta)
- → Want managed GitHub pull request reviews included in a $20 plan
- → Want OpenAI models, including GPT-6 Astra, in your terminal, IDE and desktop
Choose Claude Code if you:
- → Hand off large multi-file work: refactors, migrations and new features
- → Prefer Claude models, including Fable 5.1 and Sonnet 5 with its 1M-token context
- → Already pay for Claude Pro, Max, Team or Enterprise, which include it
- → Want Anthropic's multi-agent Code Review on GitHub pull requests (Team and Enterprise)
Bottom Line
Codex and Claude Code now overlap more than they differ: both run in a terminal, IDEs, a desktop app, the cloud and on your phone, with MCP, skills, hooks and subagents. Codex (4.5/5) is the cheaper way in, since every ChatGPT plan includes it, and it suits teams that want hosted cloud tasks on GitLab or managed GitHub pull request reviews in a $20 plan. Claude Code (4.6/5) is our pick for large autonomous changes such as refactors and migrations, and the natural choice if you already pay for Claude. From $20 a month up the main price tiers match, and Codex can import a Claude Code setup if you want to try both.
Frequently asked questions
Codex vs Claude Code, which one should I pick?
Pick Codex if you already pay for ChatGPT or want to start free, or if you want hosted cloud tasks on GitLab as well as GitHub. Pick Claude Code if you prefer Claude models and plan to hand it large multi-file work such as refactors and migrations, where our review rates it the most capable agent. Claude Code scores 4.6/5 in our review and Codex 4.5/5, a gap too small to decide on by itself.
Is Codex or Claude Code cheaper?
Codex is cheaper to start, because it is on ChatGPT Free and on Go at $8 a month, while Claude Code needs a paid Claude plan or pay-as-you-go Anthropic API billing. Above that the prices match: ChatGPT Plus and Claude Pro are $20 a month, ChatGPT Pro and Claude Max start at $100, and ChatGPT Business and Claude Team Standard cost $20 per seat per month billed annually or $25 billed monthly.
Does Codex or Claude Code have a free plan?
Codex does, in a limited form: ChatGPT Free includes it for quick coding tasks, and Go at $8 a month covers lightweight ones. Claude Code is not included in Claude's Free plan, so you need Claude Pro, Max, Team or Enterprise, or Anthropic API billing, to use it.
Can I use Codex and Claude Code together?
Yes. Both work on the same local repository and can share setup: Claude Code can read the AGENTS.md file that Codex uses, and Codex can import instructions, settings, skills and recent work from Claude Code, in the ChatGPT desktop app or with /import in the Codex CLI.
Is there still a Codex desktop app?
Yes, inside ChatGPT. On July 9, 2026, OpenAI merged the Codex app into the ChatGPT desktop app for macOS and Windows, where Codex keeps its own view. The app is available on every ChatGPT plan, including Free, and a Linux version is in preview. Claude Code's desktop surface is the Code tab of the Claude desktop app, and using it requires a paid Claude plan.
Which AI models do Codex and Claude Code use?
Codex recommends GPT-6 Astra and GPT-5.6 Sol, Terra and Luna, and GPT-5.5 is set to retire from Codex for ChatGPT sign-ins on October 14, 2026. Claude Code uses Claude models such as Fable 5.1, Opus 5 and Sonnet 5. It defaults to Opus 5 on Max, Team Premium, Enterprise and the Anthropic API, and to Sonnet 5 on Pro and Team Standard.
Do Codex and Claude Code both support hooks, subagents and MCP?
Yes. Both support MCP servers, skills, plugins, hooks and subagents. Codex hooks run scripts or MCP tools at lifecycle events such as PreToolUse and Stop, and reached general availability in May 2026. Claude Code hooks run shell commands before or after its actions, such as formatting code after every file edit.