Usage simulation
How long before Claude Code burns through your plan?
Set how many tasks you run a day, how hard the agent thinks, how much context each call carries, and whether the work fans out across agents. The simulation recomputes the cost per task and shows how many days each plan — Free, Pro, Max 5x and Max 20x — survives.
The model
A task is not one call. It's dozens.
When the agent works a task it reads files, runs commands, fixes and verifies. Every turn of that loop is a model call — and every call resends the context accumulated so far. That is where almost all of the spend comes from.
Context per call
Conversation history, files read, tool output. It grows as the task proceeds and is resent in full on every turn.
Effort level
Sets how much the model reasons and how many tool turns it takes. From low
to max, calls per task grow about 8×.
Output tokens
Reasoning, prose and code edits, at 5× the price of input. They barely move with effort, though: real calls land near 650 tokens at every level. Effort buys more calls, not longer answers.
| Effort | Calls / task | Output tokens / call | Typical use |
|---|
The plans
What monthly budget each subscription stands for
Anthropic does not publish a dollar figure per plan. The numbers below are this simulation's premise: the equivalent monthly consumption, at API list prices, that each subscription tends to accommodate. Substitute your own if experience says otherwise.
Simulator · panel
Your scenario, plan by plan
Simulator · chart 1
Days before the plan runs dry
The plan's monthly budget divided by the daily cost of your pace. The dashed line marks the 30 days at which the cycle renews — anything past it finishes the month with budget left.
Simulator · chart 2
How far into the five hours you get
The month is not what stops your day. A subscription meters a rolling five-hour window, and when it closes you wait — so the question that matters at 3pm is whether this pace reaches the end of the window or runs out before it. The dashed line is the full five hours; a bar that reaches it means you never feel the limit.
Simulator · chart 3
Effort is the expensive lever
Same context, same model — only the effort level changes. The highlighted bar is what the console has selected; the others show what a task would cost at every other level.
Simulator · chart 4
One agent, a swarm, or ultracode
In solo the task runs as a single loop. A workflow fans out
agents in parallel — each with its own context and its own chain of calls.
ultracode makes that the default: a workflow on every task, chained across
phases, at a minimum effort of xhigh. The axis is logarithmic.
Simulator · chart 5
Big context shortens the month
How many days each plan lasts as the average context per call grows, holding effort and pace fixed. The vertical axis is logarithmic — without it, Free and Max 20x would not fit on the same chart.
Takeaways
Six levers that stretch the same plan
Roughly in order of how much they return. The percentages come from this simulation's own model — recompute them in the console against your scenario.
Save workflow and ultracode for work that earns them
By far the biggest lever: every agent in the fan-out runs a full chain of its own,
and ultracode stacks three phases on top of that. An 8-agent workflow
costs roughly 6× a solo task; in ultracode, closer to 38×. Worth it
for migrations and audits — not for fixing one failing test.
Drop the effort level for routine work
Going from xhigh to medium cuts calls per task from 22 to
8. Keep xhigh and max for large refactors and hard
debugging.
Compact the session before it bloats
Context is resent on every call. Dropping from 250k to 100k average tokens cuts
input cost in the same proportion — which is exactly what /compact and
shorter sessions do.
Use Sonnet 5 for what doesn't need Opus
Sonnet 5 runs $2/$10 per million against Opus 5's $5/$25 (introductory pricing through 2026-08-31). For direct edits and tests, the quality difference rarely pays for the multiplier.
Protect the cache: stable prompt first
Caching is a prefix match. A timestamp near the top of the prompt invalidates everything after it and the cache factor goes from 0.25 to 1.0 — input cost quadruples with nothing visible on screen.
Specify the whole task up front
Every round trip with the user resends the accumulated context. One complete instruction on the first turn usually costs less than the same task discovered across five turns.
tools/measure-usage.mjs, which reads the JSONL
transcripts Claude Code writes for every session, priced at API list rates.
| Coefficient | Was assumed | Measured | What the gap means |
|---|
| Use case | Context / call | Calls / task | Measured $ / task | Modelled, high | Modelled, ultracode |
|---|
xhigh effort floor; estimated monthly budgets of
$5 / $120 / $600 / $2,400 for Free / Pro / Max 5x / Max 20x; a 30-day month.
The prices and the measurements are real; the four monthly budgets are not —
no plan publishes a dollar equivalent, and the measured data suggests a heavy Max 5x day alone
can exceed $450 at list prices. They are the model's stated basis, so that you can disagree
with it precisely.