Microsoft and Berkeley open-source TokenEconomizer, cutting coding agent costs 18–31%

victor_explore · x · 2026-11-02

Microsoft Research and UC Berkeley open-sourced TokenEconomizer, a black-box plugin for coding agents like Claude Code, Codex, and GitHub Copilot CLI (4.2k stars on GitHub, Apache-2.0). The core insight: coding agents waste tokens relearning the same repo every session — which test commands work, which tools never get used.

Results: 18.4–30.9% lower mean cost on SWE-Bench across five agent-model combinations, cheaper than default in all 30 repository runs, with Pass@1 intact in 4 of 5 setups — and no changes to the model or the agent's code.

Original post →

More from coding & agent

coding & agent channel →