Frugal routes Claude Code tasks to the cheapest model that can handle them
StolenDrinks · reddit · 2026-07-22
Frugal is a Claude Code plugin that routes sub-tasks to the cheapest model or even to shell tools when possible. It escalates only after real checks fail, logs local cost reports, and keeps all telemetry on-device, aiming to cut agent spend without reducing reliability.
How it works
- Uses shell tools like grep, jq, or git before calling a model when that is sufficient
- Assigns locate/extract work to Haiku, mechanical edits to Sonnet, and reserves the main model for design, debugging, and review
- Escalates based on failed tests, compiler errors, or schema checks rather than self-reported uncertainty
- Includes guardrails that count search calls and can hard-block expensive tiers, while failing open
- Produces local reports on tier mix, escalation rate, and estimated savings
Related event: Frugal Plugin Enables Cost-Aware Routing for Claude Code(2 posts)→
More from coding & agent
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27
- Agentic Data Science in Practice: Agents Write Code but Answer Wrong Questions — hugobowne · 2026-07-27
- A VS Code extension adds Markdown-style highlighting to Alchemy string templates — samgoodwin89 · 2026-07-27
- Claude’s Stripe MCP connector is being called unusable after repeated disconnects — evielync · 2026-07-27