Claude Code pricing: what each plan costs, and when an API key is cheaper
Every paid Claude plan includes Claude Code for a flat monthly fee. An API key bills per token instead. Which costs less depends on how much you use it, and on three billing details.

Claude Code comes with every paid Claude plan: Pro at $20 a month ($17 billed annually), Max at $100, Ultra at $200, and Team seats. Or you skip the plan and pay per token with an API key.
Three details change what you pay. If an API key is set in your environment, Claude Code bills that key per token instead of your plan. Claude Code asks once before using the key in an interactive session, and with -p it always uses the key. The monthly API credit on Max and Ultra doesn't cover Claude Code. And past a plan's limits, usage credits bill at API rates on top of the fee.
What does Claude Code cost on each plan?
Anthropic’s pricing page lists these prices, excluding tax:
| Plan | Billed monthly | Billed annually | Claude Code | Monthly API credit |
|---|---|---|---|---|
| Free | $0 | — | Not included | None |
| Pro | $20/month | $17/month ($200 a year) | Included | None |
| Max | $100/month | Not listed | Included | $100 |
| Ultra | $200/month | Not listed | Included | $200 |
| Team Standard | $25 per seat per month | $20 per seat per month | Included | $20 per seat, pooled (team cap $500) |
| Team Premium | $125 per seat per month | $100 per seat per month | Included | $100 per seat, pooled (team cap $500) |
Team needs at least two seats, so its smallest bill is two Standard seats: $50 a month, or $40 a month billed annually. A Premium seat costs more because it carries a larger usage allowance and includes the Fable models.
The model you run changes the price too. On Max, Ultra and Team Premium, Fable models count against the plan’s limits, but on Pro and Team Standard they are paid with usage credits from the first request, in Claude Code as in the app. The comparisons below assume models your plan includes.
Running Claude Code on an API key from the organization that receives the monthly API credit doesn’t spend that credit. The requests bill to credits you bought; if you have bought none, Claude Code stops with “Credit balance too low”.
Does Claude Code cost the same outside the US?
In some countries Anthropic sells Pro in your local currency, through the app stores and web checkout; its pricing page lists USD only. On the Claude app’s Indian App Store listing, Anthropic PBC is the seller and lists these rupee prices:
| Plan (App Store India, in-app purchase) | Price |
|---|---|
| Pro, monthly | ₹1,999 |
| Pro, annual | ₹19,900 |
| Max, monthly | ₹12,900 |
| Ultra, monthly | ₹24,900 |
The listing does not say whether GST is included, and Team is not sold there. The web checkout at claude.ai/upgrade shows the price for your region, which can differ from the store’s, so check it before you subscribe on the web. On an API key, Anthropic prices and reports usage in USD wherever you are.
What does Claude Code cost on an API key?
On an API key, Claude Code charges by API token consumption: every request is metered at the same per-token rates as any other Claude API call, which the LLM pricing table lists by model. Most of those tokens are the agent reading and re-reading your repo, not writing code. Prompt caching and the model you pick change what those tokens cost. There is no monthly fee, and no ceiling unless you set a spend limit, so the cost is a line that starts at zero and rises with use.
Across enterprise deployments, the average Claude Code cost is around $13 per developer per active day and $150 to $250 per developer per month, and 90% of users stay below $30 per active day, according to Anthropic’s Claude Code cost documentation. An active day is a day the developer used Claude Code, not a calendar day. Anthropic publishes no figure for solo developers.
Plan or API key: where is your break-even?
To compare, you need your own API-equivalent number: what your usage would cost at API list rates.
1. Get your number. Use the most complete source you have:
- The Console’s Cost page, if Claude Code already bills to the Console. It
shows what Anthropic billed, by workspace, and which line to read depends on
how Claude Code signs in:
- With your Console account: Anthropic creates a workspace called “Claude Code” for that usage, so that workspace’s line is Claude Code’s spend alone.
- With an API key you created: the spend lands in that key’s workspace. It is Claude Code spend only if nothing else uses that workspace, so give Claude Code a key in a workspace of its own before you measure.
- CostCompass month-to-date, if Claude Code is the only thing using your Console organization. It reads the same cost report as the Console.
/usageon an API key, which shows the current session’s tokens and an estimated cost at list price. It is computed locally and covers one session, so a handful of sessions is a weak sample. Treat it as a first guess.
2. Turn it into a per-active-day figure. Divide the month’s spend by the number of days you used Claude Code. If you only have a few sessions, add up a typical day’s sessions instead. After a week on a key, CostCompass can forecast next month’s spend from those seven days. The forecast includes any plan fee you’ve entered, so subtract it before you divide.
3. Compare it with each plan’s break-even. The break-even per active day is the plan fee divided by your active days per month:
| Active days per month | Pro ($20) | Pro annual ($17) | Max ($100) | Ultra ($200) |
|---|---|---|---|---|
| 5 | $4.00 | $3.40 | $20.00 | $40.00 |
| 10 | $2.00 | $1.70 | $10.00 | $20.00 |
| 20 | $1.00 | $0.85 | $5.00 | $10.00 |
If an active day costs you more than the cell for your row, that plan is cheaper than the key on paper. Tax, usage credits and plan limits are ignored here, and so are models your plan doesn’t include. The annual Pro column uses the monthly equivalent the pricing page lists for annual billing, which is paid up front for the year, so it only helps if you keep Pro that long.

| Hypothetical | Regular user | Irregular user |
|---|---|---|
| API-key spend for the month | $126 | $12 |
| Active days | 18 | 4 |
| API-equivalent per active day | $126 ÷ 18 = $7.00 | $12 ÷ 4 = $3.00 |
| Pro break-even at those active days | $20 ÷ 18 = $1.11 | $20 ÷ 4 = $5.00 |
| Max break-even at those active days | $100 ÷ 18 = $5.56 | $100 ÷ 4 = $25.00 |
| Reading | Pro and Max both cost less than the key | The key costs less than Pro |
For the regular user, Pro vs Max comes down to whether a month of work fits inside Pro’s limits, which only running on the plan tells you.
Why isn’t a flat plan completely flat?
Past a plan’s limits, usage credits (older docs call them extra usage) add a per-token charge on top of the flat fee. A Claude Code session can be charged in three ways:
| Path | How it charges | Where you see it |
|---|---|---|
| Plan fee | Fixed monthly fee, billed through claude.ai | claude.ai → Settings → Billing |
| Usage credits | Metered at standard API rates past your plan’s limits, and from the first request for Fable models on Pro and Team Standard; capped by a monthly spend limit if you set one | claude.ai → Settings → Usage, and the usage-credits row in /usage; no API exposes it for individual plans |
| API key | Metered per token, billed to the key’s Console organization instead of the plan | The Console’s Cost page, and the Admin API usage and cost reports |
Usage credits are off until you turn them on under Settings → Usage on
claude.ai, and they
cover Claude Code as well as Claude chat. The monthly spend limit is
optional: with none set, the usage-credits row in
/usage
reads “Unlimited”.
An API key overrides your plan login when one is set.
Anthropic’s authentication docs
rank an ANTHROPIC_API_KEY environment variable above the subscription login.
In an interactive session Claude Code asks once whether to use the key and
remembers the answer; in non-interactive mode (-p) it uses the key whenever
one is present. From then on, every request bills that key’s Console
organization per token,
billed separately
from the plan you are also paying for. To go back to the plan, run
unset ANTHROPIC_API_KEY, then check /status to confirm the subscription
login is active. Other credentials, such as an apiKeyHelper script or an
ANTHROPIC_AUTH_TOKEN variable,
also rank above the plan login,
so removing the key alone may not be enough.
What can CostCompass show you here?
CostCompass won’t make the plan-or-key decision for you. It tracks your Anthropic API spend day by day and by model, read from Anthropic’s own cost report (exact for closed days, estimated for today), next to the plan fee you enter on the Claude card. After a month on a key, its month-to-date total is the number the break-even section asks for. It can’t see usage credits or plan limits, since Anthropic’s usage and cost API covers Console organizations only, and it can’t tell Claude Code apart from other API use in the same organization. To see Claude Code’s spend alone, give Claude Code its own Console organization. Setting up CostCompass starts with connecting an Anthropic Admin key.
All prices checked on 11 November 2026.
Frequently asked questions
- How much will Claude Code cost me per month?
- On a plan, $20 a month for Pro, $100 for Max or $200 for Ultra, before tax, as listed on Anthropic's pricing page. On an API key, whatever your own usage comes to at per-token rates, so run it on a key for a few days and read the total from the Console's Cost page. The only figure Anthropic publishes, in its Claude Code cost documentation, is an enterprise average of around $13 per developer per active day and $150 to $250 per developer per month, which says little about what one developer on their own will spend.
- Can I use Claude Code for free?
- No. The Free plan on claude.com/pricing does not include Claude Code, so the cheapest plan that does is Pro. The other route is an API key, which charges by API token consumption from the first request. The monthly API credit that comes with Max, Ultra and Team does not make Claude Code free either, because Anthropic's API credit terms list Claude Code as not covered.
- Is Claude Code, or Claude Max, worth it?
- Max is $100 a month on Anthropic's pricing page, so it beats a key once your API-equivalent spend passes about $100 a month and your work fits inside its limits. A developer who uses Claude Code a few days a month can spend less than the Pro fee on a key. Divide the plan fee by your active days and compare it with what an active day costs you.
- Is Claude Code priced separately from Claude?
- Not on a plan. There is no Claude-Code-only subscription. Claude Code is included in every paid plan on claude.com/pricing, from Pro to Team, and on Pro, Max and Ultra it shares the plan's usage limits with the Claude app. The API is the separate product. Anthropic says the Claude API is billed separately from a paid plan, so Claude Code on an API key is charged per token to a Console organization whatever plan you hold.
- How much does Claude Code cost in India?
- Claude Pro is ₹1,999 a month or ₹19,900 a year on the Claude app's Indian App Store listing, where Anthropic is the seller. Max is ₹12,900 a month and Ultra ₹24,900. The listing does not say whether GST is included, and web checkout at claude.ai/upgrade can show a different price for your region.
- Why was my API account charged when I pay for a Claude plan?
- Most likely Claude Code used an API key instead of your plan login. Anthropic's authentication docs rank
ANTHROPIC_API_KEYabove the subscription login, and with-pClaude Code uses the key whenever it is set. Unset it and check/statusto confirm the plan login is active. - Why use CostCompass instead of Claude Code's /usage?
- Because
/usagedoesn't show a month of API spend. CostCompass reads Anthropic's cost report for your Console organization, by model, beside the plan fee you enter. It can't see usage-credit charges or plan limits, and it can't separate Claude Code from other API use in the same organization.
About the author
Joubert Berger builds CostCompass, a spend-intelligence dashboard that pulls usage from AI and compute providers into one month-to-date total, a forecast, and a per-provider breakdown. This guide reflects how CostCompass reads each provider's own usage API — see the security model for how your keys are handled.
Put the metered side of Claude next to the fixed side
Connect an Anthropic Admin key once, then read your organization's month-to-date API spend by model beside the plan fee you enter, whenever you click Refresh.