Claude Code pricing comes in two forms. You either use it inside a Claude subscription, where it shares one usage allowance with Claude chat, or you pay per token through the Anthropic API. On Anthropic's pricing page, checked on 23 October 2026, Pro is $17 a month billed annually ($200 up front) or $20 monthly, Max is $100 (5x) or $200 (20x) a month, Team seats are $20 (Standard) or $100 (Premium) a month billed annually, and Enterprise is $20 a seat a month plus usage at API rates. On the API, the default model, Opus 5.5, costs $4 per million input tokens and $20 per million output tokens. The free plan does not include Claude Code. The rest of this guide covers the limits, what a session costs in tokens, and what a solo founder, a five-person team and a heavy agentic user would pay.
Every way to pay for Claude Code
Prices are in US dollars, before tax, as Anthropic's pricing page showed them on 23 October 2026.
| Plan | Billed annually | Billed monthly | Claude Code | Usage, in Anthropic's words |
|---|---|---|---|---|
| Free | $0 | $0 | Not included | Everyday questions |
| Pro | $17 a month ($200 a year) | $20 | Included | At least 5x more usage per 5-hour session than Free |
| Max 5x | Not offered | $100 | Included | 5x more usage per 5-hour session than Pro |
| Max 20x | Not offered | $200 | Included | 20x more usage per 5-hour session than Pro |
| Team, Standard seat | $20 a seat | $25 a seat | Included | More usage than Pro |
| Team, Premium seat | $100 a seat | $125 a seat | Included | 5x more usage than Standard seats |
| Enterprise | $20 a seat, plus usage at API rates | Annual only | Included | Usage billed at API rates |
| Anthropic API (Console) | Pay per token | Pay per token | Included | Your organisation's API rate limits |
Is Claude Code free?
The software is free to install, but using it is not. Anthropic's plan comparison marks Claude Code as not included on the Free plan, and every way of running it draws on either a paid plan or API credit. The cheapest entry is Pro at $17 a month on an annual plan. The other route is a Claude Console account, where you buy prepaid API credit and pay only for the tokens you use.
Claude Code Pro vs Max
Pro is for regular but not all-day use. Max is for people who work in Claude Code for most of the day and keep hitting Pro's limits. Max 5x and Max 20x are billed monthly only, so there is no annual discount. Max also adds higher output limits, priority access at busy times and $100 or $200 a month in API credits for building on the Claude Platform. Those credits cannot be spent in Claude Code or the Claude apps, so they do not stretch your coding allowance.
Claude Code for teams
The Team plan is for 2 to 150 people, and Claude Code is included with every seat. You can mix Standard and Premium seats, so only the heavy users need the $100 seat. Team adds SSO, central billing, server-managed Claude Code settings and an analytics dashboard. Enterprise needs at least 20 seats and works differently: the seat is $20 a month and all usage is billed at API rates, with no per-seat usage limit on usage-based plans. It adds SCIM, audit logs, custom data retention and role-based access.
Usage limits, exactly as Anthropic states them
Anthropic does not publish limits as a number of messages or tokens. Its pricing FAQ says usage depends on the length and complexity of conversations, the model and the features you use, "so there's no fixed message count". What it does state:
- Two windows. Pro and Max have a session limit that resets every five hours and a weekly limit. Max also has a separate weekly limit for Fable, Anthropic's largest model.
- One pool. Claude chat on web, desktop and mobile and Claude Code in the terminal or IDE all draw on the same limits.
- Discretionary caps. Anthropic says it may limit usage in other ways, such as weekly and monthly caps or model and feature usage.
- Team seats reset on a rolling five-hour window and a weekly window, and the allowance is shared with Claude chat and Cowork.
When you hit a limit you can wait for the reset, move up a plan, or turn on usage credits, which bill further use at standard API rates with a monthly spend cap you set. Depending on your plan and seat, Fable requests may bill to usage credits instead of your allowance; Claude Code asks before the first one does.
Claude Code API pricing
On the API, or once usage credits kick in, you pay per million tokens (MTok). These are the current models on Anthropic's API pricing page, checked on 23 October 2026.
| Model | Input | Cache write (5 min) | Cache write (1 hour) | Cache read | Output |
|---|---|---|---|---|---|
| Fable 5.1 | $10 | $12.50 | $20 | $0.25 | $50 |
| Opus 5.5 (Claude Code's default) | $4 | $5 | $8 | $0.20 | $20 |
| Sonnet 5.5 | $2 | $2.50 | $4 | $0.10 | $10 |
| Haiku 5.5, prompts up to 100K tokens | $0.10 | $0.125 | $0.20 | $0.01 | $0.50 |
Claude Code's model settings say the default resolves to Opus 5.5 on Pro, Max, Team, Enterprise and the API. Anthropic's own cost guidance is to use Sonnet for most coding and keep Opus for hard reasoning. Fast mode on Opus 5.5 costs twice the standard rate, and US-only inference costs 1.1 times.
What a Claude Code session costs on the API
Claude Code sends the whole conversation with every request, and each round of tool results is another request. Prompt caching is what keeps that affordable: history already sent is re-read at the cache-read rate. On an API key, Claude Code caches the main conversation for five minutes by default.
Here is a working model, and it is our arithmetic, not Anthropic's. Take one focused hour with 60 requests, an average context of 60,000 tokens of which 90% comes from cache, and 1,500 output tokens per request. Each request is then 54,000 cached tokens, 6,000 newly cached tokens and 1,500 output tokens.
| Model | Per request | Per hour (60 requests) |
|---|---|---|
| Opus 5.5 | $0.011 + $0.030 + $0.030 = $0.071 | about $4.25 |
| Sonnet 5.5 | $0.005 + $0.015 + $0.015 = $0.035 | about $2.12 |
| Opus 5.5 with no cache hits | $0.24 + $0.03 = $0.27 | about $16.20 |
Three hours a day on Opus comes to roughly $13. That lines up with what Anthropic reports in its cost documentation: across enterprise deployments, about $13 per developer per active day and $150 to $250 per developer per month, with 90% of users below $30 per active day. The last row shows why a long session left open over a break, which misses the cache, costs far more than one that is cleared between tasks.
The costs that are not on the pricing page
- Review time. Every change Claude Code makes still needs a person to read it. As an illustration, a senior engineer who spends an hour a day reviewing AI-written pull requests at $100 an hour costs about $2,000 a month in review alone, which is more than any plan here.
- CI minutes. The Claude Code GitHub Action runs on GitHub-hosted runners, which use your Actions minutes, on top of the tokens each run consumes.
- Rework. Code that passes a demo and fails under real users gets written twice. The fix is tests, review and a clear spec, not a bigger plan.
- The wrong login. If an
ANTHROPIC_API_KEYenvironment variable is set, Claude Code uses it instead of your subscription, and the usage is billed at API rates. - Background requests. Claude Code makes small requests for things like session titles, typically under $0.04 a session by Anthropic's count.
- Agent teams. Anthropic says agent teams use about 7x more tokens than a standard session when teammates run in plan mode.
Three worked examples
All three are our arithmetic on the prices above, checked on 23 October 2026.
A solo founder building an MVP
Start on Pro at $200 a year. If you hit the five-hour limit most days, move to Max 5x at $100 a month ($1,200 a year), and only go to Max 20x ($2,400 a year) if Max 5x still stops you. Compare that with the API: Anthropic's average of $150 to $250 per developer per month is more than Max 5x costs, so a founder coding every day is usually better off on a subscription. Turn on usage credits with a low monthly cap for the odd heavy week rather than upgrading for it.
A five-person product team
On the Team plan, five Standard seats are $100 a month, or $1,200 a year billed annually ($1,500 billed monthly). If two of the five are heavy users, give them Premium: three Standard and two Premium seats come to $260 a month, $3,120 a year. All five on Premium is $6,000 a year. Enterprise is not an option at this size because of the 20-seat minimum. On the API, Anthropic's averages would put five developers at $750 to $1,250 a month, so seats are cheaper unless usage is light and irregular.
Heavy agentic use on the API
Say a company runs Claude Code headless in CI to review 400 pull requests a month, and one engineer runs agent teams for four hours a day. Using the session model above, a review of 25 requests at a 40,000-token average context, 90% cached, with 1,000 output tokens each, on Sonnet 5.5 is about $0.59, so 400 reviews are about $236 a month plus GitHub Actions minutes. Four hours a day on Opus at roughly 7x a normal session's tokens is about $119 a day, or $2,380 over 20 working days. At this level, set a workspace spend limit in the Claude Console, move subagents to Sonnet or Haiku, and cap each CI run with --max-turns.
Taking it to production
Most projects built with Claude Code never need outside help. A side project, an internal tool or a prototype that proves an idea is fine as it is. The gap shows up when real users, payments or customer data arrive: access rules that hold, keys kept out of the browser, tests, error monitoring, backups and a deploy you can roll back. Our Prototype Production Review checks exactly those areas (security including Supabase row-level security, exposed keys and auth; the data model; performance; and deploy) for $2,500 fixed over 5 business days, and you get a graded report and a fix plan. The fee is credited in full to a build with us started within 60 days. If we then fix and launch it, the work is done by an embedded team at $3,000–$7,500 per engineer per month.
If you are still choosing tools, our Claude Code vs Cursor comparison covers both side by side, including what each costs. They are not exclusive: Anthropic's help pages say a Pro or Max plan also covers Claude Code inside Cursor and other VS Code forks.



