cd /news/large-language-models/ask-hn-how-are-you-controlling-token… · home topics large-language-models article
[ARTICLE · art-55251] src=news.ycombinator.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Ask HN: How are you controlling Token Costs?

A Hacker News user reports that coding agents using large language models spend over 90% of their time re-reading context, with an estimated 20% of that context being irrelevant to the task. The user highlights token waste as a growing concern and asks the community for strategies to control token costs.

read1 min views1 publishedJul 11, 2026

I have been using LLMs & Coding Agent since early 2024. A large problem with Coding Agents & LLMs in general is context compression.

To give you some numbers, when I analysed my own sessions across Claude Code, Codex & Sakana, I found that most of my agents spent >90% of time re reading context and upon further investigation into the markdowns it was reading, I have a hand-wavy estimate of at least ~20% of this being useless to the task at hand.

When digging a bit more into this problem, I realised that this is an active area of frontier research, wherein some have even proposed solutions like having the LLM reason in an abstract compressed language illegible to humans which is more token efficient than human languages & then using a decoder model on top of this for human readability & access.

Curious to know, what other approaches are being used out there ? What is your experience of working with these agents & are you concerned about this "token-rot" as I call it or not ?

Comments URL: [https://news.ycombinator.com/item?id=48869320](https://news.ycombinator.com/item?id=48869320)

Points: 1

── more in #large-language-models 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ask-hn-how-are-you-c…] indexed:0 read:1min 2026-07-11 ·