Claude Code Pricing in 2026: Which Plan Includes It and What It Really Costs

Claude Code comes with Claude Pro ($20) and Max ($100 or $200), or runs on pay-per-token API billing. Compare plans, API costs and tips to make your usage last.
Claude Code is included in every paid Claude plan: Pro at $20 a month ($200 a year), Max 5x at $100 and Max 20x at $200 a month in the US, as listed on Anthropic's pricing page on 19 October 2026. It is not included in the Free plan. You can also run it on pay-as-you-go API billing instead of a subscription.
On a subscription there is no separate Claude Code fee. Your coding sessions draw from the same usage allowance as your chats, so the real question is which plan gives you enough room, and when the API is cheaper.
Ways to pay for Claude Code
| Option | Price (US) | How usage works | Best for |
|---|---|---|---|
| Free plan | $0 | No Claude Code | Chat only |
| Pro | $20 a month or $200 a year | Shared pool with chat, reset every 5 hours, plus weekly limits | Learning, side projects, short daily sessions |
| Max 5x | $100 a month | 5× Pro's allowance per session | Daily coding that keeps hitting Pro's limit |
| Max 20x | $200 a month | 20× Pro's allowance per session | Claude Code running most of the working day |
| API (Claude Console) | Pay per token | No plan limits; you pay for every token | Automation, CI pipelines, teams wanting per-person billing |
| Team and Enterprise | Per seat; Enterprise is $20 a seat plus usage at API rates | Per-seat allowance with admin controls | Companies |
Prices exclude tax. In euro countries Anthropic's page shows Pro at €18 a month and Max from €90.
What Claude Code costs on the API
On the API you pay per million tokens, and the model you choose makes the biggest difference. These are Anthropic's standard US prices:
| Model | Input, per million tokens | Output, per million tokens |
|---|---|---|
| Claude Fable 5.1 | $10 | $50 |
| Claude Opus 5.5 | $4 | $20 |
| Claude Sonnet 5.5 | $2 | $10 |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.10 | $0.50 |
Claude Code reuses a lot of the same context between requests, and cached input is billed at a fraction of the normal rate, which keeps real costs lower than the table suggests. Anthropic's own figure for company deployments is about $13 per developer per active day, or $150 to $250 per developer per month, with 90% of users staying under $30 on an active day.

Subscription or API: a worked example
Take a developer who codes with Claude Code on 15 days a month and matches Anthropic's average of $13 a day.
| Option | Monthly cost | Catch |
|---|---|---|
| API | 15 × $13 = $195 | No limits, but the bill grows with every long session |
| Max 20x | $200 | Fixed price; very heavy days can still hit a limit |
| Max 5x | $100 | About half the API cost, if 5× Pro's allowance is enough |
| Pro | $20 | Likely to hit the limit on most of those days |
For one person coding most weekdays, a subscription is usually cheaper than the API, because the price is capped. The API makes more sense for automated jobs that run without you, for occasional use of a few dollars a month, or for a company that needs a bill per developer.
If you are on Pro and only run out now and then, Anthropic lets paid plans turn on usage credits, billed at API rates, so you can keep working past the limit without upgrading. Check them in Settings, then Usage, on claude.ai.
Do the Max API credits cover Claude Code?
No. Since October 2026, Max 5x includes $100 and Max 20x $200 of monthly API credits, but Anthropic says they cannot be spent on Claude Code or extra usage in the Claude apps. They work for the Claude API, the Agent SDK, Managed Agents and the Console Playground. Unused credits expire at the end of each billing cycle.
How to use Claude Code with your subscription
- Subscribe to Pro or Max on claude.ai.
- Install Claude Code from Anthropic's Claude Code documentation; it runs in your terminal, in VS Code and in the desktop app.
- Run
claudein your project folder and sign in with your Claude account when asked, or type/login. Choose your Claude subscription, not an API key, or you will be billed per token. - Type
/usageat any time to see how much of your session and weekly allowance is left.

Five ways to make your allowance last longer
- Clear between tasks:
/clearstarts a fresh conversation. A long session resends its whole history with every request. - Use Sonnet for everyday coding: Anthropic recommends it for most tasks and keeps Opus for hard architecture problems. Switch with
/model. - Lower the effort for simple jobs:
/effortreduces thinking, which is billed as output. - Be specific: "add input validation to the login function in auth.ts" uses far less than "improve this codebase".
- Turn off what you don't use: disable unused MCP servers with
/mcp, and keep your CLAUDE.md file short.
Which plan should you pick?
Start on Pro if you are trying Claude Code or use it for an hour or two a day. Move to Max 5x when Pro's limit stops you on most working days. Choose Max 20x only if Claude Code is your main tool all day, or Max 5x still runs out. Use the API for automation, or if your company wants to pay per developer. For the full plan comparison, see our Claude Pro price guide.
If you are comparing AI coding tools more widely, our Bolt.new pricing guide covers a browser-based app builder that charges by tokens in a different way.
Claude Code pricing questions
Is Claude Code free?
The software is free to install, but using it needs a paid Claude plan (Pro or Max) or API credit. The Free Claude plan does not include Claude Code.
Is Claude Code included in Claude Pro?
Yes. Pro includes Claude Code at no extra cost, sharing the same usage allowance as your chats.
How much does Claude Code cost per month on the API?
It depends on use. Anthropic reports an average of about $13 per developer per active day and $150 to $250 per developer per month across company deployments.
Can I use Claude Code on the Free plan?
No. Anthropic's plan comparison lists Claude Code for Pro, Max, Team and Enterprise only.
What happens when I hit my Claude Code limit?
You can wait for the 5-hour or weekly window to reset, upgrade your plan, or turn on paid usage credits to continue at API rates.
More AI pricing guides
- ChatGPT Plus price and discounts: OpenAI's plans compared.
- Best AI subscriptions in 2026: which paid AI tool suits which kind of work.
Where these prices come from
Checked on 19 October 2026 against Anthropic's pricing page, its API pricing documentation, its Claude Code cost guide and its documentation for Max API credits. Prices exclude tax and can change.
Save Money Today
Compare current offers for this service
SubShave compares third-party offers for streaming, AI tools, and software. Check the seller’s current prices and terms before purchasing.
Related Articles
AI Tools
Compare free vs paid AI tools using real tasks, limits and total cost. Learn when to upgrade, avoid duplicate subscriptions and review the results.

Cursor now comes inside The X Subscription, from $8 to $200 a month. See the new plans, what changed for Pro users, and what Claude or GPT now costs in Cursor.

Find AI study tools for explanations, lecture notes, quizzes and revision. Compare free options, student eligibility and ways to check AI answers.
Popular on SubShave
Save Money Today
Pay Less for the Subscriptions You Keep
Compare subscription offers for streaming, AI tools, and software. Prices, access arrangements, and availability vary by seller.
Explore All Deals