Claude Code vs OpenAI Codex
Data comparison · checked 2026-11-20
More in AI agents for Coding & Engineering · Also searched as: Codex, ChatGPT Codex
Claude Code is included in Claude Pro ($17/mo annual, $20 monthly) and higher, and is not in the Claude Free plan. OpenAI Codex is included in ChatGPT plans, with a Free tier for quick coding tasks (subject to rollout), Go at $8/mo and Plus at $20/mo.
Editorial, not sponsored. A data comparison built from our sourced listings (prices, free plans, EU status, integrations). Neither product has been hands-on tested yet. Listings last checked 2026-11-20 against the vendors' public pages.
Quick verdict
Claude Code is included in Claude Pro ($17/mo annual, $20 monthly) and higher, and is not in the Claude Free plan. OpenAI Codex is included in ChatGPT plans, with a Free tier for quick coding tasks (subject to rollout), Go at $8/mo and Plus at $20/mo; EU data residency is available for eligible Enterprise workspaces on the Codex app and CLI, not Codex Web. Decision rule: if you already pay for Claude, start with Claude Code; if you want a free or $8 starting point, or may need EU residency later on an Enterprise or Edu workspace, start with Codex.
Choose Claude Code if
- You already subscribe to Claude Pro or higher, so Claude Code is included rather than a separate product.
- You want an agent that edits files and runs commands from the terminal, VS Code, JetBrains, desktop, web or Slack.
- A DPA with Standard Contractual Clauses in Anthropic's Commercial Terms is enough; EU data residency is not publicly stated.
Choose OpenAI Codex if
- You want a free starting point (quick coding tasks, subject to rollout) or Go at $8/mo, or Plus at $20/mo.
- You want Codex across ChatGPT, the editor, terminal, web and iOS, including cloud code review and Slack on Plus and higher.
- You may need Europe (EEA + Switzerland) data residency later: it is listed for eligible Enterprise workspaces, covering the Codex app and CLI but not Codex Web.
At a glance
| Criterion | Claude Code | OpenAI Codex |
|---|---|---|
| Vendor | Anthropic | OpenAI |
| What it does | An agentic coding tool for the terminal and IDE. | An AI coding partner across ChatGPT, editor and terminal. |
| Pricing model | Subscription | Free plan + paid |
| Starting price | Included in Pro: $17/mo annual, $20 monthly | Free (quick coding tasks, subject to rollout); Go $8/mo; Plus $20/mo |
| Free tier | No free plan found | Yes |
| Deployment | SaaS | SaaS |
| Integrations (vendor-stated) | VS Code, Cursor, JetBrains, GitHub, GitLab, Slack, MCP | GitHub, Slack |
| EU / GDPR | GDPR / partial infoAnthropic's DPA with Standard Contractual Clauses is incorporated into its Commercial Terms. EU data residency for Claude Code is not publicly stated.Source: privacy.claude.com/en/articles/7996862-how-do-i-view-and-sign-your-data-processing-addendum-dpa | EU data residency statedOpenAI's Trust Portal lists GDPR and a Data Processing Agreement. Its help center says Europe (EEA + Switzerland) data residency is available for eligible Enterprise workspaces; the Codex app and CLI are supported, Codex Web is not.Source: help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgpt |
| Hands-on test | ○ Unverified | ○ Unverified |
| Last checked | 2026-11-20 | 2026-11-20 |
Sources: claude.com/product/claude-code · claude.com/pricing · openai.com/codex · developers.openai.com/codex/pricing · help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgpt
Pricing, plan by plan
Prices and limits as published on each vendor's pricing page, last checked 2026-11-20. Vendors change plans often; confirm on the linked page before buying.
Claude Code plans
| Plan | Listed price | What the vendor lists |
|---|---|---|
| Free | $0 | Claude chat only; Claude Code not included |
| Pro | $17/mo billed annually ($200 up front) or $20 monthly | Includes Claude Code; usage limits every 5 hours and weekly |
| Max | $100/mo | 5x Pro usage; $100 a month in API credits |
| Ultra | $200/mo | 10x Pro usage, no 5-hour limit for verified accounts; $200 a month in API credits |
| Team | $20 per seat/mo annual ($25 monthly); premium seat $100 ($125) | Claude Code included; 2 to 150 people; up to $500/month in pooled API credits |
| Enterprise | $20 per seat/mo billed annually + usage at API rates | 20-seat minimum |
Last checked 2026-11-20. Prices exclude tax. Usage limits apply on every plan and depend on model, chat length and file size.
Sources: claude.com/pricing · claude.com/product/claude-codeOpenAI Codex plans
| Plan | Listed price | What the vendor lists |
|---|---|---|
| Free | $0 | Quick coding tasks in the desktop app, subject to rollout |
| Go | $8/mo | Lightweight coding tasks |
| Plus | $20/mo | Codex on web, CLI, IDE and iOS; cloud code review and Slack; extend with ChatGPT credits |
| Pro | $100, $200 or $500/mo | Higher limits; no 5-hour limit |
| Business | $20 per user/mo billed annually ($25 monthly) | 2+ users; SAML SSO, MFA; no training on business data by default |
| Enterprise & Edu | Contact sales | SCIM, EKM, RBAC, audit logs, data retention and residency controls |
| API key | API prices | CLI, SDK or IDE only |
Last checked 2026-11-20. Codex shares usage limits and credits with ChatGPT Work on the same plan.
Source: developers.openai.com/codex/pricingFAQ: Claude Code vs OpenAI Codex
Does Claude Code or OpenAI Codex have a free plan?
Claude Code is not included in the Claude Free plan. OpenAI Codex has a Free tier for quick coding tasks, subject to rollout, and is also included in paid ChatGPT plans.
Sources: claude.com/pricing · developers.openai.com/codex/pricingWhat do Claude Code and OpenAI Codex cost?
Claude Code starts with Claude Pro at $17/mo billed annually or $20 monthly. Codex is included in ChatGPT plans: Go is $8/mo and Plus is $20/mo; API-key use is billed at API prices instead.
Sources: claude.com/pricing · developers.openai.com/codex/pricingDo Claude Code or Codex offer EU data residency?
Claude Code's public pages do not state EU data residency. OpenAI offers Europe (EEA + Switzerland) data residency for eligible Enterprise workspaces; the Codex app and CLI are covered, Codex Web is not.
Sources: privacy.claude.com/en/articles/7996862-how-do-i-view-and-sign-your-data-processing-addendum-dpa · help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgptSources for this comparison (checked 2026-11-30)
- https://claude.com/pricing
- https://claude.com/product/claude-code
- https://developers.openai.com/codex/pricing
- https://privacy.claude.com/en/articles/7996862-how-do-i-view-and-sign-your-data-processing-addendum-dpa
- https://help.openai.com/en/articles/9903489-data-residency-and-inference-residency-for-chatgpt
Last checked: Claude Code 2026-11-20, OpenAI Codex 2026-11-20 · see changes for Claude Code · see changes for OpenAI Codex · all corrections
Facts are as stated by each vendor on the date shown; where a vendor does not publish something, we say "not publicly stated". No ranking, rating or hands-on test is implied.