| Claude Code | OpenAI Codex | |
|---|---|---|
| Made by | Anthropic | OpenAI |
| Where it runs | Terminal, VS Code and JetBrains extensions, the Claude desktop app, web, iOS, Android, Slack and GitHub | ChatGPT, the Codex cloud, the CLI, an IDE extension and iOS (Plus and up) |
| Free option | No. Claude Code isn't on the Free Claude plan | Yes. The Free and Go plans include Codex in the desktop app for quick tasks, subject to rollout |
| Entry paid plan | Claude Pro: $20/month, or $17/month billed annually | ChatGPT Plus: $20/month |
| Higher tiers | Max $100/month (5x Pro usage), Ultra $200/month (10x Pro weekly usage) | Pro plans at $100, $200 or $500/month |
| Pay per use | A Claude Console account bills Claude Code at standard API token prices | API-key sessions bill at API prices, in the CLI, SDK or IDE extension, without cloud features like GitHub code review or Slack |
| Team plan | Team from $20/seat/month billed annually, for 2 to 150 seats | Business from $20/seat, for 2+ seats billed annually |
Which should you pick?
Choose Claude Code if you already pay for Claude and want the agent in your terminal, editor and Slack, with permission rules you set. Choose OpenAI Codex if you're on ChatGPT, want to try it free first, or want cloud tasks that keep running after you close your laptop plus automatic pull request reviews.
Both bundle the agent into a chat plan that starts at $20/month, so the cheapest test is to run the same real task through each one on the plan you already have.
Sources, checked Nov 18, 2026: Claude pricing · Claude Code · Codex · Codex pricing. Plans and prices change, so confirm on the vendor's site.
FAQ
Is Claude Code free?
Not on the Free Claude plan. It's included with Pro, Max, Ultra, Team and Enterprise, or billed at API rates through a Claude Console account.
Is OpenAI Codex free?
OpenAI lists Codex on its Free and Go plans for quick tasks in the desktop app, subject to rollout. Plus and Pro add the CLI, IDE extension, web and cloud features.