← All resourcesTR
119September 26, 2026·1 items

Claude Code Router plugs free models into Claude Code. But the ccr code command every guide online gives you no longer opens Claude Code

Claude Code Router, CCR for short, is a router that runs on your own machine. Claude Code sends its requests to it instead of to Anthropic, and it forwards them to the provider you picked: NVIDIA, OpenRouter, DeepSeek or Ollama on your own computer. It is open source, MIT licensed, has 37k stars on GitHub as of 26 September, and its latest release came out on 16 September. I checked four things. First, the command: the project was rewritten in version 3, and the ccr code command every older guide gives you no longer opens Claude Code; I tried it on this machine. Instead you create a profile in the dashboard and launch it by name. Second, the install: the two commands are right, but they do not install Claude Code, and after them there are four steps in the dashboard. Third, "unlimited": the limit is set by the provider, not the tool, and OpenRouter's free tier is 50 requests a day. Fourth, "as good as Claude": the model answering is not Claude, and a figure like 80 to 90 percent has no measured source behind it. Below: the verified install, how each of the three providers is connected in the dashboard, and how to use it without touching your regular claude command.

Claude CodeÜcretsiz APIGeliştirici Araçları

The tool itself

CCR is a model gateway. It gives Claude Code, Codex, OpenCode and a few other agents one local address, and you manage the providers, models and keys behind it from a single dashboard. If a provider fails it can move on to the next model, and its logs show which model each request went to and how many tokens it used.

What is extra below: what replaced the old command, why you have to install Claude Code separately, the order to go through the dashboard in, why Ollama is not in the ready made list, and where the free tier actually ends.

Open the repo

How it works

Where a request goes

Claude Code

Same interface. It just sends its requests to a local address instead of Anthropic.

CCR, 127.0.0.1:3456

Takes the request, routes it to the model picked in your profile, and converts its format when needed.

Provider

NVIDIA, OpenRouter, DeepSeek, Gemini or Ollama on your own machine.

Unlike how the videos put it, there is no trick fooling Claude Code. Claude Code already lets you change where it sends requests, and CCR sits at that address. The result is the same though: the interface is Claude Code, the model answering is not Claude. Set your quality expectations accordingly. I went through this distinction in detail at number 110 in this archive, using another tool built on the same idea.

Before installing

You need two things. First, Node 22 or newer; the package itself requires it. Second, Claude Code itself. CCR does not install it, it only routes it. If Claude Code is not on your machine, the profile will not open.

Check your Node version, install Claude Code
node -v
# should be v22 or newer

# Claude Code, macOS / Linux:
curl -fsSL https://claude.ai/install.sh | bash

# Claude Code, Windows PowerShell:
irm https://claude.ai/install.ps1 | iex

Installation

Install and open the dashboard
npm install -g @musistudio/claude-code-router
ccr ui

The second command starts a background service and opens the dashboard in your browser. The dashboard is on port 3458, and the address Claude Code connects to is on 3456. If the install finished but the ccr command is not found, npm's global folder is not on your PATH: find it with npm prefix -g, add it to PATH and open a new terminal.

If you would rather skip the terminal, there is a desktop app for the same thing: download it for Windows, macOS or Linux from the Releases page of the repo. Same dashboard, same steps. The only difference is the launch command: the commands the app copies start with ccr-app, not ccr.

The order in the dashboard

  1. 1

    Providers: add a provider

    Add Provider, pick from the ready made list or enter your own address with Other, paste the key, select at least one model

  2. 2

    API Keys: create a CCR key

    Not the provider's key, a separate key your tools use to connect to CCR

  3. 3

    Server: Start

    Until it says Running, there is nothing for Claude Code to connect to

  4. 4

    Agent Config: create a profile

    Add Profile, choose Claude Code, give it a name, pick the model, save

Connecting a provider

The video's three routes connect three different ways in the dashboard. NVIDIA and OpenRouter are in the ready made list and fill in the address themselves. Ollama is not in the list; you choose Other and type the address yourself.

Three routes, in the dashboard

ProviderWhat you pick in the dashboardWhat to know
NVIDIA NIMNVIDIA in the ready made listYou get the key free from build.nvidia.com, it starts with nvapi. No card needed
OpenRouterOpenRouter in the ready made listModels with :free in the name are free. The limit is 20 requests a minute, 50 a day
OllamaOther, address http://localhost:11434/v1If it asks for a key, type ollama; local Ollama does not check that field. Protocol is OpenAI Chat

Check Connection sends real requests

The connection test before saving a provider sends a real request for every model you select, and those count against your limit. With 50 requests a day, do not test every model at once; pick the one model you are going to use.

Opening Claude Code

When creating the profile, leave the scope on the default, Only opened from CCR. That way only the Claude Code you open through CCR goes to the free model, and your regular claude command keeps working with your subscription exactly as before. If you choose System default, every Claude Code session on your machine goes through CCR.

Launch by profile name
# use whatever you named the profile
ccr "free"

# once Claude Code is open, to switch between models:
/model

You can tell it is working from the Logs page in the dashboard: it shows which provider and model your message went to and how many tokens it used. To record anything, first turn on Request logs under Logs & Observability in Settings. If it is on and no entry shows up, the request did not go through CCR. Logs are kept for the current day only and cleared the next day.

The three most common mistakes

Typing ccr code like the older guides say

That command is gone in version 3. Create a profile in Agent Config first, then open it with ccr "profile-name"

Creating the profile, then opening Claude Code the usual way by typing claude

With the default scope only sessions opened from CCR are routed. Type claude and you are back on your subscription

Sharing the address ccr ui opens in a screenshot or a message

The end of that address carries the dashboard's access token. The project's own docs tell you to treat it like a password

Free and unlimited?

The tool is free, that part is true. Unlimited is not, because the limit is set by the provider you connect, not by CCR. OpenRouter's free tier is 50 requests a day, and a coding agent fires dozens of requests for a single task; half an hour of serious work uses it up. Load $10 of credit once and the daily cap goes up to 1,000. NVIDIA gives you a free key, but you will see the credit allowance on your own account page. The only truly unlimited route is Ollama, and its price is hardware and model quality.

If you want to know how good a given free model really is, at number 113 in this archive I covered NVIDIA's Nemotron 3 Ultra in detail: where it stands against Claude on independent measurements, and what its free tier gives you. CCR's NVIDIA preset ships with this model by default too.

01

Claude Code Router

An open source gateway that points agents like Claude Code, Codex and OpenCode at one local address and routes their requests to the provider you choose. MIT licensed, runs on your own machine, with a desktop app too.

Installation
npm install -g @musistudio/claude-code-router
ccr ui

Needs Node 22 or newer, and you have to install Claude Code separately. The ccr code command was removed in version 3: create a profile under Agent Config in the dashboard and open it with ccr "profile-name".

DOA: Yapay Zeka ve Otomasyon

Installing these tools on your own is one thing; actually building with them is another. The community has people using these daily and people building systems from scratch.

DOA: Yapay Zeka ve Otomasyon

If you want a system that actually runs in your business, let's talk for 10 minutes; I'll look at what you're trying to build and tell you which path fits. Free, and not a sales pitch.

Book a 10-minute call

If you'd rather learn this alongside people doing the same work instead of on your own, the community is always open:

Join the community

This is an affiliate link.

← All resources