free-claude-code: Routing Claude Code CLI Traffic to Free LLMs Like DeepSeek and Kimi
free-claude-code is an open-source relay that redirects Claude Code CLI API traffic to DeepSeek, Kimi, NVIDIA NIM, local Ollama, and more, letting developers ru
An open-source tool, alishahryar1/free-claude-code, is gaining traction among developers by intercepting Claude Code CLI backend calls and automatically routing them to alternative free providers such as DeepSeek, Kimi, GLM, NVIDIA NIM, and local Ollama. Its headline promise is running the Claude Code interface without a paid Anthropic API key.

Image source: https://github.com/alishahryar1/free-claude-code
Rather than reimplementing Claude Code itself, the tool acts as a proxy layer between the CLI and the model backend. It connects to external free provider tiers (presented as a combined pool of over 1.3 billion free tokens), works with roughly five minutes of setup, and is described as being used by more than 20,000 developers.
What It Does and Who It Is For
free-claude-code receives requests that Claude Code CLI would send to the Anthropic backend, forwards them to a user-selected alternative provider, and translates the responses back into the shape the CLI expects. Named supported providers include DeepSeek, Kimi, GLM, NVIDIA NIM, and local Ollama.
It is useful for developers who want to try a terminal-based coding agent workflow without a paid subscription or an Anthropic API key. Pairing it with local Ollama is the practical highlight, since it allows experiments decoupled from external cloud quotas. Beyond Claude Code, compatibility with terminal and IDE environments such as Codex, Pi, and OpenCode is advertised.
Install Path and Why It Matters Now
The repository is published on GitHub as alishahryar1/free-claude-code, with a stated setup time of about five minutes. The core idea is simple: keep Claude Code's interface and agentic workflow intact while swapping only the model calls behind it for free-tier capacity.
As freely accessible coding-capable models such as DeepSeek-V3, R1, and Kimi have kept arriving, demand has grown for combining "a paid CLI's UX with free models' inference." This tool targets that demand directly as a relay solution, and its low entry barrier without a paid key appears to be driving adoption.
Verified Limits and Caveats
The trade-offs of running on substitute models are clear. Responses come not from genuine Anthropic Claude 3.5 or 3.7 Sonnet but from third-party models such as DeepSeek-V3, R1, and Kimi, so precise agentic tool-calling and complex coding performance may differ.
Usability also depends directly on quota changes and rate-limit policies of external free tiers such as NVIDIA NIM and OpenRouter. A large advertised free pool does not guarantee unlimited use. Finally, if Anthropic updates the official Claude Code CLI's internal communication format or authentication, proxy compatibility may break, so users should check for a matching tool update whenever the CLI itself changes.
Sources
- GitHub: alishahryar1/free-claude-code
- @alextalksai on X: introductory post