Skip to content

AI tool reviews, comparisons and pricing.

Claude Code vs Codex 2026: Which One Fits How Your Team Codes?

Claude Code vs Codex 2026: Which One Fits How Your Team Codes?

Claude Code and Codex cost the same billed monthly at $20, $100 and $200 and per team seat, but only Codex can be tried below $20, through ChatGPT Free or the $8 Go plan. Codex suits ChatGPT subscribers and buyers who want a free start, GitHub review on the $20 plan or an open-source CLI; Claude Code suits Claude subscribers and buyers who want yearly billing at $17 a month, a JetBrains plugin made by the vendor or a published Enterprise price.

Both vendors now meter chat and coding from one allowance. Claude chat and Claude Code already draw from the same pool, and OpenAI's help centre says Plus, Pro and Business usage "will be shared across ChatGPT and Codex" starting in December 2026, measured in tokens.

If you already pay for one of them:

  • ChatGPT Plus ($20 a month, monthly only), Pro or Business: Codex is included, so there is nothing extra to buy.
  • Claude Pro ($20 billed monthly, $17 a month billed yearly), Max, Ultra or Team: Claude Code is included and uses the same allowance as Claude chat.
  • Neither, and you want to try before paying: Codex on ChatGPT Free or Go ($8 a month), limited to GPT-6 Luna in the desktop app and subject to rollout. Claude Code has no free access.
  • Seats for 5 to 10 developers: list prices match ($25 a seat billed monthly, $20 billed yearly), so compare data terms, admin controls and pull request review.

Plans, limits and data terms come from Anthropic's and OpenAI's own pages, read on 24 November 2026, and costs are arithmetic on those list prices. No paid account or hands-on test was used, and IndiBlogHub has no affiliate link to either vendor.

How do Claude Code and Codex compare side by side?

Both are coding agents bundled into a chat subscription, Claude plans for Claude Code and ChatGPT plans for Codex, and both run in the terminal, in IDEs, in a desktop app, in the vendor's cloud and on mobile. They differ in entry access, the models they run, the CLI licence and how each vendor describes its usage limits.

Checked November 2026

Claude Code and Codex side by side, prices in US dollars. Sources: Claude pricing, Codex pricing, Claude Code model configuration, Codex models, Claude Code memory docs, OpenAI shared usage limits, Claude Code repository, Codex repository. Checked November 2026
Item Claude Code Codex
Comes with Claude plans: Pro, Max, Ultra, Team, Enterprise ChatGPT plans: Plus, Pro, Business, Enterprise, Edu; limited on Free and Go
Free access No: not on Claude Free Limited, on Free and Go: GPT-6 Luna in the desktop app, subject to rollout
Cheapest plan with the agent Pro: $20 a month billed monthly, $17 a month billed yearly Go: $8 a month, limited; Plus: $20 a month, monthly only
Top individual plan Ultra: $200 a month, monthly only Pro 500: $500 a month, monthly only
Team seat, USD a month Standard $25 billed monthly, $20 billed yearly; Premium $125 or $100 Standard $25 billed monthly, $20 billed yearly; Premium $125 or $100
Model the vendor sets or recommends Opus 5.5, the default on every paid plan GPT-6.2 Sol, recommended for everyday coding; CLI default not stated on the pages read
How usage limits are published Multipliers between plans; "there's no fixed message count" Estimated message ranges per model for Plus and Business Standard; "not fixed message limits"
Usage shared with chat Yes: one pool with Claude chat, now With ChatGPT Work now; with all of ChatGPT starting in December 2026
Project instruction file CLAUDE.md; also reads AGENTS.md AGENTS.md
CLI licence Proprietary: "All rights reserved" Open source, Apache-2.0 (CLI only)
Managed GitHub PR review from Team plan (Code Review); GitHub Actions route with a plan token or API key Plus plan (GitHub code review and automatic reviews); Codex GitHub Action also offered

What does only one of them offer?

Only Claude Code has:

  • A JetBrains plugin made by its vendor, still in beta; Codex reaches JetBrains IDEs through JetBrains' own AI Assistant.
  • Support for both CLAUDE.md and AGENTS.md instruction files.
  • A published Enterprise price: $20 a seat a month billed yearly, plus usage at API rates, with a 20-seat minimum.
  • Yearly billing on the $20 plan: Pro at $17 a month, $200 billed up front; ChatGPT Plus is monthly only.

Only Codex has:

  • Limited access on ChatGPT Free and Go ($8 a month).
  • An open-source CLI under the Apache-2.0 licence.
  • A $500 tier, Pro 500, with Ultrafast speeds.
  • GitHub pull request review from the $20 Plus plan; Claude's managed Code Review starts at Team.
  • Published per-model message estimates for Plus and Business Standard.
  • No five-hour limit from the $100 tier, currently; Claude Max at $100 keeps one.

Neither list measures quality, and the Codex list runs longer mostly because ChatGPT sells more plan tiers.

Which one fits how you work?

For most single developers the deciding question is which subscription you already pay for, because each agent shares its allowance with that vendor's chat app. After that, the entry price, the five-hour window at $100, pull request review on cheaper plans, your IDE and the CLI licence decide it.

Which agent fits which way of working, and the published fact that settles each row; US dollars. Sources: Claude pricing, Codex pricing, Claude usage limits, OpenAI shared usage limits, Claude Code docs, OpenAI business data. Checked November 2026
Your work style Claude Code Codex What decides it
Want to try before paying No free access; Pro from $17 a month billed yearly Free ($0) or Go ($8 a month): limited, GPT-6 Luna, desktop app, subject to rollout Entry access
Already pay for Claude or ChatGPT Included in Pro, Max, Ultra, Team, Enterprise; one pool with Claude chat Included in Plus, Pro, Business, Enterprise, Edu; shared with ChatGPT Work now, with all of ChatGPT starting in December 2026 The subscription you already have
Pairing with the agent most of the day, at $100 a month Max: five-hour and weekly limits Pro 100: "currently no five-hour limit"; "Weekly limits may also apply" The five-hour window
Working in JetBrains IDEs Claude Code [Beta] plugin, made by Anthropic Codex agent inside JetBrains AI Assistant, made by JetBrains Who makes the plugin
Handing tasks to the cloud and checking from a phone Claude Code on the web, Pro and up; iOS and Android apps; counts toward plan limits Codex Cloud, Plus and up; iOS app; cloud tasks "may use more of your allowance than local messages" Plan needed for cloud tasks
Pull request review on GitHub Code Review on Team and Enterprise, or GitHub Actions GitHub code review and automatic reviews from Plus Plan that includes managed review
Scripts and CI pipelines claude -p and the Agent SDK; GitHub Actions codex exec; Codex GitHub Action Both offer it
Need to read or audit the CLI source Proprietary Apache-2.0 CLI licence
Regulated or sensitive data Enterprise: zero data retention for qualified accounts; API: US-only inference at 1.1x the price API platform: zero data retention option; Enterprise, Edu and API: data at rest in 10 regions Data terms by plan, in the privacy table

Many comparison pages call Claude Code the better fit for steered, multi-file work and Codex the better fit for delegated tasks. That view comes from the reviewers' own use; neither vendor measures it.

Running both at the entry tier costs $40 a month (Claude Pro $20 plus ChatGPT Plus $20, both billed monthly; calculated).

Claude Code vs Codex pricing: what each plan costs

Both ladders run $20, $100 and $200 a month. Claude adds yearly billing on Pro ($17 a month, $200 billed up front), while ChatGPT adds Free and Go access below $20 and a $500 Pro tier above; Max, Ultra and all three ChatGPT Pro tiers are billed monthly only.

Checked November 2026

Neither agent is sold on its own, and Anthropic notes that its prices exclude tax and may change. Two plan names on many older pages are out of date: Claude's $200 plan is Ultra, not "Max 20x", and ChatGPT Pro is now Pro 100, Pro 200 and Pro 500.

Individual plans in US dollars, before tax; the coding agent is not sold on its own on either side, and each plan's limits are in the limits table. Sources: Claude pricing, Codex pricing, OpenAI Pro tiers, ChatGPT Business FAQ. Checked November 2026
Price billed monthly (USD a month) Claude plan, includes Claude Code Claude, billed yearly ChatGPT plan, includes Codex ChatGPT, billed yearly
$0 Free: Claude Code not included Not applicable Free: limited Codex Not applicable
$8 No plan at this price No plan at this price Go: limited Codex; "may include ads" Not offered (monthly only)
$20 Pro $17 a month ($200 billed up front) Plus Not offered (monthly only)
$100 Max: 5x Pro usage Not offered (monthly only) Pro 100: no five-hour limit, currently Not offered (monthly only)
$200 Ultra: 10x Pro weekly usage; no five-hour limit for verified accounts Not offered (monthly only) Pro 200: more usage than Pro 100; no five-hour limit, currently Not offered (monthly only)
$500 No plan at this price No plan at this price Pro 500: highest Pro allowance; Ultrafast Not offered (monthly only)

Is there a free version of Claude Code or Codex?

Codex has a limited free version and Claude Code has none. On ChatGPT Free and Go, OpenAI lists "GPT-6 Luna at Standard speed in the desktop app, subject to rollout", without Codex Cloud, and notes that Go "may include ads". Anthropic's plan table marks Claude Code "No" on Claude Free, so the cheapest way in is Pro at $20 billed monthly or $17 a month billed yearly, or pay-as-you-go use through a Claude Console API key.

Claude Max and Ultra vs ChatGPT Pro: what do the $100 and $200 plans add?

At these prices the plans differ mainly in the five-hour window, and neither vendor puts a number on the allowance. At $100, Claude Max keeps a five-hour window and ChatGPT Pro 100 "currently" has none; at $200, both Claude Ultra (for verified accounts) and ChatGPT Pro 200 drop it, and Pro 200 is open to new subscribers again.

  • Top model: on Max and Ultra, Fable can use up to 50% of the weekly limit and has its own weekly limit; on ChatGPT, Ultrafast speeds and Pro-only models depend on the tier, and Pro 500 adds GPT-6 Astra and GPT-6.1 Sol at Ultrafast speed.
  • Monthly API credits: Max includes $100 and Ultra $200, which "can't be used in Claude Code"; Pro 100, Pro 200 and Pro 500 include $100, $200 and $500, which do not cover "Codex usage through API keys" or raise limits.

On 29 October 2026 OpenAI doubled the Work and Codex allowance of Pro 100 and Pro 500; Plus stayed the same.

How much do Claude Code and Codex cost for a team?

Seat for seat, Claude Team and ChatGPT Business cost the same: a Standard seat is $25 a month billed monthly or $20 billed yearly, a Premium seat $125 or $100, and on both a Premium seat gets 5x the usage of a Standard seat. ChatGPT's Premium seat also "removes the five-hour usage limit".

Checked November 2026

Team seats and terms in US dollars. Claude Team includes Claude Code; ChatGPT Business includes Codex. Sources: Claude pricing, ChatGPT Business FAQ, OpenAI Premium seats, Codex pricing, OpenAI API credits. Checked November 2026
Item Claude Team ChatGPT Business
Standard seat, USD a month $25 billed monthly, $20 billed yearly $25 billed monthly, $20 billed yearly
Premium seat, USD a month $125 billed monthly, $100 billed yearly $125 billed monthly, $100 billed yearly
Standard seat usage "more usage than Pro" Same per-model estimates as Plus
Premium seat usage "5x more usage than standard seats"; per-seat five-hour and weekly windows "5x more usage than Standard seats and removes the five-hour usage limit"
Team size "For teams of 2 to 150" 1 to 200 paid seats per the Business FAQ; the pricing card says teams of 2 to 200; the Codex pricing footnote says "2+ users, billed annually"
Mixing seat types Yes: "Mix and match seat types" Yes: Standard and Premium seats in one workspace
Top model on seats Fable on premium seats only, up to 50% of weekly limits GPT-6.2 models on both seats; Ultrafast only on eligible Pro, Enterprise and Edu plans
Monthly API credits, not usable for the coding agent "up to $500 per month in pooled API credits"; "can't be used in Claude Code" $20 per Standard seat plus $100 per Premium seat, pooled, capped at $500 a month; "does not cover Codex usage through API keys"
Enterprise price $20 a seat a month billed yearly, plus usage at API rates; 20-seat minimum Contact sales; price not published

Since 24 June 2026, new self-serve Business workspaces cannot add the legacy Codex-only seat, because Standard and Premium seats already include Codex; older pages pricing "Codex seats" describe that retired option. The pooled API credits on both sides do not pay for the coding agent, so they are left out of the totals below.

What seats cost for 1, 5 and 10 developers, in US dollars at list price, before tax, promotions and API credits, with usage inside the included allowance. Rows marked "calculated" are IndiBlogHub's arithmetic on the seat prices. Sources: Claude pricing, ChatGPT Business FAQ, OpenAI Pro tiers. Checked November 2026
Buyer Claude, billed yearly (USD a month, a year) Claude, billed monthly (USD a month) ChatGPT, billed yearly (USD a month, a year) ChatGPT, billed monthly (USD a month)
1 developer, limited access below $20 Not available Not available Go: not offered (monthly only) Free $0 or Go $8, limited
1 developer, entry plan Pro: $17 ($200 a year) Pro: $20 Plus: not offered (monthly only) Plus: $20
1 developer on a team plan Not offered: Team starts at 2 seats Not offered: Team starts at 2 seats 1 Standard seat, per the Business FAQ: $20 ($240 a year) 1 Standard seat, per the Business FAQ: $25
1 heavy developer Max or Ultra: not offered (monthly only) Max $100 or Ultra $200 Pro tiers: not offered (monthly only) Pro 100 $100, Pro 200 $200 or Pro 500 $500
5 Standard seats (calculated) $100 ($1,200 a year) $125 $100 ($1,200 a year) $125
5 seats: 4 Standard and 1 Premium (calculated) $180 ($2,160 a year) $225 $180 ($2,160 a year) $225
5 Premium seats (calculated) $500 ($6,000 a year) $625 $500 ($6,000 a year) $625
10 Standard seats (calculated) $200 ($2,400 a year) $250 $200 ($2,400 a year) $250
10 seats: 8 Standard and 2 Premium (calculated) $360 ($4,320 a year) $450 $360 ($4,320 a year) $450
10 Premium seats (calculated) $1,000 ($12,000 a year) $1,250 $1,000 ($12,000 a year) $1,250
Smallest Enterprise plan (calculated) 20-seat minimum: $400 ($4,800 a year), plus usage at API rates Not offered (yearly only) Contact sales; price not published Contact sales; price not published

What does Enterprise cost on each side?

Claude Enterprise has a public price and ChatGPT Enterprise does not. Claude Enterprise costs $20 a seat a month billed yearly with a 20-seat minimum: at least $400 a month or $4,800 a year (calculated), plus usage at API rates, even for a 10-person team. Anthropic's docs put average Claude Code spend across enterprise deployments at about $150 to $250 per developer per month, and below $30 per active day for 90% of users. Anthropic adds: "We don't publish discount rates".

ChatGPT Enterprise is sold through sales. With flexible pricing there are "no fixed rate limits. Usage scales with credits"; without it, seats get the same limits as Plus for most features. OpenAI publishes no comparable per-developer estimate on the pages read.

Claude Code vs Codex usage limits: what each vendor publishes

Both meter usage in a five-hour window plus a weekly limit, shared with the vendor's chat app. OpenAI publishes estimated message ranges per model for Plus and Business Standard, Anthropic publishes multipliers between plans and says "there's no fixed message count", and neither gives numbers for its plans at $100 and above.

Checked November 2026

How each vendor describes the usage limits of its plans, in its own words. Neither vendor publishes message numbers for its $100 and higher plans. Sources: Claude usage limits, Claude pricing, Claude Code costs, Codex pricing, OpenAI shared usage limits, ChatGPT Business FAQ. Checked November 2026
Plan level Claude (Anthropic's wording) ChatGPT (OpenAI's wording)
Windows "a session limit that resets every five hours, and weekly limits that reset once every week" Estimates per five-hour period; "Weekly limits may also apply"
Free tier (ChatGPT: Free and Go) Claude Code not included "Limited Codex access"
$20 plan Pro: "at least 5x more usage per 5-hour session than Free" Plus: per-model estimates per five hours, in the next table
$100 plan Max: "5x Pro usage every 5 hours and every week" Pro 100: "currently no five-hour limit"
$200 plan Ultra: "10x Pro usage every week"; verified accounts have no five-hour session limit Pro 200: more than Pro 100; "currently no five-hour limit"
$500 plan No plan at this price Pro 500: highest Pro allowance; "currently no five-hour limit"
Team Standard seat "more usage than Pro" Same per-model estimates as Plus
Team Premium seat "5x more usage than standard seats" "5x more usage than Standard seats and removes the five-hour usage limit"
Message numbers published None: "there's no fixed message count" Estimates for Plus and Business Standard only: "not fixed message limits"
Shared with chat "all draws from the same pool" (web, desktop, mobile and Claude Code) Shared with ChatGPT Work now; with all of ChatGPT "Starting in December", measured in tokens
Where to check your usage Settings, then Usage; /usage in Claude Code Codex usage dashboard; /status in the CLI

Anthropic's five-hour window starts with your first message, and the weekly reset falls at a fixed time assigned to your account. Conversation length and complexity, the features used, the model and the effort level all affect how fast the allowance goes, and Anthropic "may adjust usage limits at our discretion". OpenAI labels its ranges "not fixed message limits", warns that "Cloud tasks may use more of your allowance than local messages", and counts Code Review run through GitHub separately.

OpenAI's published Codex estimates: local messages per five-hour period, the same for Plus and Business Standard seats. OpenAI's caveat: "These estimates are not fixed message limits." Anthropic publishes no equivalent message counts for any Claude plan. Source: Codex pricing. Checked November 2026
Model Local messages per five hours, Plus and Business Standard (OpenAI estimate)
GPT-6.2 Astra 6 to 50
GPT-6.2 Sol 17 to 180
GPT-6 Astra 5 to 45
GPT-6.1 Sol 15 to 160
GPT-6.1 Terra 35 to 285
GPT-6 Sol 15 to 150
GPT-6 Luna 350 to 3,000

Will ChatGPT and Codex share one usage limit?

Yes. OpenAI's help article "Understanding ChatGPT and Codex usage limits" says that starting in December 2026, Plus, Pro and Business usage "will be shared across ChatGPT and Codex", measured in tokens, and that "Instant chat will not draw from your usage". OpenAI expects most users won't wait for resets more often than they do now, and gives no exact start day. ChatGPT Work and Codex already share limits.

Anthropic already works this way: Claude on the web, desktop, mobile and Claude Code "all draws from the same pool", IDE use included. The Hacker News thread on OpenAI's change reached 236 points and 175 comments, and GitHub issue #58530, asking OpenAI to keep separate allowances on Plus, has 78 reactions.

What happens when you hit the limit?

With either tool you can wait for the reset, buy pay-as-you-go usage at API-linked rates, upgrade, or switch the agent to an API key, and both let a running task carry on briefly.

What you can do when you reach the limit, in US dollars. Sources: Claude Help Center usage credits article, Claude Code costs, Claude Code fast mode, Claude usage limits, Claude pricing, Codex pricing, OpenAI Help Center credits article, OpenAI API pricing. Checked November 2026
Option Claude Code Codex
Buy more usage on your plan Usage credits on Pro, Max, Ultra, Team and seat-based Enterprise; after any 5-hour, weekly or Fable limit, requests "switch to pay-as-you-go pricing" at standard API rates Credits on Plus and Pro; workspace credits on Business, Enterprise and Edu with flexible pricing; credit rates published per model
Spend controls Monthly spend cap; auto-reload Auto-reload with a maximum monthly spend
Credit expiry and refunds Credits bought on or after 7 Dec 2026 expire after 12 months; non-refundable, with exceptions Credits expire 12 months from purchase; non-refundable, with exceptions
Upgrade path Pro to Max to Ultra; Team Standard to Premium seat Plus to Pro 100, Pro 200 or Pro 500; Business Standard to Premium seat
Use an API key instead Claude Console pay-as-you-go; an ANTHROPIC_API_KEY variable makes Claude Code bill the API instead of the plan Local use at standard API rates; CLI, SDK and IDE extension only, with "No cloud-based features (GitHub code review, Slack, etc.)"
Faster mode Fast mode for Opus 5.5 and Fable 5.2, "up to 2.5x faster at a higher cost per token"; on plans, usage credits only Fast uses included usage at 2x to 2.5x; Ultrafast at 6x to 8x on eligible Pro, Enterprise and Edu plans
Top model access Fable: Pro through usage credits only; Max and Ultra up to 50% of weekly limits; Team on premium seats Ultrafast speeds by plan; GPT-5.6 Sol Pro on Pro plans only
Limit reached during a task Claude Code "may keep working briefly": Pro once per weekly period, Max at each 5-hour limit; rolling out The agent "will be able to continue working on that turn, subject to fair use limits"
API list price, USD per million tokens (input / output) Opus 5.5 $4 / $20; Sonnet 5.5 $2 / $10; Fable 5.2 $8 / $40 GPT-6.2 Sol $2 / $10; GPT-6.2 Astra $8 / $40

Which models do Claude Code and Codex use?

Claude Code runs only Anthropic's Claude models and defaults to Opus 5.5 on every paid plan, from Claude Code v2.1.280. Codex runs OpenAI's GPT-6 family: OpenAI recommends GPT-6.2 Sol for everyday coding and GPT-6.2 Astra for demanding work, with GPT-6 Luna on Free and Go.

Checked November 2026

Models each agent can use, by plan level. Sources: Claude pricing, Claude Code model configuration, Codex pricing, Codex models, OpenAI Pro tiers. Checked November 2026
Plan level Claude Code Codex
Free (ChatGPT: Free and Go) No Claude Code GPT-6 Luna at Standard speed, desktop app, subject to rollout
$20 plan (Pro, Plus) Opus, Sonnet, Haiku; Fable through usage credits only GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna
$100 to $500 plans Max and Ultra: Opus, Sonnet, Haiku; Fable up to 50% of weekly limits, with its own weekly limit Pro 100, 200 and 500: same models as Plus; Ultrafast for GPT-6.2 Sol on Pro 200; Pro 500 adds GPT-6 Astra and GPT-6.1 Sol Ultrafast
Team plan (Team, Business) Opus, Sonnet, Haiku; Fable on premium seats only, up to 50% of weekly limits Same models as Plus; no Ultrafast
Enterprise Opus, Sonnet, Haiku and Fable GPT-6.2 models off by default in Enterprise and Edu until an admin enables them
Default in the agent Opus 5.5 on all paid plans (Claude Code v2.1.280 and later); no Fable model is a default Not stated on the pages read; OpenAI recommends GPT-6.2 Sol for everyday coding and GPT-6.2 Astra for demanding work

Do benchmarks show which is better or uses fewer tokens?

Not on score, but the token counts differ widely. On Terminal-Bench 4.1, an independent leaderboard read on 24 November 2026, Claude Code with Opus 5.5 (max) scores 65.8% (±3.1) and Codex with GPT-6.2 Astra (max) 62.1% (±2.3). The ranges overlap, so the board does not separate them, and the top entry is neither tool: GitHub Copilot's "Copilot Fusion (max)" at 71.2%. For the same task set, each Codex run used about 1.1 billion tokens against 8.0 billion for Claude Code with Opus 5.5.

Terminal-Bench 4.1, an independent benchmark, read on 24 Nov 2026. The score ranges overlap, so the board does not separate the two agents; rank 1 is neither (GitHub Copilot "Copilot Fusion (max)", 71.2%). Tokens and cost are the board's figures for its full API-billed run, not subscription costs. Ranges are IndiBlogHub's arithmetic from the published margins. Source: Terminal-Bench leaderboard. Checked November 2026
Agent and model Score (%, ± margin) Score range (%, calculated) Tokens for the run (billions) Cost for the run (USD)
Claude Code with Opus 5.5 (max) 65.8 ± 3.1 62.7 to 68.9 8.0 About $4,700
Claude Code with Fable 5.2 (max) 65.8 ± 2.8 63.0 to 68.6 15.7 About $16,500
Codex with GPT-6.2 Astra (max) 62.1 ± 2.3 59.8 to 64.4 1.1 About $1,400
Codex with GPT-6.2 Sol (max) 61.5 ± 2.8 58.7 to 64.3 1.1 About $300

Codex with GPT-6.2 Sol reached 61.5% for about $300 of API spend. These are API-billed runs on one task set, not subscription costs, and they are the only dated, original source found on how many tokens each agent uses.

Does Claude Code or Codex work in VS Code, JetBrains and the cloud?

Both run in the terminal, VS Code and its forks, a desktop app, the vendor's cloud and on mobile, and both review GitHub pull requests. The gaps are JetBrains, where only Claude Code has a plugin made by its vendor, and which plans include managed pull request review.

Checked November 2026

Where each agent runs and which plans include each surface. Sources: Claude Code docs, Claude pricing, Codex pricing, JetBrains Marketplace, Codex repository. Checked November 2026
Surface Claude Code Codex
Terminal CLI Yes: Claude Code CLI Yes: Codex CLI
VS Code and forks Extension anthropic.claude-code; runs in VS Code, Cursor and other forks Extension openai.chatgpt; runs in VS Code, Cursor and Windsurf
JetBrains IDEs Claude Code [Beta] plugin, made by Anthropic Codex agent inside JetBrains AI Assistant, made by JetBrains; no OpenAI plugin
Desktop app Code tab in the Claude desktop app: macOS, Windows, Linux (beta) Codex in the ChatGPT desktop app, including Windows and Linux apps
Web and cloud Claude Code on the web, Anthropic-managed VMs, keeps running after you disconnect; Pro, Max, Ultra, Team, and Enterprise premium or Chat + Claude Code seats; counts toward plan limits Codex Cloud on "OpenAI-managed computers"; Plus, Pro, Business and Enterprise; not on Free, Go or an API key
Mobile Claude iOS and Android apps: start and monitor cloud sessions, Remote Control ChatGPT iOS app: start, guide and approve tasks in the cloud or on a connected Mac or Windows PC; Android not stated on the pages read
GitHub PR review Code Review on Team and Enterprise, billed through usage credits; GitHub Actions with a plan token or API key GitHub code review and automatic reviews on Plus, Pro, Business and Enterprise; not with an API key
Slack Pro, Max and Ultra; Claude Tag on Team and Enterprise Plus, Pro, Business and Enterprise; not with an API key
Scripts and CI claude -p and the Agent SDK (CLI only); GitHub Actions codex exec; Codex GitHub Action
MCP, skills, plugins, subagents Yes Yes, on all paid plans and with an API key
Sandbox and permissions Runs locally with permission prompts; cloud sessions in isolated VMs "Sandboxing and permission controls" on all plans; cloud tasks in OpenAI-managed environments

Does Claude Code read AGENTS.md?

Yes. Codex works from AGENTS.md, and Claude Code, while keeping CLAUDE.md as its own format, "can also read a repository's AGENTS.md files in place of CLAUDE.md", per Anthropic's docs. A team that already keeps AGENTS.md for Codex needs no second instruction file, so older comparisons saying neither tool reads the other's file are out of date.

Does Claude Code or Codex train on your code?

On business plans neither trains on your code by default: that covers Claude Team, Enterprise and the API, and ChatGPT Business, Enterprise, Edu and the API. On personal plans both can, and both give you a setting. OpenAI says data sharing "is enabled by default" on Free, Plus and Pro, and Anthropic's pricing table lists model training as "Opt-out" on Free, Pro, Max and Ultra.

Checked November 2026

Data, training and admin terms by plan, in each vendor's own wording. Security certifications and health data terms are left out because they were checked for one vendor only. Sources: Claude Code data usage, Anthropic privacy centre, Claude pricing, OpenAI data controls, OpenAI Codex and ChatGPT data, OpenAI business data. Checked November 2026
Question Anthropic (Claude Code) OpenAI (Codex)
Training on personal plans Free, Pro, Max, Ultra: "We give you the choice", including Claude Code use; pricing table: "Model training: Opt-out" Free, Plus, Pro: "data sharing is enabled by default"; Codex follows the "Improve the model for everyone" setting
Training on business plans Not by default: no training on "code or prompts sent to Claude Code under commercial terms" (Team, Enterprise, API) Not by default: no training on data from Business, Enterprise, Edu or the API platform
Retention Personal: 5 years if training is allowed, 30 days if not. Commercial: 30 days standard; zero data retention for qualified Enterprise accounts. Local session transcripts: 30 days on your computer, adjustable Personal: not stated on the pages read. Business: retention controls for qualifying organizations; zero data retention option on the API platform
Data sent and terms that apply "all user prompts and model outputs"; telemetry "never include your code, prompts, or file paths" and can be turned off; /feedback sends the conversation, kept 5 years ChatGPT Terms of Use and Privacy Policy, or the online services agreement, "apply to data shared between Codex and ChatGPT"
Encryption TLS 1.2+ in transit; AES-256 at rest (API) TLS 1.2+ in transit; AES-256 at rest
Admin on the team plan Team: SSO, domain verification, central billing Business: SAML SSO, MFA
Admin on Enterprise SCIM, audit logs, Compliance API, custom retention, IP allowlisting SCIM, audit logs, Compliance API, retention controls, EKM, RBAC
Data residency US-only inference on the API, at 1.1x the price Data at rest in 10 regions for eligible Enterprise, Edu and API customers; in-region inference in the US or Europe

Older comparisons that say Claude Code sends the conversation but "not your actual files" understate it. Anthropic's docs say Claude Code sends "all user prompts and model outputs" over the network, encrypted in transit, and Claude Code on the web, like Codex Cloud, runs tasks on the vendor's own machines.

What do developers say about Claude Code and Codex?

Both tools score 4.7 on G2 and share the same top complaint, usage limits, while their VS Code extension ratings differ the most.

Claude Code

Codex

Ratings as shown on each site, checked November 2026. Click a source to read the reviews.

Checked November 2026

On G2 both tools score 4.7 out of 5 (Claude Code from 485 reviews, Codex from 21); in the VS Code Marketplace the Claude Code extension averages 3.7 from 864 ratings and the Codex extension 2.6 from 957, and Claude Code's JetBrains plugin averages 2.3 from 489 (checked November 2026).

The Product Hunt 5.0 scores come mostly from maker reviews (890 of 900 for Claude Code, 130 of 132 for Codex), and the equal G2 score rests on 23 times more Claude Code reviews, so the VS Code Marketplace is the largest like-for-like sample.

Usage limits are the most common complaint for both. A Claude Code user reported "my Opus 5.5 usage limits have been draining 5x faster since last week" (FixFips, GitHub, October 2026), and another called them "the weak spot" (Asad M., Product Hunt, around July 2026). On Codex: "One of the aspects I like least about Codex is its usage limits" (Justin M., G2, November 2026), and a Plus user found "A 20-minute window is simply too short to accomplish meaningful work." (imtiyazali73, GitHub, September 2026). Paying for both means "two tools, two sets of 5-hour and weekly windows" (Yozhef Hisem, Product Hunt, November 2026).

OpenAI's December change split opinion on Hacker News. One ChatGPT subscriber is "Much more willing to change providers now." (sjs382, Hacker News, November 2026), while a Claude user, already on one pool, wrote "It kills me to run out of claude code usage" because chat gets cut off too (furyofantares, Hacker News, November 2026).

One Product Hunt reviewer praised both: "Claude Code feels like having a senior dev sitting next to you" (Naumaan Zahid, Product Hunt, around March 2026), and of Codex, "It actually reads your codebase before doing anything." (Product Hunt, around April 2026).

Long sessions draw complaints on both. On G2, Claude Code reviewers mention lost context and guesswork: "It suffers from context amnesia during long sessions." (Enterprise reviewer, G2, November 2026) and "It sometimes acts on assumptions instead of checking the environment first." (Sebastian S., G2, November 2026). For Codex, Product Hunt's own review summary notes "some context or memory strain in long sessions" too (November 2026).

Extension stability is the sore point in IDE marketplaces. For Codex, "recurringly, the extension does not even start." (Mikael Öhman, VS Code Marketplace, November 2026), and it "doesn't work in ssh remote sessions." (Torben Oeldemann, VS Code Marketplace, November 2026). For Claude Code's JetBrains plugin: "It's a joke compared to the functionality offered in VSCode and Cursor" (Dimitris Halatsis, JetBrains Marketplace, November 2026).

Each repository also has one widely backed incident report filed by a user. On Claude Code, issue #107757 reports that the tool put the user's email address in the User-Agent header of web requests; it has 1,120 reactions and is open. On Codex, issue #59060, from a Business plan user, is titled "Told to reboot a server, it destroyed systemd, destroyed containers" and has 3,491 reactions; it is closed.

Can you use Claude Code and Codex together?

Yes, side by side in the same repository, though neither runs inside the other. Both read AGENTS.md, so one instruction file serves both agents, and both CLIs can be scripted with claude -p and codex exec. You pay for two entry subscriptions and watch two separate allowances.

More questions about Claude Code and Codex

Is Codex better than Claude Code?

No vendor-neutral measure shows either one ahead. On Terminal-Bench 4.1 the score ranges for Claude Code with Opus 5.5 and Codex with GPT-6.2 Astra overlap, and the top entry belongs to neither. Choose by the subscription you already pay for, the IDE you work in and the data terms your team needs.

Is Codex cheaper than Claude Code?

At $20, $100 and $200 a month and per team seat, list prices are the same. Codex is cheaper only at the bottom, with limited access on ChatGPT Free and the $8 Go plan. Claude is cheaper on yearly billing at the entry tier: Pro costs $17 a month billed yearly, and Plus has no yearly option.

Which has better usage limits, Claude Code or Codex?

Neither vendor publishes numbers that allow a direct comparison: OpenAI gives estimated message ranges only for Plus and Business Standard, and Anthropic gives multipliers between plans. From $100 up, ChatGPT Pro 100, Pro 200 and Pro 500 currently have no five-hour limit, nor does Claude Ultra for verified accounts, while Claude Max keeps one. Weekly limits apply, or may apply, on all of them.

Is Codex open source?

Partly. The Codex CLI is open source under the Apache-2.0 licence (21,622 forks on GitHub), but the IDE extension and Codex cloud are not, and the repository does not accept outside code contributions. Claude Code is proprietary: its repository licence reads "All rights reserved" under Anthropic's Commercial Terms.

Can I use Claude Code or Codex with an API key instead of a plan?

Yes, both work with an API key at list prices per million tokens: Opus 5.5 $4 input and $20 output, Sonnet 5.5 $2 and $10, Haiku 5.5 $0.10 and $0.50, Fable 5.2 $8 and $40; GPT-6.2 Sol $2 and $10, GPT-6.2 Astra $8 and $40. Codex with an API key loses its cloud features.

There is no full count, only proxies. The Claude Code VS Code extension has 30.9 million installs against 17.1 million for the Codex extension, and the Claude Code GitHub repository has 156,863 stars against 136,281. These count the extension and the repository, not all users, and leave out Codex used inside the ChatGPT apps.

Verdict: Claude Code or Codex?

At list price neither is cheaper for a team, and the one independent benchmark found does not separate them beyond its margin of error. Codex fits buyers already on ChatGPT and is the easier start, with Free and $8 access, an open-source CLI, pull request review on the $20 Plus plan and published usage estimates. Claude Code fits buyers already on Claude and those who want yearly billing on the $20 plan, a JetBrains plugin made by the vendor or a public Enterprise price. Teams should decide on data terms and admin controls, then try both on their own repository at $20 each.

  • Claude Code is not for you if you need a free start, an open-source CLI or managed pull request review below a Team plan.
  • Codex is not for you if you work mainly in JetBrains and want a plugin made by the vendor, or need a published Enterprise price before talking to sales.

If the job is connecting business apps rather than writing code, neither is the right buy; that is workflow automation, compared in n8n vs Zapier. If nobody on the team writes code and you want an app built from prompts, see Lovable vs Base44.

Where every figure on this page comes from

Vendor pages, read on 24 November 2026:

Reviews and forums:

Compiled by Rahul Gupta, Editor, IndiBlogHub. Prices are list prices from the vendors' official pages on the date above, and figures marked "calculated" are IndiBlogHub's arithmetic. No paid account or hands-on test was used, and Reddit and Capterra could not be read. Much of the research and drafting was done with AI tools assisting; the plan prices, allowances and data rules were afterwards matched to Anthropic's and OpenAI's documentation.

Rahul Gupta, Editor, IndiBlogHub

IndiBlogHub compares AI tools on pricing, features and real user feedback, so businesses and agencies can choose the right AI software before they pay. Prices are read on each vendor's own pricing page; see how IndiBlogHub compares AI tools.