NerfGuard: A Classifier That Routes Coding Requests to Cheaper Models, Cutting Spend 3x

A team that switched from Claude Code to Codex for speed and steerability found themselves hitting per-token pricing hard. Their daily bill was striking, and they noticed they were using top-tier models on max reasoning for every task, even trivial ones. So they built NerfGuard — a fast classifier that routes each request to the least expensive model and reasoning depth required.
The core is a classifier that determines the minimum intelligence needed for a given coding request. On top of that, it applies automated token efficiency techniques. The result: roughly the same quality for multiples lower token spend, and because intelligence and reasoning are properly bin-packed, speed also goes up considerably. The team observed up to 3x savings and hours per day per person saved waiting on tool turns and agent responses.
Key details from the source:
- Classifier routes to cheapest model + reasoning depth for each request
- Additional automatic token efficiency techniques
- Result: 3x usage for same spend
- Speed improvements: hours per day per person saved
- More usage before hitting throttling limits
This is currently in use by engineers at multiple AI companies. The tool is available at nerfguard.com.
Who it's for: Teams using coding agents (Claude Code, Codex, etc.) who want to maximize output per dollar and reduce wait times.
📖 Read the full source: HN AI Agents
👀 See Also

Multi-Agent System for Deep Competitive Analysis with Claude
A developer built a three-wave agent system that moves beyond shallow competitor lists to extract pricing intelligence, customer sentiment patterns, and strategic signals through structured multi-source research.

Codesight CLI reduces AI coding agent token usage by scanning codebases
Codesight is a zero-dependency CLI tool that scans TypeScript, Python, and Go projects to generate compact context files, reducing Claude Code exploration tokens by 12.3× on average according to benchmarks from real production codebases.

Claude Cowork mode explained: file-level task execution vs chat and code modes
Claude's Cowork mode operates inside a chosen folder to perform file-level tasks like organizing messy folders, extracting structured data from screenshots, and combining scattered notes into structured documents.

Google Surf MCP: Free Google Search MCP with PDF Handling and Tiered Extraction
Google Surf MCP is a free MCP server for Google search and URL extraction that handles PDFs and offers a tiered extraction mode (abstract/full) to save tokens.