Pricing

Claude Code Pricing: Opus 5.5, Plans, Credits, and API Rates

Claude Code pricing explained: compare Claude plan sign-in with Claude API billing, prompt caching discounts, thinking token costs, and terminal engineering budget modeling.

Buyer guide

Where to start before you compare plans

Check who bills you, how usage is metered, and which caveats apply before choosing an access path.

Annual billing

The lowest displayed Pro and Team prices are monthly equivalents for annual commitments billed upfront; Max is sold monthly, while Enterprise is annual. Verify the actual invoice interval and commitment before purchase.

API boundary

Claude subscriptions fund eligible Claude app and Claude Code usage, not general Claude API access. Console authentication, API keys, usage credits, and Fast mode can each move requests onto separately metered billing.

Tracks

Which plan fits whom

Interactive individual coding

Start with the lowest eligible Claude subscription and use the Claude account login for human-steered terminal, IDE, desktop, web, or mobile work.

Best for: One developer who values a predictable base subscription and can work within shared Claude limits

Avoid if: The workload is unattended, multi-user, or must report a precise cost per run

Higher included capacity

Move to a larger individual tier or Premium team seat only after observed usage repeatedly interrupts normal coding sessions.

Best for: Frequent interactive work in larger repositories or several concurrent Claude surfaces

Avoid if: The pressure is occasional enough for a capped overage budget or comes from automation

Paid overflow and extended context

Use usage credits for occasional overflow, Fable access outside included limits, Pro access to Opus extended context, or subscription-funded Fast mode; confirm which rule applies to the chosen model.

Best for: Short bursts where continuity or 1M context matters more than a fixed all-in bill

Avoid if: Spend must remain strictly inside the subscription price

Managed team workspace

Use Team or Enterprise when seat assignment, model policy, centralized billing, analytics, and administrator-controlled usage matter.

Best for: Organizations managing several developers and shared governance

Avoid if: A single developer needs only individual interactive access

Console-funded automation

Use Claude Console or an API-funded route for CI, agents, scheduled work, shared services, and workloads that need token-level spend controls.

Best for: Software-initiated or production workloads with an explicit workspace budget

Avoid if: The work is only occasional and interactively steered within an existing subscription

Latency-sensitive Opus 5.5

Enable Fast mode only for supported first-party sessions where reduced latency has a measurable operational value.

Best for: Live debugging, incident response, or rapid pair-programming loops

Avoid if: The task can run in the background or the twofold base token premium is not justified

Access paths

Subscription, API, and workspace routes

Each access path shows who owns the bill and whether access is bundled, separately metered, sold as an add-on, or handled through sales.

Bundled appShared subscription quotaRecommended route

Claude Pro or Max subscription

Claude Code is included when an eligible individual signs in with the Claude account. Pro is the paid entry, while Max provides a larger included usage envelope.

Best for: Human-steered coding with a predictable base subscription

Boundary: Claude and Claude Code share plan limits, and interactive Claude Code never draws on API credits. Pro includes no API credit; Max and Team include monthly API credits for the Claude API, Agent SDK and claude -p. Opus 5.5 is the default model on both Pro and Max.

Open Claude pricing context
Bundled appPaid add-on

Paid-plan usage credits

Eligible subscription users can buy metered capacity for standard-mode overflow, supported extended-context use, and Fast mode.

Best for: Occasional continuity beyond included limits or a specific premium session

Boundary: Credits may start immediately for Fable on Pro/Standard seats or for Fast mode, not only after ordinary limits. Max/Premium Fable 5 and 5.1 share the same capped portion of regular weekly usage.

Open Claude pricing context
Direct APISeparate API meter

Claude Console standard mode

Claude Code authenticated through Claude Console uses the selected model’s standard token pricing from the first request.

Best for: Automation, shared workspaces, and measurable per-run cost

Boundary: Plan usage does not fund interactive Claude Code on this route; Max and Team monthly API credits cover only claude -p and Agent SDK runs with the linked organization's key. Standard Opus 5.5 is $4 per million input tokens and $20 per million output tokens before applicable modifiers.

Open Claude pricing context
Bundled appPaid add-on

Fast mode through usage credits

Subscription users can run supported Opus sessions in Fast mode after enabling usage credits.

Best for: Interactive work where response latency has immediate value

Boundary: Fast-mode tokens are charged from the first token at $10 per million input tokens and $50 per million output tokens and do not use included plan limits.

Open Claude Code pricing context
Direct APISeparate API meter

Fast mode through Claude Console

Console-authenticated Claude Code can use the same premium Fast-mode meter on supported first-party Opus sessions.

Best for: Latency-sensitive API-funded coding sessions with an explicit token budget

Boundary: Fast mode is separate from standard Opus pricing, unavailable in the VS Code extension, and not offered on the listed partner cloud routes.

Open Claude Code pricing context
Team workspaceShared subscription quota

Claude Team workspace

Current Standard and Premium Team seats include Claude Code, with Premium providing a larger included allowance and owners controlling paid overflow.

Best for: Teams that need seat management, centralized billing, model controls, and analytics

Boundary: Seat allowances are shared across Claude surfaces. Team usage credits are purchased and governed by organization owners.

Open Claude pricing context
Enterprise salesEnterprise only

Claude Enterprise

Current self-serve Enterprise combines a seat charge with usage at API rates, while sales-assisted and older seat-based arrangements can use different commercial structures.

Best for: Large organizations that need enterprise controls, contract terms, and consumption governance

Boundary: Confirm whether the contract is usage-based or seat-based before estimating Claude Code capacity, overage, or default-model behavior.

Open Claude pricing context

Watchouts

What buyers often miss

These are the boundary conditions and purchase traps worth checking before you optimize for the lowest headline number.

Opus 5.5 is a model inside Claude Code

Keep Claude Code as the canonical product. Model selection, version requirements, account entitlements, provider routing, and organization policy determine whether Opus 5.5 is active.

Default model follows the account

Claude Code defaults to Opus 5.5 on Pro, Max, Team, Enterprise and Anthropic API accounts; Microsoft Foundry defaults to Sonnet 4.5. On the Anthropic API the sonnet alias selects Sonnet 5.5. Explicit or managed settings can override the default.

Effort changes token use

Opus 5.5 defaults to high effort and supports low through max via Always-on Adaptive Thinking. Max normally lasts for the current Claude Code session, and higher effort can show diminishing returns on simpler work.

Subscription capacity is not an API token grant

Claude and Claude Code share variable plan limits. Do not translate Max or seat multipliers into a fixed token, message, or task allowance.

Fast mode is separately metered

Fast mode costs $10 per million input tokens and $50 per million output tokens from the first token. Subscription users need usage credits, Team or Enterprise owners must enable it, and the VS Code extension and listed partner cloud routes do not support it.

Context and output are surface-specific

Opus 1M context is included on Max, Team, and Enterprise and uses credits on Pro. The 128K output ceiling belongs to the synchronous Messages API specification, not a blanket Claude app or Claude Code promise.

Opus 5.5 features Always-on Adaptive Thinking

Adaptive thinking is on by default and controlled via effort parameter. Maximum token ceilings cover thinking plus response text, with less-chatter training providing cleaner outputs.

Max and Team API credits cover claude -p, not interactive sessions

Since October 2026, Max and Team include monthly API credits that cover the Agent SDK and claude -p when run with a linked Console organization's API key. Interactive Claude Code, and runs signed in with the plan, still count against subscription limits.

Editorial pricing notes

Pricing notes

Plan caveats, contract terms, and feature-access limits that can change what you actually pay.

Claude Code is Anthropic's agentic coding tool designed to execute complex, multi-step software engineering workflows from the terminal, IDE, desktop, and web. It can run on two billing routes: a Claude subscription (Pro, Max, Team, or Enterprise) whose usage limits are shared with the Claude apps, or metered API billing through the Claude Console, an API key, or a supported cloud provider. On the API route, every command, file inspection, multi-file refactoring task, and test-driven debugging loop is metered against an organization's balance.

Understanding the economics of Claude Code requires demystifying Anthropic's token pricing structure, evaluating the large cost reduction delivered by prompt caching, accounting for thinking tokens, and projecting monthly operational budgets across individual developers, agile engineering squads, and enterprise software departments.

Commercial Architecture: Developer API vs Consumer Subscriptions

A frequent point of confusion among developers adopting Claude Code is the relationship between Claude Pro subscriptions and terminal execution (for the session and weekly limits on each plan, see Claude usage limits by plan):

The relationship between Anthropic's developer infrastructure and subscriptions breaks down across four operational layers:

  • Primary Interface: Claude Code runs in the terminal (claude), in supported IDEs, and in the Claude apps, whichever credential it uses.
  • Billing Architecture: Subscription sign-in draws on the plan's shared usage limits—Pro ($20/month, or $17 billed annually), Max (from $100/month), Team ($25/seat/month, or $20 billed annually)—while Console and API-key authentication is billed per token at API rates. A subscription does not fund interactive API-key usage, and API credit does not add subscription capacity; Max and Team do include monthly API credits for claude -p and Agent SDK runs in a linked Console organization.
  • Prompt Caching Transparency: The API route exposes cache-read discounts and granular usage telemetry, whereas subscription usage is expressed as plan limits.
  • Enterprise Governance: API data is not used for model training by default, and API organizations can pin model versions and enforce spend ceilings; personal subscription accounts manage training preferences in their settings.

Foundation Model Rate Card and Prompt Caching Economics

Claude Code's default model is Claude Opus 5.5 on Pro, Max, Team, Enterprise, and the Claude API, delivering strong software reasoning, agentic tool orchestration, and multi-file code editing. Developers can switch to Claude Sonnet 5.5, which the sonnet alias selects on the Anthropic API, for faster, cheaper work, Claude Haiku 5.5, which the haiku alias selects on the Anthropic API (Claude Code v2.1.293 or later), for simple and subagent tasks, or Claude Fable 5.1 for the longest and hardest investigations.

Prompt caching is the critical financial mechanism making terminal agent workflows economically viable on API billing. In terminal coding, system instructions, repository file trees, and previous conversational turns remain largely static across successive commands, so they can be read from cache:

  • Base Input Token Rate: Standard price for newly submitted context ($4.00 / 1M tokens on Opus 5.5).
  • Cache Write Rate: Incurred when context is written to the 5-minute cache ($5.00 / 1M tokens on Opus 5.5, a 25% premium).
  • Cache Read Rate: Incurred when context is retrieved from cache ($0.20 / 1M tokens on Opus 5.5, a 95% discount).
  • Output & Thinking Token Rate: Billed at $20.00 / 1M tokens on Opus 5.5, covering both synthesized code diffs and adaptive thinking tokens.

Model Tier

Base Input Rate (per 1M tokens)

Cache Write Rate (per 1M tokens)

Cache Read Rate (per 1M tokens)

Output & Thinking (per 1M tokens)

Cache Savings (vs Base Input)

Claude Haiku 5.5 (prompts up to 100K tokens)

$0.10 / 1M tokens

$0.125 / 1M tokens

$0.01 / 1M tokens

$0.50 / 1M tokens

90.0% discount on cached tokens

Claude Haiku 5.5 (prompts over 100K tokens)

$0.50 / 1M tokens

$0.625 / 1M tokens

$0.05 / 1M tokens

$2.50 / 1M tokens

90.0% discount on cached tokens

Claude Haiku 4.5 (legacy)

$1.00 / 1M tokens

$1.25 / 1M tokens

$0.10 / 1M tokens

$5.00 / 1M tokens

90.0% discount on cached tokens

Claude Sonnet 5.5

$2.00 / 1M tokens

$2.50 / 1M tokens

$0.10 / 1M tokens

$10.00 / 1M tokens

95.0% discount on cached tokens

Claude Sonnet 5 (legacy)

$2.00 / 1M tokens

$2.50 / 1M tokens

$0.20 / 1M tokens

$10.00 / 1M tokens

90.0% discount on cached tokens

Claude Opus 5.5 (Std)

$4.00 / 1M tokens

$5.00 / 1M tokens

$0.20 / 1M tokens

$20.00 / 1M tokens

95.0% discount on cached tokens

Claude Opus 5.5 (Fast)

$8.00 / 1M tokens

$10.00 / 1M tokens

$0.40 / 1M tokens

$40.00 / 1M tokens

95.0% discount on cached tokens

Claude Fable 5.1

$10.00 / 1M tokens

$12.50 / 1M tokens

$0.25 / 1M tokens

$50.00 / 1M tokens

97.5% discount on cached tokens

Because a persistent terminal coding session repeatedly sends the existing conversation history and codebase context with each new command, over 80% to 92% of input tokens in a typical Claude Code session hit the cache. On Opus 5.5, this reduces effective input token costs from $4.00 down to approximately $0.50 to $0.96 per million tokens.

Terminal Task Economics: Typical Token Profiles and Realized Costs

To understand how token pricing translates into actual engineering tasks, we analyze four representative developer workflows executing on Claude Opus 5.5, Claude Code's default model, with active prompt caching:

Task 1: Quick Bugfix and Lint Correction

  • Scope: Locate a failing assertion in a unit test, inspect 2 files, modify 15 lines of code.
  • Token Profile: 12,000 input tokens (10,000 cached, 2,000 fresh), 400 output tokens.
  • Cost: (10k × $0.20/1M) + (2k × $4.00/1M) + (400 × $20.00/1M) = $0.002 + $0.008 + $0.008 = $0.018 per task.

Task 2: New Feature Scaffolding

  • Scope: Generate a new REST API endpoint, create database migration, write unit test suite across 4 files.
  • Token Profile: 35,000 input tokens (30,000 cached, 5,000 fresh), 1,800 output tokens.
  • Cost: (30k × $0.20/1M) + (5k × $4.00/1M) + (1.8k × $20.00/1M) = $0.006 + $0.020 + $0.036 = $0.062 per task.

Task 3: Comprehensive Multi-Module Refactoring

  • Scope: Refactor authentication middleware across 12 files, update dependency injections, verify TypeScript compilation.
  • Token Profile: 75,000 input tokens (65,000 cached, 10,000 fresh), 4,500 output tokens.
  • Cost: (65k × $0.20/1M) + (10k × $4.00/1M) + (4.5k × $20.00/1M) = $0.013 + $0.040 + $0.090 = $0.143 per task.

Task 4: Deep Autonomous Debugging with High Effort

  • Scope: Diagnose intermittent race condition, inspect multi-threaded logs, formulate 8,000 reasoning tokens, run test suite 3 times.
  • Token Profile: 150,000 cumulative input tokens across turns (130,000 cached), 10,000 output & thinking tokens.
  • Cost: (130k × $0.20/1M) + (20k × $4.00/1M) + (10k × $20.00/1M) = $0.026 + $0.080 + $0.200 = $0.306 per task.

Development Task Scope

Typical Files Modified

Total Ingested Context

Cached Input Share

Output & Thinking Tokens

Realized Cost per Task

Quick Bugfix / Typo

1 – 2 files

10k – 15k tokens

~85% cached

300 – 600 tokens

$0.012 – $0.024

Feature Scaffolding

3 – 5 files

30k – 45k tokens

~85% cached

1,500 – 2,500 tokens

$0.050 – $0.090

Multi-Module Refactor

8 – 15 files

60k – 90k tokens

~88% cached

3,500 – 6,000 tokens

$0.110 – $0.200

Autonomous Deep Debug

Monorepo scope

120k – 200k tokens

~90% cached

8,000 – 15,000 tokens

$0.250 – $0.500

Even for deep, autonomous multi-file refactoring runs at high effort, the realized cost per completed task on Opus 5.5 rarely exceeds $0.30 to $0.50, demonstrating the immense economic leverage provided by prompt caching.

Monthly Spend Modeling: Solo Engineers to Enterprise Teams

Projecting monthly API budgets requires modeling developer utilization across active working days (assuming 20 working days per month and Opus 5.5 with caching). Developers who sign in with a subscription instead pay the plan price and work within its limits:

Individual Full-Time Software Engineer

A full-time engineer using Claude Code as their primary daily terminal companion typically executes 25 to 40 tasks daily (a mix of bugfixes, test drafting, and refactoring). Total daily spend averages $1.80 to $4.20. Across a 20-day working month, individual API consumption totals $36.00 to $84.00 per month.

Agile Engineering Squad (5 Developers)

A 5-person engineering squad collaborating on a shared repository processes roughly 150 tasks daily. Monthly token expenditure ranges between $180.00 and $420.00 per month across the entire team—substantially less than the cost of a single junior developer's hardware setup.

Enterprise Engineering Organization (25 Developers)

For a 25-developer organization operating with centralized console billing, spend caps, and shared ignore rules, monthly API consumption stabilizes between $900.00 and $2,100.00 per month.

Engineering Team Scale

Daily Task Volume

Monthly Working Days

Estimated Daily API Spend

Estimated Monthly API Spend

Effective Cost per Dev / Day

Solo Software Engineer

25 – 40 tasks / day

20 days / mo

$1.80 – $4.20 / day

$36.00 – $84.00 / month

$1.80 – $4.20 / dev / day

Small Startup (3 devs)

75 – 120 tasks / day

20 days / mo

$5.40 – $12.60 / day

$108.00 – $252.00 / month

$1.80 – $4.20 / dev / day

Core Dev Squad (5 devs)

125 – 200 tasks / day

20 days / mo

$9.00 – $21.00 / day

$180.00 – $420.00 / month

$1.80 – $4.20 / dev / day

Mid-Size Dept (10 devs)

250 – 400 tasks / day

20 days / mo

$18.00 – $42.00 / day

$360.00 – $840.00 / month

$1.80 – $4.20 / dev / day

Enterprise Org (25 devs)

625 – 1,000 tasks / day

20 days / mo

$45.00 – $105.00 / day

$900.00 – $2,100.00 / month

$1.80 – $4.20 / dev / day

For comparison, a Claude Pro subscription costs $20 per month and Max starts at $100 per month; heavy daily users often find a subscription more predictable, while teams that need per-run cost reporting or unattended automation use the API.

Practical Cost Governance and Terminal Best Practices

Engineering leadership should establish four operational guardrails to optimize Claude Code budget efficiency:

  1. Keep Build Output Out of Context: Prevent Claude Code from reading compiled build output (dist/, build/, .next/), package manager caches (node_modules/, vendor/), minified assets, and test coverage reports. Excluding non-source files prevents thousands of useless tokens from inflating cache writes.
  2. Set Hard Usage Limits in the Claude Console: Configure monthly spending limits and soft notification alerts within the Claude Console (e.g., $100/month per developer). When the hard cap is reached, API requests halt automatically, preventing runaway terminal scripts from incurring unexpected charges.
  3. Calibrate Effort Levels: Adaptive thinking produces rich analytical reasoning, but high effort can burn many output tokens on simple problems. Use /effort to keep routine work at low or medium effort (medium is the Opus 5.5 default), reserving high, xhigh, or max for difficult architectural challenges.
  4. Maintain Continuous Terminal Sessions: Because Prompt Caching retains context for 5 minutes, executing related commands in rapid succession preserves cache hits. Closing and reopening the terminal repeatedly invalidates the cache, forcing full cache-write token penalties on every startup.

Autonomous Multi-Step Loops and Self-Correction Economics

Claude Code's defining capability is autonomous self-correction. When a developer issues a high-level task like "fix the broken end-to-end integration test", Claude Code does not stop after generating a single diff. Instead, it operates in an agentic execution cycle:

  1. Inspection: Ingests compiler logs, traces stack failures, and reads offending module source files.
  2. Hypothesis & Modification: Formulates an architectural diagnosis and applies localized file edits.
  3. Verification: Invokes the test suite (npm test, pytest, or cargo test) through local bash subshells.
  4. Iterative Repair: Inspects test exit codes. If tests fail, it re-reads error output, updates its mental model, and applies secondary code changes until green status is achieved.

Each iteration in an autonomous loop represents a distinct model turn. A difficult debugging cycle spanning four test iterations ingests accumulated test output repeatedly. Thanks to prompt caching, turns 2, 3, and 4 read the persistent repository context at the cache rate (95% below base input on Opus 5.5), so multi-turn autonomous loops typically cost between $0.20 and $0.40 rather than dollars per run. Engineering teams should encourage test-driven prompt framing because verifying code against objective compiler diagnostics eliminates manual review cycles and minimizes overall developer time.

Evidence boundary

Official sources

Editorial guidance grounded in official product sources.

FAQ

Claude Code pricing FAQ

What is the cheapest paid way to use Claude Code?

Claude Pro is the lowest priced individual subscription that includes Claude Code. Anthropic lists it at $17 per month with annual billing and $200 billed upfront, or $20 when billed month to month. The Claude Free plan does not list Claude Code as included.

Does Claude Pro include Opus 5.5 in Claude Code?

Yes. Claude Code defaults to Opus 5.5 on Pro, Max, Team, Enterprise, and Claude API accounts, subject to organization policy and saved model selections. On a Claude plan, that usage counts against the plan's shared limits.

Are Claude Code limits the same as API token limits?

No. Subscription use shares rolling limits across Claude and Claude Code, and the amount consumed varies with context, model, effort, tools, and parallel work. API billing starts from token usage and does not convert into a fixed subscription task or token allowance.

What happens when a Claude Code subscription limit is reached?

Wait for the reset, choose a higher allowance, or enable usage credits when eligible. Fable 5 and 5.1 share a capped weekly allowance on Max/Premium, while Pro/Standard Fable requests use credits from the start. Credits are additional spend and do not include general API access.

How much does Opus 5.5 cost through Claude Console?

Anthropic lists standard Opus 5.5 at $4 per million input tokens and $20 per million output tokens. Cache hits cost $0.20 per million tokens, 95% below the base input rate, and concise response formatting minimizes total token burn.

Is Claude Code Fast mode included with Pro, Max, Team, or Enterprise?

No. Subscription users access Fast mode through usage credits, and its tokens are charged from the first Fast-mode token even if included plan usage remains. It is a research preview for Opus 5.5, Opus 5, and Opus 4.8 on the first-party Claude API, priced at $8 input and $40 output per million tokens on Opus 5.5, and is unavailable on partner cloud routes.

Internal links

What to open next