WhichAIPlan / Compare / Claude Code vs Codex
checked 2026-10-31
Claude Code vs Codex
Plans, prices and usage rules for Claude Code and Codex, copied from each vendor's pricing page on 2026-10-27. Where a vendor doesn't publish a number, we say unknown.
At a glance
| Claude Code | OpenAI Codex | |
|---|---|---|
| Vendor | Anthropic | OpenAI |
| Runs in | Terminal / any editor | CLI, IDE extension, web, Codex app |
| Cheapest paid plan | Pro $20/mo | Go $8/mo |
| How limits work | Rolling 5-hour session window plus weekly limits on most plans; Ultra has no 5-hour limit for verified accounts only; Claude Code shares the pool with Claude chat; limits depend on model, chat length, and file size; no fixed message count published; optional usage credits at API rates. | Included in ChatGPT plans. Plus: estimated local messages per 5-hour window (e.g. GPT-6.1 Sol 15-160, GPT-6 Astra 5-45), weekly limits may apply. Pro: no 5-hour limit currently. Credits extend usage. |
| Official pricing | claude.com/pricing | chatgpt.com/codex/pricing/ |
Entry price difference
Cheapest paid plans differ by $12/mo (2.5x). Entry prices only; usage allowances differ, see the tables.
Every plan
| Tool | Plan | Price | Usage / limits | Source |
|---|---|---|---|---|
| Claude Code | Free | $0 | No Claude Code; limited usage every 5 hours and every week | source |
| Claude Code | Pro | $20/mo $17/mo annual | 1x Pro usage every 5 hours and every week; Claude Code included; Fable paid with usage credits 1× Pro | source |
| Claude Code | Max | $100/mo | 5x Pro usage every 5 hours and every week; Fable included up to half the weekly limit; $100/mo API credits; early access and priority access; monthly billing only 5× Pro | source |
| Claude Code | Ultra | $200/mo | No 5-hour limit for verified accounts only; 10x Pro usage every week; $200/mo API credits; everything in Max otherwise; monthly billing only 10× Pro | source |
| OpenAI Codex | Free | $0 | Limited Codex | source |
| OpenAI Codex | Go | $8/mo | Limited Codex; may include ads | source |
| OpenAI Codex | Plus | $20/mo | Expanded Codex; 5-hour message estimates by model | source |
| OpenAI Codex | Pro 100 | $100/mo | No 5-hour limit currently; twice the previous Work and Codex allowance; exact size unknown | source |
| OpenAI Codex | Pro 200 | $200/mo | More than Pro 100; all Pro 200 subs share one allowance (announced cut canceled) | source |
| OpenAI Codex | Pro 500 | $500/mo | Highest allowance; twice the previous Work and Codex allowance; Ultrafast mode | source |
Quick read
- Claude Code: runs in Terminal / any editor; paid plans from $20/mo. Claude Code plans
- OpenAI Codex: runs in CLI, IDE extension, web, Codex app; paid plans from $8/mo. Codex plans
Not sure? Answer 4 questions in the plan finder or see the full comparison of all tools.
FAQ
Which is cheaper, Claude Code or Codex?
Claude Code's cheapest paid plan is Pro at $20/mo (1x Pro usage every 5 hours and every week; Claude Code included; Fable paid with usage credits); OpenAI Codex's cheapest paid plan is Go at $8/mo (Limited Codex; may include ads). Source: official vendor pricing pages, verified 2026-11-24.
How do the usage limits differ?
Claude Code: Rolling 5-hour session window plus weekly limits on most plans; Ultra has no 5-hour limit for verified accounts only; Claude Code shares the pool with Claude chat; limits depend on model, chat length, and file size; no fixed message count published; optional usage credits at API rates. OpenAI Codex: Included in ChatGPT plans. Plus: estimated local messages per 5-hour window (e.g. GPT-6.1 Sol 15-160, GPT-6 Astra 5-45), weekly limits may apply. Pro: no 5-hour limit currently. Credits extend usage.
Where does each tool run?
Claude Code runs in Terminal / any editor; OpenAI Codex runs in CLI, IDE extension, web, Codex app.
What does each plan cost?
Claude Code: Free $0, Pro $20/mo, Max $100/mo, Ultra $200/mo; OpenAI Codex: Free $0, Go $8/mo, Plus $20/mo, Pro 100 $100/mo, Pro 200 $200/mo, Pro 500 $500/mo.
Head-to-head comparisons
Get the weekly what-changed email
One email a week listing the price and limit changes we logged.
Markdown version · Raw data (JSON)