Cheap Agent

•
344
•

Delegate code implementation to low-cost or local models while reserving frontier models for planning and architectural decisions.

Cheap Agent is an MCP server for Claude Code and OpenAI Codex that optimizes AI coding costs by shifting mechanical code writing from expensive frontier models to dirt-cheap or local alternatives. Under this hierarchical workflow, frontier models like Claude Opus design solutions and supervise tasks, while low-cost models (such as DeepSeek or local Ollama instances) execute the actual code changes and write tests in isolated git worktrees. Changes are only committed when tests pass, drastically reducing token consumption and extending subscription limits without compromising code quality.

Características Principales

01Multi-provider support including OpenRouter, DeepSeek, OpenCode, and local Ollama
02Customizable takeover logic allowing cheaper helper models to resolve stalled steps
03Enforceable hooks that prevent frontier models from bypassing delegation
04Test-driven verification that validates changes in separate worktrees before landing
05Reduces frontier model token usage by up to 63% on real-world coding tasks
06343 GitHub stars

Casos de Uso

01Extending Claude Code or Codex usage quotas on standard subscription plans
02Implementing features and bug fixes economically using affordable secondary LLMs
03Running offline or private code generation tasks via local Ollama models