Who it is forA Claude Code user who has no Anthropic key and wants to keep working on a coding project at no cost.
The problemClaude Code expects a paid model provider, which blocks users who only want to experiment or work on small tasks.
The outcomeClaude Code sends its requests to free models through Bansos Router, with tiers mapped automatically.
What you need first
- npm, to install the package globally
- A terminal on Linux, macOS, or Windows
- A coding harness you already use, such as OpenCode or Claude Code
- Docker, only if you choose the container route
Steps
- Install the package with
npm i -g bansos-router. - Start the background daemon with
bansos start --bg. - Configure Claude Code with
bansos setup claude-code. (inferred, check the README) - Run
bansos pingto see which models respond from your machine. - Start Claude Code in your project folder and send a small test prompt.
Prompt for your agent
In the bansos-router repo, install the CLI, start the daemon with `bansos start --bg`, and run `bansos setup claude-code` for <project path>. Expected output: a Claude Code configuration that maps Haiku, Sonnet, and Opus tiers to free models. Verify by running `bansos ping` and confirming at least one model reports a live response.
Caveat. The README says it checks from a GitHub datacenter, so run `bansos ping` on your own machine to see what you can actually reach.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ihsan-ramadhan/bansos-router and "Use free models in Claude Code without API keys"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer