{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "ihsan-ramadhan-bansos-router--use-free-models-in-claude-code",
 "repo": "ihsan-ramadhan/bansos-router",
 "repo_url": "https://github.com/ihsan-ramadhan/bansos-router",
 "repo_slug": "ihsan-ramadhan-bansos-router",
 "title": "Use free models in Claude Code without API keys",
 "page_title": "How to use free models in Claude Code without API keys with Bansos Router",
 "summary": "Route Claude Code's Haiku, Sonnet, and Opus tiers to free models through the local daemon.",
 "who": "A Claude Code user who has no Anthropic key and wants to keep working on a coding project at no cost.",
 "problem": "Claude Code expects a paid model provider, which blocks users who only want to experiment or work on small tasks.",
 "outcome": "Claude Code sends its requests to free models through Bansos Router, with tiers mapped automatically.",
 "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 ping` to see which models respond from your machine.",
  "Start Claude Code in your project folder and send a small test prompt."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ihsan-ramadhan-bansos-router/use-free-models-in-claude-code/",
 "md": "https://dedupedai.com/use-cases/ihsan-ramadhan-bansos-router/use-free-models-in-claude-code/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ihsan-ramadhan-bansos-router--use-free-models-in-claude-code.json",
 "api_version": "v1"
}
