Claude Code charactervs

Claude Code vs ChatGPT: Which should you use for coding?

Facts checked Oct 22, 2026. Every number links to its source.

Summary

Derived from sourced facts, not from builder opinions
  • ChatGPT includes Codex, OpenAI's coding agent, on every plan from Free up. Claude Code is not in Claude Free. It starts with Pro at $20 a month, or with a pay-per-token Anthropic Console account.
  • No test covers ChatGPT's regular chat as a coding tool. On the official Terminal-Bench 4.0 board, Claude Code with Opus 5.5 scored 64.85% and Codex, the coding agent that comes with ChatGPT plans, scored 58.18% with GPT-6 Astra or GPT-6.1 Sol.
  • GPT-6.1 Sol, OpenAI's model for long coding and agent work, runs in Codex and ChatGPT Work, not in regular chat.
  • Claude Code is not in Claude's Free plan. It starts with Pro at $20 a month, or $17 billed annually.

Choose Claude Code if

  • You want the agent with the top Terminal-Bench 4.0 result (Claude Code with Opus 5.5).
  • You already pay for Claude Pro or Max.
  • You use Claude through Bedrock, Google Cloud or Foundry.

Choose ChatGPT if

  • You want OpenAI's GPT-6 models for coding.
  • You want to start free or at $8 a month.
  • You want published usage numbers per model for agent work (Codex and ChatGPT Work).
Claude Code
ChatGPT

Follow both to get an email when either one changes its price, limits or behavior.

Best by task

Coding agent: Claude Code against Codex, which ChatGPT plans include (Terminal-Bench 4.0 official board)

Claude Code

64.85% for Claude Code with Opus 5.5 against 58.18% for Codex with GPT-6 Astra or GPT-6.1 Sol, all at max effort. ChatGPT's regular chat has no entry.

A coding agent on a free plan

ChatGPT

ChatGPT Free includes Codex with GPT-6 Luna in the desktop app, still rolling out. Claude Code is not in Claude's Free plan.

Published usage limits

ChatGPT

Codex publishes local messages per 5 hours per model on Plus, shared with ChatGPT Work. These do not cover regular chat. Claude Code publishes 5-hour and weekly windows without per-plan numbers.

Plans

Claude Code plans

Pro
$20/month

Claude Code included · billed $17/month annually

Max
$100/month

From $100: 5x or 20x Pro usage

Team Standard seat
$25/month

Per seat, monthly · $20 billed annually

Team Premium seat
$125/month

5x a standard seat · $100 billed annually

Enterprise
$20/month

Per seat billed annually, 20-seat minimum, plus usage at API rates

ChatGPT plans

Free
Free

ChatGPT Work and Codex with GPT-6 Luna in the desktop app, rolling out

Go
$8/month

Codex with GPT-6 Luna in the desktop app, rolling out

Plus
$20/month

Codex on web, CLI, IDE and iOS · GPT-6.1 Sol and GPT-6 Luna in Codex

Pro
$100/month

Plans at $100, $200 or $500 · Work and Codex have no five-hour limit, weekly limits may apply

Business
$25/month

Per user monthly · $20 billed annually, 2+ users

Subscription agents are priced per seat with usage limits, so this compares plans rather than dividing a subscription by a guessed number of tasks.

Side by side

Claude CodeChatGPT
MakerAnthropic
OpenAI
PlatformsTerminal CLI, VS Code, JetBrains, desktop app (macOS, Windows, Linux beta), web, iOS and Android app
Not published
PlansNot in Free. Pro $20/month ($17 annual) · Max from $100 (5x or 20x Pro usage) · Team Standard $25/seat monthly ($20 annual), Premium $125 ($100 annual) · Enterprise $20/seat plus usage at API rates
Free $0 · Go $8 · Plus $20 · Pro $100, $200 or $500 · Business $25/user monthly ($20 annual, 2+ users) · Enterprise and Edu by sales
Usage limitsPer-seat 5-hour and weekly windows · weekly Claude Code limits 25% above pre-May 2026 levels since 2026-09-14 · no published per-plan numbers
Not published
ModelsBuilt for Claude models: aliases opus (Opus 5.5), sonnet (Sonnet 5.5), haiku (Haiku 5.5), fable (Fable 5.1, may bill usage credits) · third-party providers Bedrock, Google Cloud, Foundry
Not published
Use with other toolsSubscription OAuth may not be used to route requests for third-party products
Not published
Models in the appNot publishedGPT-6 Sol and GPT-6 Luna replaced GPT-5.6 in ChatGPT on 2026-10-07 for free and paid plans · Codex and ChatGPT Work still run the September versions of GPT-6 Sol and Luna
GPT-6 Astra accessNot publishedPlus, Pro, Business and Enterprise plans
Agent and codingNot publishedChatGPT Work and Codex are included in every plan, on Free and Go with GPT-6 Luna in the desktop app, subject to rollout
Work and Codex usage limitsNot publishedPublished only for ChatGPT Work and Codex, which share one allowance, not for regular chat: on Plus about 15-160 local messages per 5 hours with GPT-6.1 Sol and 5-45 with GPT-6 Astra · Pro has no five-hour limit · weekly limits may apply

Scores appear side by side only when both were published for the same test. Settings differ between sources, so small gaps can reverse under another harness.

Updates

Claude Code

27 recorded incidents in the last 90 days.

ChatGPT

19 recorded incidents in the last 90 days.

Plan change

ChatGPT Pro and Business add up to $500 a month in free API credits

Eligible ChatGPT Pro and Business subscribers can claim up to $500 per month in free API credits as a subscription benefit. The benefit is activated from ChatGPT or the API Platform by linking an API organization you own.

After

Up to $500 per month in free API credits

Who is affected:
ChatGPT Pro and Business subscribers who also use the API.
What to do:
Link an API organization you own in ChatGPT or the API Platform to claim the credits.

FAQ

Is Claude Code better than ChatGPT for coding?

No test covers ChatGPT's regular chat as a coding tool. On the official Terminal-Bench 4.0 board, Claude Code with Opus 5.5 scored 64.85% and Codex, the coding agent in ChatGPT plans, scored 58.18%.

Is Claude Code free?

No. Claude Code is not in Claude's Free plan. It starts with Pro at $20 a month, or $17 a month billed annually.

Does ChatGPT have a coding agent?

Yes. Codex comes with every ChatGPT plan. Free and Go get GPT-6 Luna in the desktop app, still rolling out. Plus and higher plans add Codex on the web, in the CLI, in IDEs and on iOS.

Can Claude Code use GPT models?

Not as a built-in choice. Claude Code's model settings list Claude models through the opus, sonnet, haiku and fable aliases. Other makers' models need an API that accepts Anthropic's format, set up and billed separately.

Can ChatGPT edit files on my computer?

Its Codex agent can, in the desktop app, the CLI and the IDE extension.

How much does Claude Code cost?

It comes with Claude Pro at $20 a month ($17 billed annually) and Max from $100.

Does Claude Code publish its usage limits?

No. Each seat has 5-hour and weekly windows, with no published message counts.

Sources and method

Prices, specs and limits come from each maker's own pages. Benchmark scores come from independent benchmark publishers and the makers' announcements, with the setting each was measured in. Changes come from changelogs, deprecation pages and status pages. The summary is written from these facts only.