Home / Compare / Claude Code vs OpenAI Codex: plans and free access
Pricing checked Nov 3, 2026 · official specs only · not tested yet

Claude Code vs OpenAI Codex: plans and free access

Both come bundled with a chat subscription: Claude Code with Claude Pro, Max and Ultra; Codex with ChatGPT plans. The tiers line up closely ($20, $100, $200), but only Codex has a $0 option. Prices from claude.com/pricing and developers.openai.com/codex/pricing on Nov 3, 2026. Not tested yet.

No affiliate links on this page. Some other pages use affiliate links; commissions never affect scores. Disclosure

Methodology. Prices and plan limits read on official pricing pages on Nov 3, 2026 (America/Chicago): claude.com/pricing, developers.openai.com/codex/pricing, cursor.com/pricing, docs.github.com (Copilot plans) and windsurf.com/pricing. We have not run these tools on our test task yet. Full test: Our vibe-coding test.

Free tier and trial comparison

This is the conversion-critical table: can you export without paying?

ToolFree optionCoding agent on free?Key limitsHands-on
Claude Code None (Claude Free excludes Claude Code) No. Needs Pro ($20/mo, or $17/mo billed yearly) or higher Limits every 5 hours and every week, shared with Claude chat; Ultra has no 5-hour limit for verified accounts Not tested yet
OpenAI Codex ChatGPT Free ($0) and Go ($8/mo) Yes, in the desktop app with GPT-6 Luna at Standard speed, subject to rollout CLI, IDE extension, web and cloud code review start at Plus ($20/mo) Not tested yet

Pricing snapshot

ToolFree?Starting paidChecked
Claude Code No listed free plan $20/mo (Pro) Nov 2, 2026 Visit Claude Code ↗
OpenAI Codex Yes $8/mo (Go) Nov 3, 2026 Visit OpenAI Codex ↗

Klap reader perk: use code BENCHED30 for 30% off your first payment. From Klap's affiliate program; we have not verified it at checkout; it does not affect scores.

Who should pick which

Want to try without paying

Pick Codex. ChatGPT Free and Go ($8/mo) include Codex in the desktop app with GPT-6 Luna, subject to rollout. Claude Free excludes Claude Code.

Already pay for Claude or ChatGPT

Pick The one you have. Claude Pro ($20) includes Claude Code; ChatGPT Plus ($20) includes Codex on web, CLI, IDE and iOS.

Heavy all-day use

Pick Compare the top tiers. Claude Max $100 (5x Pro) and Ultra $200 (10x Pro weekly, no 5-hour limit for verified accounts). ChatGPT Pro at $100, $200 or $500 currently has no 5-hour limit; Ultrafast mode on $500.

Try them

Claude Code

Anthropic's agentic coding tool for the terminal and IDE

From $20/mo · pricing Nov 2, 2026

Based on official specs · hands-on pending

Visit Claude Code ↗

OpenAI Codex

OpenAI's coding agent, included with ChatGPT plans

Free plan · pricing Nov 3, 2026

Based on official specs · hands-on pending

Visit OpenAI Codex ↗

Related

FAQ

Is Codex free?

Partly. ChatGPT Free ($0) and Go ($8/mo) include Codex in the desktop app with GPT-6 Luna at Standard speed, subject to rollout. CLI, IDE extension, web and cloud code review start at Plus ($20/mo).

Is Claude Code or Codex cheaper?

At $20 both are bundled (Claude Pro vs ChatGPT Plus); Claude Pro is $17/mo billed yearly. Codex also has a $0 and an $8 option. Top tiers: Claude Ultra $200 vs ChatGPT Pro $200 or $500.

Can I use an API key instead?

Yes for both. Codex supports API-key use in the CLI, SDK and IDE extension at API pricing; Claude Code can run on pay-as-you-go API credits through a Console account.

Do affiliate links change the recommendation?

No. Some Visit buttons are affiliate links marked rel="sponsored". Commissions never change scores, order or wording. See our disclosure page.