October 16, 2026 · Repo picks, AI costs
Repo picks: three open-source tools that cut the AI bill
Headroom compresses what agents read, Weave Router sends easy requests to cheaper models, and LMCache reuses work on self-hosted GPUs. Install lines and the catch for each.
Every week we pick three open-source projects from the AI repos we follow on GitHub, read the README and the security advisories, and write down how to try each one and what to watch for. This week: tools that lower the bill.
Measure before you install anything. If you can’t say which workflow drives your spend, start with the AI spend control loop.
1. Headroom
Shrinks the tool output, logs and files an AI agent reads before they reach the model, on your own machine.
For: Developers running coding agents such as Claude Code or Codex
pip install "headroom-ai[all]" headroom wrap claude
Know before you use it: The savings figures are the project’s own (about 20% for coding agents). Telemetry is on by default: set HEADROOM_BEACON=off, and use 0.35.0 or later.
2. Weave Router
A proxy in front of Anthropic, OpenAI and Gemini that picks a model for each request, so easy requests go to cheaper models.
For: Teams paying for coding-agent API usage
npx @weave-os/router --local
Know before you use it: The default install sends prompts through Weave’s servers, so use --local. In its own benchmark it beats the cheap model but trails the top one (47.6% vs 53.2%).
3. LMCache
Reuses a self-hosted model’s KV cache across requests, so long repeated prompts aren’t computed twice.
For: Teams running their own models on GPUs with vLLM
pip install lmcache
Know before you use it: Upgrade to 0.5.6: earlier versions have a critical remote-code-execution flaw (CVE-2026-105192). It does nothing for an OpenAI or Anthropic bill.
Get the next one
An every-other-week email with one framework or tool, what it cost and what broke. You also get our 10-page PDF of the top 10 open-source projects for AI agents.