{"slug": "ask-hn-how-are-you-controlling-token-costs", "title": "Ask HN: How are you controlling Token Costs?", "summary": "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.", "body_md": "I have been using LLMs & Coding Agent since early 2024. A large problem with Coding Agents & LLMs in general is context compression.\n\nTo 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.\n\nWhen 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.\n\nCurious 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 ?\n\nComments URL: [https://news.ycombinator.com/item?id=48869320](https://news.ycombinator.com/item?id=48869320)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/ask-hn-how-are-you-controlling-token-costs", "canonical_source": "https://news.ycombinator.com/item?id=48869320", "published_at": "2026-07-11 06:24:06+00:00", "updated_at": "2026-07-11 07:05:02.271217+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-tools"], "entities": ["Claude Code", "Codex", "Sakana"], "alternates": {"html": "https://wpnews.pro/news/ask-hn-how-are-you-controlling-token-costs", "markdown": "https://wpnews.pro/news/ask-hn-how-are-you-controlling-token-costs.md", "text": "https://wpnews.pro/news/ask-hn-how-are-you-controlling-token-costs.txt", "jsonld": "https://wpnews.pro/news/ask-hn-how-are-you-controlling-token-costs.jsonld"}}