# Claude Code Pricing: Which Plan You Actually Need

By Ethan Rogers. Published 2026-11-25. 16 min read.
Canonical: https://ethanplus.ai/guides/claude-code-pricing

Claude Code pricing looks simple on the pricing page and gets confusing the moment you start using it every day. There is no separate Claude Code subscription. You get it through a Claude plan or you pay per token with an API key, and the plan you pick decides how long you can work before you hit a wall.

I use Claude Code every day for client work at Plastix and for my own products, and I train teams on it. This is the version I give people when they ask which plan to buy: what each plan costs, how the limits actually behave, and when the API makes more sense than a subscription.

> **The short version**
>
> Claude Code is not on the Free plan. The cheapest way in is Pro at $20 a month. Most people who code with it daily end up on Max ($100) or Ultra ($200).
>
> | If you are... | Get |
> | --- | --- |
> | Trying it out, or coding a few hours a week | Pro, $20/month ($17/month billed annually) |
> | A solo developer using it most of the day | Max, $100/month |
> | Running long sessions or several agents in parallel | Ultra, $200/month |
> | A team of 2 to 150 | Team, $25/seat standard or $125/seat premium (monthly) |
> | Running it in CI, scripts or your own product | API key, pay per token |

*Prices checked against claude.com/pricing on November 25, 2026. I review this page monthly.*

## Is Claude Code free?

No. The [Claude pricing page](https://claude.com/pricing) lists Claude Code as not included on the Free plan. The first plan that includes it is Pro.

There are two ways people end up using it without a subscription, and neither is really free:

- **API credits.** Anthropic's [API pricing docs](https://platform.claude.com/docs/en/about-claude/pricing) say new users receive free credits to test the API. You can point Claude Code at a Console account and burn those, but once they run out you are paying per token.
- **Someone else's plan.** If your company is on Team or Enterprise, Claude Code is included with your seat. Your employer is paying for it.

So "is Claude Code free" has a short answer: not really. If you want to try it for a month, Pro at $20 is the cheapest honest way to do it.

## Claude Code pricing: every plan that includes it

Here is what each plan costs and how much Claude Code you get, straight from [claude.com/pricing](https://claude.com/pricing) and Anthropic's help center. If you want the full feature list for each plan (chat, Cowork, Claude in Chrome, connectors and so on), I cover that in [Claude Pricing Explained](/guides/claude-pricing). This article stays on Claude Code.

| Plan | Price | Claude Code | Usage vs Pro | 5-hour limit |
| --- | --- | --- | --- | --- |
| Free | $0 | Not included | n/a | n/a |
| Pro | $20/month, or $17/month billed annually ($200 up front) | Included | 1x | Yes |
| Max | $100/month, monthly only | Included | 5x every 5 hours and every week | Yes |
| Ultra | $200/month, monthly only | Included | 10x every week | None for verified accounts |
| Team, standard seat | $25/seat monthly, $20/seat annually | Included | 1.25x Pro per session | Yes |
| Team, premium seat | $125/seat monthly, $100/seat annually | Included | 6.25x Pro per session | Yes |
| Enterprise | $20/seat/month billed annually, 20-seat minimum, plus usage at API rates | Included | No per-seat limit on usage-based plans | No |
| API key (Console) | Pay per token | Works with any key | No plan limit | No |

A few things in that table are new this year and trip people up.

**There is no "Max 20x" anymore.** Anthropic's help center says plainly: ["The Max 20x plan is now called the Ultra plan."](https://support.claude.com/en/articles/17728952-what-is-the-ultra-plan) Existing subscribers moved over automatically with no price change. Max is now a single $100 tier at 5x Pro.

**Ultra drops the five-hour window, but only once your account is verified.** Anthropic verifies Ultra accounts automatically using things like account and payment history. Until that happens you get a temporary limit, and the help center notes that verifying your phone number at checkout does not remove it. You can tell you are verified when there is no "Current session" bar under Settings > Usage.

**Max and Ultra are monthly only.** Only Pro has an annual discount.

**Team seats can be mixed.** Per [Anthropic's Team plan article](https://support.claude.com/en/articles/9266767-what-is-the-team-plan), Team needs at least two members and supports up to 150. You can give your heavy Claude Code users premium seats and everyone else standard ones.


### What about Fable?

Fable is Anthropic's newest model family (Fable 5.2 is the current one), and it is priced differently from everything else. Per Anthropic's [Fable plan article](https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan):

- **Free:** not available.
- **Pro and Team standard seats:** not included in your plan's limits. You can use it, but only by paying with usage credits.
- **Max, Ultra and Team premium seats:** included, up to 50% of your weekly limit. Past that you either switch models or pay with usage credits.

There was a launch offer that gave Pro users a week of included Fable starting November 9, 2026. It ended on November 16, so if you are reading old Reddit threads saying Fable is free on Pro, that is why.

In Claude Code specifically, Fable 5.2 needs Claude Code 2.1.321 or later. Run `claude update` if it does not show up in `/model`.

## How Claude Code usage limits work

This is the part that actually decides which plan you need, so it is worth getting right.

### Your limits are shared with chat

Anthropic's [Claude Code plan article](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan) says it in one line: "These limits are shared across Claude and Claude Code." The same goes for Claude Code inside VS Code, Cursor or JetBrains: IDE usage counts toward the same pool.

In practice this means a long research conversation in the Claude app in the morning leaves less room for coding in the afternoon. If you use Claude heavily for both, size your plan for the total, not just the coding.

### Two windows: five hours and one week

On Pro, Max and Team, there are two limits running at the same time:

- **A session limit** that resets every five hours.
- **A weekly limit** that resets once a week.

Ultra (verified) only has the weekly one. Enterprise on usage-based billing has no per-seat limit at all, just spend limits an admin sets.

Anthropic does not publish a number of prompts or messages per window. The help center describes the limits in terms of time and relative size (5x, 10x and so on), and the pricing page says how fast you reach a limit "depends on the model you use, how long your chats are, and how large your files are." Anyone quoting you an exact message count is guessing.

### Why a coding session burns more than chat

The [Claude Code cost docs](https://code.claude.com/docs/en/costs) explain why your usage drops faster than you expect. Claude Code sends your full conversation with every request, and every tool call (reading a file, running a test) sends another request carrying those results. A one-line question in a session that has been open all day still costs you the whole context.

That is why the five-hour window matters so much for coding. Chat users rarely hit it. People running Claude Code all afternoon on a big repo hit it regularly.

### What happens when you hit a limit

You get a message like "You've hit your session limit" or "You've hit your weekly limit," with the reset time. According to the docs, switching models with `/model` does not get you around a session or weekly limit, because those apply across all models.

Your options at that point:

1. **Wait for the reset.**
2. **Turn on usage credits** and keep going at API rates (more on that below). Run `/usage-credits` in Claude Code to open the setting.
3. **Upgrade** (Pro to Max, Max to Ultra).

There is also a small "wrap-up allowance": if you hit the five-hour limit mid-response, Claude Code may finish the current step and show "Usage limit reached · wrapping up." On Pro that happens up to once per week. On Max it can apply every time you hit a five-hour limit. Anthropic says it is rolling out gradually.

### How to check where you are

Run `/usage` in Claude Code. On a subscription it shows your plan usage bars, plus a breakdown of what is eating your limits (skills, subagents, MCP servers, loops) and suggested fixes. You can press `f` to have Claude Code apply the ones it can. The [cost docs](https://code.claude.com/docs/en/costs) note that these numbers come from local history on that machine, so usage from claude.ai or another computer is not included.

On claude.ai, Settings > Usage shows the same limits across everything.


## Subscription vs API key billing

Claude Code works two ways, and they bill completely differently.

**Subscription (Pro, Max, Ultra, Team, Enterprise seat).** You log in with your claude.ai account. You pay a flat monthly price and get the usage that plan includes. When you run out, you wait or pay extra.

**API key (Claude Console).** You pay per token at [API rates](https://platform.claude.com/docs/en/about-claude/pricing), with no five-hour or weekly window. Current list prices per million tokens:

| Model | Input | Output |
| --- | --- | --- |
| Claude Fable 5.2 | $8 | $40 |
| Claude Opus 5.5 | $4 | $20 |
| Claude Sonnet 5.5 | $2 | $10 |
| Claude Haiku 5.5 (prompts up to 100K tokens) | $0.10 | $0.50 |

Prompt caching cuts the cost of re-reading context a lot, and Claude Code uses it automatically. Even so, API billing for heavy interactive use adds up fast. Anthropic's own [cost docs](https://code.claude.com/docs/en/costs) say that across enterprise deployments the average is around $13 per developer per active day and $150 to $250 per developer per month, with 90% of users staying under $30 per active day.

Compare that to Max at $100 or Ultra at $200 flat, and the math is clear for one person coding every day: a subscription is cheaper and more predictable. The API wins when:

- You run Claude Code in CI, GitHub Actions or a script where nobody is logging in.
- You are building a product on top of it and need per-customer metering.
- Your usage is spiky: heavy for a week, nothing for a month.
- You want no time-based limits and are fine paying for every token.

If you go the API route, I walk through getting a key in [How to Get a Claude API Key](/guides/how-to-get-claude-api-key).

### The billing trap: ANTHROPIC_API_KEY

This catches people every week. If the `ANTHROPIC_API_KEY` environment variable is set on your machine, Claude Code uses it instead of your subscription, and you get billed per token even though you are paying for Max.

Per the [authentication docs](https://code.claude.com/docs/en/authentication), in interactive mode Claude Code asks once whether to use the key and remembers your answer. In non-interactive mode (`claude -p`), the key is always used when present. Your subscription login sits at the bottom of the precedence order, below cloud provider settings, `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_API_KEY`, `apiKeyHelper` and `CLAUDE_CODE_OAUTH_TOKEN`.

To fix it:

1. Run `unset ANTHROPIC_API_KEY` (and remove it from your shell profile if it is set there).
2. Run `/status` in Claude Code to confirm which login method is active. When both are configured, `/status` marks the one that is not in use.
3. If you were using Console before and want to switch, run `/login` and sign in with your claude.ai account.


### Monthly API credits do not cover Claude Code

Max includes $100 a month in API credits and Ultra includes $200. Team includes up to $500 a month pooled. That sounds like free Claude Code on top of your plan. It is not.

Anthropic's help center is explicit that these monthly API credits "can't be used in Claude Code or the Claude apps, including for usage credits." They are for building on the Claude Platform: your own apps and scripts calling the API. Useful, but separate.

### Usage credits: paying past your limit

Usage credits are how you keep working after you hit a limit without upgrading. Per Anthropic's [usage credits article](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans):

- They are billed at standard API rates, as a separate charge from your subscription.
- They work in both Claude and Claude Code.
- You can set a monthly spend cap, auto-reload and usage alerts.
- Credits bought on or after December 7, 2026 generally expire 12 months after purchase.
- Purchases are non-refundable.

My advice: turn them on with a low monthly cap. That way a deadline day does not stop dead at 4pm, but a runaway agent loop cannot surprise you with a big bill.

## Which Claude Code plan for which user

Here is how I would actually pick, based on how people use it, not on the feature list.

**The hobbyist or the curious.** Pro. You get Claude Code, Opus and enough usage to learn how it works on a side project. You will hit the five-hour limit on a long Saturday, and that is fine. If you are not sure you will stick with it, pay monthly. If you are, the annual price works out to $17 a month.

**The solo developer coding most of the day.** Max. This is the plan I recommend most often. Five times Pro in both windows is the difference between "I hit the limit after lunch" and "I rarely think about it." It also includes Fable up to half your weekly limit, which Pro does not.

**The person running long builds or parallel agents.** Ultra. If you run [agent teams](/guides/claude-code-agent-teams), several sessions at once, or builds that go for hours unattended, the five-hour window is what breaks your flow, and verified Ultra removes it. You still have a weekly ceiling (10x Pro), so it is not unlimited. The Claude Code docs note agent teams use roughly 7x more tokens than a standard session when teammates run in plan mode, so this is exactly the workload Ultra is for.

**An agency or small team.** Team, with mixed seats. Put the people who live in Claude Code on premium seats ($125 monthly, $100 annually) and everyone else on standard. Limits are per member and cannot be shared between people, so one heavy user cannot drain the rest of the team. Note that Team is card-only, no invoicing.

**A larger company with compliance needs.** Enterprise. You pay $20 per seat per month (annual, 20-seat minimum) and then every token at API rates. There is no per-seat ceiling, so an admin sets spend limits instead. Plan your budget around Anthropic's $150 to $250 per developer per month average and adjust after a pilot.

**Automation, CI and products.** API key. Subscriptions are for humans at a keyboard. If Claude Code is running in a pipeline, use a Console key so the cost lands in the right place and nobody's personal plan gets drained.

One more case worth calling out: some open source tools run on your subscription rather than an API key. My outreach platform, [Sellbird](https://github.com/ethanplusai/sellbird), runs on either a Claude or a Codex subscription. Anything like that draws from the same shared pool as your chat and coding, so factor it in.

## How to make your plan go further

The cheapest upgrade is using less. Everything here comes from Anthropic's [cost docs](https://code.claude.com/docs/en/costs) plus how I work.

- **Clear between tasks.** `/clear` starts fresh and costs nothing. Every message in a stale session pays for all the old context again.
- **Match the model to the job.** Sonnet handles most coding. Save Opus and Fable for architecture and hard calls. Switch with `/model`.
- **Push verbose work to subagents.** Test runs, log digging and doc fetching produce huge output. A subagent keeps that out of your main context and can run on a cheaper model.
- **Keep CLAUDE.md short.** It loads into every session. Move workflow-specific instructions into [skills](/blog/how-to-build-claude-code-skills-that-actually-work), which only load when used.
- **Turn off MCP servers you are not using.** Check `/context` to see what is taking space and `/mcp` to disable servers.
- **Use plan mode on big tasks.** Shift+Tab into plan mode so you catch a wrong direction before Claude writes 2,000 lines of it.
- **Act on `/usage` recommendations.** It tells you which behaviors are behind 10% or more of your recent usage.

The bigger lesson, which I learned on the Codex side, is that the expensive model should not be supervising. I cut my GPT-6 Astra usage by about 95% by keeping it on planning and review and handing implementation to a cheaper model. The same idea applies in Claude Code. I wrote up the whole setup in [How I Cut My Astra Usage](/blog/how-i-cut-my-astra-usage).

## Common billing problems and fixes

| Problem | Fix |
| --- | --- |
| Charged API rates while on a subscription | `ANTHROPIC_API_KEY` is set. Unset it, then check `/status`. |
| No option to log in with your Claude account | Run `/logout`, then `claude update`, restart the terminal and run `claude` again. |
| Hit the limit and switching models did not help | Session and weekly limits apply across all models. Wait, enable usage credits, or upgrade. |
| Ultra still shows a five-hour bar | Your account is not verified yet. It happens automatically; phone verification does not speed it up. |
| Expected Max API credits to cover Claude Code | They cannot. Monthly API credits are for the Claude Platform only. |
| Fable missing from `/model` | Update Claude Code to 2.1.321 or later. On Pro, Fable also needs usage credits. |
| Usage looks low in `/usage` but you are near the limit | `/usage` breakdown only counts this machine. Check claude.ai Settings > Usage for the full picture. |

## The fine print

- Prices are US, before tax. The Pro help article says local currency pricing applies where supported.
- Mobile app pricing can differ. Anthropic's help center says mobile pricing "may vary depending on your app platform," so subscribe on the web if price matters.
- Anthropic can change plans, prices and limits. Its Ultra article says it may apply other caps and does not guarantee uninterrupted service.
- Anthropic does not publish prompt counts per window. Anything you read claiming "about X messages per five hours" comes from users, not Anthropic.

## Frequently asked questions

### How much does Claude Code cost?

Claude Code itself has no separate price. You get it with Pro ($20 a month, or $17 a month billed annually), Max ($100), Ultra ($200), a Team seat ($25 standard or $125 premium per month) or Enterprise. You can also pay per token with an API key instead.

### Is there a Claude Code free plan?

No. The Free Claude plan does not include Claude Code. New API users get some free credits to test the API, which you can use with Claude Code, but that runs out quickly.

### Is Claude Code included in the Claude Pro plan?

Yes. Pro includes Claude Code in the terminal and in supported IDEs like VS Code, Cursor and JetBrains. Your Claude Code usage shares the same five-hour and weekly limits as your Claude chats.

### What is the difference between Claude Code Max and Ultra?

Max is $100 a month for 5x Pro usage in both the five-hour and weekly windows. Ultra is $200 a month for 10x Pro usage per week, with no five-hour limit once your account is verified. Ultra is the plan that used to be called Max 20x.

### Is a Claude Code subscription cheaper than the API?

For one person using it interactively every day, almost always yes. Anthropic's own figures put average enterprise API spend at $150 to $250 per developer per month, against a flat $100 or $200 for Max or Ultra. The API makes more sense for CI, automation and spiky usage.

### Do Claude Code and Claude chat share usage limits?

Yes. Anthropic says the limits "are shared across Claude and Claude Code," and IDE usage counts toward the same pool.

### Can I use Max's monthly API credits in Claude Code?

No. The monthly API credits on Max, Ultra and Team cannot be used in Claude Code or the Claude apps. They are for building on the Claude Platform.

## Getting your team set up

Picking a plan is the easy part. Getting a team to use Claude Code well, so the plan actually lasts and the work is good, is where most of the value is. That is what I do in my [Claude Code training](/claude-code-training).

If you want Claude Code training for your team, [get in touch](/contact) and tell me how many people and what they work on.
