DigestAI news desk

Cut through the AI noise.

Agents & Tools4 min read

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…

1 source

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 →
  1. Microsoft and UC Berkeley release TokenEconomizer to cut coding agent costs by up to 30.9%this story
Full story from MarkTechPost · by Asif RazzaqOpen source ↗

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 ↗

Topics · follow one to build your own front page

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.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories