A screenshot showing "you've used 90% of your session limit" recently got nearly 48,000 likes online. The replies are full of painful stories. One developer burned 76% of their weekly Claude Code limit in under 24 hours during a single session. At first, it feels obvious: the model must have written dozens of pages of code and eaten the quota with long replies.
In practice, that's rarely what happens. Your prompts and the model's answers are seldom the main cost driver. Three hidden factors quietly drain your quota: expired server caches, heavy models doing routine work, and bloated chat histories. Let's look at where the limit leaks and which five built-in settings keep it under control.
Why Millions of Tokens Lie and Where to Start in /usage
On every turn, Claude Code sends the entire context package to Anthropic's servers. This includes system instructions, CLAUDE.md, schemas for connected MCP servers, chat history, and outputs from past commands. To avoid recomputing this whole pile from scratch on every reply, Anthropic uses a prompt cache. If the start of your conversation matches the previous request, the server reads it from memory at a fraction of the full price.
Because of this, raw token counters can mislead you. One weekly log showed 2.37 billion tokens, yet 96% of them were cache reads. At API rates, that 96% share made up only 40% of the final bill. Watching raw billions won't help you. You need to track cache misses and request weight.
For a baseline, look at Anthropic's official documentation. In enterprise teams, the average developer spends about $13 on an active day ($150–$250 per month), and 90% of users spend under $30 per day. If your subscription burns out in a couple of hours, open the built-in diagnostics in your terminal:
# Open the summary of limits, cache hits, and spend breakdown
/usage
The /usage screen shows bars for your five-hour and weekly limits, cache hit rates, and a cost breakdown by component. You can switch views with D (day) and W (week). If the system spots a misconfiguration, a prompt appears at the bottom to press F for an automatic fix. One catch: diagnostics only track the current machine, so sessions from another laptop or the claude.ai web app won't show up there.
The Default Model Trap and Changing effort Instead of Switching Models
In September 2026, Anthropic changed the default model on the Pro plan from Sonnet to Opus. If you haven't checked your settings lately, your agent is calling the heavy flagship model just to rename a file or fix indentation.
The price gap between model tiers adds up fast. Based on real weekly logs, an average request to Fable 5.2 costs about 3.5 times more than Opus 5.5, and Opus 5.5 costs about 2.5 times more than Sonnet 5.5. On the $20/month Pro plan, you feel this right away. Just 54 minutes of continuous work on Opus 5.5 with medium effort used 59% of the five-hour window and around 8% of the weekly quota.
The model configuration docs offer a built-in fix: the hybrid opusplan mode. Opus builds the plan for your edits, and then the agent automatically switches to Sonnet to write code and run tests:
# Hybrid mode: plan with Opus, implement with Sonnet
/model opusplan
# Or switch routine tasks straight to Sonnet
/model sonnet
Pick your model before you start a task, not halfway through a long thread. Switching models mid-chat invalidates the prompt cache, forcing the server to reprocess the entire history at full price on the next turn. If a task turns out simpler or harder than expected, adjust the effort level (reasoning depth) instead. In current versions of Claude Code, changing effort keeps your cache intact.
Hidden Background Drain: Subagents, 5-Minute TTL, and Overnight Loops
Subagents are child instances of Claude Code used to search repositories, run tests, and handle parallel subtasks. They are convenient, but in monthly logs of active work, subagents accounted for 47% of total spend.
This leak comes from two default settings. First, subagents inherit the model from your main chat. If you are running Fable or Opus, every background helper burns the flagship rate too. In one breakdown, over 2,000 subagent requests on Fable racked up more than $500 in API equivalent. The same work on Opus would have cost about $80, and Haiku 5.5 could have handled many of the checks.
Second, the cache has a TTL (time to live) without new requests. In a subscription's main chat, the cache stays warm for an hour. For background subagents, it expires in just five minutes. That famous case of burning 76% of a weekly limit in one day happened for this exact reason. Seven subagents sat idle for over five minutes, their caches expired, and every new call paid to rebuild the full context from scratch.
The Claude Code team recommends spinning up a subagent for a single task, pulling the result back into the main chat, and closing it right away. If idle time is unavoidable, lock subagents to a lighter model and raise their cache TTL (added in v2.1.242) inside settings.json:
{
"subagentPromptCacheTTL": "1h",
"env": {
"CLAUDE_CODE_SUBAGENT_MODEL": "sonnet"
}
}
These two lines keep child tasks on Sonnet and stop their cache from expiring every five minutes. Also check your CLI version. Before patch v2.1.316 (released November 4–5, 2026), the background status line for subagents re-read the entire chat history every 30 seconds. Update your client with one command:
# Update CLI to v2.1.316+ to fix background status lines
npm update -g @anthropic-ai/claude-code
After that patch, summaries moved to Haiku 5.5 using short working notes. The cost per update dropped by roughly 99%, and total quota spend in sessions with background tasks fell by about 5%. In one team's telemetry, background summaries dropped from 16.4% of spend to zero. Also keep an eye on autonomous /loop and /goal runs overnight. Without a strict stop condition, they replay the full context on schedule and can wipe out your weekly limit before morning.
When the Chat Gets Bloated: /autocompact 400k, /clear, and Lunch Breaks
On models with a one-million-token window, built-in autocompact (history compression) waits until around 967k tokens by default. By then, every step drags a massive tail of old messages, and answer quality drops due to context rot.
Where the main chat budget burns as context grows
Real logs show a clear skew: nearly three-quarters of the main chat budget burned after crossing the 400k-token mark, mostly during autonomous /goal runs. Lowering the compression threshold earlier keeps your context fresh and saves up to 29% of your weekly limit according to practitioner measurements:
# Lower the autocompact threshold for the current model
/autocompact 400k
# Reset history before starting a new independent task
/clear
The /autocompact 400k setting saves to modelSettings for the current model and carries over to future sessions (you can also use the CLAUDE_CODE_AUTO_COMPACT_WINDOW variable). Meanwhile, /clear protects your budget between unrelated tasks and after long breaks. Your main chat cache lasts one hour. Grabbing a coffee is safe, but returning to an old thread after a 90-minute lunch or gym session means paying to rebuild the whole history again.
Why Viral Compressors Lose to One Line in CLAUDE.md
When limits burn fast, it's tempting to install a third-party plugin promising "80% fewer tokens." The loudest example is the CLI proxy RTK (Rust Token Killer), which intercepts terminal output and trims it aggressively.
Independent benchmarks broke that illusion. In a JetBrains test, researchers ran RTK across 151 SkillsBench tasks (Claude Code 2.1.201, claude-sonnet-5). At low effort, actual bills with RTK rose by 7.6% (p = 0.004). At high effort, it broke even, and solution quality didn't change. Ironically, RTK's built-in rtk gain counter reported 96.2 million "saved" tokens (99.8% of output) during that exact run while the real bill went up.
The Quesma benchmark on Terminal-Bench 2.1 confirmed the same result and explained why. When the proxy cuts out parts of a log, the model misses the error it needs and takes extra turns to re-run commands and reopen files. Each extra turn re-reads the entire context, wiping out any savings from compressed output.
Quesma benchmark results on Terminal-Bench 2.1: RTK impact on total task cost (Source: Quesma)
The popular Caveman skill shows a milder but similar story. In the JetBrains test, it saved 8.5% instead of the advertised 65%. The project's own README table (10 tasks on claude-opus-5-5) tells the tale: no instructions used 6,983 output tokens, a simple Answer concisely. used 4,334 tokens, and /caveman used 4,119. The median gain is just 3%, while the skill's own rules add about 1,160 input tokens. The stricter /ultracave shrinks replies to 2,693 tokens, but turns explanations into choppy fragments.
Instead of proxies and heavy prompt packs, drop one short line straight into CLAUDE.md:
# Concise output without fluff
Answer concisely. Keep code exact and omit filler explanations.
These two sentences cut out fluff with zero overhead and won't break your cache. While you're at it, check your connected MCP servers. Their tool descriptions load into context on every single request even if you never call them, so disable unused connectors. Finally, if you already burned your quota on a Max or Ultra plan, check Settings > Usage. For the Fable 5.2 launch, Anthropic gave subscribers one to three free limit resets, and it's best to use them before they expire.



