Skip to content
Codex vs Claude Code

Codex vs Claude Code: price, limits and where each runs.

Codex is OpenAI’s coding agent and Claude Code is Anthropic’s: both run in a terminal, an IDE, a desktop app and the web. Codex comes with every ChatGPT plan, but Free ($0) and Go ($8) list it only in the desktop app; the web, CLI and IDE start with Plus at $20 a month. Claude Code comes with Claude’s paid plans, from Pro at $20 a month, as of 14 November 2026.

By Last updated

Codex vs Claude Code in short

  • Codex is OpenAI’s coding agent. Claude Code is Anthropic’s. Each reads your code, edits files and runs commands for you.
  • Both run in a terminal, in an IDE, in a desktop app and on the web. Both can be controlled from a phone, while the code runs in the cloud or on a connected computer.
  • Codex comes with every ChatGPT plan: Free $0, Go $8, Plus $20, Pro $100, $200 or $500 a month. On Free and Go, OpenAI’s price page lists only GPT-6 Luna in the desktop app, subject to rollout. The web, the CLI, the IDE extension and iOS are listed from Plus up.
  • Claude Code comes with Claude’s paid plans, not Free: Pro $20 a month or $200 for a year, Max $100 a month, Ultra $200 a month.
  • Each can also run on an API key, with no plan, billed per token.
  • A five-hour usage limit applies on ChatGPT Plus and on Claude Pro and Max. OpenAI’s Pro plans have none for now, and verified Claude Ultra accounts have none. Claude’s paid plans also have a weekly limit, and OpenAI says weekly limits may also apply.
  • To see your usage, type /status in the Codex CLI and /usage in Claude Code.
  • Prices are the US list prices on each vendor’s own pages, as of 14 November 2026. Checkout may use a local currency. Anthropic’s exclude applicable tax. OpenAI’s Codex pricing page does not mention tax.

What is the difference between Codex and Claude Code?

They are the same kind of tool from two companies. OpenAI describes Codex as “OpenAI’s coding agent that helps you write, review, and ship code”. Anthropic describes Claude Code as “an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools”. The differences are in how you sign in, what it costs, how it is limited and what the commands are called. This table has each one, from the two vendors’ own pages as of 14 November 2026. It compares facts, not how well either one codes: neither vendor’s pages settle that.

WhatCodexClaude Code
Made byOpenAIAnthropic
Sign in withA ChatGPT account, or an OpenAI API key. OpenAI also documents Amazon Bedrock and an organisation gatewayA Claude account, a Claude Console account or API key, a cloud provider (Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry), or an organisation gateway
Where it runsThe Codex CLI, an IDE extension, the ChatGPT desktop app, the web (Codex Cloud) and the ChatGPT app on iOSThe terminal, VS Code and JetBrains IDEs, the Claude desktop app, the web (claude.ai/code) and the Claude app for iOS and Android
Comes withEvery ChatGPT plan, Free includedClaude’s paid plans, not Free
Lowest-priced plan with itFree, $0 a monthPro, $20 a month, or $200 for a year paid up front
ModelsOpenAI’s GPT models. The Plus plan lists GPT-6.1 Sol and GPT-6 LunaAnthropic’s Claude models: Fable, Opus, Sonnet and Haiku
Usage limitsOn Plus, a five-hour limit, and weekly limits may apply. Pro has no five-hour limit for nowOn Pro and Max, a five-hour limit and a weekly limit. On Ultra, a weekly limit only, for verified accounts
The allowance is shared withChatGPT WorkClaude on the web, desktop and mobile
See your usage/status in the Codex CLI, or the usage dashboard on the web/usage in Claude Code, or Settings, then Usage, in Claude
Past a limitCredits on Plus and Pro, or extra local chats on an API keyUsage credits on paid plans, at standard API rates
With no planAn OpenAI API key, billed per tokenA Claude Console account or API key, billed per token
Project instructions fileAGENTS.mdCLAUDE.md. By default it reads AGENTS.md when the project has no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md

The rest of this page takes those rows one at a time: where each runs, what each costs, how each is limited and how to see your usage.

Sources, read 14 November 2026: Using Codex with your ChatGPT plan, Codex pricing, Custom instructions with AGENTS.md, Claude Code overview, Claude plans and pricing, Claude Code model configuration, How Claude remembers your project.

Where does each one run?

Both reach the same five places, the phone as a remote control for work that runs elsewhere. The names differ: outside the terminal and the IDE, Codex lives inside the ChatGPT apps, and Claude Code inside the Claude apps.

WhereCodexClaude Code
TerminalThe Codex CLI, with installers for macOS, Linux and WindowsThe Claude Code CLI, on macOS 13 or later, Windows 10 1809 or later, and Ubuntu, Debian and Alpine Linux
IDEAn extension for VS Code and compatible editors. Xcode and JetBrains IDEs have their own Codex integrationsAn extension for VS Code and its forks, and a plugin for JetBrains IDEs
Desktop appCodex in the ChatGPT desktop app, for macOS, Windows and LinuxThe Code tab of the Claude desktop app, for macOS and Windows. On Ubuntu and Debian the app is in beta
WebCodex Cloud runs tasks on OpenAI-managed computers. It is for eligible Plus, Pro, Business, Enterprise, Healthcare and Education accounts, subject to rollout and workspace settings, not Free or GoClaude Code on the web, at claude.ai/code, runs cloud sessions. They are on Pro, Max, Ultra and Team plans, and for Enterprise users with premium or Chat + Claude Code seats
PhoneThe ChatGPT app for iOS: tasks in Cloud, or on a connected Mac or Windows PC. OpenAI says availability depends on rollout and your workspace settingsThe Claude app for iOS and Android: cloud sessions, or a session on your own computer through Remote Control

Install each one in a terminal

On macOS or Linux, each installs with one line, then starts with its own name in a project folder. Each vendor’s page has the Windows command and the other ways to install.

Codex CLI (macOS, Linux)
curl -fsSL https://chatgpt.com/codex/install.sh | sh
codex
Claude Code (macOS, Linux, WSL)
curl -fsSL https://claude.ai/install.sh | bash
claude

The first run asks you to sign in. Codex offers “Sign in with ChatGPT” or an API key. Claude Code opens a browser for your Claude account, and can use a Claude Console account or an API key instead. Which you pick decides how you pay, which is next.

Sources, read 14 November 2026: Codex CLI, Codex IDE extension, ChatGPT desktop app, Codex Cloud, Codex on mobile, Using Codex with your ChatGPT plan, Claude Code overview, Claude Code setup, Claude Code on the web, Claude Code on mobile.

What does each one cost?

Neither has a subscription of its own. Codex is part of a ChatGPT plan and Claude Code is part of a Claude plan, so you pay for the plan. The one difference at the bottom: Codex is in ChatGPT’s Free and Go plans, and Claude Code starts at Claude’s Pro plan. These are the US list prices on each vendor’s pricing page on 14 November 2026.

US list price a monthCodex, in a ChatGPT planClaude Code, in a Claude plan
$0Free. Codex is included: “GPT-6 Luna at Standard speed in the desktop app, subject to rollout”Free. Claude Code is not included
$8Go. The plan card has the same Codex line as FreeNo plan at this price
$20Plus. “Codex on the web, in the CLI, in the IDE extension, and on iOS”Pro. Claude Code is included. $20 billed monthly, or $17 a month with the annual discount, $200 billed up front
$100Pro, the first of three Pro plans. Everything in PlusMax. 5x Pro usage every 5 hours and every week
$200Pro, the second of threeUltra. 10x Pro usage every week, and no 5-hour limit for verified accounts
$500Pro, the third of three. It adds Ultrafast modeNo plan at this price
TeamsBusiness, from 2 users. $20 per user per month billed annually, or $25 billed monthlyTeam, for 2 to 150 people. A Standard seat is $20 per seat per month billed annually, or $25 billed monthly
Larger organisationsEnterprise and Edu, through OpenAI’s sales teamEnterprise. $20 per seat per month billed annually, with a 20 seat minimum, plus usage at API rates

The same price does not buy the same amount of work. Anthropic says there is no fixed message count and gives Max and Ultra as multiples of Pro. OpenAI’s Help Center says only that the $200 Pro plan includes more usage than the $100 one, and that the $500 one has the most. Nothing on either vendor’s pages converts one allowance into the other. Max and Ultra also include $100 and $200 a month in API credits for the Claude Platform. Anthropic says those credits do not apply to interactive Claude Code or to extra usage, and do not change your usage limits.

These are US list prices, and checkout may use a local currency: Anthropic’s Help Center says Pro is $20 a month in the US, with pricing in your local currency where supported, and OpenAI’s says it provides localized pricing. On tax, Anthropic’s pricing page says “Prices shown don’t include applicable tax”, and its Help Center says some regions include tax in the displayed price while others add it at checkout. OpenAI’s Codex pricing page does not mention tax.

With an API key instead of a plan

Both also run with no plan at all. Sign in to Codex with an OpenAI API key, or to Claude Code with a Claude Console account or an API key, and you pay for the tokens each request uses, at the vendor’s API prices per million tokens. The two price lists name different models, so no row of one matches a row of the other: read OpenAI API pricing and the API tab of Claude plans and pricing for the figures. An API key also narrows what you get on both. On Codex it means no cloud-based features such as GitHub code review or Slack, and Codex Cloud needs a ChatGPT sign-in. On Claude Code, cloud sessions and Remote Control need a Claude account, so they are not reachable with a Console API key.

What each plan’s price buys in limits is in our two usage guides: the Codex usage guide has the ChatGPT plans side by side, and the Claude usage guide has Claude’s.

Sources, read 14 November 2026: Codex pricing, About ChatGPT Pro tiers, Multi-currency billing, OpenAI API pricing, Authentication in Codex, Claude plans and pricing, What is the Pro plan?, Monthly API credits for Max, Ultra, and Team plans, Authentication in Claude Code, Claude Code on mobile.

How is each one limited?

Both work the same way: a plan gives you an allowance, not a number of messages, and windows of time cap how fast you can use it. Both vendors say how far it goes depends on the model you pick and how big the work is.

LimitCodexClaude Code
Five-hour limitPlus and Standard Business seats. Pro plans have none for nowPro and Max. Verified Ultra accounts have none
Weekly limitOpenAI says weekly limits may also applyPro, Max and Ultra. Max and Ultra also have a separate weekly limit for Fable
Shared withChatGPT Work, which uses the same limits and creditsClaude on the web, desktop and mobile: one pool

How big each allowance is, how each window resets, what counts against it and how to make it last are in the Codex usage guide and the Claude usage guide. Whichever you use, the next thing you need is where to look.

Sources, read 14 November 2026: Codex pricing, Use Claude Code with your Pro, Max, or Ultra plan, Claude plans and pricing.

How do you see your usage in each?

Each has a command in the terminal and a page on the web. The trap is that the two tools use the same command names for different things: /status is where Codex shows your limits, and /usage is where Claude Code does.

Command or pageIn CodexIn Claude Code
/statusThe session’s configuration and token usage, with your remaining limitsThe Status tab of Settings: version, model, account and connectivity
/usageYour account’s token activity, daily, weekly or cumulative, and a rate-limit reset when you have one to useSession cost, plan usage limits and activity stats
On the webThe Codex usage dashboardSettings, then Usage, in Claude
Open the full-size screenshot: Codex CLI /status: OpenAI Codex v0.167.1, a line pointing to chatgpt.com/settings/usage for rate limits and credits, and Weekly limit with a bar at 84% left, resetting 20:09 on 18 Nov
/status in the Codex CLI 0.167.1 (13 Nov 2026): the weekly limit, what is left and when it resets. The lines with the account, workspace and session are left out (the ⋯).
Open the full-size screenshot: Claude Code’s /usage screen on its Usage tab: the session’s totals at zero, then Current week (all models) with a bar at 10% used and Resets Nov 20 at 2pm
/usage in Claude Code 2.1.323 on a verified Ultra account (13 Nov 2026): the week across all models and when it resets. This account had no five-hour limit, so only the week shows.

In these two pictures Codex shows what is left and Claude Code shows what is used, so read the label before the number. Every other way to check is in the Codex usage guide and the Claude usage guide, and the scripts for Claude Code’s status line are in our Claude Code status line guide.

Sources, read 14 November 2026: Slash commands in Codex CLI, Codex pricing, Claude Code commands, Claude plans and pricing.

Questions people ask

Is Codex or Claude Code free?

Codex is included in ChatGPT’s Free plan, at $0, where OpenAI lists GPT-6 Luna at Standard speed in the desktop app, subject to rollout. Claude Code is not in Claude’s Free plan: Anthropic says it is included in all paid plans, which start with Pro at $20 a month.

Which costs less, Codex or Claude Code?

The lowest listed prices are $0 for Codex and $20 a month for Claude Code, and they do not buy the same thing. ChatGPT’s Free plan, and Go at $8, list Codex with GPT-6 Luna in the desktop app, subject to rollout. Claude’s Pro plan, $20 a month or $200 for a year, is the first with Claude Code. ChatGPT Plus is also $20, and both vendors have plans at $100 and $200 a month. Neither vendor’s pages say how much work one price buys against the other.

Can Codex and Claude Code share one instructions file?

Yes, by default, on three conditions. Codex reads AGENTS.md files before it starts work. Claude Code reads CLAUDE.md, and by default it reads AGENTS.md only when there is no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in your working directory or above it. Anthropic says that needs Claude Code 2.1.277 or later with its built-in plugin that reads AGENTS.md left on, and that otherwise a CLAUDE.md can import AGENTS.md instead.

Do Codex and Claude Code both work on Windows?

Yes. OpenAI has a standalone Codex CLI installer for Windows and a ChatGPT desktop app for Windows. Claude Code runs on Windows 10 1809 or later, natively or in WSL, and the Claude desktop app has Windows builds.

Can I use either one without a subscription?

Yes, with an API key. Codex signed in with an OpenAI API key is billed at API rates, without the cloud-based features. Claude Code signed in with a Claude Console account or an API key is billed for the tokens it uses. Some teams also reach Claude Code through Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry, and OpenAI documents Codex with Amazon Bedrock.

Sources, read 14 November 2026: Codex pricing, Custom instructions with AGENTS.md, Codex CLI, Authentication in Codex, Claude plans and pricing, How Claude remembers your project, Claude Code setup, Authentication in Claude Code.