TL;DR:
- Same $20 entry price. Codex comes with ChatGPT Plus ($20 a month); Claude Code comes with Claude Pro ($20 a month, or $17 billed annually). Prices were unchanged when rechecked on December 2, 2026.
- Codex now defaults to GPT-6.2 Sol. OpenAI estimates 17 to 180 local GPT-6.2 Sol messages per five-hour window on Plus. ChatGPT Pro plans ($100, $200, $500) have no five-hour limit.
- December change: OpenAI is moving Plus, Pro and Business to one token-based allowance shared by ChatGPT and Codex, the way Claude Code already shares a pool with Claude chat.
- Anthropic’s upper tiers are now Max ($100, 5x Pro) and Ultra ($200, 10x Pro weekly). Only verified Ultra accounts skip the five-hour limit.
- API prices match at both ends: GPT-6.2 Sol and Claude Sonnet 5.5 are $2 / $10 per million tokens; GPT-6.2 Astra and Claude Fable 5.2 are both $8 / $40.
Last updated: December 2, 2026. By Veer. Prices and limits rechecked on December 2, 2026 against OpenAI’s ChatGPT Learn pricing doc, OpenAI Help Center and API pricing, and Anthropic’s pricing page and Claude help articles. Update (December 2, 2026): Max 5x/20x replaced by Max and Ultra, GPT-6.2 Sol and Astra added, the December shared ChatGPT and Codex allowance explained, API table rebuilt with Fable 5.2 and cache-write prices, and UK prices added.
Claude Code and Codex are the two coding agents most developers end up choosing between. Both run in the terminal, in the IDE, on the desktop and in the cloud. Both are bundled with a $20 chat subscription. And both have usage limits that are confusing enough to fill a lot of Reddit threads.
We haven’t run a timed head-to-head on our own codebase, so this isn’t a “we refactored 10,000 lines” review. It’s a researched, side-by-side reading of what OpenAI and Anthropic actually publish about pricing and Claude Code vs Codex usage limits, with links, so you can choose with your eyes open.
Claude Code vs Codex at a glance
The price ladders still line up almost exactly; the metering doesn’t. Codex publishes per-model message estimates for Plus and removes the five-hour cap on every Pro tier. Claude Code gives no message counts, keeps a five-hour window on Pro and Max, and drops it only on verified Ultra accounts.
| Codex (OpenAI) | Claude Code (Anthropic) | |
|---|---|---|
| Free / cheap access | Free and Go ($8): GPT-6 Luna in the desktop app, subject to rollout | No Claude Code on Free |
| Entry plan | ChatGPT Plus, $20/month | Claude Pro, $20/month ($17/month billed annually, $200 up front) |
| Next tiers | Pro 100, Pro 200, Pro 500 ($100 / $200 / $500, monthly only) | Max ($100) and Ultra ($200), monthly only |
| Higher-tier usage | Pro 200 more than Pro 100; Pro 500 the most (no published multiplier) | Max: 5x Pro every 5 hours and every week. Ultra: 10x Pro every week |
| Five-hour limit | Yes on Plus; none on Pro tiers | Yes on Pro and Max; none on verified Ultra accounts |
| Weekly limit | “May also apply” | Yes on all paid plans (plus a separate Fable weekly limit on Max/Ultra) |
| Shared with | ChatGPT Work and agentic features; ChatGPT chat too from December 2026 (Instant chat excluded) | Claude chat, desktop, mobile, Cowork |
| Default coding models | GPT-6.2 Sol (default since Nov 20), GPT-6.2 Astra for hard work, GPT-6.1 Sol, GPT-6 Luna | Sonnet 5.5, Opus 5.5; Fable on Max/Ultra (up to half your weekly limit) |
| Check usage | Usage dashboard, /status in the CLI |
Settings > Usage, /usage in Claude Code |
| When you hit the limit | Buy ChatGPT credits | Turn on usage credits at API rates (credits bought from Dec 7, 2026 expire after 12 months) |
Sources: ChatGPT Learn pricing, About ChatGPT Pro tiers, Understanding ChatGPT and Codex usage limits, Codex changelog (CLI 0.171.0, November 20), Claude pricing, What is the Max plan?, What is the Ultra plan?, Manage usage credits. All checked December 2, 2026.
Which gives more usage for $20?
OpenAI is more transparent at $20, but neither gives a guaranteed number. OpenAI’s pricing doc estimates local messages per five-hour window on ChatGPT Plus: 17 to 180 with GPT-6.2 Sol, 6 to 50 with GPT-6.2 Astra, 15 to 160 with GPT-6.1 Sol and 350 to 3,000 with GPT-6 Luna. Anthropic says only that Claude Pro gives at least five times Free’s usage per session.
| Model in Codex (ChatGPT Plus) | Local messages per 5 hours (OpenAI estimate) |
|---|---|
| GPT-6.2 Sol (default) | 17–180 |
| GPT-6.2 Astra | 6–50 |
| GPT-6.1 Sol | 15–160 |
| GPT-6.1 Terra | 35–285 |
| GPT-6 Luna | 350–3,000 |
Both companies stress these are not hard limits. OpenAI says “tasks that look similar can consume different amounts of your allowance,” and that cloud tasks may use more than local messages. Anthropic’s pricing FAQ says usage depends on “the length and complexity of your conversations, the model you choose, and the features you use,” so there’s no fixed message count.
Codex on ChatGPT Plus also got a model bump in November. OpenAI added GPT-6.2 Astra and GPT-6.2 Sol to Work and Codex on November 17, 2026, and Codex CLI 0.171.0 made GPT-6.2 Sol the default model selection on November 20, according to the Codex changelog. Our GPT-6.2 explainer covers what changed in the model itself.
What changes in December: ChatGPT and Codex share one allowance
From December 2026, Codex stops having its own separate pool on Plus, Pro and Business. OpenAI’s usage limits article says the allowance “will be shared across ChatGPT and Codex,” measured in tokens, with more advanced models and complex tasks using more. Instant chat won’t draw from it. That makes Codex work much more like Claude Code, where terminal sessions and chats have always drawn from one pool.
For anyone choosing between the two, this removes one of the old arguments for Codex. Before, a heavy ChatGPT chatter could code on the same $20 plan without eating into Codex limits. Now both companies meter chat-plus-coding together, so the real question is how much total work each $20 buys.
| Codex (from December 2026) | Claude Code | |
|---|---|---|
| What shares the pool | ChatGPT (except Instant chat), Work, Codex | Claude chat, desktop, mobile, Cowork, Claude Code |
| How it’s measured | Tokens; varies by model and task | Usage per five-hour session and per week; varies by model and task |
| Where to see it | Settings → Usage (combined remaining usage and reset times) | Settings > Usage, or /usage |
| Rollout | Starting December; a small group may have seen it earlier | Already in place |
OpenAI says it expects “most users won’t need to wait for their usage to reset more often than they do now.” If you want the full ChatGPT side of the story, our ChatGPT usage limits guide tracks the per-plan details.
Which gives more usage at $100 to $200?
ChatGPT Pro removes the five-hour wall on every tier; Claude removes it only on Ultra. OpenAI says “Pro plans currently have no five-hour limit,” so a long Codex session won’t stall mid-afternoon on Pro 100. Anthropic renamed its plans on October 30, 2026: Max 5x became Max ($100, five times Pro every five hours and every week) and Max 20x became Ultra ($200, ten times Pro every week, with no five-hour limit for verified accounts).
A few details worth knowing before you pay:
- ChatGPT Pro 200 is back to full usage. OpenAI’s Pro tiers article says the planned Pro 200 reduction was canceled, Pro 100 and Pro 500 now include twice their previous Work and Codex allowance, and Pro 200 is open to new subscribers again at $200. OpenAI doesn’t publish exact multipliers.
- Ultra is a weekly-only plan for verified accounts. Anthropic says new Ultra accounts may get a temporary five-hour limit until they’re automatically verified. If you don’t see a “Current session” bar in Settings > Usage, you’re verified.
- Claude Max and Ultra include Fable. Anthropic’s Fable article says Max and Ultra can use Fable models for up to 50% of the weekly limit. On Pro, Fable runs only on paid usage credits.
- Claude’s monthly API credits don’t help Claude Code. Max includes $100 and Ultra $200 a month in Claude Platform credits, but Anthropic’s API credits page says they don’t cover Claude Code or extra usage in the Claude apps.
- Speed modes cost more on Codex. Fast mode uses included limits at 2x the Standard rate for GPT-6.2 models and 2.5x for GPT-6.1 Sol. Ultrafast is included on Pro 500, and on Pro 200 only for GPT-6.2 Sol in Codex.
If you’re weighing Claude Code against Cursor or GitHub Copilot as well, our Cursor vs GitHub Copilot vs Claude Code pricing comparison puts all three plan ladders side by side.
How much do Claude Code and Codex cost in the UK?
Claude Pro is slightly cheaper than ChatGPT Plus in the UK if you pay on the web: £18 versus £20 a month, VAT included. Neither OpenAI nor Anthropic shows pound prices on its main pricing page, so the figures below come from PlanPrice’s ChatGPT UK page and PlanPrice’s Claude UK page, observed December 1, 2026. Buying through the iPhone app costs more on Claude’s upper tiers.
| Plan | UK web (incl. VAT) | UK App Store | US web (before tax) |
|---|---|---|---|
| ChatGPT Plus (Codex) | £20.00 | £19.99 | $20 |
| Claude Pro (Claude Code) | £18.00 (£180/year) | £20.00 (£199.99/year) | $20 ($17/month annual) |
| ChatGPT Pro 100 | £89.00 | £88.90 | $100 |
| Claude Max | £90.00 | £119.99 | $100 |
| ChatGPT Pro 200 | £200.00 | £200.00 | $200 |
| Claude Ultra | £180.00 | £249.99 | $200 |
| ChatGPT Pro 500 | £445.00 | £444.99 | $500 |
The biggest gap is Claude Ultra: £249.99 a month in the App Store versus £180 on the web, about £70 more for the same plan. If you code on Claude’s top tier from the UK, subscribe at claude.ai rather than in the app.
Which is cheaper on the API?
For the default models, it’s a tie, and the top models now tie too. GPT-6.2 Sol, GPT-6.1 Sol and Claude Sonnet 5.5 all list at $2 per million input tokens and $10 per million output. GPT-6.2 Astra and Claude Fable 5.2 both list at $8 and $40. Claude Opus 5.5, at $4 and $20, sits in between with no direct OpenAI equivalent.
| Model | Input / 1M | Cached input / 1M | Cache write / 1M | Output / 1M |
|---|---|---|---|---|
| GPT-6.2 Sol | $2.00 | $0.10 | $2.50 (30-min) | $10.00 |
| GPT-6.1 Sol | $2.00 | $0.10 | $2.50 (30-min) | $10.00 |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $2.50 | $10.00 |
| Claude Opus 5.5 | $4.00 | $0.20 | $5.00 | $20.00 |
| GPT-6.2 Astra | $8.00 | $0.40 | $10.00 (30-min) | $40.00 |
| Claude Fable 5.2 | $8.00 | $0.20 | $10.00 | $40.00 |
| GPT-6 Astra | $10.00 | $1.00 | $12.50 (30-min) | $50.00 |
| GPT-6 Luna | $0.10 | $0.01 | $0.125 | $0.50 |
| Claude Haiku 5.5 (prompts up to 100K) | $0.10 | $0.01 | $0.125 | $0.50 |
Sources: OpenAI API pricing (Standard tier), GPT-6 Luna model page, Claude pricing (API tab), checked December 2, 2026. Claude Fable 5.1 stays listed at $10 / $50. OpenAI also lists 12-hour cache writes at double the 30-minute rate. Codex credit billing inside ChatGPT has no separate cache-write charge, per OpenAI’s Learn pricing doc.
Two cheaper paths exist on both sides. OpenAI’s Batch tier halves GPT-6.2 Sol to $1 / $5, and Anthropic says you “save 50% with batch processing.” Neither helps an interactive coding session, but both matter for scripted review or test runs. Our Sonnet 5.5 vs GPT-6.1 Sol comparison goes deeper on API costs.
Running either agent on an API key has trade-offs. OpenAI says Codex with an API key loses cloud features such as GitHub code review and Slack. Anthropic says API-key use in Claude Code is “pay-as-you-go, billed per token,” with “no hard stop,” so set a spend limit in the Console. Anthropic’s Claude Code costs page puts the enterprise average at around $13 per developer per active day.
Codex cloud tasks vs Claude Code local: what’s the difference?
Both now do both. Codex runs locally (CLI, IDE extension, desktop app) and in the cloud, where it runs tasks in OpenAI-hosted environments and can review pull requests when you tag @Codex on GitHub. Claude Code also runs in the cloud: Anthropic’s cloud docs say cloud sessions are available on Pro, Max and Team plans.
The usage rules differ slightly. OpenAI warns that cloud tasks “may use more of your allowance than local messages,” and GitHub code reviews have their own usage category. In Claude Code, cloud and local sessions draw from the same plan limits as everything else.
Is Claude Code or Codex better for big refactors?
There’s no independent, current answer we’d stand behind. Model rankings shift every few weeks, and benchmark results depend heavily on the harness. What’s documented is how each tool handles large changes: both support plan-first workflows, subagents and project instruction files, so either can do the job with good prompting.
Anthropic’s own Claude Code guidance suggests planning with Opus and executing with Sonnet, built in as /model opusplan. OpenAI’s changelog describes GPT-6.2 Astra as the pick for “your hardest projects, such as implementing and testing a change across an existing codebase,” and GPT-6.2 Sol for everyday coding. In practice, run the same real refactor through both on a branch and compare the diffs.
Can you use Claude Code and Codex together?
Yes, and plenty of developers do. The easiest setup is one shared instruction file: Codex reads AGENTS.md, and Anthropic’s memory docs say Claude Code can read a repository’s AGENTS.md on its own or alongside CLAUDE.md.
A common split:
- Write and iterate locally in whichever agent you prefer.
- Review with the other one. Tag
@Codexon a GitHub pull request, or run Claude Code’s review tools, so a second model checks the first one’s work. - Keep both on $20 plans until one of them hits its limit regularly, then upgrade only that one.
Two $20 plans also give you two separate usage pools, which can be cheaper than jumping one of them to $100. Our step-by-step guide to using Claude Code and Codex together covers the shared AGENTS.md setup and review loop in more detail.
Verdict: which should you pick?
- Pick Codex (ChatGPT Plus or Pro) if you want published per-model estimates, long uninterrupted sessions from $100 (every Pro tier skips the five-hour cap), or GPT-6.2 Sol as your daily driver.
- Pick Claude Code (Claude Pro, Max or Ultra) if you prefer Claude’s models and terminal workflow, want Opus 5.5 as a mid-priced premium model, or want Fable included on Max and Ultra. UK buyers save £2 a month on the web at the entry tier.
- Try both for a month at $20 each if you’re unsure. With OpenAI now sharing one allowance across ChatGPT and Codex, two separate pools are a cheap way to avoid hitting a single limit.
Comparing plans? Our AI plans and pricing hub lists every ChatGPT, Claude and Gemini price guide we keep up to date.
FAQ
Which gives more usage for $20, Claude Code or Codex?
Neither guarantees a number. OpenAI estimates 17 to 180 local GPT-6.2 Sol messages (15 to 160 on GPT-6.1 Sol) per five-hour window on ChatGPT Plus, while Anthropic says Claude Pro gives at least 5x Free’s usage per session, shared with chat.
Does Codex share limits with ChatGPT chat now?
Yes, from December 2026. OpenAI says Plus, Pro and Business allowances are being combined across ChatGPT and Codex and measured in tokens, though Instant chat won’t draw from it. Claude Code has always shared one pool with Claude chat.
Does Codex have a five-hour limit on ChatGPT Pro?
No. OpenAI says Pro plans currently have no five-hour limit, though weekly limits may apply. On Claude, only verified Ultra ($200) accounts skip the five-hour limit; Pro and Max keep it.
Is Claude Code or Codex cheaper on the API?
For default models they cost the same: GPT-6.2 Sol and Claude Sonnet 5.5 both list at $2 input and $10 output per million tokens. At the top end, Claude Fable 5.2 and GPT-6.2 Astra also match at $8/$40, and Claude Opus 5.5 ($4/$20) is the cheapest premium option.
How much do Claude Code and Codex cost in the UK?
Claude Pro is £18 a month on the web (£20 in the iPhone app) and ChatGPT Plus is £20 on the web (£19.99 in the app), VAT included, according to PlanPrice’s December 1, 2026 observations. Neither company lists pound prices on its main pricing page.
Can I use Claude Code and Codex together?
Yes. Both can read an AGENTS.md file, so one set of project instructions works for both, and many developers use one agent to write and the other to review.
How do I check my Claude Code and Codex limits?
Run /usage in Claude Code or check Settings > Usage on claude.ai. For Codex, use the usage dashboard (Settings > Usage in ChatGPT) or /status in the Codex CLI.
Sources
- ChatGPT Learn: Pricing (Codex plans, Plus estimates, speed multipliers)
- OpenAI Help: About ChatGPT Pro tiers
- OpenAI Help: Understanding ChatGPT and Codex usage limits
- OpenAI: Codex changelog
- OpenAI API pricing
- Anthropic: Claude pricing (plans and API)
- Claude Help: What is the Max plan?
- Claude Help: What is the Ultra plan?
- Claude Help: Claude Fable models on your plan
- Claude Platform: API credits for subscribers
- Claude Help: Manage usage credits
- Claude Help: Models, usage, and limits in Claude Code
- PlanPrice: ChatGPT prices in the UK
- PlanPrice: Claude prices in the UK
Sources checked December 2, 2026. Both companies change limits often; we’ll update this comparison when they do.


