Home › Compare › Claude Code vs Codex

Claude Code vs Codex

Last checked

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.

RowClaude Code (Anthropic)Codex (OpenAI)
What it isCoding agent in terminal, Desktop, VS Code/Cursor forks, JetBrains, web and mobile — same Claude subscriptionCoding agent across ChatGPT app, editor, terminal and cloud; included in ChatGPT plans
Free accessNo on Free (Claude Code listed No on Free feature table)Yes, limited Codex on Free / Go
Cheapest paid with solid coding accessPro 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 tiersMax 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 workShared pool with Claude chat; 5-hour + weekly on Pro/Max; Ultra weekly (no 5-hour if verified); multipliers only — no fixed message countLocal + 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 limitWait, upgrade, usage credits, or Console API rates; Max/Ultra monthly API credits cannot pay for Claude CodeCredits beyond included usage; switch to a lower-cost model; /status in CLI
Official sourcesclaude.com/pricingchatgpt.com/codex/pricing/
Plan ladders side by side
StepClaude Code pathCodex path
1Free — chat only; no Claude CodeFree — limited Codex
2Pro $20/mo — Code included, shared limitsGo $8/mo US — still limited / test Codex; may include ads
3Max $100/mo — 5× ProPlus $20/mo — expanded Codex + app/plugins
4Ultra $200/mo — 10× Pro weeklyPro 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_KEY is 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.

Report an error on this page