Claude Code Pricing, Plans & Limits

Claude Code is Anthropic's agentic coding CLI and IDE companion for multi-file edits, shell execution, and automated test-fix loops. Access requires a paid Claude subscription ($20 to $200/month) sharing your chat usage pool, or pay-per-token billing through the Anthropic API, Bedrock, or Vertex AI.

Pricing checked: Nov 29, 2026 Profile verified: Nov 29, 2026 How we verify

Claude Code Plans & Usage Limits

6 tiers verified
Claude Code pricing tiers, monthly and annual costs, limits, and recommended audience
Plan Price Core Limits Best For
Pro
$20/mo
$200/yr billed annually
  • Includes Claude Code
  • shares 5-hour rolling session and fixed weekly usage caps with Claude web and desktop chat
Individual developers running daily targeted coding sessions
Max
$100/mo
Monthly only
~5x Pro capacity across 5-hour and weekly windows plus $100/mo in Claude Platform API credits (API/SDK only) Full-time engineers running multi-file agent loops daily
Ultra
$200/mo
Monthly only
10x Pro weekly allocation, removes standard 5-hour rolling cap for verified accounts, full Opus 5.5/Fable 5.2 access, +$200/mo Platform API credits Heavy autonomous coding, parallel git worktrees, and long uninterrupted runs
Team Standard
$25/user/mo
$20/seat/mo billed annually
  • 2-150 seats
  • ~1.25x Pro capacity per seat, includes Claude Code, centralized billing, and default no-training privacy
Small engineering teams needing unified seat management and IP protection
Team Premium
$125/user/mo
$100/seat/mo billed annually
  • 2-150 seats
  • ~5x Team Standard capacity per seat, pooled API credits, includes Claude Code
Product teams relying on continuous CLI code generation
Enterprise
$20/seat/mo + API usage
Annual contract (20-seat min)
  • $20/seat/mo base license plus 100% of token consumption billed at Anthropic API rates
  • SSO, SCIM, audit logs, zero data retention
Regulated organizations needing strict governance and transparent token attribution
API Pricing Route (per 1M tokens (with 90%+ prompt cache read discount))

$2.00 input / $10.00 output (Sonnet 5.5); $0.10 cache reads: Developers can authenticate Claude Code via a Claude Console API key, Amazon Bedrock, or Google Cloud Vertex AI, paying per token without 5-hour subscription windows.

What Buyers Often Miss

  • Claude Free ($0/mo) excludes Claude Code completely; you need at least Pro ($20/mo) or a funded Anthropic API key to run the CLI.
  • On Pro, Max, Ultra, and Team seats, Claude Code draws from the same shared usage pool as claude.ai web and desktop chat, so long terminal loops can throttle your browser chats.
  • Bundled $100/mo (Max) and $200/mo (Ultra) Claude Platform API credits must be claimed in Claude Console for API, Playground, or Agent SDK use and cannot pay for interactive Claude Code subscription overages.
  • Enterprise ($20/seat/mo, 20-seat minimum) is a governance and access license only; every token consumed by engineers is metered separately at standard API rates.
  • Automated retries during upstream backend errors count against subscriber 5-hour windows without refunds, and bloated CLAUDE.md or MCP tool schemas multiply every turn's token burn.

Developer & API Reality Check

Subscription vs. API

With 90% prompt caching reuse, Sonnet 5.5 API billing runs roughly $0.65 to $0.85 per active coding hour, so sporadic CLI users (under 2 hours/day) save money on direct API keys. Full-time engineers running daily Sonnet 5.5 or Opus 5.5 loops save substantially on Max ($100/mo) or Ultra ($200/mo).

Agent & MCP Fit

First-class native Model Context Protocol (MCP) client and server support, customizable project skills via .claude/skills/, hooks, subagents, and headless CI scripting mode.

Open-Source Alternative

OpenCode or Aider paired with your own Anthropic, OpenRouter, or local model endpoints removes seat fees and gives full prompt control, though you give up Anthropic's tuned harness and subscription subsidy.

How Claude Code Pricing Actually Works

Anthropic does not sell Claude Code as a standalone IDE license. Instead, Claude Code runs on two distinct billing rails detailed on the official Claude pricing page: bundled inside paid Claude subscriptions (Pro, Max, Ultra, and Team) or metered strictly per token via an Anthropic API key, Amazon Bedrock, or Google Cloud Vertex AI.

Understanding the split between subscription caps and raw API tokens is essential before committing a team budget. With 90% prompt caching reuse dropping Sonnet 5.5 cache reads to $0.10 per 1M tokens (versus $2.00 per 1M base input), active API coding runs roughly $0.65 to $0.85 per hour, placing Claude Max ($100/month) breakeven near 125 cached hours a month.

Shared Dual-Window Pools vs. Direct API Keys

On individual and Team subscriptions, Anthropic meters Claude Code through two overlapping clocks rather than simple message counters. A 5-hour rolling window begins when you send your first message and resets five hours later, while a weekly usage cap resets on a fixed day and time assigned to your account.

Every terminal action (file reads, test runs, diffs, and subagents) draws from the same shared usage pool as your claude.ai browser and desktop chats. Switching authentication to a Claude Console API key bypasses both time windows entirely, billing pure token usage without mid-afternoon lockouts. Compare these seat structures directly in our AI assistant and coding plans matrix.

Platform API Credits and Enterprise Split Billing

Two billing quirks surprise buyers who skim the pricing table. First, Claude Max ($100/month) and Claude Ultra ($200/month) include $100/month and $200/month in claimable Claude Platform API credits, yet those credits cover programmatic API, Playground, and Agent SDK workloads rather than interactive Claude Code subscription overages.

Second, Enterprise uses split billing: organizations pay $20/seat/month annually (20-seat minimum) for access and governance, then pay 100% of token spend separately on standard API rates.

Plan-by-Plan Breakdown: Which Tier Should You Pick?

Picking the right Anthropic Claude Code plan depends on daily agent hours, tolerance for 5-hour cooldowns, and corporate data privacy requirements.

Pro ($20/month or $200/year) and Why Free Is Excluded

The Claude Free tier ($0/month) excludes Claude Code completely, making Claude Pro ($20/month, or $200/year with a 16.7% annual discount at $16.67/month) the minimum paid entry point. Pro fits engineers who invoke Claude Code for focused bug fixes, unit test generation, or short module refactors a few times a day.

If you ask whether Claude Code is worth it on Pro, a single automated debugging session usually recovers the $20 monthly fee in engineering time. However, full-time refactoring inside large repositories hits Pro’s 5-hour rolling limit quickly.

Max ($100/month) and Ultra ($200/month)

Claude Max ($100/month, monthly only) delivers roughly 5x Pro capacity across both the 5-hour and weekly windows, making it the practical baseline for developers spending three to five hours a day in the terminal. Neither Max nor Ultra offers an annual discount.

Claude Ultra ($200/month, monthly only) replaced the older Max 20x tier. It expands your weekly cap to 10x Pro, unlocks full Claude Opus 5.5 and Claude Fable 5.2 capacity, and removes the standard 5-hour rolling cap for verified accounts so parallel git worktrees and overnight refactors run without interruption. Check current CLI authentication flags and headless CI mode commands in the official Claude Code documentation.

Team Standard ($25/seat), Team Premium ($125/seat), and Enterprise

Team plans cover 2 to 150 seats and include Claude Code plus default no-training data privacy guarantees. Annual billing cuts Team Standard from $25 to $20/seat/month (~1.25x Pro capacity) and Team Premium from $125 to $100/seat/month (~5x Standard capacity) with pooled API credits. For broader workspace and Projects limits, see our full Claude pricing and plan limits guide.

Enterprise ($20/seat/month billed annually, 20-seat minimum) adds SSO, SCIM provisioning, audit logs, and zero data retention options while moving all token spend onto direct API metering. Unlike consumer plans where developers must double-check training opt-outs, Team, Enterprise, and commercial API endpoints exclude corporate code from training by default.

Workload Cost, Rate Limits, and API Breakeven Math

Because Claude Code repeatedly sends repository structure, tool definitions, and conversation history across multi-turn test-fix loops, prompt caching drives real API economics. Using rates published on Anthropic Claude API pricing, Claude Sonnet 5.5 bills around $2.00 input / $10.00 output per 1M tokens ($2.50 cache write, $0.10 cache read), Claude Opus 5.5 bills near $4.00 / $20.00, and Claude Haiku 5.5 sits near $0.10 / $0.50.

Monthly Cost & Prompt-Caching Breakeven Table

Developer Workload Profile Monthly Active Agent Hours Est. Cached API Cost (Sonnet 5.5 / Opus 5.5) Recommended Claude Code Plan Flat Monthly Spend Breakeven Verdict
Occasional CLI & Scripts (2-3 sessions/week) 12 to 20 hrs $10 to $17 (Sonnet) Direct API Key or Pro ($20/mo) $10 to $20/mo Direct API beats Pro under ~20 cached hours/mo
Targeted Daily Coding (bug fixes, PR tests) 30 to 45 hrs $25 to $40 (Sonnet) Pro ($20/mo or $200/yr) $16.67 to $20/mo Pro subsidizes ~2x raw API cost if 5-hr caps fit
Full-Time Feature Dev (4-5 hrs/day multi-file) 90 to 125 hrs $75 to $110 (Sonnet) / $210+ (Opus) Max ($100/mo) $100/mo Max breaks even near 125 Sonnet hrs or 45 Opus hrs
Parallel Worktrees & Long Loops (heavy Opus 5.5) 160+ hrs $140+ (Sonnet) / $380 to $650 (Opus) Ultra ($200/mo) $200/mo Ultra buys removed 5-hr cap plus deep Opus subsidy
Headless CI / Regulated Team (bursty pipelines) Variable Pure metered API (Bedrock/Vertex/Console) Enterprise ($20/seat + API) or API Key $20/seat + usage Avoids idle seat waste and enforces zero retention

Stopping 5-Hour Cap Cliffs and Hidden Token Burn

Developers reporting sudden Claude Code rate limit exceeded errors on GitHub and Reddit frequently uncover three silent token multipliers. First, oversized CLAUDE.md or MEMORY.md instruction files inject thousands of tokens into every turn before you type a single character.

Second, connecting sprawling servers built on the Model Context Protocol specification loads massive JSON tool schemas on every loop, raising both API bills and subscription burn. Third, upstream network drops trigger automatic retries that count against your 5-hour quota without refunds.

Four terminal habits cut Claude Code token burn by 40% or more:

  • Inspect live burn with /usage: Check granular context growth early so you catch runaway loops before hitting a 5-hour wall.
  • Run /compact and /clear between tickets: Compact active histories early and run /clear after merging a task so stale diffs never re-bill.
  • Prune CLAUDE.md and background hooks: Keep root instructions terse and disable noisy linters or memory injectors when debugging cap cliffs.
  • Route CI tasks to headless API keys: Run automated PR triage via Claude Console, Amazon Bedrock, or Google Cloud Vertex AI so background jobs never lock out your interactive seat. For head-to-head terminal throughput data, review our Claude Code vs OpenAI Codex benchmark.

When to Choose Claude Code vs. Alternatives

Choose Claude Code if you live in the terminal, rely on git-native diff reviews, and want deep multi-file reasoning with native shell execution, subagents, and MCP tooling. Because it runs inside any shell alongside Neovim, VS Code, or JetBrains, you keep your existing editor setup intact.

Claude Code vs. Cursor and OpenAI Codex

Look at Cursor when low-latency inline Tab autocomplete, visual diff decorations, and multi-provider model routing matter more than terminal-native bash loops; compare its $30 Premium and $100 Super weekly pools in our Cursor pricing and usage tiers breakdown.

Consider OpenAI Codex if your team wants isolated cloud devboxes for asynchronous pull requests or already standardizes on ChatGPT Business seats starting at $20/user/month annually with flexible workspace credits.

Claude Code vs. GitHub Copilot and Open-Source CLI Agents

Choose GitHub Copilot when your company enforces GitHub Enterprise billing, Microsoft compliance boundaries, or native Visual Studio and Xcode extensions across hundreds of seats.

Finally, if you need zero vendor lock-in or self-hosted open-weights inference on local GPUs, open-source harnesses like OpenCode or Aider connected to your own API gateway remove monthly seat fees completely while giving you full control over prompt caching and model routing.

Pricing Notes & History

  • Nov 29, 2026 Verified current Claude Code pricing across Pro ($20/mo), Max ($100/mo + $100 Platform credits), Ultra ($200/mo replacing Max 20x with removed 5-hour cap + $200 Platform credits), Team Standard/Premium, Enterprise ($20/seat/mo + API), and Sonnet/Opus 5.5 cached API breakeven math. Source

Claude

Anthropic's flagship AI assistant with Projects, Artifacts, native MCP integrations, and bundled Claude Code access.

$20/mo

OpenAI Codex

OpenAI's agentic coding CLI, IDE extension, and cloud devbox runner backed by ChatGPT plans or API keys.

$8/mo

Cursor

AI-native code editor with Cloud Agents, Bugbot code reviews, and multi-model routing.

$8/mo

Common Questions

Is Claude Code available on the Claude Free plan?
No, Claude Free ($0/month) covers limited web and desktop chat but excludes Claude Code completely. You must subscribe to Pro ($20/month) or higher, join a Team or Enterprise workspace, or connect a funded Anthropic API key.
Does Claude Code share rate limits with Claude web chat?
Yes, Claude Code pulls from the exact same 5-hour session and fixed weekly usage pool as claude.ai web and desktop apps on Pro, Max, Ultra, and Team seats. Heavy terminal refactors can therefore exhaust the quota available for your browser chats until the window resets.
Is a Claude subscription cheaper than using an Anthropic API key for Claude Code?
Sporadic CLI users working under two hours a day often spend less on direct API keys because prompt caching drops active Sonnet 5.5 sessions to roughly $0.65 to $0.85 per hour. Full-time engineers running daily multi-file or Opus 5.5 refactors almost always save money on Max ($100/month) or Ultra ($200/month).
What is the difference between Claude Max ($100/mo) and Claude Ultra ($200/mo)?
Claude Max ($100/month) provides 5x Pro capacity inside standard 5-hour rolling windows plus $100/month in Claude Platform API credits. Claude Ultra ($200/month, which replaced Max 20x) doubles weekly capacity to 10x Pro, removes the 5-hour rolling cap for verified accounts, and bundles $200/month in Platform API credits.
Can I use bundled Max or Ultra Platform API credits for Claude Code overages?
No, the $100/month (Max) and $200/month (Ultra) Platform API credits must be claimed in Claude Console for programmatic API, Playground, or Agent SDK workloads. They do not automatically pay for interactive Claude Code session overages when your subscription window caps out.
How does Claude Code Enterprise billing work?
Enterprise requires an annual contract with a 20-seat minimum at $20/seat/month for platform access, SSO, SCIM, audit logs, and zero data retention options. Every input, cached, and output token consumed inside Claude Code is metered separately at standard Anthropic API rates.
Does Anthropic train on code submitted through Claude Code?
Team, Enterprise, and commercial API workspaces (including Bedrock and Vertex AI) exclude your code and prompts from model training by default. Consumer Pro, Max, and Ultra subscribers should audit account privacy settings carefully and avoid pasting restricted corporate code without enterprise terms.