OmniscioGuidesHow much does Claude Code cost?
How much does Claude Code cost?
Claude Code is not priced per seat with an unlimited allowance underneath, and it is not a fixed monthly bill either. What you pay depends on whether you sign in with a Claude plan or a Claude API key, and on how much context each session carries.
This page covers both roads: what a plan includes, how to read your own usage, how to cap it with limits and credits, the habits that actually reduce a bill, and where an admin sees and caps organisation spend.
Last checked against Anthropic's Claude Code documentation on November 21, 2026. By the Omniscio team. Updated .
On this page
- The two ways to pay
- What Claude Code usually costs
- Read your own numbers
- What a subscription includes
- Cap what you spend
- Why usage climbs in a long session
- The levers that actually reduce a bill
- For admins: reporting and caps
- Where these answers come from
The per-request arithmetic, model by model, is on the Claude Code cost calculator. This page is about what you are paying for and how to see and change it.
The two ways to pay
Anthropic's own summary is blunt: Claude Code charges by API token consumption. A subscription changes who absorbs that consumption, not whether it happens.
On a Pro, Max, Ultra, Team or Enterprise plan, Claude Code draws on the plan's usage allowance. You are not billed per token, and the dollars you see in /usage are an estimate of what the tokens would have cost at list price, not an invoice. Anthropic's help page on plan pricing is the only place to price a plan, and it changes: claude.com/pricing.
On an API key, a Claude Console organization, or a cloud provider (Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry), every token is metered to your organization. The Console bills per token against a workspace, and a cloud provider bills per token to your cloud account.
The two roads fail differently, which is the part worth knowing. A subscription stops when the allowance runs out and tells you when it resets. An API key does not have an allowance; it has a bill, and it will keep working until you set a cap or the money runs out.
Sources: the introduction and the setup table in Anthropic's Manage costs effectively, read November 21, 2026.
What Claude Code usually costs
Anthropic publishes the shape of the number rather than a single price. Across enterprise deployments it reports an average of about $13 per developer per active day and $150 to $250 per developer per month, and it says costs stay below $30 per active day for 90% of users.
Those are averages over organisations, and the spread is wide on purpose: Anthropic attributes it to model choice, codebase size, and usage patterns such as running several instances or automation. A team that leaves Opus on by default for every task is not paying the same as a team that chooses per task.
The advice Anthropic gives for budgeting is the same one we would give: run a small pilot group first, use the tracking below to establish a baseline on your own code, and only then plan wider.
If you want a per-hour figure for a fleet of agents before you start, the cost calculator takes a request rate, a context size and a model, and shows every assumption it made.
Source: the introduction of Anthropic's Manage costs effectively, read November 21, 2026.
Read your own numbers
Type /usage at the Claude Code prompt. The Session heading holds this session's token usage: a total cost, the API and wall-clock duration, the lines changed, and a line per model with input, output, cache read and cache write tokens.
Total cost: $0.55
Total duration (API): 6m 20s
Total duration (wall): 6h 33m 10s
Total code changes: 0 lines added, 0 lines removed
Usage by model:
claude-sonnet-4-6: 1.2k input, 5.3k output, 940.0k cache read, 50.0k cache write ($0.55)Three details make that figure easier to trust. Claude Code computes the dollar amount locally from token counts at list price, so it is an estimate. An administrator can set a modelPricing table in managed settings so the figure uses your contracted rates, and the Total cost line then says at your organization's configured rates. And the totals reset when /clear starts a new session, so each session is its own number.
After the first response, a Prompt cache (main) line joins it: how many requests were served from cache, the share of input tokens that were cache reads, how many misses there were and how many tokens they wrote back, and whether the cache is warm right now. A high miss count is a common reason a quiet session still costs money.
On a subscription, /usage also shows plan usage bars and a breakdown of what your recent usage went to: skills, subagents, plugins and individual MCP servers, as percentages, plus rows that recommend a change. Press d or w to switch between the last 24 hours and the last 7 days. The figures are approximate and come from this machine's session history, so usage from other devices is not in them.
Two smaller meters are worth knowing. While Claude works, the line beside the spinner can end with an elapsed time and a token count for the current turn only; it counts output, not the context being sent. And /insights writes an HTML report about how you work, up to 200 sessions per run, to ~/.claude/usage-data/. The insights guide covers what it reads, where the file lands and what a run costs.
Sources: "Using the /usage command", "Prompt cache statistics", "Plan usage breakdown", "Read the token count beside the spinner" and "Analyze your usage patterns" in Anthropic's Manage costs effectively, read November 21, 2026.
What a subscription includes
On a Pro, Max or Ultra plan, Claude Code uses the plan's usage windows. Anthropic notes that the Session dollar figure in /usage is not relevant to billing for subscribers: what matters is the usage bars on the same screen.
On Claude for Teams or Enterprise, each member's usage draws from a per-seat allowance that resets on a rolling five-hour window and a weekly window. That allowance is shared with Claude chat and Cowork, and its size depends on the member's seat tier, Standard or Premium. This is why a developer on a busy day can hit a limit without having written much code.
When the allowance runs out you get one of two messages, and they mean different things. You've hit your session limit or your weekly limit is a seat-based window shared across models, so switching models does not restore it; the message names the reset time. A model-specific message, such as You've hit your Opus limit, does clear if you switch to a model outside that family with /model.
The other road is usage credits: extra usage you pay for, which lets a developer keep working past the plan's limit. They are off until someone turns them on, and a project or a session cannot turn them on by itself.
Sources: "Using the /usage command", "Claude for Teams and Enterprise" and "When a developer asks about a limit" in Anthropic's Manage costs effectively, read November 21, 2026.
Cap what you spend
There are three places a cap can live, and which one you use depends on how the account is billed.
On your own Pro, Max or Ultra plan, run /usage-credits after signing in with your claude.ai subscription. It opens Settings > Usage on claude.ai, where you can turn usage credits on or off, see your balance and this month's spend, and set a monthly spend limit. The command is not available when you signed in with an API key. When you reach the limit with credits left, Claude Code prompts you to raise or remove it without leaving the CLI.
On Team or Enterprise, an admin sets spend limits at the organization, group or individual member level in the admin console. A member with billing access reaches the same place through /usage-credits. A member without it can run the command too: it asks them to confirm, then sends a request to their admins, and running it again while a request is waiting tells them a request has already been sent rather than sending a duplicate. In a non-interactive session with -p, or over Remote Control, it sends nothing and tells them to run it interactively.
On the Console or a cloud provider, the cap lives in the platform: a workspace spend limit in the Claude Console, or your cloud's budget controls for Bedrock, Google Cloud's Agent Platform and Microsoft Foundry. Claude Code itself has no cap to set there.
Two related settings are worth knowing. autoContinueAtUsageLimit in managed settings controls whether Claude Code waits out a usage-limit reset and continues a task by itself; it is the fleet-wide switch for that behaviour. And modelPricing in managed settings changes the rates Claude Code reports, at your contracted prices, not what Anthropic charges — the figures stay estimates, never an invoice.
Sources: "Add usage credits to your subscription", "Report spend at your contracted rates" and "When a developer asks about a limit" in Anthropic's Manage costs effectively, read November 21, 2026.
Why usage climbs in a long session
A session that has been open for hours can use far more of a plan than your activity suggests, and Anthropic lists the reasons. The first is the one people underestimate: Claude Code sends the full conversation with every request, and every tool call ends one request and starts another carrying that batch of results. Prompt caching makes the repeat cheaper, not free.
- A break longer than the cache lifetime. The first message after it misses the cache and reprocesses the whole context.
- Scheduled tasks. A session-scoped task fires on its interval while the session sits idle, sending the full context each time. The scheduled tasks guide covers those.
- Messages from other sessions. A cross-session message is delivered as a new turn when this session is idle, carrying the whole context.
crossSessionInbound: holdparks them instead. - Goal check-ins. While background work keeps a goal waiting, Claude Code asks the model to check on it, at most three times per goal between your prompts;
CLAUDE_CODE_GOAL_CHECKIN_MINUTES=0turns them off. - Subagents, workflows and teammates. Each one sends its own requests on top of the main conversation, and each active teammate keeps spending until it exits.
- Compaction itself.
/compactreads the conversation it summarises, so compacting a large context is a large request./clearcosts nothing.
Anthropic measures agent teams at roughly seven times the tokens of a standard session when teammates run in plan mode, because every teammate keeps its own context window and runs as a separate instance.
Sources: "Why usage climbs in a long session", "Background token usage" and "Agent team token costs" in Anthropic's Manage costs effectively, read November 21, 2026.
The levers that actually reduce a bill
Anthropic's list of levers is specific, and they are ranked here by how often they matter rather than by how clever they sound.
- Clear between tasks.
/clearwhen you move to unrelated work; stale context is paid for on every later message. Rename the session first if you want to find it again. - Match the model to the job. Sonnet handles most coding work; reserve Opus for architectural decisions and multi-step reasoning.
/modelswitches mid-session. - Tell compaction what matters.
/compact Focus on code samples and API usage, or a# Compact instructionsblock in CLAUDE.md, so the summary keeps what you need. - Trim what loads at session start. Anthropic suggests keeping CLAUDE.md under 200 lines and moving detailed workflow instructions into skills, which load only when invoked.
- Cut MCP overhead. Tool definitions are deferred by default; still, disable servers you are not using with
/mcp, and prefer CLI tools such asghorawswhen they do the job. - Lower effort, or thinking, where it is not needed. Thinking tokens bill as output.
/effortlowers the budget where the model allows it, and on models with a fixed thinking budgetMAX_THINKING_TOKENSsets it. - Push verbose work into a subagent or a hook. A test run or a 10,000-line log read inside a subagent costs its own tokens but keeps the main conversation small; a PreToolUse hook can return only the twenty lines that matter.
- Write specific prompts. "Improve this codebase" triggers broad scanning; "add input validation to the login function in auth.ts" does not.
- Use a cheaper subagent model.
model: haikuin a subagent's configuration for simple side tasks.
The token usage guide goes deeper on where the numbers appear, and the prompt cache guide explains what a cache miss is and how to raise your hit rate.
Sources: "Reduce token usage" in Anthropic's Manage costs effectively, read November 21, 2026.
For admins: reporting and caps
Which controls you have depends on how the organization signs in, and Anthropic maps each road to where spend is seen, where it is capped, and how per-user numbers come out.
- Teams and Enterprise: the spend report in org analytics shows estimated spend per user and per model, with CSV export, updated daily. Usage inside the seat allowance is not metered in dollars. The analytics dashboard shows daily active users, sessions and contribution metrics.
- Claude Console: workspace spend limits, the Console cost page, and the Claude Code Analytics API for daily per-user metrics with an Admin API key.
- Bedrock, Google Cloud's Agent Platform and Microsoft Foundry: billing lives in the cloud console, and Claude Code sends no metrics back to Anthropic, so the analytics dashboards do not cover that usage.
OpenTelemetry works on every setup and is the only option that streams per-user token and cost metrics into your own observability stack in near real time; the analytics guide covers the export. For contracted rates, the modelPricing managed setting makes the reported figures match the invoice without changing what is charged.
Anthropic's rule of thumb for rate limits, when sizing an org, is that tokens per minute per user fall as the team grows: about 200k–300k TPM per user for a team of 1–5, down to 10k–15k at 500 or more users, because larger organisations have fewer people working at the same moment.
Sources: "Manage costs for your organization", "Claude for Teams and Enterprise", "Claude Console" and "Rate limit recommendations" in Anthropic's Manage costs effectively, read November 21, 2026.
Running several sessions at once
Parallel sessions are the other lever on cost, and the one people forget. Each session you keep open is a context window being re-sent, so ten idle sessions cost more than one busy one. Omniscio, the desktop app we make for running many Claude Code sessions at once, puts them in one window with a sidebar and shows what each one is doing, which makes it obvious which sessions to close.
Neither plan includes an AI allowance — you pay Anthropic for the model, exactly as you would without it.
The guide to running many agents covers the ways to do this by hand, and the usage limits guide covers what each limit message means.
Where these answers come from
- Anthropic, Manage costs effectively: the average spend figures,
/usageand its Session block, the prompt cache line, the plan breakdown, usage credits, spend limits per account type,modelPricing, the reasons usage climbs, and the levers. Read November 21, 2026. - Anthropic, Add usage credits: what
/usage-creditsopens for each role. Read November 21, 2026. - Anthropic, Track team usage with analytics: the Team, Enterprise and Console reporting roads. Read November 21, 2026.
- Anthropic, Claude plan pricing: the only place this page sends you for what a plan costs, because it changes. Read November 21, 2026.
No plan price is quoted on this page on purpose. Anthropic's costs page directs plan pricing to its own pricing page, and a copied number is the first thing to go stale. The dollar figures quoted above are Anthropic's published averages, not measurements we made.
Common questions
How much does Claude Code cost?
It depends on how you pay for it. On a Pro, Max, Ultra, Team or Enterprise plan, Claude Code draws on the plan's usage windows instead of billing you per token. On an API key, a Console organization or a cloud provider, every token is billed to you. Anthropic's own figure across enterprise deployments is about $13 per developer per active day and $150 to $250 per developer per month, with 90% of users under $30 per active day.
Can I see what a session cost?
Run /usage at the Claude Code prompt and read the Session block: a dollar total, the duration, and input, output, cache read and cache write tokens per model. The dollar figure is computed locally from token counts at list price, so treat it as an estimate. Subscribers see plan usage bars on the same screen, and the Session dollar figure is not what their plan bills.
Does /clear reset the session cost?
Yes. The totals in /usage reset when /clear starts a new session, so the next session's total cost starts at zero. Before version 2.1.211 they kept accumulating across /clear for the lifetime of the Claude Code process.
How do I set a spending limit for Claude Code?
It depends on the account. On Pro, Max and Ultra, turn on usage credits and set a monthly spend limit in Settings > Usage at claude.ai. On Team and Enterprise, an admin sets spend limits at the organization, group or member level in the admin console. A Console organization sets a workspace spend limit, and on a cloud provider the budget controls live in that cloud console.
Why is my Claude Code usage so high?
Usually a session left open for hours. Every request carries the whole conversation, so a one-line question in an eight-hour session still draws usage for the entire context. Cache misses after a break, scheduled tasks that fire while the session sits idle, subagents, agent teammates and compaction each add to it. Run /usage for the plan breakdown, which attributes your recent usage and recommends a change for anything behind 10% or more of it.
Does Claude Code cost extra on top of a Claude plan?
Not by default. Claude Code uses the plan's usage allowance, and Anthropic does not charge per token on top of it. It costs more only if you turn on usage credits, which let you keep working past the plan's limit, or if you use Claude Code through an API key, the Claude Console or a cloud provider, where usage is billed per token.
See what each session is doing, before it costs you
Omniscio runs many Claude Code sessions in one window, so the ones nobody is using are the ones you close. The features page lists what it does today.