Who it is forA developer who wants to try AI coding help in OpenCode without creating accounts or paying for keys.
The problemMost coding harnesses need a provider account and an API key before they can run any model.
The outcomeOpenCode runs against free models served through the local Bansos Router endpoint.
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 OpenCode with
bansos setup opencode. - Check the model list with
bansos models. - Open OpenCode and choose one of the listed models.
Prompt for your agent
Using the bansos-router repo, install the CLI, run `bansos start --bg`, then run `bansos setup opencode` for <project path>. Expected output: a configured OpenCode setup and a non-empty list from `bansos models`. Verify by running `bansos doctor` and confirming it reports the daemon as reachable.
Caveat. The free model list changes as upstreams rotate their free tiers, so a model you picked may stop being offered later.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ihsan-ramadhan/bansos-router and "Run OpenCode on free keyless coding models"
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