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.
The short answer
- 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
| Fact | Claude Code | Codex |
|---|---|---|
| Free plan | No free tier | Free tier |
| Cheapest plan | Via Claude Pro · $20/mo | Go · $8/mo |
| Top plan | Via Claude Max 20x · $200/mo | Pro ($100/$200/$500) · from $100/mo |
| Plans tracked | 4 | 4 |
| Yearly discount | up to 15% | None shown |
| Allowance periods | 5-hourWeekly | 5-hourWeekly |
| Latest change | None logged | None logged |
| Last checked |
Closest price match: Claude Code via Claude Pro vs ChatGPT Plus (Codex)
Plus
Every plan side by side
| Tool | Plan | Price | Limits as stated & source |
|---|---|---|---|
| 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. Source: support.claude.com · checked 2026-10-16 |
| Claude Code | Via 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 Code | Via 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 Code | API (pay-as-you-go) | Usage billed at API token rates | No subscription limit; pay per token. Source: claude.com · checked 2026-10-16 |
| Codex | Go | $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 |
| Codex | Plus | $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 |
| Codex | Pro ($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 |
| Codex | API key | API token pricing | Pay per token; no cloud features (GitHub code review, Slack). Source: developers.openai.com · checked 2026-10-16 |
Free plans
| Tool | Free? | What you get for $0 & source |
|---|---|---|
| Claude Code | No 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 |
| Codex | Free 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.