PRICE CHANGES THIS WEEK
n8n n8n lists overage fees: Starter and Pro capped, Business €4,000 / $4,800 per extra 300K executions OpenAI Codex Codex adds GPT-6.1 Terra on Plus and up, at half GPT-6.1 Sol's credit rate Base44 Base44 launches Base44 for Startups: a free annual Pro or Builder license for founders Figma Figma's Design agent and Weave tools now use AI credits; credit add-ons give more credits Veo (Google) Veo 3.1 leaves the Gemini API; Gemini Omni replaces Veo in the Gemini app Greptile Greptile drops seat fees: Pro is now $1 per credit GitHub Copilot Copilot Max: 30% off model costs with auto model selection through Oct 28, 2026 Clerk Clerk starts billing Directory Sync (SCIM) connections on Jan 1, 2027 Firebase Firebase Remote Config now charges past 100,000 fetches a day
Get them weekly →
Home / Compare / Codex vs Claude Code

Codex vs Claude Code: which should builders use?

Both are agentic coding tools that read your repository, edit files, run commands and can work in the cloud while your laptop is closed. OpenAI Codex comes with ChatGPT plans (a limited version is on ChatGPT Free and Go) and runs from an open-source Apache-2.0 CLI, IDE extensions, the ChatGPT desktop app, the web and iOS. Anthropic's Claude Code comes with paid Claude plans (not Free) and runs from the terminal, VS Code, JetBrains, a desktop app, the web and the Claude mobile apps. Entry plans cost the same $20 a month, and the team seats are priced identically.

OpenAI CodexClaude Code
Made byOpenAIAnthropic
Where it runsCodex CLI (macOS, Linux, Windows); IDE extension for VS Code, VS Code Insiders, Cursor and Windsurf, plus Xcode and JetBrains integrations; the ChatGPT desktop app; Codex on the web; iOSTerminal CLI (macOS, Linux, Windows); VS Code extension (also installs in Cursor); JetBrains plugin; desktop app for macOS and Windows; the web at claude.ai/code; Claude iOS and Android apps; Chrome extension for testing web apps
Install the CLIcurl -fsSL https://chatgpt.com/codex/install.sh | sh on macOS and Linux; a PowerShell installer on Windowscurl -fsSL https://claude.ai/install.sh | bash on macOS and Linux; irm https://claude.ai/install.ps1 | iex in PowerShell on Windows
Free accessLimited: ChatGPT Free ($0) and Go ($8/mo) get Codex in the desktop app on GPT-6 Luna at Standard speed, subject to rollout; no cloud featuresNone: Claude Code isn't included in Claude Free
Entry planChatGPT Plus $20/mo: web, CLI, IDE extension, iOS, cloud chats, GitHub code review and Slack, with GPT-6.1 Sol and GPT-6 LunaClaude Pro $20/mo, or $17/mo billed annually ($200 up front): terminal, IDE, desktop, web and mobile, with cloud sessions and scheduled tasks
Heavy-use plansChatGPT Pro $100, $200 or $500/mo (monthly). Pro has no five-hour limit for now (weekly limits may apply); only Pro $500 includes UltrafastClaude Max $100/mo (5x Pro usage) or $200/mo (20x), monthly only, plus $100 or $200 a month in Claude API credits that don't cover interactive Claude Code
Team plansChatGPT Business, 2 to 200 seats: Standard $20/user/mo billed annually ($25 monthly); Premium $100 annually ($125 monthly) with 5x Standard usage and no five-hour limitClaude Team, 2 to 150 seats: Standard $20/seat/mo billed annually ($25 monthly); Premium $100 annually ($125 monthly) with 5x Standard usage; up to $500 a month in pooled API credits
EnterpriseChatGPT Enterprise and Edu through OpenAI salesUS$20/seat/mo billed annually with a 20-seat minimum, plus usage at API rates
Usage limitsAn allowance per five-hour window on Plus and Business, shared with ChatGPT Work; on Plus, OpenAI estimates 15-160 local messages on GPT-6.1 Sol and 350-3,000 on GPT-6 Luna; cloud chats count too; weekly limits may applyA rolling five-hour window plus weekly limits, one pool shared with Claude chat on web, desktop and mobile; Pro gets at least 5x Free; cloud sessions count toward the same limits
Going past the limitBuy ChatGPT credits; Fast mode uses included limits at 2.5x (credits at 2x), Ultrafast at 8x (credits at 6x)Turn on usage credits, billed at API rates
Pay as you goSign in with an OpenAI API key: CLI, SDK and IDE extension at API rates, no cloud features; or use Amazon Bedrock as the model provider with AWS credentialsClaude Console API key at API rates; the CLI, VS Code and JetBrains also run through Amazon Bedrock, Google Cloud's Agent Platform (formerly Vertex AI), Microsoft Foundry or Claude Platform on AWS
ModelsGPT-6 Astra (most capable), GPT-6.1 Sol (recommended for most work), GPT-6 Sol and GPT-6 Luna (fastest); GPT-5.6 models stay available during the rolloutOpus 5.5 by default on Pro, Max, Team, Enterprise and the API; Sonnet 5.5 and Haiku 5.5; Fable 5.1 by choice (usage credits on Pro, up to 50% of weekly limits on Max)
Cloud and integrationsCodex cloud chats and environments, @codex on GitHub issues and PRs, automatic GitHub PR reviews, @ChatGPT in Slack handing repository work to Codex Cloud, Linear; all on Plus and up, not with an API keyCloud sessions (Pro, Max and Team; Enterprise premium seats), scheduled tasks (formerly Routines), @Claude in Slack (Claude Tag on Team and Enterprise), GitHub Actions and GitLab CI/CD; Code Review on GitHub PRs is Team and Enterprise only
Open sourceYes: the CLI is Apache-2.0 at github.com/openai/codexNo: proprietary, © Anthropic PBC, all rights reserved
AI training on your dataFree, Plus and Pro: on by default, and the "Improve the model for everyone" switch also covers Codex tasks; Business, Enterprise and the API: not by defaultFree, Pro and Max: Claude's pricing page lists model training as opt-out; Team and Enterprise: none by default
Project instructions fileAGENTS.md (other file names can be added with project_doc_fallback_filenames)CLAUDE.md; reads AGENTS.md when a repository has no CLAUDE.md
Pricing (approx.)Limited on ChatGPT Free and Go ($8/mo), desktop app only; Plus $20/mo; Pro $100, $200 or $500/mo; Business from $20/user/mo (annual); or API usageIncluded with Claude Pro ($20/mo US), Max (from $100/mo) and every Team seat (from $20/seat/mo billed annually), or pay via API usage
Our rankings#3 in Coding agents#9 in Vibe coding, #2 in Coding agents

How the pricing compares

For one person, the entry price is the same: ChatGPT Plus is $20 a month and Claude Pro is $20 a month, or $17 a month billed annually ($200 up front). Codex is the only one you can try for free, through ChatGPT Free or Go ($8/mo) in the desktop app on GPT-6 Luna, subject to rollout. For heavy use, both start at $100 a month: ChatGPT Pro comes in $100, $200 and $500 tiers and currently has no five-hour limit, while Claude Max is $100 (5x Pro) or $200 (20x Pro) and adds $100 or $200 a month in API credits for your own apps, which don't cover interactive Claude Code. Team seats are priced identically: $25 a month for Standard ($20 billed annually) and $125 for Premium ($100 annually) with 5x Standard usage, on ChatGPT Business (up to 200 seats) or Claude Team (up to 150). Claude Enterprise is US$20 per seat a month billed annually, with a 20-seat minimum, plus usage at API rates; ChatGPT Enterprise is sold through OpenAI sales.

How the usage limits work

Neither tool has a fixed message count. Codex shares one allowance with ChatGPT Work, and OpenAI publishes estimated local messages per five-hour window by model: on Plus or a Standard Business seat, roughly 5-45 on GPT-6 Astra, 15-160 on GPT-6.1 Sol, 35-285 on the new GPT-6.1 Terra and 350-3,000 on GPT-6 Luna. Cloud chats draw from the same allowance, Fast mode uses it 2.5 times as fast, and Pro has no five-hour limit for now, though weekly limits may apply. Claude Code shares one pool with Claude chat on web, desktop and mobile. It resets on a rolling five-hour window, paid plans add weekly limits, and Pro gets at least 5x the usage of Free. Both let you keep going: Codex with ChatGPT credits or an API key, Claude Code with usage credits at API rates or a Console account.

Moving between them

The code stays in your repository, so switching is mostly about instructions and settings. Codex reads AGENTS.md; Claude Code reads CLAUDE.md, and when a repository has no CLAUDE.md it reads AGENTS.md instead, so a repository set up for Codex works in Claude Code without changes. To keep one file for both, keep AGENTS.md and import it from CLAUDE.md, or add CLAUDE.md to Codex's project_doc_fallback_filenames setting. Settings don't carry over: Codex keeps its configuration, MCP servers and model provider in ~/.codex/config.toml, while Claude Code uses settings.json files and its own MCP setup, so add your MCP servers again. Cloud work is tied to each vendor too: Codex cloud environments and @codex GitHub reviews, or Claude Code cloud sessions, scheduled tasks and Code Review, have to be set up again on the other side.

Pick OpenAI Codex if…

You want to try it free on ChatGPT Free or Go, an open-source CLI you can read and fork, or cloud chats, @codex GitHub PR reviews and Slack included in the $20 Plus plan. It's also the pick if you already pay for ChatGPT, want Pro with no five-hour limit for now, or want to run OpenAI models through Amazon Bedrock.

PRICE WATCH · EVERY FRIDAY

Prices like these change every week.

Get verified AI tool price changes and free-tier alerts in one Friday email. Free, plus the AI Builder Price Sheet.

Pick Claude Code if…

You already pay for Claude, want the same agent in the terminal, VS Code, JetBrains, desktop, web and mobile with CLAUDE.md, skills and hooks, want Pro at $17 a month billed annually, or need to run it through Amazon Bedrock, Google Cloud, Microsoft Foundry or Claude Platform on AWS. Max adds $100 or $200 a month in API credits for your own apps.

Our verdict

Claude Code ranks #2 in our coding-agent ranking and Codex #3, close enough that price and setup should decide it. Both start at $20 a month, both share a rolling five-hour usage pool with their chat app, and their team seats cost the same, so it comes down to fit. Pick Codex if you want an open-source CLI, a free way to try it, GitHub PR review and Slack in ChatGPT Plus, or Pro without a five-hour limit. Pick Claude Code if you're already on Claude, want the cheaper annual Pro price, or need it on your cloud provider. Either works as a terminal agent next to an editor like Cursor, and heavy use draws down your allowance on both, so the plan price is a floor, not a cap.

Frequently asked questions

Is Codex cheaper than Claude Code?

At the entry level they cost the same: ChatGPT Plus and Claude Pro are both $20 a month, and Claude Pro drops to $17 a month billed annually. Codex is the only one with free access, on ChatGPT Free and Go in the desktop app. Heavy-use plans both start at $100 a month (ChatGPT Pro $100, $200 or $500; Claude Max $100 or $200), and team seats are priced identically at $25 Standard and $125 Premium a month ($20 and $100 billed annually).

Is Codex or Claude Code free?

Codex has limited free access: ChatGPT Free and Go ($8/mo) get Codex in the desktop app on GPT-6 Luna at Standard speed, subject to rollout. Claude Code isn't included in Claude Free; it starts with Claude Pro at $20 a month. Both can also be used pay-as-you-go with an API key.

Which has higher usage limits?

Neither publishes a fixed message count. On ChatGPT Plus, OpenAI estimates 15-160 local Codex messages per five-hour window on GPT-6.1 Sol, and ChatGPT Pro currently has no five-hour limit. Claude Code uses a rolling five-hour window plus weekly limits shared with Claude chat; Max gives 5x or 20x Pro usage. Both let you keep going with credits billed at API rates.

Can Claude Code use AGENTS.md like Codex?

Yes. Claude Code reads AGENTS.md when a repository has no CLAUDE.md, so a repository set up for Codex works without changes. To keep one file for both tools, import AGENTS.md from CLAUDE.md. Codex reads AGENTS.md by default and can be told to read CLAUDE.md through its project_doc_fallback_filenames setting.

Is Codex or Claude Code open source?

Codex's CLI is open source under Apache-2.0 at github.com/openai/codex. Claude Code is proprietary (© Anthropic PBC, all rights reserved), though its docs and SDK are public.

Can I use Codex or Claude Code through AWS?

Yes, both. Codex can use Amazon Bedrock as its model provider with a Bedrock API key or AWS IAM credentials, set in ~/.codex/config.toml. Claude Code runs through Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry or Claude Platform on AWS, billed by that cloud provider.

Facts and prices checked on vendor pages on Oct 23, 2026: Codex pricing (learn.chatgpt.com), ChatGPT pricing, OpenAI help: ChatGPT Pro plans, OpenAI help: ChatGPT Business, OpenAI help: Data controls FAQ (training on Codex tasks), Codex docs: Models, Codex docs: CLI, Codex docs: IDE extension, Codex docs: Cloud, Codex docs: GitHub, Codex docs: ChatGPT in Slack, Codex docs: Amazon Bedrock, Codex docs: AGENTS.md, openai/codex on GitHub (Apache-2.0), Claude pricing (Individual, Team and Enterprise tabs), Claude help: Claude Code with Pro or Max, Claude help: Max plan, Claude help: Monthly API credits for Max and Team, Claude Code docs: Overview, Claude Code docs: Setup, Claude Code docs: Model configuration, Claude Code docs: Cloud sessions, Claude Code docs: Scheduled tasks, Claude Code docs: Code Review, Claude Code docs: Slack, Claude Code docs: Third-party providers, Claude Code docs: Memory (CLAUDE.md and AGENTS.md), Claude Code docs: Legal and compliance. Plans and limits change often, so confirm before you buy.

FREE WEEKLY NEWSLETTER

One email. Every Friday. Only what ships.

  • Ranking changes and why they moved
  • Launches worth your time, each with a one-line take
  • One stack we'd actually use

Free · confirm by email · unsubscribe anytime. Read past issues.