git log costs your agent 624 tokens. It needs 55. Here's a list of the worst offenders
Summary
The article highlights how verbose CLI output wastes tokens for LLM coding agents and introduces a pattern-based compressor that reduces shell command output noise while preserving essential information.
Similar Articles
Subagents Account for Most Token Costs in Long Agent Runs: Fixes That Cut Usage 70 to 90 Percent in Practice
The article analyzes a 2026 paper by Bai et al. showing that subagents and context bloat cause token costs in long agent runs to be ~1000x higher than chat, and presents three practical fixes (PLAN.md, read budget, out-of-band notes) that reduce token usage by 70-90%.
My agent is too damn expensive! What do you wish you knew about your LLM token burn?
A discussion post about the high costs of running LLM agents, with users sharing frustrations and seeking advice on tracking token spending and improving efficiency.
Cloud Agents just exploded in usage
Cloud agents are experiencing explosive growth in token usage, with GitLawb leading at 164B tokens, signaling a resurgence in agent adoption.
@IntuitMachine: Your AI coding agent just burned $2 on a single bug fix. You thought it was "cheap automation." Here's what 16,000 prod…
An analysis of AI coding agent costs reveals that agentic workflows can use up to 3,500x more tokens than a simple ChatGPT call, with most waste coming from redundant context loading. The article suggests tracking repeated file actions and using efficient models to cut costs.
How I easily cut my input token burn ~90% on long agent runs
The author shares a practical tip to reduce input token costs by ~90% on long agent runs using prompt caching: placing unchanged text (system prompt, tool definitions, context) at the start of every prompt to leverage cached prefixes from LLM providers.