DEV Community

Jervi
Jervi Subscriber

Posted on

The Free Claude Code - Run Claude Code with Any Model

Article from my Jervi-writes

Installation

Prerequisites:

brew install python@3.12 uv
Enter fullscreen mode Exit fullscreen mode

if macOS/Linux:

curl -fsSL "https://github.com/Alishahryar1/free-claude-code/blob/main/scripts/install.sh?raw=1" | sh
Enter fullscreen mode Exit fullscreen mode

if ehummm Windows!!:

irm "https://github.com/Alishahryar1/free-claude-code/blob/main/scripts/install.ps1?raw=1" | iex
Enter fullscreen mode Exit fullscreen mode

To start:

fcc-server
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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.


Top comments (0)