Codex vs Claude Code: the short version
Both are agents you hand a task to: a bug fix, a test, a refactor. Both read your repository, make changes, run commands and report back. Both come bundled with a general assistant subscription, not sold as a separate product.
That bundling is the first thing to check. Codex is included in ChatGPT plans. Claude Code is included with Claude Pro, Max, Ultra, Team and Enterprise. If your company already pays for one of the two assistants, you already have one of the two agents.
Where each one runs
Codex runs in the ChatGPT desktop app, a command-line tool, an IDE extension and the cloud, all tied to one ChatGPT account. OpenAI says cloud tasks keep working after you close your laptop, and that agents can run in parallel.
Claude Code runs in the terminal, a desktop app, VS Code and JetBrains IDEs, the web, iOS and Android apps and Slack. Anthropic describes long asynchronous jobs such as refactors and migrations, and several tasks at once.
The lists overlap heavily. The differences worth checking are your own editor, since Anthropic names JetBrains IDEs, and whether you want to start work from Slack or from the ChatGPT app.
Codex vs Claude Code pricing
| Codex | Claude Code | |
|---|---|---|
| Free | Limited, on ChatGPT Free | Not on Claude's free plan |
| Under $10 | Limited, on Go at $8 a month | None |
| Main plan | Plus, $20 a month | Pro, $17 a month billed annually or $20 monthly |
| Heavy use | Pro, from $100 a month | Max, $100, and Ultra, $200 a month |
| Teams | Business, $20 per user a month billed annually | Team, from $20 per seat a month billed annually |
| Usage billing | API key at API pricing | Console account at API pricing |
OpenAI describes Free and Go as for quick or lightweight coding tasks. Neither vendor publishes a fixed number of tasks per plan, so the pricing page will not tell you how far a week of real work goes.
Limits and controls
Codex usage on Plus and standard Business is metered in five-hour windows, and weekly limits may also apply. Sessions that use an API key exclude cloud features such as GitHub code review and Slack.
Claude Code has usage limits on subscription plans, and its desktop app needs a paid plan. For control over what the agent may do, Anthropic lists permission modes, allow and deny rules and hooks.
How to run a fair trial
- Pick one bug and one small feature from your backlog.
- Give each agent the same ticket text, the same repository and the same instructions file.
- Compare the pull requests: did tests pass, how much did you rewrite, how long did review take?
- Note where each one hit a usage limit during a normal week.
For other agents to add to the same test, see Claude Code alternatives, Codex vs Cursor and Cursor vs Claude Code. For the assistants behind these two, see Claude vs ChatGPT.



