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 CodeOpenAI Codex
VendorAnthropicOpenAI
Runs inTerminal / any editorCLI, IDE extension, web, Codex app
Cheapest paid planPro $20/moGo $8/mo
How limits workRolling 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 pricingclaude.com/pricingchatgpt.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

ToolPlanPriceUsage / limitsSource
Claude CodeFree$0No Claude Code; limited usage every 5 hours and every weeksource
Claude CodePro$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 CodeMax$100/mo5x 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 CodeUltra$200/moNo 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 CodexFree$0Limited Codexsource
OpenAI CodexGo$8/moLimited Codex; may include adssource
OpenAI CodexPlus$20/moExpanded Codex; 5-hour message estimates by modelsource
OpenAI CodexPro 100$100/moNo 5-hour limit currently; twice the previous Work and Codex allowance; exact size unknownsource
OpenAI CodexPro 200$200/moMore than Pro 100; all Pro 200 subs share one allowance (announced cut canceled)source
OpenAI CodexPro 500$500/moHighest allowance; twice the previous Work and Codex allowance; Ultrafast modesource

Quick read

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

Cursor vs Claude Codepaid from $8 / $20Claude Code vs Codexpaid from $20 / $8Cursor vs Copilotpaid from $8 / $10Cursor vs Claude Code vs Codexpaid from $8 / $20 / $8Copilot vs Codexpaid from $10 / $8Devin Desktop vs Cursorpaid from $20 / $8

Get the weekly what-changed email

One email a week listing the price and limit changes we logged.

Subscribe (free)

Markdown version · Raw data (JSON)

Guides

Black Friday 2026 AI Coding DealsWhat AI Coding Plans Cost Per MonthCheapest Way to Get Claude CodeBest AI Coding Plan Under $10/MonthBest AI Coding Plan Under $20/MonthBest AI Coding Plan Under $100/MonthBest AI Coding Plan Under $200/MonthClaude Code Usage LimitsCodex PricingCodex Pro 200 Allowance ChangeGitHub Copilot PricingCursor Pricing Changes 2026Best AI Coding Plan for Vibe CodingBest AI Coding Plan for StudentsBest AI Coding Plan for Game Development