Claude Code burns ~15–20% of your tokens on a 3-word status line
Posted by NikZaal 2 hours ago
Comments
Comment by HeavenFox 1 hour ago
Comment by minraws 57 minutes ago
If it happens 10 times you have already accepted the same cost as the entire session fresh prefill.
People on HN are either too rich or wayyy too rich
Comment by simianwords 52 minutes ago
Comment by minraws 40 minutes ago
Comment by buzer 51 minutes ago
Comment by maxbond 10 minutes ago
Comment by buzer 7 minutes ago
Looks like what I remembered was a bug.
Comment by dietr1ch 1 hour ago
Comment by NewsaHackO 58 minutes ago
Comment by gym 1 hour ago
I'm on pro. Two days ago, 100% 5 hour was using 25% of my weekly. Today, 100% 5 hour is like 13% so something was fixed.
Comment by bombcar 59 minutes ago
Comment by adastra22 57 minutes ago
Comment by SyneRyder 25 minutes ago
I am definitely getting frustrated with a lot of the changes they keep making in Claude Code. It's one thing to find settings have changed during your next interactive session, it's another when it changes how overnight unattended sessions behave. I really should be spending more time building my own harness again.
Comment by Matticus_Rex 22 minutes ago
Comment by OsrsNeedsf2P 1 hour ago
Comment by grim_io 1 hour ago
Comment by jakozaur 46 minutes ago
Moreover it is mostly cached reads, so subagents with short context cost little, while long-context ones cost much more.
In my Claude Code sessions, it looks more like ~8% at most.
Comment by _boffin_ 20 minutes ago
Comment by creamyhorror 54 minutes ago
Also, the claim "15-20% of your tokens" seems unclear; of all tokens, or of tokens spent on background agents? Poorly edited AI writing strikes again!
Comment by ab_wahab01 20 minutes ago
Comment by apt-apt-apt-apt 1 hour ago
Comment by lifeisloving 57 minutes ago
Cache rules everything around me.
Comment by rurban 10 minutes ago
Comment by leroman 14 minutes ago
Comment by messh 1 hour ago
Comment by fractorial 43 minutes ago
Similarly to “one language is best,” saying “one harness is best” is shortsighted in the best possible case.
That being said, Claude Code is bloatware.
Comment by quantbuilder 1 hour ago
Comment by simianwords 55 minutes ago
Comment by rsalus 1 hour ago
Comment by NikZaal 2 hours ago
Our DRIM system flagged the anomaly in CC's OTEL traces. Grouping requests by query_source showed that over one measured week agent_summary accounted for: 16.4% of total estimated spend (versus 15.7% for the main conversation), and 19.7% of all API requests with approximately 9,000 input tokens per output token.
Most requests reuse the prompt cache, but repeatedly reading a large cached transcript still has a cost. Longer contexts and more concurrent agents increase the overhead.
We couldn’t find a supported setting that disables only these summaries while preserving background agents and forks. Disabling those capabilities also stops the summaries, but changes the workflow we want to keep.
Our workaround is a small Bun preload that intercepts the summary timer without modifying the CC binary. It identifies the timer callback by source-text anchors and leaves other timers alone.
In controlled tests on Linux (from ver 2.1.257 to 2.1.312), the same workload produced five summary calls without the hook and zero with suppression enabled. On our current production setup, agent_summary calls remained at zero with the hook enabled. Background agents and forks continued running. The only visible change was that their generated status summaries stopped updating.
The workaround depends on implementation details. An update can break the callback matching and silently restore the requests. macOS and Windows are untested. If someone could help us with testing there, it would be much appreciated.
If you want to try it - the script, full technical explanation, test results, and installation instructions are on GitHub: https://gist.github.com/flamerix-ai/c3905705cc4205e5de3011fa...
Comment by edwinarbus 42 minutes ago
Your 16.4% sounds like it was for a team running mostly background agents, and doesn't seem like a typical session. (Feel free to send me the session ID at edwinarbus@anthropic.com and we can dig further.)
Last week, across Claude Code users who send us telemetry, agent_summary was about 2% of cost at API list prices and just under 4% of requests. In the terminal, where nearly all of these calls happen, it was about 6% of cost.
That said, we agree that's a lot for a status line. We just rolled out a fix for the most expensive case, summaries that miss the prompt cache (2.1.311+), and right now we're working on a much cheaper mode that sends short notes to a smaller model instead of the full transcript.
Comment by digitaltrees 38 minutes ago
Comment by helsinki 1 hour ago
Comment by hypfer 9 minutes ago
After all, for most of the work people seem to be doing daily, Claude kinda isn't.. necessary? In fact, for a lot of tasks, not using it leads to better results in my experience.
There are things that only it can reasonably accomplish, but if every interaction with it hurts you in various ways (like this one), then, eventually, I do not see that working out for them anymore.
But perhaps this is just a way to push the numbers a bit further up for the IPO? That would make a lot of sense to me.
Comment by jitl 5 minutes ago
¯\_(ツ)_/¯ it’s not efficient but yeah it’s the best