Claude Code vs OpenAI Codex

Prices and limit rules side by side. Use the calculator to see which is cheaper for your token volume.

Claude Code

PlanPrice (monthly)NotesStatus
Free$0Claude Code not includedverified
Pro$20/mo$17/mo billed annually ($200/yr); includes Claude Codeverified
Max 5x$100/mo5x Pro usage; includes $100/mo API creditsverified
Max 20x$200/mo20x Pro usage; $200/mo API credits listed. Plan price not shown explicitly on page text ('From $100')unverified
Enterprise$20/mo$20/seat/mo + usage at API rates, billed annuallyverified

Source: https://claude.com/pricing · Last verified 2026-10-13

Limits

Usage resets on a rolling 5-hour session window; paid plans add weekly limits. Claude Code shares one usage pool with Claude chat. Pro = at least 5x Free per session; Max = 5x or 20x Pro. No fixed message count is published. Past the limit you can enable usage credits billed at standard API rates.

OpenAI Codex

PlanPrice (monthly)NotesStatus
Free / Go$0Limited Codex access (Go price not shown on official page text)verified
Plus$20/moCodex on web, CLI, IDE, iOSverified
Pro 100$100/moNo 5-hour limitverified
Pro 200$200/moMore usage than Pro 100 (source: help.openai.com/en/articles/9793128)verified
Pro 500$500/moHighest usage; Ultrafast modeverified
Business (Standard seat)$25/mo$20/mo annual; source openai.com/api/pricing (business page)verified

Source: https://learn.chatgpt.com/docs/pricing · Last verified 2026-10-13

Limits

Plus: rolling 5-hour window plus possible weekly limits. OpenAI's estimate for Plus is 15-160 local GPT-6.1 Sol messages, 5-45 GPT-6 Astra, or 350-3,000 GPT-6 Luna messages per 5 hours. Pro plans currently have no 5-hour limit (weekly limits may apply). Credits can extend usage; Codex CLI can also run on an API key at API prices.