Guides › Claude Code vs Codex: cost compared

Claude Code vs Codex: cost compared

Last checked against official pricing pages: 2026-11-23. Prices in USD.

Neither agent is sold on its own. Claude Code comes with Anthropic's Claude plans, starting at Pro ($20/mo ($17/mo billed yearly)). Codex comes with OpenAI's ChatGPT plans, starting at Plus ($20/mo, monthly billing only). Both start at $20 a month, both use usage limits instead of a fixed message count, and both can run on an API key instead, billed per token.

Plans side by side

ToolPlanPriceWhat's included
Claude Code (Claude)Pro$20/mo ($17/mo billed yearly)Includes Claude Code
Claude Code (Claude)Max$100/mo — Monthly billing only. 5x Pro usage every 5 hours and every week; includes $100/month in Claude API credits; Fable included up to half your weekly limitIncludes Claude Code
Claude Code (Claude)Ultra$200/mo — Monthly billing only. Replaces Max 20x: 10x Pro weekly usage, no 5-hour limit for verified accounts; includes $200/month in Claude API creditsIncludes Claude Code
Codex (ChatGPT)Free$0/moGPT-6 Luna at Standard speed in the desktop app, subject to rollout
Codex (ChatGPT)Plus$20/moCodex on web, CLI, IDE extension and iOS; cloud code review and Slack integration; GPT-6.1 Sol and GPT-6 Luna; extend with ChatGPT credits
Codex (ChatGPT)Pro$100/moPro tier at $100/mo; Pro plans currently have no five-hour limit (weekly limits may apply)
Codex (ChatGPT)Pro$200/moPro tier at $200/mo
Codex (ChatGPT)Pro$500/moPro tier at $500/mo; adds Ultrafast mode

Claude prices from claude.com/pricing (checked 2026-11-23); Codex plans from OpenAI's Codex pricing page and the Plus price from OpenAI's help center (checked 2026-11-12).

How usage is billed

Claude Code on Pro, Max or Ultra is covered by the subscription, with usage limits that reset on a rolling window. Anthropic does not publish a fixed message count. Max ($100/mo) and Ultra ($200/mo) raise the limits. With an API key you pay per token instead, for example Sonnet 5 at $2 input / $10 output per million tokens (Anthropic API pricing, checked 2026-10-26).

Codex shares usage with ChatGPT Work. Usage depends on model, task size and whether it runs locally or in the cloud; OpenAI publishes estimated local messages per five-hour window rather than fixed limits, and weekly limits may also apply. Plus and Pro users who hit their limit can buy ChatGPT credits to keep working. Codex can also run with an API key, billed at API prices, without cloud features. OpenAI's own estimate for Plus is 15-160 local messages per five hours on GPT-6.1 Sol, or 350-3,000 on the lighter GPT-6 Luna. Pro plans currently have no five-hour limit.

Which fits your work

Neither company publishes a fixed price per request on these plans, so we compare what each tier includes at the same price points rather than inventing a per-prompt cost.

You are…Claude CodeCodex
Want the cheapest paid planPro $20/mo ($17/mo billed yearly)Plus $20/mo, with Codex in the CLI, IDE, web and iOS
Heavy daily use at about $100 a monthMax $100/mo, monthly billing onlyPro $100/mo, no five-hour limit
All-day agent use at about $200 a monthUltra $200/mo, monthly billing onlyPro $200/mo
Want the fastest mode at any priceNo higher individual tier than UltraPro $500/mo adds Ultrafast mode
Trying it for freeClaude Free does not include Claude CodeFree: GPT-6 Luna at Standard speed in the desktop app, subject to rollout
Non-coder who wants a hosted appNeither is built for that. A hosted builder includes backend and hosting; see the cheapest AI app builders or Lovable vs Claude Code.

Rule of thumb: at $20 the two are priced the same, so pick the one whose models you prefer. The tiers above that line up too: about $100 and about $200 a month on both sides, plus a $500 Codex tier for Ultrafast mode. Many developers keep both entry plans and switch when one hits its limit; that costs $40 a month, less than either $100 tier. More detail: Cursor vs Claude Code.

After you ship: connect your app to everything else

Sending new signups to a spreadsheet, a CRM or an email list is an automation job, not more AI-builder prompts. Make does it with a visual workflow, and it bills in its own credits: most steps use 1, including the trigger, so a simple "new signup, add a row" run is about 2 credits. Free gives 1,000 credits/mo (about 500 of those runs). Core is $12/mo billed yearly ($16 monthly) for 10,000 credits, about 5,000 runs. US prices, checked 2026-11-23 on make.com/en/pricing. New signups via our link get 1 month of Core free.

Try Make free →

FAQ

Is Claude Code or Codex cheaper?

They start at the same price: Claude Pro is $20/month ($17 billed yearly) and includes Claude Code; ChatGPT Plus is $20/month, billed monthly only, and includes Codex. The next tiers are Claude Max $100 and Ultra $200, versus ChatGPT Pro at $100, $200 or $500.

Is Codex included in ChatGPT Plus?

Yes. OpenAI's Codex pricing page lists Codex on the web, in the CLI, in the IDE extension and on iOS as part of Plus, with usage shared with ChatGPT Work.

Does Claude Pro include Claude Code?

Yes. Claude Code is included on Claude Pro, Max and Ultra and shares the plan's usage limits with Claude chat. Claude Free does not include it.

What happens when I hit the limit?

On ChatGPT Plus and Pro you can buy ChatGPT credits to keep using Codex. On Claude plans, usage beyond the limits is billed at API rates if you turn on extra usage, or you wait for the limit to reset.

Can I use either one with an API key?

Yes. Both can run on an API key and bill per token at API prices. OpenAI notes that Codex on an API key has no cloud features such as GitHub code review or Slack.

Related guides