Top Factors Amplifying Context Re-read Expenses
Key drivers escalating context re-read costs include longer context windows, frequent iterative self-correction loops in agentic systems, and the repeated transmission of large system prompts and tool definitions in every turn [4, 8, 10, 15, 16].
The top 3
- Quadratic Scaling: The Hidden Cost Multiplier: AI model attention mechanisms scale quadratically with context window length, meaning doubling the input tokens can quadruple computational costs for re-reads, making large contexts exponentially expensive.
- Tool Output Accumulation: The Hidden Payload Burden: Every tool call adds data, including complex schemas and raw payloads, to the context window; for instance, a server with 90+ tool definitions can consume over 50,000 tokens before reasoning even begins.
- Multi-step Reasoning's Compounding Context Cost: Agents tackling complex problems requiring several sequential analytical or decision-making steps repeatedly process the entire context window, leading to compound growth of context and costs in multi-turn sessions.
Sources
Open the full topic