Microsoft open-sources TokenEconomizer, cutting coding agent costs 18-31%
udmrzn · x · 2026-11-16
Microsoft released TokenEconomizer, a free open-source plugin for coding-agent cost control that has racked up 6.8k GitHub stars.
It learns from sessions your agent already ran in a repo:
- Remembers repo facts the agent keeps rediscovering
- Stops loading unused tools, since every tool definition ships with each request
- Works with Claude Code, Codex, Copilot CLI and Pi
Across 5 agent-model setups on SWE-Bench, it lowers costs by 18.4% to 30.9% — essentially free money for users hitting weekly usage limits.
More from coding & agent
- Anthropic's Nate Parrott: AI Compresses Design Prototyping from Weeks to Days — petergyang · 2026-11-16
- Developer Builds a Shared Pixel World for Humans and AI Agents with Claude Code — BarcodeCutter · 2026-11-16
- 24 hours of prompting an AI agent yields GBC Factorio homage GBFactory — Dimillian · 2026-11-16
- Can AI auditors be talked out of their verdicts? An experiment in agent capture — gleech · 2026-11-16
- Giving Claude Code its own identity: 15-min certs, no long-lived keys — julsimon · 2026-11-16
- AI deal-sourcing engine closes $10.5K deal vs $5K/mo cold email agencies — aryanXmahajan · 2026-11-16