Claude Code pricing: what every plan costs and which one you need (December 2026)
Every Claude Code price in one place, checked on 6 December 2026: Pro, Max, Ultra, Team, Enterprise and API keys, how the limits work, and which plan fits you.

Key takeaways
- Claude Code needs a paid plan or an API key; the free Claude plan doesn't include it.
- Plans on 6 December 2026: Pro $20 a month ($17 billed yearly), Max $100, Ultra $200, Team from $20 per seat billed yearly.
- Limits refill every 5 hours and every week, and they're shared with your Claude app chats.
- API keys are billed per million tokens, for example Sonnet 5.5 at $2 input and $10 output.
- Daily users save with a plan; occasional users and scripts often pay less with an API key.
Claude Code pricing starts at $20 a month: the program itself is free to install, but you need a paid Claude plan to use it. Pro costs $20 a month ($17 a month if you pay $200 for a year), Max costs $100 a month, and Ultra costs $200 a month. Teams pay per seat, from $20 a month on the Team plan. The free Claude plan does not include Claude Code. You can also skip the plans and pay the Claude Code cost per use with an API key.
This guide explains every Claude Code price, what each plan really gets you in usage, when an API key is cheaper, and how to pick without overpaying. All plan prices come from Anthropic's claude.com/pricing page and API prices from Anthropic's API pricing page, both checked on 6 December 2026. Prices are in US dollars and exclude tax, and Anthropic says plans can change, so check those pages before you buy.
Claude Code pricing at a glance
| Plan | Price (checked 6 Dec 2026) | Claude Code | Usage, as Anthropic describes it |
|---|---|---|---|
| Free | $0 | Not included | Limited usage every 5 hours and every week |
| Pro | $20 a month, or $17 a month billed yearly ($200 up front) | Included | More usage than Free; the baseline the other plans are measured against |
| Max | $100 a month | Included | 5x Pro usage every 5 hours and every week, plus $100 a month in API credits |
| Ultra | $200 a month | Included | No 5-hour limit for verified accounts, 10x Pro usage every week, plus $200 a month in API credits |
| Team, standard seat | $25 per seat monthly, $20 per seat billed yearly | Included | More usage than Pro; 2 to 150 people |
| Team, premium seat | $125 per seat monthly, $100 per seat billed yearly | Included | 5x the usage of a standard seat |
| Enterprise | $20 per seat a month, billed yearly, 20-seat minimum | Included | Usage billed on top at API rates |
The Team plan also includes up to $500 a month in pooled API credits. Pro, Max, Ultra and Team can buy extra usage credits when a limit runs out; the Free plan can't.
Is Claude Code free?
No, not to use. Installing Claude Code costs nothing (see how to install Claude Code), but the first time you run it, it asks you to sign in, and the free Claude plan is not accepted. Anthropic's quickstart lists the accounts that work: a Pro, Max, Ultra, Team or Enterprise plan, a Claude Console account with prepaid API credits, or a company cloud account on Amazon Bedrock, Google Cloud or Microsoft Foundry.
There is also no free trial on the API side. Anthropic's API pricing page says new Console accounts get no free credits, and the smallest credit purchase is $5. So the cheapest way to try Claude Code is either one month of Pro at $20, or $5 of API credit for a short test.
How Claude Code usage limits work
A Claude plan doesn't give you a number of messages or tokens. It gives you an allowance that refills on two clocks:
- A 5-hour limit. A rolling session window. When you use it up, you wait until it resets (or buy extra usage). Ultra has no 5-hour limit for verified accounts.
- A weekly limit. A larger allowance that resets once a week. This is the one heavy users hit.
Three things decide how fast you burn through it:
- The allowance is shared. Chats in the Claude app and work in Claude Code draw from the same pool. A long research chat in the browser leaves less for coding.
- Agent work is token-heavy. Every step, Claude Code sends the conversation so far plus the files it's working on. A long session that reads many files costs much more than a short question. Our guide to reducing token usage explains why and what to do.
- The model matters. Bigger models use the allowance faster. The pricing page also notes that on Pro, Claude Fable is paid with usage credits rather than the plan allowance.
Anthropic describes the higher plans as multiples of Pro ("5x Pro usage", "10x Pro usage every week") rather than fixed numbers, so the honest way to size a plan is to watch your own usage for a week or two. When you do hit a wall, see what to do when you reach your Claude limit.
Which Claude Code plan should you pick?
Pro ($20): start here
Pro is right for learning Claude Code, side projects and a few focused sessions a day. If you hit the 5-hour limit only now and then, stay on Pro and take a break, or buy a little extra usage. Paying yearly brings it down to $17 a month, but only commit once you know Claude Code fits how you work.
Max ($100): when Pro runs out every day
If you code with Claude Code for most of your working day, you'll likely hit Pro's limits daily. Max gives five times Pro's usage on both clocks, and includes $100 a month in API credits, which you can use for scripts or your own apps. For a professional developer, losing an hour a day to waiting usually costs more than the $80 difference.
Ultra ($200): long, unattended runs
Ultra removes the 5-hour limit for verified accounts and gives ten times Pro's weekly usage. It suits people who run long agent jobs, several sessions in parallel, or background agents. If you rarely hit Max's weekly limit, Ultra is money you don't need to spend.
Team and Enterprise: for companies
A Team standard seat ($25 monthly, $20 yearly) gives more usage than Pro plus central billing and admin. Premium seats ($125 monthly, $100 yearly) give five times a standard seat, so you can buy heavy seats only for the people who need them. Enterprise is $20 per seat billed yearly with at least 20 seats, and the usage itself is billed at API rates on top, so its total depends on how much your team uses.
Claude Code cost with an API key
Instead of a plan, you can sign Claude Code in with a Claude Console account and pay per token. These are the API prices for current models on Anthropic's pricing page, checked 6 December 2026, per million tokens (MTok):
| Model | Input | Output | Cache hits |
|---|---|---|---|
| Claude Fable 5.2 | $8 / MTok | $40 / MTok | $0.20 / MTok |
| Claude Opus 5.5 | $4 / MTok | $20 / MTok | $0.20 / MTok |
| Claude Sonnet 5.5 | $2 / MTok | $10 / MTok | $0.10 / MTok |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.10 / MTok | $0.50 / MTok | $0.01 / MTok |
Two details change the maths. First, coding agents resend a lot of the same context, and repeated context is billed at the much cheaper cache price, so a real session costs far less than "tokens × input price". Second, the output price is five times the input price on these models, so long generated files cost more than long reading.
As a rough feel: a session that reads 500,000 tokens of fresh input and writes 50,000 tokens on Sonnet 5.5 comes to about $1 for input and $0.50 for output. On Opus 5.5 the same work is about twice that. Your real numbers depend on caching and how big your project is, so start with a small credit and watch the usage page in the Console.
Plan or API key: which is cheaper?
- Use a plan if you code with Claude Code most days. A fixed price with a generous allowance is almost always cheaper than paying per token for daily agent work, and you never get a surprise bill.
- Use an API key if you use Claude Code a few times a month, run it in CI or scripts, or need a hard budget per project. You pay only for what you use, with no weekly limit, but costs can climb fast on long sessions.
- Use both if you're on Max, Ultra or Team: those plans include monthly API credits, so you can keep the plan for daily work and use the credits for automation.
For a wider view that includes ChatGPT's Codex and GitHub Copilot, read what AI coding really costs. If you're weighing Claude Code against an editor such as Cursor, our Claude Code vs Cursor page compares them side by side.
How to keep your Claude Code cost down
- Start new conversations often. Run
/clearwhen you switch tasks, so Claude Code stops resending an old conversation with every step. - Write a short CLAUDE.md. A project file with your build commands and rules saves the agent from rediscovering them each session. See CLAUDE.md and AGENTS.md explained.
- Be specific. "Fix the blank screen after a wrong password on the login page" costs less than "fix the bug", because the agent searches less.
- Pick the model for the job. Use a smaller model for simple edits and save the biggest one for hard problems.
- Keep browser chats separate. Remember your Claude app chats share the same limit.
- Watch the meter. Knowing you're at 80% of the week on a Thursday tells you to slow down or upgrade before you're stuck.
See your Claude Code usage while you work
Ninja Builder is a desktop app for Mac, Windows and Linux that runs Claude Code with the Claude account you already have, so there's no API key to set up and nothing extra is billed per message. The top bar shows your week's usage, and your 5-hour session usage when your plan has one, as meters that turn from green to orange to red as you get close, and hovering one shows when it resets. Activity › Usage shows whether each account's week will last until the reset, and which chats used your allowance over the last 24 hours, 7, 30 or 90 days, so a session that burns through your weekly limit is easy to spot.
If you have more than one Claude account, you can add them all and pick one per chat. Download Ninja Builder to try it with the plan you already pay for.
Frequently asked questions
How much does Claude Code cost?
Claude Code is included in Claude's paid plans: Pro at $20 a month ($17 a month billed yearly), Max at $100 a month and Ultra at $200 a month, checked on 6 December 2026. Teams pay from $20 per seat billed yearly. You can also pay per token with an API key.
Is Claude Code free?
It's free to install but not to use. The free Claude plan doesn't include Claude Code, and the API has no free credits; the smallest credit purchase is $5.
Is Claude Code included in Claude Pro?
Yes. Pro, Max, Ultra, Team and Enterprise all include Claude Code. Your Claude Code use and your Claude app chats share the same usage limits.
What is the difference between Claude Max and Ultra for Claude Code?
Max ($100 a month) gives five times Pro's usage every 5 hours and every week. Ultra ($200 a month) has no 5-hour limit for verified accounts and gives ten times Pro's weekly usage. Both include monthly API credits.
Is an API key cheaper than a Claude plan for Claude Code?
For daily coding a plan is usually cheaper, because agent sessions use many tokens. An API key can be cheaper if you only use Claude Code now and then, or for scripts and CI where you want to pay per use.
Keep reading

What AI coding really costs: subscriptions vs API keys
Plans with limits or pay-per-token API keys: how coding usage is counted, current prices, and how to estimate your own bill.

What to do when you hit your Claude usage limit
How the five-hour and weekly limits work, five ways to keep going, and habits that stretch your Claude usage.

How to reduce token usage when coding with AI
Where AI coding tokens really go, and seven habits that cut them without slowing you down.