The Free Claude Code - Run Claude Code with Any Model
Article from my Jervi-writes Installation Prerequisites: brew install [email protected] uv if macOS/Linux: curl -fsSL "https://github.com/Alishahryar1/free-claude-code/blob/main/scripts/install.sh?raw=1
Installation
Prerequisites:
brew install [email protected] uv
if macOS/Linux:
curl -fsSL "https://github.com/Alishahryar1/free-claude-code/blob/main/scripts/install.sh?raw=1" | sh
if ehummm Windows!!:
irm "https://github.com/Alishahryar1/free-claude-code/blob/main/scripts/install.ps1?raw=1" | iex
To start:
fcc-server
What Is It?
Free Claude Code is an open-source proxy that allows Claude Code to work with providers other than Anthropic. Instead of sending requests directly to Anthropic, it intercepts Claude Code API calls and forwards them to services such as OpenRouter, DeepSeek, NVIDIA NIM, LM Studio, Ollama, llama.cpp, and other compatible providers.
The main idea is simple:
Claude Code
↓
Free Claude Code Proxy
↓
Your Preferred Model Provider
Claude Code continues to provide its agent framework, tools, memory, file editing, and workflow, while the actual model can be replaced with a cheaper, free, or local alternative.
Why I Tried It
The biggest value is keeping the Claude Code experience while choosing my own model.
Benefits:
- Use Claude Code without Anthropic API costs
- Connect DeepSeek, OpenRouter, NVIDIA NIM, LM Studio, or Ollama
- Run local models when needed
- Keep Claude Code tooling and workflow
- Experiment with different coding models behind the same interface
For developers already using local LLMs or LM Studio, this makes Claude Code act more like a universal coding agent frontend.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.