Microsoft Research, UC Berkeley, and Microsoft Security introduced TokenEconomizer, an open-source plugin that uses repository session history to cut AI coding agent costs, and reported average cost reductions of 18.4–30.9% without performance loss in an evaluation of 277 SWE-Bench tasks. Across six repositories and five agent-and-model combinations, the plugin saved the most in all 30 repository-combination pairs, with cumulative costs falling below the default in every repository by the sixth task after starting with no prior session history.
The researchers said TokenEconomizer also lowered costs on sequential web development and security auditing. Designed to run alongside existing AI coding agents without modifying their underlying models, the plugin requires no API key of its own and keeps what it learns on the developer's machine.
AI 根据报道生成 · 2 小时前更新