Blog · 30 November 2026

How much does Claude Code cost?

There is no single daily price. You pay either through a Claude subscription or per token on the API. Official averages are a starting point. Your own logs are the only number that matters. The spend you can actually prevent is the run that started with no approved plan.

Prices and plan details below are as of 30 November 2026, from Anthropic's public documentation. They can change.

What Anthropic publishes

Claude Code itself is included in paid Claude plans. You pay for usage. Anthropic's cost documentation says that, across enterprise deployments, the average is around $13 per developer per active day and $150 to $250 per developer per month, with costs remaining below $30 per active day for 90% of users. Anthropic's advice is to start with a small pilot and measure, rather than treat those figures as your quote.

Two ways you are billed

How you signed in decides how usage is metered, as explained in the Claude Help Center and the cost docs.

  • A Claude subscription (Pro, Max, Ultra, Team, or Enterprise). Usage is included in the plan, with a limit that resets on a rolling window. Claude Code shares that pool with chat and the rest of the product. When you run out, you hit a limit, not a surprise per-token invoice.
  • An API key (Claude Console, Bedrock, Vertex, or Microsoft Foundry). You are billed per token to that account. There is no hard stop unless you set one.

On the individual plans, Claude's pricing page lists Pro at $20 per month, or $17 per month if you pay $200 annually up front; Max at $100 per month, with 5 times Pro usage every 5 hours and every week, plus $100 a month in API credits "to build on the Claude Platform"; and Ultra at $200 per month, with 10 times Pro weekly usage and $200 in API credits. Prices do not include tax, and they can change. The API credits are a separate line from the subscription usage pool. Do not subtract them from a Claude Code comparison unless you will actually use them for API work.

Important: the Session block in /usage shows API-equivalent token cost. Anthropic says that figure is intended for API users and is not relevant for billing on Pro, Max, and Ultra. Subscribers should read the plan usage bars on the same screen. The figure is still useful as a measure of how heavy a run was.

A rough break-even test against Max's $100 subscription: if your comparable API usage would cost less than $100 a month, Max does not win on usage cost alone. If it would cost more and it fits inside Max's limits, Max can cost less. If you hit the limits and buy more usage, compare the subscription plus that spend with the API bill. Use your own logs for this, not the enterprise average.

Opus versus Sonnet, at list price

If you pay the API, model choice is a direct line on the bill. These are list prices from Anthropic's API pricing page, in USD per million tokens:

ModelInputOutputCache read5-minute cache write
Claude Opus 5.5$4$20$0.20$5
Claude Sonnet 5.5$2$10$0.10$2.50
Claude Haiku 5.5 (prompts up to 100k tokens)$0.10$0.50$0.01$0.125

At those list prices, Opus 5.5 is twice Sonnet 5.5 on both input and output. Anthropic's cost guide says Sonnet handles most coding tasks well, and to reserve Opus for complex architectural decisions or multi-step reasoning. Switch with /model, or set a default in /config. For simple subagent tasks, you can specify a cheaper model in the subagent configuration.

Thinking tokens are billed as output. On Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models, extended thinking cannot be turned off, though you can lower effort with /effort or in /model.

Measure your own usage

In a session, run /usage. On a Team or Enterprise plan, admins can set spend limits at the organization, group, or member level in the claude.ai admin console, and can turn on usage credits so members can continue past the seat allowance up to that cap. On the API, workspace spend limits live in the Claude Console. For a single local session, --max-budget-usd is a cap on the estimated list-price figure.

To see history on your machine, use ccusage, which reads local Claude Code logs (by default under ~/.config/claude/projects/ and ~/.claude/projects/):

npx ccusage@latest claude session --json --breakdown
npx ccusage@latest claude daily --json

Add --since YYYYMMDD to limit the period. The JSON includes models, token counts, costs and session identifiers. Project names appear in the output, so rename them first if they are sensitive. Claude Code can retain logs for only 30 days by default; older history needs a longer cleanupPeriodDays in settings. If you use a subscription, ccusage costs are API-equivalent prices, not what you were billed.

The spend you can prevent

Tracking explains the bill. It does not stop the next wrong run. The cheaper place to change course is the plan, before the agent builds. That is the argument in Review the plan before the code.

Gate holds each agent's plan in the pull request until a teammate approves that exact version. Meter, in the same install, prices the steps and puts a cap on the run.

npm i -D lake-gate && npx lake-gate init --cap 5

Gate is free for up to 3 users and 20 plan reviews per calendar month per repo. Meter is free forever. Team is $15 per user per month, with a 14-day trial at install. Paid checkout is not open yet.

Approve the plan before the tokens are spent

Use Gate when you want the next run to wait for a teammate, not only a report on the last one.

About Gate Try the live demo

To break down a past ccusage export, use the free waste calculator. It runs in your browser and uploads nothing you paste.

Sources