[BUG] Extreme Token Burn with Claude Code CLI - Normal Work Impossible!
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Since Saturday 28th of March I experience MASSIVE token burns where I can barely work 1hr. Usually I was able to at least use 3-4hrs in a normal 5hr window to work extensively with Claude Code CLI on my Max 5x plan (and through the promotion that was active for everybody lately even not able to make use of the full limit). So we are talking about a 3-4x decrease in service provided (and probably 8x less than in the promotion phase)! That is unacceptable considering the fortune we pay you for the Max Plans per month. I am massively disappointed from the intransparent communication and the the apparent inability to fix the problem at hand. As paying customers we rely on the service we pay for as some of us are building a business on top of that. We are loosing actively time & money!
Remark: It does also affect not just my 5hr window but also the weekly limit, is is much quicker burned through. 2-3hrs of usual work cost me almost 10% of weekly usage, thats unheard of! I was having no issues to work heavily, meaning up to 10-12hrs of extensive coding hitting just 12-15% of weekly usage in one day.
What Should Happen?
Get the system (usage calculation or whatever the root cause is) back to where it was so we can continue to work. Roll it back please or fix the issue at hand so we can continue working again!
Error Messages/Logs
-
Steps to Reproduce
Just use claude code and observe the speed with which the limit is reached!
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
2.1.85
Claude Code Version
2.1.89
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
12 Comments
I've been experiencing the same issue on Max 20 ($200/mo) — rate limit 100% exhausted in ~70 minutes.
After setting up a monitoring proxy using the official
ANTHROPIC_BASE_URLenv var, I identified two cache bugs as the root cause (#40524, #34629) and measured the impact: cache read ratio dropped to 4.3%, meaning ~20x token inflation per turn. After applying workarounds it stabilized at 89-99%.Full analysis with per-request measured data, safe workarounds, and community references (including cc-cache-fix): https://github.com/ArkNill/claude-code-cache-analysis
I followed your advice meticulously but it didnt help. From my point of view, what they call "adjusting limits" is a de facto price increase. Same plan, same price, less output. What worked fine for me until last Friday doesn't work on Tuesday — and there's nothing wrong on my side.
How is that reasonable to have a contract for a service that fits my needs and for which I accept a certain pricing and I start to develop with it but then I am basically cut off in the middle of my project because the limits dont allow me to progress? To me this honestly feels like a scam. If I sell you a service for a monthly price and at some point I just say "Ha now you just get a quarter of the service for the same money" -> what would you call that?
Thanks for trying the downgrade — sorry it didn't help in your case.
A quick clarification: all my testing and the workarounds I shared were done strictly in the CLI environment (
claudecommand in terminal on Linux). I haven't tested with the VSCode extension or Claude Code Desktop, and the cache behavior may differ there.A couple of follow-up questions that might help narrow it down:
claudein terminal), VSCode extension, or Desktop app?If your cache read ratio is already healthy (80%+) even on the latest version, then the token drain you're seeing may have a different root cause than the cache bugs I identified.
Thx mate!
Follow-up to @peterhaehnel-codes — you're right, and thanks for confirming.
The cache fix alone doesn't fully solve it. After more investigation, I've identified that there are two layers to this problem:
Additional precautions that help reduce the drain
Even with or without the cache fix, these behaviors dramatically accelerate consumption:
Avoid entirely:
--resume— replays your full conversation history as billable input. A single resume on a long session can burn 500K+ tokens instantly/dreamand/insights— trigger background API calls that consume tokens without visible outputBe careful with:
Recommended:
ANTHROPIC_BASE_URL) — at least you can see what's happeningThis won't fully solve the server-side problem, but it stretches whatever budget we have left significantly further.
Updated analysis: https://github.com/ArkNill/claude-code-cache-analysis
Update (April 2): v2.1.90 has significantly improved cache efficiency — benchmark shows 95-99% cache read in stable sessions (both npm and standalone installations).
If you're still affected:
claude update(ornpm install -g @anthropic-ai/claude-code)"DISABLE_AUTOUPDATER": "1"to~/.claude/settings.jsonenv section--resume(still broken)Note: server-side quota issues (org-level pool sharing, accounting mismatches) remain unresolved — the above fixes the client-side cache drain only.
Benchmark data: https://github.com/ArkNill/claude-code-cache-analysis
April 3 update: v2.1.91 fixes the cache regression that caused the worst drain. If you are still hitting limits after updating, there are additional unfixed mechanisms: a 200K tool result budget cap, a client-side false rate limiter, and silent context stripping — all confirmed via proxy testing. Anthropic acknowledged peak-hour tightening on X (Lydia Hallie) but stated "none were over-charging you." Measured data and analysis: claude-code-cache-analysis
Was using v2.1.92 for like 4 days and was pretty ok with the token usage (not happy but ok!). Today the whole issue is recurring AGAIN -> Burning through tokens like there is no tomorrow on version v2.1.92 + and this was not happening before Claude (and I am not jsut talking about Opus 4.6 but also Sonnet) act clueless... things that worked flawlessly are totally broken -> I would simply describe it as if Claude has only 20% of its brain power anymore... it's misbehaving at multiple levels.
GUYS THIS IS SERIOUS, WE ARE USING CLAUDE CODE FOR WORK!!!! How long shall this continue? We are not your testing ground, we are paying customers!!!
Me too. Utterly unworkable now.
Bug Description
Massive token usage by CC Cli for simple local actions in Pro account. Session limit hit in a flash, half of weekly allowance used up, it also consumed £21.27 in Extra Usage credits. This can't be right. Something is eating all my allowance - using Sonnet on medium and Haiku should not burn credit like this - because it never has before for the simple local work I do. Something is very wrong.
Environment Info
Platform: linux
Terminal: konsole
Version: 2.1.114
Feedback ID: 76c9e695-5d1b-4b3b-803e-8b2532b70318
Errors
[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},
Also via the app, without CLI, Claude Code can burn tens of thousands of token without producing any output. One month ago it was the best coding tool, today it is useless without constant micromanagement.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
It seems the same issue is back. I just burned through the 5-hour limit (max 5x), outside of peak-hours, in less than 1 hour. And didn't even do any real work, but just had it read a couple of short text files, run one research agent and give me some text-output in an HTML.