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

RiserFlow MCP Server Adds E-commerce Capabilities to OpenClaw
An open-source MCP server called RiserFlow enables OpenClaw to search products semantically, manage carts, and place real orders that appear in store admin systems, with current support for Bitrix and an adapter pattern for other platforms.

Nanocode: Training Claude-like coding agents with JAX on TPUs
Nanocode is a JAX library for training Claude-like coding agents end-to-end, using Constitutional AI and TPU optimization. The 1.3B parameter model can be trained in ~9 hours for $200 on TPU v6e-8.

Tocket CLI: A Context Engineering Framework for AI Coding Agents
Tocket is a CLI tool that creates a .context/ folder with markdown files for AI agents to maintain project memory across sessions. It auto-detects tech stacks from package.json and generates a pre-configured .cursorrules file.

JavaClaw Beta: Java-Based AI Assistant Built on Spring AI and JobRunr
JobRunr team released JavaClaw beta, a Java version of OpenClaw that runs locally with multi-channel support, LLM choice, and background job processing via JobRunr. Built with Spring Boot 4, Spring AI, and Spring Modulith.