cheapAg : My Opus was hitting limits on boilerplate, so I made a $0.005 model do the typing
A developer describes “Cheap Agent,” an MCP server and plugin for Claude Code that offloads boilerplate to a cheap model (DeepSeek V4.1 Flash via OpenRouter, about $0.005 per task) while Opus plans and reviews. The cheap model writes code in a git worktree and must produce a test that fails before the fix and passes after; Cheap Agent runs the test itself and only passing work lands uncommitted for review, with a Sonnet helper as fallback if it gets stuck. On SWE-bench Verified (Opus 5.5, same prompts), adding a feature used 154k to 57k Opus tokens (63% less); seven everyday bug fixes saw 59% less with all seven solved by both approaches; nine of the hardest bugs saw 55% less but 6 of 9 solved versus 7 of 9 for Opus alone. It is less helpful on tiny jobs where Opus is already quick. The tool is MIT-licensed and free; the cheap model runs on the user's own API key, and code is sent to the provider only after per-project permission. Savings depend on the repository having a test command. The project was built with Claude Code, including self-hosting via Cheap Agent.
Media

Image: cheapAg : My Opus was hitting limits on boilerplate, so I made a $0.005 model do the typing