API boundary
Claude subscription access and Anthropic API or Console billing are separate systems. API-key usage is metered separately and can override subscription authentication when ANTHROPIC_API_KEY is set.
Pricing
Claude Code pricing depends on the route: Claude subscription access, team workspace rollout, or separate Anthropic API and Console billing.
Pricing checked May 26, 2026
Buyer guide
Use the route summary and access paths first, then treat the API pricing section as the direct fact layer for metered developer spend.
API boundary
Claude subscription access and Anthropic API or Console billing are separate systems. API-key usage is metered separately and can override subscription authentication when ANTHROPIC_API_KEY is set.
Tracks
Use Claude plan access when you want first-party Claude Code usage tied to Claude subscription limits.
Best for: Solo developers and teams already buying Claude Pro, Max, Team, or Enterprise.
Avoid if: You need API keys, separate platform billing, or programmatic cost controls.
Use Anthropic API pricing when Claude Code usage should be metered, reported, and capped in the developer Console.
Best for: Automation builders and teams that need usage-based billing or workspace spend limits.
Avoid if: You only need human-driven Claude Code usage inside a Claude subscription.
Use a pilot group, Console reporting, and spend limits before rolling Claude Code out broadly.
Best for: Managers modeling per-developer active-day and monthly usage ranges.
Avoid if: You need a simple public subscription comparison table.
Access paths
Use this section to separate what is bundled with Claude Code from routes that need a different pricing page, meter, or sales conversation.
Use Claude Code through an eligible Claude subscription when the work is human-driven and should follow Claude plan access and usage limits.
Best for: Individual developers and teams already choosing a Claude subscription tier.
Boundary: This route follows Claude plan access. It is not prepaid Anthropic API token spend.
Open Claude pricing contextUse API or Console billing when Claude Code usage should be tracked and capped through Anthropic developer-platform billing.
Best for: Platform teams, automation, and organizations that need API-key billing, Console reporting, or workspace spend limits.
Boundary: API-key usage is metered separately and can override subscription authentication when ANTHROPIC_API_KEY is set.
Open Claude pricing contextUse the workspace route when admin controls, usage reporting, rate limits, and spend governance matter as much as plan access.
Best for: Teams rolling Claude Code out across multiple developers or enterprise environments.
Boundary: Workspace governance does not remove the need to separate Claude subscription access from API-token billing.
Open Claude Code pricing contextDirect API pricing
Use these metered API facts for developer budgets. App subscriptions and bundled routes stay in the route cards above.
Plans listed
3
Benchmark plan
Claude API (Opus 4.7)
API track
3 plans
Usage-based API
Usage: Anthropic API: Claude Opus 4.7 costs $5 per 1M input tokens and $25 per 1M output tokens; use for higher-capability coding-agent work when the extra spend is justified.
Usage-based API
Usage: Anthropic API: Claude Sonnet 4.6 costs $3 per 1M input tokens and $15 per 1M output tokens; Claude Code API and Console billing should be modeled from token usage.
Usage-based API
Usage: Anthropic API: Claude Haiku 4.5 costs $1 per 1M input tokens and $5 per 1M output tokens; use for lower-cost supporting automation where it fits the task.
Free plan
No
Trial
No trial listed
Billing unit
Hybrid
Pricing checked
May 26, 2026
Watchouts
These are the boundary conditions and purchase traps worth checking before you optimize for the lowest headline number.
Claude Code can be reached through Claude subscriptions, but this page should not duplicate the full Pro, Max, Team, or Enterprise plan table.
If ANTHROPIC_API_KEY is set, Claude Code prioritizes API-key authentication and charges API pay-as-you-go rates even if the user also has a Claude subscription.
Claude Code cost varies by model, codebase size, number of running instances, and automation. Treat per-developer cost ranges as planning inputs, not fixed plan prices.
Editorial pricing notes
Official plan caveats, contract details, and feature access notes that do not fit into the summary cards above.
Start by deciding whether Claude Code is being used through Claude plan access or through Anthropic API and Console billing. The subscription route fits developers working interactively with Claude Code, while the API route fits teams that need programmatic control, metering, or production automation.
Upgrade when coding sessions become frequent enough that lower access limits or lighter models slow the workflow. The signal is not one difficult task; it is repeated use across repositories, refactors, reviews, or agentic coding work where capacity and model choice affect delivery.
Treat subscription authentication, API-key billing, and team workspace access as separate budget lanes. API-key usage can change the billing owner and metering model, while team rollouts need policy, onboarding, and repository governance decisions beyond a single developer subscription.
Before committing, verify which authentication path the team will actually use, who owns API keys, and whether spend should be forecast as seats or metered usage. If the workflow is still experimental, keep the route narrow until coding volume and ownership are clear.
Decision archive
Track how Claude Code pricing has moved over time, including plan lineup shifts, free access changes, and starting price updates.
Last confirmed
May 26, 2026
First archived April 14, 2026
Latest archived pricing state remains unchanged since it was first recorded.
View source pageStarting price
Not specified
Access model
Paid access only
Plan count
3
Billing unit
Usage based
Claude API (Opus 4.7)
api-opus-4-7
Monthly: Not listed
Annual: Not listed
Usage: Anthropic API: Claude Opus 4.7 costs $5 per 1M input tokens and $25 per 1M output tokens; use for higher-capability coding-agent work when the extra spend is justified.
Claude API (Sonnet 4.6)
api-sonnet-4-6
Monthly: Not listed
Annual: Not listed
Usage: Anthropic API: Claude Sonnet 4.6 costs $3 per 1M input tokens and $15 per 1M output tokens; Claude Code API and Console billing should be modeled from token usage.
Claude API (Haiku 4.5)
api-haiku-4-5
Monthly: Not listed
Annual: Not listed
Usage: Anthropic API: Claude Haiku 4.5 costs $1 per 1M input tokens and $5 per 1M output tokens; use for lower-cost supporting automation where it fits the task.
FAQ
Claude Code pricing depends on the access route. Interactive access can come through eligible Claude plans, while API-key and Console workflows should be budgeted from Anthropic API token pricing.
No. Anthropic API usage is metered separately from Claude app subscriptions, so developer builds should use the API pricing lane rather than assuming subscription allowance covers API calls.
Use Opus when the task needs the highest coding capability, Sonnet as the mainstream balance, and Haiku for lower-cost supporting automation where the model is sufficient.
Teams should separate Claude plan access, workspace governance, API token spend, and usage reporting. The right budget depends on whether work happens in the app experience or through API/Console workflows.
Internal links
Pair the pricing snapshot with verdict, alternatives, and the full profile page.
Open direct comparison pages before choosing a plan.
Sanity-check nearby tools before committing to a pricing tier.