Home › Compare › Claude Code vs Codex
Claude Code vs Codex
Quick verdict
Pick Claude Code if you already pay for Claude and want one pool for chat + terminal/IDE agent (Pro $20 → Max $100 → Ultra $200).
Pick Codex if you live in ChatGPT and want coding across app, CLI, IDE and cloud with published per-model message estimates on Plus and Pro tiers from $100.
Prices from claude.com/pricing, Anthropic Claude Code help, and chatgpt.com/codex/pricing/, checked . Not a hands-on quality test.
| Row | Claude Code (Anthropic) | Codex (OpenAI) |
|---|---|---|
| What it is | Coding agent in terminal, Desktop, VS Code/Cursor forks, JetBrains, web and mobile — same Claude subscription | Coding agent across ChatGPT app, editor, terminal and cloud; included in ChatGPT plans |
| Free access | No on Free (Claude Code listed No on Free feature table) | Yes, limited Codex on Free / Go |
| Cheapest paid with solid coding access | Pro US$20/mo or US$200/yr ($17/mo effective) | Plus US$20/mo (expanded Codex); Go US$8/mo still “test Codex” / limited |
| Top individual tiers | Max US$100/mo (5× Pro); Ultra US$200/mo (10× Pro weekly; no 5-hour limit if verified) | Pro 100 / 200 / 500 at US$100 / $200 / $500/mo; maximum Codex tasks on Pro |
| How limits work | Shared pool with Claude chat; 5-hour + weekly on Pro/Max; Ultra weekly (no 5-hour if verified); multipliers only — no fixed message count | Local + cloud share plan allowance; Plus publishes estimated local msgs / 5 hours by model (e.g. GPT-6.1 Sol 15–160); weekly limits may apply |
| After you hit the limit | Wait, upgrade, usage credits, or Console API rates; Max/Ultra monthly API credits cannot pay for Claude Code | Credits beyond included usage; switch to a lower-cost model; /status in CLI |
| Official sources | claude.com/pricing | chatgpt.com/codex/pricing/ |
Plan ladders side by side
| Step | Claude Code path | Codex path |
|---|---|---|
| 1 | Free — chat only; no Claude Code | Free — limited Codex |
| 2 | Pro $20/mo — Code included, shared limits | Go $8/mo US — still limited / test Codex; may include ads |
| 3 | Max $100/mo — 5× Pro | Plus $20/mo — expanded Codex + app/plugins |
| 4 | Ultra $200/mo — 10× Pro weekly | Pro from $100/mo — maximum Codex tasks |
Go/Plus/Pro dollar amounts also on OpenAI’s Go announcement and Pro tiers help.
Practical differences (from vendor docs only)
- One pool vs ChatGPT bundle: Claude Code draws from the same Anthropic plan as Claude chat. Codex is part of the ChatGPT subscription family.
- Published numbers: Codex Plus shows estimated message ranges by model; Claude Code does not publish fixed message counts—only Free/Pro/Max/Ultra multipliers.
- API key trap (Claude): If
ANTHROPIC_API_KEYis set, Claude Code may bill API instead of the subscription. - GPT-6 Astra on Codex: Codex FAQ says Astra sits in the $100/$200 Pro (and $100 Business) allowance; Plus has limited Astra with credit top-ups.
FAQ
Claude Code vs Codex — which is cheaper to start?
Claude Code starts on Anthropic Pro at US$20/mo (or US$200/yr). Codex is included in ChatGPT Free/Go with limited access; expanded Codex is on Plus at US$20/mo. Exact message estimates for Codex Plus are published on chatgpt.com/codex/pricing/; Claude publishes multipliers, not fixed message counts.
Is Claude Code included with Claude Pro?
Yes. Anthropic lists Claude Code on Pro, Max and Ultra. It shares the same usage pool as Claude chat on web, desktop and mobile.
Is Codex included with ChatGPT Plus?
Yes. OpenAI’s Codex pricing page says Codex is included in Free, Go, Plus, Pro, Business and Enterprise plans, with expanded usage on Plus and maximum Codex tasks on Pro.
Related: Claude Code cost · Claude cost · ChatGPT Pro tiers · Claude Code tutorial · Codex tutorial · ChatGPT vs Claude.