Published October 21, 2026 · Updated November 18, 2026
Pricing for Claude Code
Claude Code is included in every paid Claude plan. Individual plans run from $20 a month for Pro to $200 a month for Max 20x. Team seats start at $20 per seat per month billed annually, and Enterprise is publicly advertised at $20 per seat per month plus usage at API rates. Developers who’d rather skip a subscription can pay per token through the Claude Console. Which option costs least comes down to how heavily each developer uses Claude Code and how many developers need access. For how the 5-hour and weekly usage windows work, see our guide to Claude Code token limits.
{{cta}}
Claude Code pricing by subscription plan
Each of Anthropic's paid plans include Claude Code, but the plans differ in how much usage you get and how it’s billed. The free plan doesn’t include Claude Code.
Note: Max prices are for web subscriptions. If you subscribe through the mobile app, you may pay a different price.
Max plans come with monthly API credits. You can claim them into a linked Claude Console organization once you’ve been on the plan for seven days. They expire at the end of each billing cycle, and you can’t use them for interactive Claude Code sessions or to cover subscription overages.
Team plans get pooled API credits, too: $20 per Standard seat and $100 per Premium seat, up to $500 a month. They cover claude -p and Agent SDK runs that use an API key from the linked organization. Runs signed in with a Claude subscription draw from your plan’s usage instead.
Does Claude Code share usage limits with Claude chat?
Yes. On Pro, Max, and Team plans, Claude Code draws from the same usage pool as Claude on web, desktop, and mobile. That pool resets on a rolling 5-hour window, and paid plans add weekly limits. Anthropic publishes no universal fixed message count, because usage depends on conversation length, model, and features used. Model-specific limits can also apply, including a separate weekly Fable limit on Max.
What happens when you run out of included usage in Claude Code?
On plans with included usage, eligible users can turn on usage credits, which bill further Claude Code and chat usage at standard API rates, subject to organizational controls where applicable. On Pro and Max, you prepay a balance and can set a monthly spend cap. Usage credits are separate from the monthly API credits included with Max, and those API credits can’t be applied to usage credits in Claude Code.
Claude Code API pricing (pay-as-you-go)
Without a subscription, Claude Code bills by API token consumption through the Claude Console. Users pay per million tokens (MTok) of input and output, at a rate set by the model. Cache writes and cache reads have separate rates.
Claude Code pricing by model
Opus 5.5, Claude Code’s default model, costs $4 per million input tokens and $20 per million output tokens, with Sonnet 5.5 and Haiku 5.5 costing less and Fable 5.1 costing more.
Pricing for older models in Claude Code
Claude Code also supports older models. You can switch to one by entering its model ID with /model, as long as your provider and account allow it. Some cloud providers point Claude Code’s shortcut names, like “opus” and “sonnet,” to these older versions by default, so you may be on one without realizing it.
These are list prices from Anthropic’s API pricing, but a few things change what you actually pay:
- Caching: Claude Code caches prompts automatically. Reused context, like system prompts, is billed at the cache-read rate. Writing or rebuilding the cache costs 1.25x the input rate for a five-minute cache, or 2x for a one-hour cache.
- Thinking tokens are billed as output tokens.
- Fast mode for Opus 5.5 costs twice the standard price.
- US-only inference adds 10% to all token charges on supported models and platforms.
- Cloud providers: On Amazon Bedrock, Google Cloud, and Microsoft Foundry, you’re billed through your cloud account at that provider’s prices, including its regional pricing.
Developers beware: some older models cost more than their newer replacements. Opus 5 and Opus 4.8 cost $5 per million input tokens, while Opus 5.5 costs $4. If you or your team are pinned to an older model, you may be paying more per token. Keep in mind that tokenization differs between model generations, so the same text can come out to a different number of tokens. A lower per-token price doesn’t guarantee a lower bill.
How do you know if Claude Code is worth the price?
You can determine if Claude Code is worth the price if you can tie its spend to work that ships: merged pull requests, resolved tickets, and released features. We call that measure cost per outcome, and it is the number an engineering leader needs before renewing, expanding, or capping seats. The invoice shows the spend and leaves the value open. Faros CEO Vitaly Gordon described one Faros engineer spending $20,000 on tokens in a month, and nobody could say whether that called for a promotion or a stern conversation. Spend also varies between developers on the same plan, depending on model choice, the context the agent gets, and how each developer splits work with it. Moving from token maxxing to outcome maxxing starts with seeing what each seat’s spend actually produced.
{{cta}}
Stay on top of Claude Code pricing with Faros
Claude Code is one part of your AI coding bill. Faros brings costs across your AI coding tools into one view and connects that spend to engineering outcomes. Track costs by developer, team, and task, see what the investment produces, and use that evidence to guide model choices and spending decisions.
Connect with our team to learn more.
FAQs
Is Claude Code free?
No. The Claude Free plan doesn’t include Claude Code. The cheapest option is Claude Pro, at $20 a month or $16.67 a month billed annually. You can also skip a subscription and pay per token through the Claude Console.
How much does Claude Code cost?
Claude Code comes with every paid Claude plan. For individuals, plans run from $20 a month (Pro) to $200 a month (Max 20x). Team seats start at $20 per seat per month billed annually. Enterprise is advertised at $20 per seat per month plus usage at API rates. API billing charges per million tokens at the rate for the model you use.
How much does Claude Code cost per developer per month?
Across enterprise deployments, Anthropic reports that Claude Code costs about $150 to $250 per developer per month, or around $13 per developer per active day. For 90% of users, costs stay below $30 per active day. Treat the range as a budgeting baseline: it reflects usage cost at API rates, spend varies widely between developers, and which plan covers a given workload depends on how your own team uses it. Anthropic recommends starting with a small pilot group to set that baseline.
Do you need Claude Pro to use Claude Code?
You need either a paid Claude plan or API billing through the Claude Console. Pro is the cheapest plan that includes Claude Code. Its usage comes from the same allowance as Claude chat.
Does Claude Max include unlimited Claude Code usage?
No. Max 5x gives you five times Pro’s per-session allowance, and Max 20x gives you twenty times. Session and weekly limits still apply. If you hit them, you can turn on usage credits, which bill extra usage at standard API rates.
Should I choose Claude Pro or Max for Claude Code?
Pro fits occasional use, such as learning Claude Code or running it a few times a week. Max fits developers who use it every day and keep hitting Pro’s limits. Max costs $100 or $200 a month and is billed monthly only.
Is a Claude Code subscription cheaper than API billing?
It depends on how much you use it. A subscription gives you a set amount of usage for a fixed monthly price. API billing charges for the tokens you actually use, so it suits variable or automated work like CI jobs. To compare, add up the subscription cost plus any usage credits you’d buy, and set that against API costs for the same work.
What does MTok mean in Claude pricing?
MTok stands for one million tokens. Claude API prices are listed per MTok, with separate rates for input, output, cache writes and cache reads. For example, Opus 5.5 costs $4 per MTok of input and $20 per MTok of output.
Is Sonnet cheaper than Opus in Claude Code?
Per token, yes. Anthropic says Sonnet handles most coding tasks well and recommends saving Opus for complex architectural or multi-step work. A cheaper model can still cost more per task if it needs more attempts or more human review.
Why are older Claude models sometimes more expensive?
Some older models list at higher per-token prices than their replacements. For example, Opus 5 and Opus 4.8 cost $5 per million input tokens, against $4 for Opus 5.5.
What is the difference between Claude Team and Enterprise pricing for Claude Code?
Team is built for 2 to 150 people and lets you mix Standard and Premium seats, with Premium giving five times the usage of Standard. Enterprise has a 20-seat minimum, bills usage separately at API rates, and adds SCIM, audit logs, role-based access, custom data retention, and a HIPAA-ready offering.
How does Claude Code pricing compare to OpenAI Codex?
In comparison to OpenAI Codex pricing, the two are priced similarly at most tiers:
- Entry plans: Both start at $20 a month (Claude Pro, ChatGPT Plus).
- Heavy-use plans: Both have $100 and $200 options. Codex also has a $500 Pro tier.
- Business seats: Both charge $20 for Standard and $100 for Premium, billed annually.
- Free access: Codex has limited free access through ChatGPT Free and Go. Claude Code has no free tier.
- Enterprise: Claude Enterprise is advertised at $20 per seat plus API usage. Codex Enterprise is custom-priced.
The better value is whichever tool costs less per merged PR on your own codebase.





