I disagree because with their subscriptions and people using Opus I doubt the majority of users are hitting their limits often so this would just burn compute on their end
If they are literally sending the entire transcript and asking for a summary, wouldn't almost all of the tokens be cache hit, and therefore fairly cheap?
Claude lovers are either early adopters not well informed/lazy to experiment ("why, it's still the best, right?"), or millionaires or devs with unlimited budgets, who often ask on HN "why would you use anything else than Opus on xhigh".
I was handed 150$/mo budget and no subs, and while it was frustrating at first, with better tooling, context management and especially OAI models it's a breeze now and not even using 70% mostly while achieving a lot in a small team.
They enabled it for everyone in a recent Claude Code update, but you can turn it off (I did).
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.
Check your idleCompaction line in /config to make sure it's off -- several times they've toggled new features on by default for me. This one isn't in the VS Code extension so I don't know if it shipped default-on.
I tested it, and it looks real but more nuanced. It is just for subagents; workflows do not seem affected. I guess many new users prefer workflows (ultracode), so the impact is less than the report suggested.
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.
About 6 months ago I embarked upon building a little mac native app to monitor all my claude code sessions and alert me/surface sessions that were going to go stale so I could go ping them if I wanted to keep things cached. I named it CREAM.
That eventually grew into what is now my 'software factory' and I've realized, eventually, it's still C.R.E.A.M. (I named it flower) but it's _context_ rules everything around me.
Opus 5.5 burns tokens like there's no tomorrow! Meanwhile, GPT 6.1 Sol on Extra High feels unlimited! Opus (on Max 20x) munches my weekly quota in a day, or two at best. Meanwhile, working with Codex and reviewing with a $50/mo Muse Code Wonder Full seems like it can go own forever (on the same codebase, the same skills, etc.) I am highly disappointed by the overly glorified Opus and Claude Code in general - there's no commit in which Codex or Muse Code or GitHub Pilot don't find critical flaws! I have long sessions of Claude Code having over 100 review cycles of Codex and still not addressing all the valid issues that Codex finds in Claude Code's work! Claude Code keeps injecting British English into prose and identifiers with nothing being able to stop it! Of course, there are almost never resets for Claude Code either - they would rather me focus on Codex being my primary and Claude Code being the reviewer (it works much better than in reverse). Anyway, enver trust a single model! Always review with another frontier one!
Background agents only have 5 minutes' cache TTL, but I'm guessing this doesn't help extend it (not that it would be too useful anyway, especially considering the extra burn).
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!
I now run Jev in front of claude code and the results so far have been very good. It picks Haiku far far more often than I would think to use it and it works very well.
i think its not the status line at the bottom of the terminal, but actually the few words summary claude generates for each background agents in the agents panel. so if we mostly run one plain session we wont pay for this? i do run claude code with disableAgentView on in my settings. does anyone know if that helps to stop the summary calls or just hides the panel?
It's how they finally become profitable: You burn through your token quotas so you have to buy them per request now. Oh, and also Enterprise seats are selling like bubble gum.
Claude Code's (CC) status summaries used 16.4% of our token spend in a week! We have investigated a source of overhead in CC: it's an agent_summary query that calls your current session/subagent model approximately every 30 seconds for a few words in CC’s status line.
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.
I work on Claude Code. You've got the basic mechanism right, but to be super clear, this only applies to background agents that are actively working. They get a summary call about every 30 seconds, and idle background agents don't. These summaries are used for both you and Claude Code to track what each background agent is working on, without reading transcripts.
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.
You're telling us there are frequent scheduled summary calls to agents that burns tokens like this is common knowledge. Is it? And is this documented somewhere?
Perhaps this is terminology confusion, but the official docs explicitly state that status lines "[Run] locally and [do] not consume API tokens." [0] _If_ that documentation is talking about the same thing that TFA is talking about, then I'd say that this is very much not common knowledge.
I also wonder if the fix that they "just rolled out" is actually activating the 'short' mode that TFA mentions...
With the ever-increasing amount of paper cuts one gets from using their products, I wonder how long this will really go on?
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.
i use opus 5.5 to delegate to sol and luna via codex-thread-bridge (https://github.com/saidelike/codex-thread-bridge). these days i’m experimenting with opus using luna as “hands” and it’s largely resolved the tokens per output issue with my Anthropic subscription.
¯\_(ツ)_/¯ it’s not efficient but yeah it’s the best
While we're modding Claude Code, Anthropic includes your email in the system prompt and Opus _constantly_ includes it in request headers.
https://www.reddit.com/r/ClaudeCode/comments/1xhqvzn/opus_55...
You can remove it with a simple plugin https://github.com/AlexErrant/claude-code-no-email/blob/main...
Claude Code burning a large amount of tokens for no good reason is a headline we've seen more than a few times now.
Time to start questioning the motivations of model providers shipping their own harnesses.
It's not really a secret, the answer is profit. And in the part of the world where this provider is from, greed is reckoned as a good thing.
I disagree because with their subscriptions and people using Opus I doubt the majority of users are hitting their limits often so this would just burn compute on their end
Really? Because you'd think for profit they would want to minimize token burn and therefore get away with lower limits on their plans
If they are literally sending the entire transcript and asking for a summary, wouldn't almost all of the tokens be cache hit, and therefore fairly cheap?
I don't want to sound rude but even at cache hit you are burning almost input * 0.10 * context amount of tokens multiple times.
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
Who pays for their own tokens at full price?
All Claude Enterprise customers.
given that the subsidized plans from all companies are getting worse by the hour it's probably a smart thing to consider, at least.
Isn’t it 0.2?
It's 0.1 I think brain fart I typed the rest correctly though after 10 summaries you still burn the same amount of tokens
A cheap operation adds up to a large cost if it's done enough times. TFA even talks about caching.
Do you disagree with the numbers and conclusion in the -pretty obviously bot-generated- Fine Article?
Didn't they change the cache TTL to 5 minutes earlier this year? So depending on exact timing it could potentially be invalidated between the updates.
If you're using the API, I think. It's an hour when using Claude Code.
It's an hour. It'll tell you the expiry time on the status line now but that information is also available in /usage.
https://github.com/anthropics/claude-code/issues/46829
Looks like what I remembered was a bug.
Unless they prepend something like, "summarise this, "
But they definitely wouldn’t do that.
Claude lovers are either early adopters not well informed/lazy to experiment ("why, it's still the best, right?"), or millionaires or devs with unlimited budgets, who often ask on HN "why would you use anything else than Opus on xhigh".
I was handed 150$/mo budget and no subs, and while it was frustrating at first, with better tooling, context management and especially OAI models it's a breeze now and not even using 70% mostly while achieving a lot in a small team.
Having limited resources teaches you a lot.
> A limited budget teaches you a lot.
Absolutely.
I was surprised the usage issue wasn't mentioned here before this based on my searching on hn.algolia.
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.
This is (still) happening to three of my four 20x Max accounts and by all accounts it seems they’re getting short changed on total weekly quota.
They’ve got that IPO coming up so they’re turning up the fraud in preparation.
They very aggressively compact when the cache is about to expire, which saves a ton of tokens, the equivalent of doing a handoff at 25% or less.
I assume that is only if compact is turned on? I never use compaction.
They enabled it for everyone in a recent Claude Code update, but you can turn it off (I did).
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.
Check your idleCompaction line in /config to make sure it's off -- several times they've toggled new features on by default for me. This one isn't in the VS Code extension so I don't know if it shipped default-on.
This is an A/B test
More likely it depends on the overall load of the infrastructure.
I tested it, and it looks real but more nuanced. It is just for subagents; workflows do not seem affected. I guess many new users prefer workflows (ultracode), so the impact is less than the report suggested.
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.
I mean… 8% still seems pretty indefensible, especially if you can’t turn it off. That’s a big chunk of usage.
any % is indefensible, because this should be user toggled. It's an unnecessary money burner.
At least they seem to have fixed their free-revenue feature-bug, where they randomly invalidate your cache (~$8 a pop (turn))
This is by design, its the same reason inference providers on Openrouter will advertise super cheap pricing but cache TTLs of 2 min/ 70% hit rate.
Cache rules everything around me.
Hey, letting you know I'm stealing your quote about CREAM. It'so absurd.
About 6 months ago I embarked upon building a little mac native app to monitor all my claude code sessions and alert me/surface sessions that were going to go stale so I could go ping them if I wanted to keep things cached. I named it CREAM.
That eventually grew into what is now my 'software factory' and I've realized, eventually, it's still C.R.E.A.M. (I named it flower) but it's _context_ rules everything around me.
Opus 5.5 burns tokens like there's no tomorrow! Meanwhile, GPT 6.1 Sol on Extra High feels unlimited! Opus (on Max 20x) munches my weekly quota in a day, or two at best. Meanwhile, working with Codex and reviewing with a $50/mo Muse Code Wonder Full seems like it can go own forever (on the same codebase, the same skills, etc.) I am highly disappointed by the overly glorified Opus and Claude Code in general - there's no commit in which Codex or Muse Code or GitHub Pilot don't find critical flaws! I have long sessions of Claude Code having over 100 review cycles of Codex and still not addressing all the valid issues that Codex finds in Claude Code's work! Claude Code keeps injecting British English into prose and identifiers with nothing being able to stop it! Of course, there are almost never resets for Claude Code either - they would rather me focus on Codex being my primary and Claude Code being the reviewer (it works much better than in reverse). Anyway, enver trust a single model! Always review with another frontier one!
If you tell a model to find flaws, it will find flaws. What qualifies as critical to you?
100 review cycles sounds like a lot of arbitrary churn, I can get most models to review and endlessly find things to “improve”
This is the harness’s job. Incentives are not aligned for inference providers to own the harnesses.
Background agents only have 5 minutes' cache TTL, but I'm guessing this doesn't help extend it (not that it would be too useful anyway, especially considering the extra burn).
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!
Bloat. I like Pi much better with it's minimalism
As someone who rolled and daily drives a harness leaner than Pi, there’s still a use case for both.
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.
Can pi be used with Claude on an enterprise sub?
Does this happen in the VS Code extension? or only in the terminal?
Just looked and we're burning around ~3%, but that's across everything / everyone.
This is fraud. Unknowing to its customers a company is running a daemon that wastes a commodity it sells to said customer.
At the base there is a conflict of interests- what we pay for
those i guess are all cache hits.
I now run Jev in front of claude code and the results so far have been very good. It picks Haiku far far more often than I would think to use it and it works very well.
Why do you think it's making the right choice when it's not the choice you would have made?
i think its not the status line at the bottom of the terminal, but actually the few words summary claude generates for each background agents in the agents panel. so if we mostly run one plain session we wont pay for this? i do run claude code with disableAgentView on in my settings. does anyone know if that helps to stop the summary calls or just hides the panel?
That's why people are using pi, not Claude. What a waste of money
Not good. Please fix.
does this happen for Claude Desktop too?
Another reason why CoPilot seems more "honest" than CC
It's how they finally become profitable: You burn through your token quotas so you have to buy them per request now. Oh, and also Enterprise seats are selling like bubble gum.
It's the same addiction script again and again.
Isn’t this prompt cached? Then it’s not that big of a deal
Claude Code's (CC) status summaries used 16.4% of our token spend in a week! We have investigated a source of overhead in CC: it's an agent_summary query that calls your current session/subagent model approximately every 30 seconds for a few words in CC’s status line.
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...
[flagged]
[flagged]
I work on Claude Code. You've got the basic mechanism right, but to be super clear, this only applies to background agents that are actively working. They get a summary call about every 30 seconds, and idle background agents don't. These summaries are used for both you and Claude Code to track what each background agent is working on, without reading transcripts.
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.
Sorry to side swipe this, but it's related to token usage :peek:
Are you aware of any updates on the SDK using more session usage vs claude code (https://github.com/anthropics/claude-code/issues/97074)?
You're telling us there are frequent scheduled summary calls to agents that burns tokens like this is common knowledge. Is it? And is this documented somewhere?
Perhaps this is terminology confusion, but the official docs explicitly state that status lines "[Run] locally and [do] not consume API tokens." [0] _If_ that documentation is talking about the same thing that TFA is talking about, then I'd say that this is very much not common knowledge.
I also wonder if the fix that they "just rolled out" is actually activating the 'short' mode that TFA mentions...
[0] <https://code.claude.com/docs/en/statusline#how-status-lines-...>
It’s almost like they are trying to go public. Burn those tokens.
I’m sure they release a decision model that alleviates this problem in due time.
With the ever-increasing amount of paper cuts one gets from using their products, I wonder how long this will really go on?
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.
i use opus 5.5 to delegate to sol and luna via codex-thread-bridge (https://github.com/saidelike/codex-thread-bridge). these days i’m experimenting with opus using luna as “hands” and it’s largely resolved the tokens per output issue with my Anthropic subscription.
¯\_(ツ)_/¯ it’s not efficient but yeah it’s the best