Claude Code model router
Cheap Ag
50x your usage with cheap-ag. Opus/Astra plans, a dirt-cheap model writes every line, and tests decide what ships. Your $20 plan stops hitting limits. One MCP server for Claude Code & Codex.
Install
/plugin marketplace add muaaz9329/cheap-agRun inside Claude Code, then /plugin to pick what to install from it.
npx cheap-agentFound in the project README. Check it for setup steps after installing.
git clone https://github.com/muaaz9329/cheap-ag.gitFrom the README
Cheap Agent Your frontier model is a principal engineer. Stop paying it to type. Same feature. Same prompt. 63% fewer Opus tokens. Your Claude or ChatGPT plan lasts longer. Your code still ships with tests. ⭐ Star it, and click Watch → Custom → Releases to hear when new versions ship. 💬 Questions, ideas and setups: r/CheapAgent Install Works in Claude Code and Codex. One login covers both. Let agent install Copy this into Claude Code or Codex and let the agent take it from there. It asks what you want, sets things up, and gives you one command to run yourself, where you type your API key. Claude Code Pick a provider (OpenRouter if unsure), press Enter for the recommended models, paste your API key. It checks the key works, then adds itself to Claude Code for every project. Then, in each project, once: That's it. Ask Claude for changes like you always do. Codex Log in (say no when it offers to add itself to Claude Code, if you don't use Claude): Add the plugin: Start codex in your project and trust the 3 cheapag hooks when it asks. Then, in each project, once: That's it. Ask Codex for changes like you always do. You need - Claude Code or Codex - Node.js 20+ - An API key with a few dollars on it from one of the supported providers, or a local model with no key at all. A few dollars lasts hundreds of tasks. It runs on macOS, Linux and Windows. Windows: you also need Git for Windows (Git Bash). Known so far: - The very first job can take about 2 minutes while the cheap model's engine (OpenCode) sets itself up. Later jobs start in seconds. - If that engine crashes mid-session, Cheap Agent starts a new one, but the crashed copy can stay running (opencode.exe in Task Manager) until you end it or restart. - The cheap model can't read your…
Details
- Repository
- muaaz9329/cheap-ag
- Website
- cheapag.com
- Language
- TypeScript
- License
- MIT
- Last updated
- 9 November 2026
- Topics
- agentic-codingai-agentsanthropiccheap-llmclaudeclaude-codeclaude-code-hooksclaude-code-pluginclaude-code-skillcost-optimizationdeepseekdeveloper-tools
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is Cheap Ag?
50x your usage with cheap-ag. Opus/Astra plans, a dirt-cheap model writes every line, and tests decide what ships. Your $20 plan stops hitting limits. One MCP server for Claude Code & Codex. It is a model router for Claude Code, from muaaz9329/cheap-ag on GitHub.
How do I install Cheap Ag?
Run npx cheap-agent, then follow the setup in the README.
Is Cheap Ag popular?
muaaz9329/cheap-ag has 324 GitHub stars and 30 forks, and is included in 1 curated Claude Code list. It was last updated on 9 November 2026.
More model routers & proxies
Snip
484edouard-claude/snip
CLI proxy that reduces LLM token usage by 60-90%. Declarative YAML filters for Claude Code, Cursor, Copilot, Gemini. rtk alternative in Go.
Claude Code Cache Fix
451cnighswonger/claude-code-cache-fix
Fixes prompt cache regression in Claude Code that causes up to 20x cost increase on resumed sessions
claude-worker-proxy
276glidea/claude-worker-proxy
Cloudflare Worker proxy for pointing Claude Code at other model providers.
UltraCode Shim
444OnlyTerp/UltraCode-Shim
Give Claude Code's ultracode mode to ANY model you already pay for. A tiny local proxy + one config.json. Point your AI at AGENTS.md and it sets itself up.
clauth
321uwuclxdy/clauth
Claude Code multi-account manager with a usage monitor and TUI.
HiRoute
427higress-group/HiRoute
Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.