Claude Code model router
Claude Code Local
Hit your Claude Code usage limit or ran out of credits? Keep working on a local model. Claude Code on your own Mac (MLX), Linux or Windows (llama.cpp) with no API key and no rate limits. Your code stays home.
Install
git clone https://github.com/nicedreamzapp/claude-code-local.gitFrom the README
Hit your limit? Keep going. Claude Code, running on your own computer when your Claude usage runs out. Same tools, same project, no API key. Mac and Linux. Windows is one PowerShell line. On a Mac, Linux or Windows, type exit in Claude Code, then keep going, and the same conversation carries on. How-to guides and docs: nicedreamzapp.github.io/claude-code-local Agent-12 score for the model setup picks on a 96 GB Mac, Qwen 3.8 27B: 12/12 easy, 7/8 hard. Scored in Agent-12's own harness, not inside Claude Code. How the models compare 🧠⚡ Claude Code Local Claude Code, running on your own Mac. No cloud. No API key. No waiting. Your Mac's chip runs the AI · Claude Code works exactly like it always does · nothing leaves your computer Now on Linux and Windows too, same Claude Code, same privacy, your own machine doing the work. Phones are next. In one sentence: a small Python server (proxy/server.py) runs open AI models on your Mac's chip with Apple's MLX and answers Claude Code in Anthropic's own API format, so Claude Code works with no cloud model and no API key. Ran out of Claude usage or hit a rate limit mid-task? Start here, it takes one command to keep working on a local model. Other things I built that go with it are in the local-first family. Matt Macosko wrote the glue that makes local models usable inside Claude Code. The pieces in this repo: - ⚡ proxy/server.py: the MLX server. Speaks the Anthropic Messages API with streaming, turns each model's own tool-call format (Gemma 4, Qwen, Llama JSON) into Claude Code tool calls, repairs garbled tool JSON, and reuses the prompt cache between turns so long sessions don't re-read everything. - 🧪 scripts/test_parse_tool_calls.py and scripts/test_mlx_server.py: tests for the tool-call parser (no model needed) and…
Details
- Repository
- nicedreamzapp/claude-code-local
- Language
- Python
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- ai-privacyairgapanthropicapple-siliconclaude-codeclaude-code-alternativeclaude-code-localclaude-code-usage-limitclaude-rate-limitgemmallama-cpplocal-ai
- Listed in
- awesome-claude-code
FAQ
What is Claude Code Local?
Hit your Claude Code usage limit or ran out of credits? Keep working on a local model. Claude Code on your own Mac (MLX), Linux or Windows (llama.cpp) with no API key and no rate limits. Your code stays home. It is a model router for Claude Code, from nicedreamzapp/claude-code-local on GitHub.
How do I install Claude Code Local?
Clone nicedreamzapp/claude-code-local from GitHub and follow the setup steps in its README.
Is Claude Code Local popular?
nicedreamzapp/claude-code-local has 3,457 GitHub stars and 646 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More model routers & proxies
claude-swap
4.4krealiti4/claude-swap
Switches between multiple Claude Code accounts with automatic rate-limit rotation.
CC Mirror
2.3knumman-ali/cc-mirror
Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM)
VibeProxy
3.4kautomazeio/vibeproxy
macOS menu bar app that lets other coding tools use your Claude Code subscription without API keys.
ccflare
1.1ksnipeship/ccflare
Load-balancing proxy for Claude Code that spreads requests across multiple accounts with a usage dashboard.
CC Switch CLI
5.4kSaladDay/cc-switch-cli
Command-line version of CC Switch for swapping Claude Code providers and settings.
WindsurfAPI
3.1kdwgx/WindsurfAPI
Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, Anthropic- & Gemini-compatible APIs. Zero-dependency self-hosted reverse proxy for Claude Code, Cline & Cursor. 把 Windsurf/Devin 云端 100+ 模型变成三套兼容 API。
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.