Comparison
Claude Code vs Codex
How we list tools: these rows repeat catalog fields. This is not a ranking or a hands-on test. Editorial policy.
Who should pick which
Who should pick which follows the product and price pages each vendor publishes. It is not a score, a speed test, or a hands-on ranking. This site did not run the same coding task on both tools.
- Pick Claude Code if you want Anthropic's coding agent in the terminal, in VS Code or JetBrains, in Slack, or on the web, and you are ready to pay for Claude. Pro is $20 if billed monthly and includes Claude Code. The free Claude plan does not.
- Pick Codex if you want OpenAI's coding agent on a ChatGPT plan, including a $0 plan for quick tasks. Plus is $20/mo and lists Codex on the web, in the CLI, in the IDE extension, and on iOS. Go is $8/mo for lighter tasks.
What each vendor says the product is
Anthropic's product page says you hand Claude a bug fix, a test, or a multi-day migration, and steer it from the terminal, an IDE, Slack, or the web. The page lists macOS, Linux, and Windows, and these surfaces: terminal, web, iOS, Android, GitHub, VS Code, JetBrains, and Slack. It says the terminal app runs locally and asks before it changes files or runs commands. It also says Claude Code can read issues, write code, run tests, and open pull requests with GitHub, GitLab, and the command line. Claude Code product page.
OpenAI's Codex page says the same agent runs in ChatGPT, in an editor, and in the terminal, and that cloud tasks keep going after you close the laptop. The Codex pricing page says ChatGPT Work and Codex are included in Free, Go, Plus, Pro, Business, Edu, and Enterprise plans. Plus is the plan that lists the web app, the CLI, the IDE extension, iOS, and cloud integrations such as automatic code review and Slack. An API key is a separate path: the CLI, an SDK, or the IDE extension, billed at API rates, without those cloud features. Codex product page and Codex pricing.
Where the bills differ
Claude Code is not a separate subscription. On the Claude pricing page, the plan table lists Claude Code as No on Free and Yes on Pro and Max. The product FAQ says a Claude Console account bills API tokens instead. Codex is included in the ChatGPT plan. The ChatGPT pricing page, read the same day, says Free and Go have limited Codex access, Plus includes Codex, and Pro has expanded Codex. Free and Go on the Codex pricing page both name GPT-6 Luna at standard speed in the desktop app, subject to rollout. Plus names GPT-6.1 Sol and GPT-6 Luna.
Pricing checked on 2026-10-21
| Plan | Price on the vendor page | What that page says you get |
|---|---|---|
| Claude Free | $0 | Claude Code is listed as No in the plan table. |
| Claude Pro | $20 if billed monthly. $17/mo billed annually ($200 up front). | Claude Code is included. It shares the plan's usage limits. |
| Claude Max | $100/mo | Claude Code is included. 5x Pro usage every 5 hours and every week, plus $100 a month in API credits. Re-read on 1 November 2026. |
| Claude Ultra | $200/mo | Claude Code is included. 10x Pro usage every week, and no 5-hour limit for verified accounts, plus $200 a month in API credits. |
| Codex Free | $0/mo | Quick coding tasks. The ChatGPT pricing page calls this limited Codex access. |
| Codex Go | $8/mo | Lightweight coding tasks. |
| Codex Plus | $20/mo | Web, CLI, IDE extension, and iOS, plus cloud code review and Slack. |
| Codex Pro | From $100/mo | The page lists Pro at $100, $200, or $500 per month. |
| Codex API key | API rates, no monthly plan price on this row | CLI, SDK, or IDE extension. No GitHub code review or Slack cloud features. |
Claude prices: claude.com/pricing. Codex prices: developers.openai.com/codex/pricing. The ChatGPT plan matrix, including the limited-Codex row, is chatgpt.com/pricing. A Business note on the Codex pricing page says 2+ users, billed annually, and $25 per user per month when billed monthly. That note is not the starting individual price. Checked on 2026-10-21.
Also on this site
- AI coding and IDE tools
- Cursor vs Codex
- Jules vs Claude Code
- Augment Code vs Claude Code
- Cursor vs Claude Code
- Cursor vs GitHub Copilot
- AI coding tools in the catalog
- Lovable vs Bolt vs v0, if you do not want a coding agent
- Base44 vs Claude Code, if the other choice is a hosted app builder
| Field | Claude Code | Codex |
|---|---|---|
| Best for | Coding agent in the terminal and IDE | Coding agent |
| Category | AI coding/IDEs | AI coding/IDEs |
| Pricing | From $20/mo. No free tier listed. . Source: vendor pricing ↗. | Free tier available. Paid plans from $8/mo. . Source: vendor pricing ↗. |
| Free tier | no | yes |
| Platforms named in the catalog text | terminal, IDE | IDE |
Quick answer
| Paid from | $20/mo | $8/mo |
|---|---|---|
| Free plan | Not listed | Yes |
| Who it's for | Coding agent in the terminal and IDE | Coding agent |
Open these pages
- Claude Code catalog page
- Codex catalog page
- Claude Code pricing
- Codex pricing
- Alternatives to Claude Code
- Alternatives to Codex
- Compare these in the live tool
- Guides
- All comparisons
Questions
What is Claude Code listed for?
The catalog use case is Coding agent in the terminal and IDE. The category is AI coding/IDEs.
What is Codex listed for?
The catalog use case is Coding agent. The category is AI coding/IDEs.
What price is listed for Claude Code?
Claude Code: From $20/mo. No free tier listed. Checked Nov 2, 2026. Source: https://claude.com/pricing. No free tier is listed.
What price is listed for Codex?
Codex: Free tier available. Paid plans from $8/mo. Checked Nov 12, 2026. Source: https://developers.openai.com/codex/pricing. A free tier is listed.
Is Claude Code included on the free Claude plan?
No. On claude.com/pricing, checked on 2026-10-21, the plan table lists Claude Code as No on Free and Yes on Pro and Max. Pro is $20 if billed monthly, or $17 per month when billed annually ($200 up front). Max starts at $100 per month. The product page says a Team or Enterprise plan also includes it, and a Claude Console account bills API tokens.
Does Codex have a free plan?
Yes, with limits. The Codex pricing page, checked on 2026-10-21, lists Free at $0 per month for quick coding tasks. The ChatGPT pricing page on the same day says the free plan has limited Codex access. Go is $8 per month for lightweight tasks. Plus is $20 per month.
Do I have to know how to code?
Both are coding agents for a software project. Neither product page describes a no-code app builder. If you want to describe an app in chat and have the pages made for you, start with the Lovable, Bolt, and v0 comparisons instead.
Does one subscription include both?
No. Claude Code comes with paid Claude plans. Codex comes with ChatGPT plans. They are separate products and separate bills. This page does not claim the two apps cannot be installed on the same computer.
Is this a ranking?
No. This page places catalog fields side by side. It is not a score, a hands-on test, or an ordered recommendation.