Claude Code vs Codex: pricing and usage limits (Oct 2026)

Claude Code starts at $20/mo, Codex at $8/mo. Only Codex has a free plan. Every plan from both vendors, the limits each one actually publishes, and what changed recently, with a source on every line.

AI codingChecked Sources on every line

The short answer

Verdict from the data
Cheaper to start
Codex. ChatGPT Go (Codex) is $8/mo; the cheapest Claude Code plan, Claude Code via Claude Pro, is $20/mo ($12 more).
Free plan
Only Codex. Claude Code has no free plan.
Top of the ladder
Claude Code via Claude Max 20x at $200/mo vs ChatGPT Pro (Codex) from $100/mo.
Paying yearly
Claude Code takes up to 15% off (Claude Pro); Codex shows no yearly discount on the plans we track.
Hard numbers
Claude Code doesn't publish exact allowances, so the limits below are quoted, not counted.

Pick Codex if you want the lowest monthly bill and you need to start at $0. Beyond price and free access, the deciding factor is which models and features you need; we track the money, not the model quality.

Head to head

FactClaude CodeCodex
Free planNo free tierFree tier
Cheapest planVia Claude Pro · $20/moGo · $8/mo
Top planVia Claude Max 20x · $200/moPro ($100/$200/$500) · from $100/mo
Plans tracked44
Yearly discountup to 15%None shown
Allowance periods5-hourWeekly5-hourWeekly
Latest changeNone loggedNone logged
Last checked

Closest price match: Claude Code via Claude Pro vs ChatGPT Plus (Codex)

Via Claude Pro

$20/mo
Annual: $200/yr
Limits Five-hour session limit and weekly limit, shared with Claude chat (web/desktop/mobile). Usage credits can be enabled to continue past limits. Counts not published.Source: support.claude.com · checked 2026-10-16

Plus

$20/mo
Limits Estimated local messages per 5 hours: GPT-6 Astra 5-45; GPT-6.1 Sol 15-160; GPT-6 Sol 15-150; GPT-6 Luna 350-3,000. Weekly limits may also apply. Shared with ChatGPT Work.Source: developers.openai.com · checked 2026-10-16

Every plan side by side

ToolPlanPriceLimits as stated & source
Claude CodeVia Claude Pro$20/mo
Five-hour session limit and weekly limit, shared with Claude chat (web/desktop/mobile). Usage credits can be enabled to continue past limits. Counts not published.
Source: support.claude.com · checked 2026-10-16
Claude CodeVia Claude Max 5x$100/mo
5x Pro per-session allowance; five-hour session + general weekly limit + separate weekly Fable limit, shared with Claude.
Source: support.claude.com · checked 2026-10-16
Claude CodeVia Claude Max 20x$200/mo
20x Pro per-session allowance; same limit structure as Max 5x.
Source: support.claude.com · checked 2026-10-16
Claude CodeAPI (pay-as-you-go)Usage billed at API token rates
No subscription limit; pay per token.
Source: claude.com · checked 2026-10-16
CodexGo$8/mo
GPT-6 Luna at Standard speed in the desktop app (lightweight tasks). Caps not published.
Source: developers.openai.com · checked 2026-10-16
CodexPlus$20/mo
Estimated local messages per 5 hours: GPT-6 Astra 5-45; GPT-6.1 Sol 15-160; GPT-6 Sol 15-150; GPT-6 Luna 350-3,000. Weekly limits may also apply. Shared with ChatGPT Work.
Source: developers.openai.com · checked 2026-10-16
CodexPro ($100/$200/$500)$100/mo
'Pro plans currently have no five-hour limit'; weekly allowances vary by tier (not published). Ultrafast mode on Pro $500 only.
Source: developers.openai.com · checked 2026-10-16
CodexAPI keyAPI token pricing
Pay per token; no cloud features (GitHub code review, Slack).
Source: developers.openai.com · checked 2026-10-16

Free plans

ToolFree?What you get for $0 & source
Claude CodeNo free tier
Not included in the Free Claude plan (pricing table: Claude Code 'No' on Free). Can alternatively be used pay-as-you-go with API credits via a Console account.
Source: claude.com · checked 2026-10-16
CodexFree tier
Free $0: GPT-6 Luna at Standard speed in the desktop app, 'subject to rollout'. No image generation on Free.
Source: developers.openai.com · checked 2026-10-16

Recent price and limit changes

No price, limit or free-tier change logged for Claude Code or Codex yet. We check both vendors' pages daily.

Questions people ask

Which is cheaper, Claude Code or Codex?

Codex is cheaper to start: ChatGPT Go (Codex) costs $8/mo, against $20/mo for Claude Code via Claude Pro. At the top end, Claude Code via Claude Max 20x is $200/mo and ChatGPT Pro (Codex) is from $100/mo.

Is Claude Code or Codex free?

Claude Code: No. Not included in the Free Claude plan (pricing table: Claude Code 'No' on Free). Can alternatively be used pay-as-you-go with API credits via a Console account. Codex: Yes. Free $0: GPT-6 Luna at Standard speed in the desktop app, 'subject to rollout'. No image generation on Free.

How do the usage limits compare at the closest price?

Claude Code via Claude Pro ($20/mo): Five-hour session limit and weekly limit, shared with Claude chat (web/desktop/mobile). Usage credits can be enabled to continue past limits. Counts not published. ChatGPT Plus (Codex) ($20/mo): Estimated local messages per 5 hours: GPT-6 Astra 5-45; GPT-6.1 Sol 15-160; GPT-6 Sol 15-150; GPT-6 Luna 350-3,000. Weekly limits may also apply. Shared with ChatGPT Work.

Is it cheaper to pay yearly?

Claude Code: up to 15% off when billed yearly (Claude Pro: $17/mo instead of $20). Codex: no yearly discount on the plans we track.

When did Claude Code and Codex last change their pricing?

No change is logged for either since we started tracking. Prices were last checked 2026-10-16.

Free to cite. All data is CC BY 4.0: quote, embed or republish it with a link to AI Plan Tracker. Raw data: tools.json · changes.json. Spotted an error? Every fact links to its source and the date we checked it.