Vote in Free Arena

News··1 min read·Data updated automatically

Microsoft and UC Berkeley release TokenEconomizer plugin cutting coding agent costs up to 30.9%

The open‑source TokenEconomizer learns from prior sessions to lower token usage for coding agents by 18.4%‑30.9% on SWE‑Bench without altering the agent.

Tests on the SWE‑Bench suite show mean token cost reductions ranging from 18.4% to 30.9% across five agent‑model combinations, with cheaper runs in all 30 repository‑combination cells.

The plugin works by learning repository‑specific facts, pruning unused tools, and intervening in repeated failure loops, all while keeping the original agent unchanged.

Costs include every model call made by TokenEconomizer, and savings persisted on Web‑Bench (16%‑21% lower) and two security‑auditing benchmarks (6%‑20% lower).

Installation requires Python 3.10+, a supported coding agent, and no additional API key; learned data stays locally in ~/.tokeneconomizer.

What it means for you

Developers using coding agents can lower operational expenses without modifying their existing workflows. The plugin’s local‑only learning may benefit users of free or self‑hosted models by reducing token consumption while preserving model performance.

Sources

Written automatically from the sources above, then checked by our code: every number and name must appear in them, and no sentence may copy a source. Spotted a mistake? Report it.

Free leaderboard

Which AI can you use for free today?

Every free AI model, ranked by blind human votes, with the memory and speed it needs on your own GPU.

Open the leaderboard →

Share this page:XLinkedInRedditWhatsApp

Press / or Ctrl+K to search from any page.