{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "tashfeenahmed-freellmapi--run-claude-code-on-free-model-pool",
 "repo": "tashfeenahmed/freellmapi",
 "repo_url": "https://github.com/tashfeenahmed/freellmapi",
 "repo_slug": "tashfeenahmed-freellmapi",
 "title": "Run Claude Code against the free model pool",
 "page_title": "How to run Claude Code against the free model pool with Freellmapi",
 "summary": "Configure Claude Code to send its requests to the local router instead of a paid Anthropic account.",
 "who": "A developer who wants to try Claude Code's workflow for coding tasks while keeping token costs at zero during experiments.",
 "problem": "Claude Code expects an Anthropic-format endpoint, and setting one up by hand across providers is tedious.",
 "outcome": "Claude Code runs its coding sessions through the router's Anthropic Messages surface, backed by free models that the router selects.",
 "steps": [
  "Start the router with the one-liner install or the local setup in docs/en/install/01-install.md, then add provider keys on the Keys page.",
  "Run `npx freellmapi setup-claude --url http://localhost:3001 --api-key` and append your unified key from the Keys page after the flag.",
  "Confirm the setup command backed up your existing Claude Code config before it merged the new settings. (inferred, check the README)",
  "Open a project directory and start Claude Code.",
  "Ask Claude Code a small coding question and check that the router dashboard logs the request."
 ],
 "agent_prompt": "In the freellmapi repo (tashfeenahmed/freellmapi), run the setup-claude command against http://localhost:3001 with the unified key from the Keys page, then start Claude Code in <project-path>. Expected output: Claude Code answers a small coding question. Verify that the router dashboard shows the request and that the Claude Code config file was backed up before the merge.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Output quality and speed depend on which free models the router selects at the time, so results will vary between sessions.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 20 or newer, or Docker for the one-liner install",
  "API keys from one or more free-tier providers (for example Google, Groq, Cerebras, Mistral, OpenRouter)",
  "A machine that can run the router on localhost:3001"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "account-pooling",
   "notice": "Routing Claude Code traffic across pooled free-tier keys may breach provider terms, so review each provider's rules first."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/tashfeenahmed-freellmapi/run-claude-code-on-free-model-pool/",
 "md": "https://dedupedai.com/use-cases/tashfeenahmed-freellmapi/run-claude-code-on-free-model-pool/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/tashfeenahmed-freellmapi--run-claude-code-on-free-model-pool.json",
 "api_version": "v1"
}
