theaicatalog
Microsoft ยท Research

Microsoft Research plugin cuts AI coding agent costs

TokenEconomizer is an open-source plugin from UC Berkeley, Microsoft Research, and Microsoft Security that learns from an agent's past sessions in a repository. It reduces waste in later sessions without changing the agent or its underlying model. Across 277 real bug-fixing tasks, it reduced costs by between 18.4% and 30.9% across multiple AI coding agents, while task success rates remained broadly stable. After a repository had at least five completed tasks, 30% of tool calls repeated an action from an earlier task.