Extensive Tool Use & Inefficient Retrieval

Agents consume vast tokens by calling external tools, inspecting results, and especially through inefficient retrieval, where they might read tens of thousands of input tokens from fragmented sources or full web pages to produce a small output.

The top 3

  1. Context Over-fetching: Retrieval's Costliest Pitfall: Many RAG systems retrieve 3-5x more context than the LLM actually uses, with irrelevant information often comprising up to 74% of input tokens, significantly inflating costs.
  2. API Response Processing: The Hidden Token Guzzler: Beyond the initial tool call, agents incur significant token costs from parsing, summarizing, and injecting verbose API responses back into the LLM's context for subsequent reasoning steps.
  3. Iterative Tool Use: Token Multipliers in Agent Loops: Agentic systems leveraging multi-step tool orchestration can consume 5-30x more tokens per task than simple chatbots, with naive agent loops potentially multiplying costs by over 10x for a 20-step process due to re-billing conversation history.

Sources

Open the full topic