TurnCost: Turns, Not Observations: Cache-Aware Loop Engineering for Coding Agents
If you're optimizing coding agents for cost, you've been gaming the wrong thing. The paper shows compression and cheaper model routing are addressing rare edge cases, not typical loops. The real insight is that prefix caching is doing most of the work, which means your agent architecture should be designed around cache reuse, not token minimization. Revisit your agent scaffolding with this model in mind.