Claude Code pricing (2026): every plan, API costs and what developers really spend
Claude Code costs $20 a month with Pro ($17 yearly), $100 with Max or $200 with Ultra. Team seats, API token prices and what developers really spend.
We may earn a commission if you sign up through links on this page. It costs you nothing and never decides what we recommend. Learn more
Short answer
Claude Code costs $20 a month with Claude Pro, or $17 a month if you pay yearly. There's no separate Claude Code price. It comes with every paid Claude plan, so heavier users pay $100 (Max) or $200 (Ultra), and teams pay $20 or $100 per seat. You can also skip the plans and pay per token through the Claude API.
- Pro$20/mo$17/mo billed yearly
- Max$100/mo5x Pro's usage
- Ultra$200/mo10x Pro's weekly usage
- Claude APIPer tokenNo monthly fee

On this page 10 sections
- Claude Code pricing at a glance
- Is Claude Code free?
- How the usage limits work
- Claude Code API pricing (pay per token)
- What does one Claude Code session cost?
- How much do developers really spend?
- Which Claude Code plan should you pick?
- 3 billing surprises to avoid
- How to check and lower your Claude Code costs
- Bottom line
All prices below come from Anthropic’s own pricing pages and help articles, checked on November 19, 2026. They don’t include tax.
Claude Code pricing at a glance
| Plan | Price | Claude Code usage | Fable 5.2 |
|---|---|---|---|
| Free | $0 | Not included | No |
| Pro | $20/mo, or $17/mo yearly ($200 up front) | Included, with limits every 5 hours and every week | Only with paid usage credits |
| Max | $100/mo | 5x Pro’s usage | Up to half your weekly limit |
| Ultra | $200/mo | 10x Pro’s weekly usage, no 5-hour limit | Up to half your weekly limit |
| Team, standard seat | $20/seat/mo yearly, $25 monthly | More than Pro | No |
| Team, premium seat | $100/seat/mo yearly, $125 monthly | 5x a standard seat | Up to half your weekly limit |
| Enterprise | $20/seat/mo yearly, plus usage at API rates | Pay for what you use (20-seat minimum) | Yes |
| Claude API (Console) | No monthly fee | Pay per token | $8 / $40 per million tokens |
Ultra’s “no 5-hour limit” applies to verified accounts. Max and Ultra are billed monthly only. For everything else the plans include, like chat, Cowork and Claude Design, see our Claude pricing guide.
Is Claude Code free?
No. The free Claude plan doesn’t include Claude Code. The cheapest plan with it is Pro at $20 a month.
There is one way to pay less than $20: a Claude Console account, where you only pay for the tokens you use. If you run Claude Code for a few small jobs a month, that can come to a few dollars. If you use it most days, it quickly costs more than Pro.
How the usage limits work
Your plan gives you a usage allowance, not a set number of messages. How fast you use it depends on the model, how long your sessions run and how big your project is.
- Pro and Max have a limit that resets every 5 hours and a limit that resets every week.
- Ultra has only the weekly limit on verified accounts.
- Max and Ultra also have a separate weekly limit for Fable.
- The limits are shared. Claude chat, Claude Code in the terminal and Claude Code in your IDE all draw from the same allowance.
If you hit the 5-hour limit in the middle of a task, Claude Code may keep going briefly to finish the step. You’ll see “Usage limit reached · wrapping up”. On Pro this can happen once per weekly period. On Max it can happen each time you hit a 5-hour limit.
When you’re out of usage, you have four options: wait for the reset, upgrade, turn on usage credits, or switch to a Console account. Usage credits keep you working at standard API prices until you reach a monthly spend limit you set. They’re charged on top of your plan, they aren’t refundable, and credits bought on or after December 7, 2026 expire after 12 months.
Claude Code API pricing (pay per token)
If you sign in with a Claude Console account instead of a plan, you pay these rates. Usage credits on a plan cost the same.
| Model | Input | Output | Cache read |
|---|---|---|---|
| Claude Fable 5.2 | $8 | $40 | $0.20 |
| Claude Opus 5.5 | $4 | $20 | $0.20 |
| Claude Sonnet 5.5 | $2 | $10 | $0.10 |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.10 | $0.50 | $0.01 |
Prices are per million tokens. Fast mode for Fable 5.2 and Opus 5.5 is up to 2.5x faster and costs twice as much ($16 / $80 for Fable 5.2). Not sure which model fits your work? Read Claude Opus vs Sonnet vs Fable.
What does one Claude Code session cost?
Claude Code’s cost docs show a sample session: 1,200 input tokens, 5,300 output tokens, 940,000 cache reads and 50,000 cache writes. That’s a typical shape, because Claude Code re-reads your project many times and caching makes those re-reads cheap.
We priced that same session at today’s API rates:
| Model | With caching (normal) | If nothing were cached |
|---|---|---|
| Sonnet 5.5 | $0.27 | $2.03 |
| Opus 5.5 | $0.55 | $4.07 |
| Fable 5.2 | $0.91 | $8.14 |
Caching cuts the bill by about 87 to 89 percent. Claude Code turns it on for you. The docs’ own example was priced on an older Sonnet model at $0.55, and our math gives the same $0.55 at that model’s old rates, so the numbers check out. To price your own sessions, try our Claude API cost calculator.
How much do developers really spend?
Anthropic’s figure for company deployments: about $13 per developer per active day, or $150 to $250 per developer per month. For 90% of users it stays under $30 per active day.
Here’s how many of those average API days each plan’s monthly price buys:
| Plan | Monthly price | Average API days it equals |
|---|---|---|
| Pro (yearly) | $17 | about 1.3 |
| Pro | $20 | about 1.5 |
| Max | $100 | about 7.7 |
| Ultra | $200 | about 15 |
So if you code with Claude Code more than a couple of days a month, a plan almost always costs less than the API. The API makes sense when you need it only now and then, or for automated jobs where a company wants one bill and hard spend caps.
Which Claude Code plan should you pick?
- Trying it out, or a few small jobs a month: a Console account (pay per token) or Pro.
- Side projects and coding a few days a week: Pro. It’s what most people start with.
- Coding all day and hitting Pro’s limits every week: Max at $100.
- Long agent runs that keep stopping at the 5-hour limit: Ultra at $200. (Full comparison: Claude Pro vs Max vs Ultra.)
- A team of 2 to 150: Team standard seats, with premium seats only for the heavy coders. You can mix both.
- A large company that wants spend limits per person: Enterprise, or the Console with workspace limits.
Comparing Claude Code with Cursor, Copilot or Codex on price? See our best AI tools for coding, or Codex vs Cursor if you’re choosing between those two.
3 billing surprises to avoid
- An API key can override your plan. If an
ANTHROPIC_API_KEYenvironment variable is set on your computer, Claude Code uses it instead of your Pro, Max or Ultra plan, and you get billed at API rates. Remove it and run/loginto go back to your plan. - Max and Ultra API credits don’t work in Claude Code. The $100 and $200 monthly credits are for building apps on the Claude Platform. They can’t pay for Claude Code or for usage credits.
- Auto-reload can keep buying. Usage credits and Console accounts can both refill automatically. Set a monthly spend limit, or leave auto-reload off. If you never want the API option to appear, log in with your plan only and don’t add Console details.
How to check and lower your Claude Code costs
- Run
/usage. On a plan it shows your usage bars and what’s eating your allowance, with tips. On the API it shows the session’s token cost. - Start fresh with
/clearwhen you switch tasks. Long sessions carry old context, which costs more. - Pick the model for the job with
/model. Use Sonnet 5.5 for everyday work and save Opus or Fable for hard problems. - Keep agent teams small. Each extra agent has its own context, so cost grows with team size.
- Manage usage credits with
/usage-credits, which opens your spend settings.
Bottom line
For most people, Claude Code pricing starts and ends with Pro at $20 a month. Move to Max ($100) only when Pro’s limits stop your work every week, and to Ultra ($200) when the 5-hour limit cuts long runs short. Pay per token only if you code with it rarely. For teams, standard seats at $20 cover most people, with $100 premium seats for the heaviest users.
Once you’re set up, our Claude Code settings guide shows how to change the model, add a status line and pick a permission mode.
Tools in this post

Claude Code
by Anthropic
Coding agent that works across your whole codebase from the terminal or editor.
Included with Claude Pro, Max and Ultra; or pay per use via the API
Privacy & risks
- Trains on your data
- You choose
- The most-used coding agent in the Stack Overflow 2026 survey (66% of developers who use agents).
- Consumer plans let you choose whether code is used for training; Team, Enterprise and API use is not trained on.
- Security flaws found in 2026 (including CVE-2026-24887 and CVE-2026-35021) were fixed in updates. Keep it up to date.

Claude
by Anthropic
Assistant known for long documents, careful writing and coding help.
Free; Pro $20/mo ($17/mo yearly); Max $100/mo; Ultra $200/mo
Privacy & risks
- Trains on your data
- You choose
- Minimum age
- 18+
- Free, Pro and Max users choose whether their chats can be used for training. Team, Enterprise and API data is not used for training.
Questions people ask
How much does Claude Code cost?
Claude Code comes with Claude's paid plans. Pro is $20 a month, or $17 a month if you pay yearly. Max is $100 a month and Ultra is $200 a month. Team seats cost $20 or $100 per person a month on yearly billing. You can also pay per token through the Claude API with no monthly fee.
Is Claude Code free?
No. The free Claude plan doesn't include Claude Code. The cheapest way in is Claude Pro at $20 a month. If you only use it now and then, paying per token through a Claude Console account can cost less.
Is Claude Code included in Claude Pro?
Yes. Pro includes Claude Code in the terminal, in VS Code and JetBrains IDEs, and in the Claude desktop app. It shares Pro's usage limits with your normal Claude chats, so heavy coding uses up the same allowance.
Is Claude Code cheaper with a subscription or the API?
For most people who code a few days a week, a subscription is cheaper. Anthropic says company users spend about $13 per developer per active day on the API, so Pro costs less than two average days. The API wins only for light or occasional use.
What happens when I hit the Claude Code usage limit?
Claude Code tells you when the limit resets. You can wait, upgrade your plan, or turn on usage credits, which keep you working at standard API prices until a monthly spend limit you set. Pro and Max limits reset every five hours and every week.
Do Max and Ultra API credits work in Claude Code?
No. The $100 (Max) and $200 (Ultra) monthly API credits are for building on the Claude Platform. Anthropic says they can't be used in Claude Code or the Claude apps, including for usage credits.
Sources
- Claude plans and pricing (Anthropic)
- Pricing, Claude API (Anthropic docs)
- Manage costs effectively (Claude Code docs)
- Use Claude Code with your Pro, Max, or Ultra plan (Claude Help Center)
- Use Claude Code with your Team or Enterprise plan (Claude Help Center)
- Manage usage credits for paid Claude plans (Claude Help Center)


