Microsoft and UC Berkeley release TokenEconomizer to cut coding agent costs by up to 30.9%
Microsoft Research and UC Berkeley have launched TokenEconomizer, an open-source plugin designed to reduce token waste in coding agents like Claude Code, Codex, GitHub Copilot CLI, and Pi. By analyzing past sessions, it cuts costs by 18.4% to 30.9% across 277 SWE-Bench tasks and 5 agent-model settings, with the highest savings (33.2%) when combined with RTK on Claude Code with Opus 4.8. The tool…
Key points
- TokenEconomizer cuts coding agent costs by **18.4% to 30.9%** on **277 SWE-Bench tasks** across **5 agent-model settings**
- Tool pruning alone saves **13.2% to 17.7%**; micro-skills and failure-loop intervention add further reductions
- Works with **Claude Code, Codex, GitHub Copilot CLI, and Pi**—no GPU or API key required, runs locally
TokenEconomizer achieves savings through three mechanisms: micro-skills (extracting reusable facts from traces), tool pruning (masking unused tools after three consecutive omissions), and failure-loop intervention (detecting and redirecting stuck agents). The plugin is Apache 2.0 licensed and runs locally, storing learned data in ~/.tokeneconomizer. While it improves Pass@1 accuracy in four of five settings, it reduces it by 1.0 point on Opus 4.8 in one case. The researchers note savings build over time, with all repositories becoming cheaper by the sixth task.
The story so far
2 episodes →- Microsoft and UC Berkeley release TokenEconomizer to cut coding agent costs by up to 30.9%this story
Meet TokenEconomizer: Microsoft’s Plugin That Cuts Coding Agent Costs by Up to 30.9%
MarkTechPost · 30 October 2026
Loading the full article…
This text was published by MarkTechPost and written by Asif Razzaq. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Amazon Bedrock AgentCore runtime lets coding agents preview web apps in real time · 1 src
- Defense contractor gave Anthropic's Claude agent access to secure Pentagon system · 1 src
- DoorDash says it has only received several hundred orders from AI agents · 2 src
- Google adds file editing to Gemini chats for all users · 4 src
- Claude Code finds all 5 planted vulnerabilities in 8 minutes · 2 src
Comments
via GitHub Discussions