Claude cost controls: five dials, and the limits to set before the bill surprises you

A Claude receipt with five wasteful line items struck out, each tagged with a dial, and a green Smaller Bill stamp.

One week on one PC cost me $992 at Anthropic’s API list prices. When I broke it down, about nine dollars in every ten paid for context, not for answers. Claude Code sends the whole session back with every reply, and I run a lot of long sessions. I wrote up that week, model by model, in a companion article, “A week with Haiku, Sonnet and Opus: which model for which job.”

That bill didn’t buy more judgment. It bought the same conversation, read over and over.

The fix isn’t to use Claude less. It’s to turn five dials, so Claude only does the part of the job that needs it.

A receipt for one task: each of the five dials (Model, Context, Cache, Code and Limits) strikes a wasteful line item and the total drops from 100 to 18. Illustrative, not measured.

A receipt for one task: each of the five dials (Model, Context, Cache, Code and Limits) strikes a wasteful line item and the total drops from 100 to 18. Illustrative, not measured.

The short version

1. Model: use the smallest one that passes your own test. 2. Context: send what the task needs, and clear sessions between jobs. 3. Cache: put the text you repeat first, and let it be reused. 4. Code: if it’s a rule, write it as code. Call Claude for judgment. 5. Limits: set a cap and a way to see spend before you need either.

 

How Claude charges you

The API bills per token, and prices are quoted per million tokens. You pay for input, for output, and for cached input at a lower rate. Output costs more than input. On Sonnet 5.5 it is $2 in and $10 out per million tokens.

A few things count that people forget:

  • Tool definitions and tool results are input tokens.
  • Thinking tokens are billed as output tokens, even when the thinking text isn’t shown to you. Anthropic’s thinking page says you pay for the full thinking, not the summary.
  • Web search has its own charge: $10 per 1,000 searches, on top of the tokens.
  • Agents multiply all of this. Claude Code sends the full conversation with every request, and every tool use is another request. Anthropic’s own cost page puts it this way: “a one-line question in a session that has been open all day still draws usage for the whole conversation.”

For scale, Anthropic says the average cost is around $13 per developer per active day, or $150 to $250 per developer per month, and stays below $30 per active day for 90% of users. That figure is for Claude Code across enterprise deployments.

Dial 1: Model

Anthropic lists four current models. Prices are per million tokens, as of November 28, 2026.

Model

What Anthropic says it’s for

Input / output

Haiku 5.5

High-volume, latency-sensitive work such as classification, extraction and routing

from $0.10 / from $0.50

Sonnet 5.5

The best combination of speed and intelligence

$2 / $10

Opus 5.5

Long-running agentic coding and knowledge work

$4 / $20

Fable 5.2

Demanding reasoning and long-horizon agentic work

$8 / $40

 

Haiku’s low price applies to prompts up to 100,000 tokens. Above that it is $0.50 / $2.50, and the higher rate applies to the whole request. Cache reads count toward that 100,000.

Anthropic’s pages don’t fully agree on where to start. The models overview says to start with Opus 5.5 for most workloads. The pricing page says Haiku for simple tasks, Sonnet for most production workloads, and Opus for the most complex reasoning.

My rule of thumb, which is mine and not Anthropic’s: start with Sonnet, use Haiku for classification, extraction and routing, and move up only when your own test shows the cheaper model fails. A cheaper model that needs more corrections isn’t cheaper.

In my own week, the cost per reply was $0.022 on Haiku, $0.072 on Sonnet and $0.163 on Opus. That article covers what each model did well, where I had to step in, and why I switched. If you’re deciding which model should do which job, read it next. I won’t repeat it here.

Two more levers matter. Thinking can’t be turned off on the current models, so the effort setting is how you spend less on hard prompts. And in Claude Code, subagents inherit the session model. For simple subagent tasks, set the model to Haiku.

Dial 2: Context

Everything in the conversation is read again on every step, so the cheapest tokens are the ones you never send.

  • Clear between unrelated jobs. In Claude Code, /clear costs nothing.
  • Be careful with /compact. It summarizes history, but the summary is a large request itself.
  • Expect a cold start after a long break. The cache has expired, so the whole context is reprocessed.
  • Keep your CLAUDE.md short. Anthropic suggests under 200 lines.
  • Turn off MCP servers you aren’t using.

On the API the same idea applies. Trim the history you send, and summarize long threads instead of replaying them.

Dial 3: Cache

Prompt caching lets Claude reuse the part of the prompt you send every time, like standing instructions or reference material.

Order matters. The cached prefix is built in this order: tools, system, then messages. Change something at one level and everything after it is no longer cached. So, put what never changes first, and what changes last.

The numbers are worth a look:

  • A cache read on Sonnet 5.5 is $0.10 per million tokens, against $2 for normal input. On Opus 5.5 it is $0.20 against $4.
  • Writing to the cache costs more: 1.25 times normal input for the default 5-minute lifetime, and 2 times for the 1-hour option.
  • That pays back after one read at 5 minutes, or two reads at 1 hour.
  • The 5-minute lifetime is refreshed, at no extra cost, each time the content is used.
  • There is a minimum size. On all four current models it is 512 tokens. Below it, nothing is cached and you get no error.

If the work can wait, the Batch API takes 50% off input and output, and Anthropic says the discount can be combined with caching. Most batches finish in under an hour.

Dial 4: Code

This is the dial I care about most, and it is how we run our own agents.

Take a message watcher. It checks a queue every few minutes. That check is plain code, and it costs nothing in Claude usage. Claude is called only when a message needs a decision.

The same goes for polling, filtering, routing, scheduling, formatting and logging. If you can write the rule as an if statement, don’t pay Claude to follow it. Pay Claude where the answer isn’t in the rules.

Two habits help:

  • Keep the AI step optional where you can, so the job still runs if you turn it off.
  • Watch your loops. Anthropic lists scheduled tasks and loops that fire while a session is idle as a source of spend.

Dial 5: Limits

You want a cap, and a way to see spend, before the first surprise. Here is where each one lives.

#

Control

Where

What to know

1

Monthly spend limit

Claude Console, Spend limits

Your own cap. It can’t exceed your tier’s cap. When you hit it, the API returns HTTP 400, so your app has to handle that.

2

Workspace limits

Console, Rate limits page

Set per workspace, for each limiter type. Organization-wide limits always apply. A spend limit on the default workspace may not stop some usage, such as Console playground or Claude Code signed in with a Console account.

3

Tier caps

Set by Anthropic

$500 a month for Start, $1,000 for Build and $200,000 for Scale. Ceilings, not budgets. At the cap, API usage pauses until the first of the next month (00:00 UTC).

4

Seat allowance

Team and Enterprise plans

A rolling five-hour window plus a weekly window, shared with Claude chat and Cowork.

5

Usage credits and spend limits

Team and Enterprise plans

Credits let people keep going past the allowance. Limits can be set for the organization, a group or one person.

6

Reporting

Console Usage and Cost pages; Usage and Cost API; the plan spend report

The API needs an Admin API key and data appears within about 5 minutes. It isn’t available on the claude.ai Team plan or to individual Console accounts. The plan spend report covers usage-credit spend only, not use inside the seat allowance.

 

I didn’t find a built-in budget alert in the pages I read. Anthropic lists alerts as something you build on the reporting API, or get through partner tools. Plan for that.

Unattended and scheduled jobs deserve their own workspace and their own limit. A loop that runs all night should hit a cap, not your budget.

CLAUDE COST CONTROLS

If your content is in Microsoft 365

Claude models are also available inside Microsoft Copilot, and the dials change there. What Microsoft documents. Anthropic is a Microsoft subprocessor, covered by Microsoft’s Product Terms and data protection terms. Claude is on by default for most commercial customers, except EU, EFTA and UK tenants, where it is off by default. Users pick Claude in features such as Researcher. An AI Administrator or Global Administrator controls access in the Microsoft 365 admin center. Copilot’s usage-based billing is measured in Copilot Credits. What I could not find. I found no Microsoft page that describes how Claude models are billed or capped in Copilot. Microsoft says it does not publish numeric limits for Copilot Chat. What I saw myself. In my own test, Copilot’s daily Opus allowance ran out after about 40 prompts, and the model picker marked some models “Uses credits.” Those are observations, not documented limits, and they may change. The practical point: check who can use Claude in your Microsoft 365 admin center, and ask Microsoft how Claude usage is billed to your tenant before you plan around it.

 

What to do now

  1. Model: pick your routine job, run it on Haiku, and move up only if your own test fails.
  2. Context: clear sessions between unrelated jobs, and trim your CLAUDE.md and unused MCP servers.
  3. Cache: move your standing instructions to the front of the prompt, and check the prefix is stable.
  4. Code: find one step an agent does every time that an if statement could do, and move it to code.
  5. Limits: set a monthly spend limit, give unattended jobs their own workspace, and decide who is told when spend passes it.

None of these dials makes Claude worse at the hard part. They stop you paying for the easy parts. Prices and limits change often, so check the pages below before you plan around any number.

Agents do the work. You still decide where they spend.

Your thoughts?

Sources

All Anthropic pages were retrieved November 28, 2026. None of them shows a publication date.

  • Anthropic, Models overview: platform.claude.com/docs/en/models/overview (November 28, 2026)
  • Anthropic, Pricing: platform.claude.com/docs/en/about-claude/pricing (November 28, 2026)
  • Anthropic, Prompt caching: platform.claude.com/docs/en/build-with-claude/prompt-caching (November 28, 2026)
  • Anthropic, Batch processing: platform.claude.com/docs/en/build-with-claude/batch-processing (November 28, 2026)
  • Anthropic, Building with extended thinking: platform.claude.com/docs/en/build-with-claude/thinking (November 28, 2026)
  • Anthropic, Rate limits and spend limits: platform.claude.com/docs/en/api/rate-limits (November 28, 2026)
  • Anthropic, Usage and Cost API: platform.claude.com/docs/en/manage-claude/usage-cost-api (November 28, 2026)
  • Anthropic, Manage costs effectively, Claude Code: code.claude.com/docs/en/costs (November 28, 2026). The Team and Enterprise points come from this page, because the support articles it summarizes could not be read.
  • Microsoft Learn, Connect to Anthropic as a Microsoft subprocessor: learn.microsoft.com/en-us/copilot/implement/connect-to-ai-subprocessor (page dated November 20, 2026; read November 28, 2026)
  • Microsoft Learn, Usage-based billing overview for Copilot Credits: learn.microsoft.com/en-us/copilot/plan/usage-based-billing-overview-copilot-credits (page dated October 30, 2026; read November 28, 2026)
  • Microsoft Support, Limits for features in Copilot Chat: support.microsoft.com/microsoft-365-copilot/limits-for-features-copilot-chat (no date shown; read November 28, 2026)
  • My own Claude Code session transcripts on one PC, November 20 to 27, 2026, priced at Anthropic API list prices ($992 total, cost per reply Haiku $0.022, Sonnet $0.072, Opus $0.163; about nine dollars in ten for context), as reported in my companion article.
  • DLC blog, “A week with Haiku, Sonnet and Opus: which model for which job” (companion article; transcripts and prices checked November 27, 2026).
  • My own Copilot test, November 2026: Opus allowance ran out after about 40 prompts; “Uses credits” shown in the model picker. Observed, not documented.

Where Anthropic’s pages disagree: the models overview says to start with Opus 5.5, and the pricing page says Sonnet for most production work.

Leave a Reply

© Copyright 2021 Distributed Logic Corp.

contact via web form  |  info@distributedlogic.com   |    (866) 229-8621