Skip to content
Sign in
  • Browse all toolsFilter by category and pricing
  • Browse categoriesWriting, code, image, audio and more
  • Compare toolsPut up to three side by side
  • Read the blogGuides and comparisons

Claude Code Router

A local model gateway for routing coding agents across providers, models, accounts, and tools.

Claude Code Router is a local model gateway and control plane that routes coding-agent requests across providers, models, and accounts. Claude Code Router serves developers managing agents such as Claude Code and Codex, with routing, fallback, tools, and logs. The open-source project is available under the MIT License through desktop, CLI, and Docker.

Updated 28 Oct 20266 sections

Claude Code Router website screenshot

What is Claude Code Router?

Claude Code Router is an open-source local model gateway and control plane for coding agents. Claude Code Router gives supported agents and compatible API clients a stable local endpoint, with providers, models, accounts, routing rules, and tools managed behind that endpoint. The project is intended for developers who want shared configuration across multiple agent workflows.

Claude Code Router supports Claude Code, Claude Design, Codex, Grok CLI, Kimi CLI, Kilo Code, OpenCode, Pi, ZCode, and WorkBuddy. Provider support includes OpenAI Chat and Responses, Anthropic Messages, Gemini Generate Content and Interactions, OpenRouter, DeepSeek, and custom compatible providers. The repository distributes the project under the MIT License.

What Claude Code Router can do

Claude Code Router combines model routing, credential management, tools, and observability in a local application. Routing rules can use conditions on request headers and bodies, while retries and ordered fallback models provide alternatives when requests need another attempt. Logs expose the provider, model, credential, status, and usage associated with requests.

  • Claude Code Router manages agent profiles, model overrides, scopes, and environment settings.
  • Claude Code Router supports provider presets, custom endpoints, model discovery, and connectivity checks.
  • Claude Code Router applies request rewrites, retries, and ordered fallback models.
  • Claude Code Router manages credential pools and key rotation.
  • Claude Code Router adds Fusion vision, web search, MCP tools, and ToolHub.
  • Claude Code Router records latency, token usage, estimated costs, tool calls, and agent traces.

How Claude Code Router works

Claude Code Router receives requests from connected agents and forwards them to the selected provider, model, and account. Desktop setup starts in Providers, where users choose a preset or custom endpoint, enter an API key, and select protocols and models. Users then start the server, select an agent and model in Agent Config, and apply the profile.

Claude Code Router also runs through an npm CLI that starts the gateway and a browser-based management interface without Electron. The CLI requires Node.js 22 or newer. Docker deployment is documented separately, and the README directs users to read the deployment guide before exposing Claude Code Router remotely.

Who Claude Code Router is for

Claude Code Router serves developers working with supported coding agents and compatible API clients, particularly when several clients need access to different providers or models. Shared configuration reduces the need to maintain separate model settings for every client. Agent profiles also support CLI and application launch entries, environment settings, and multi-instance workflows.

  • Claude Code Router lets developers change providers without repeatedly editing agent configuration files.
  • Claude Code Router supports workflows that need fallback models and credential rotation.
  • Claude Code Router helps developers inspect errors, resolved routes, latency, and token usage.
  • Claude Code Router extends existing model workflows with tools, vision, and web search.

Claude Code Router licensing and access

Claude Code Router is an open-source project licensed under the MIT License. The repository provides desktop downloads for macOS, Windows, and Linux, including separate macOS downloads for Apple Silicon and Intel. Claude Code Router can also be obtained through npm or deployed with Docker, with installation and configuration documentation available at ccrdesk.top.

Claude Code Router strengths and limitations

Claude Code Router brings agent configuration, provider selection, routing controls, and request inspection into the same local control plane. Desktop, CLI, and Docker options support different deployment preferences. Setup still requires configuring a provider, starting the gateway, and applying an agent profile; the documented CLI and desktop build paths also have runtime or operating-system requirements.

  • Claude Code Router's npm CLI requires Node.js 22 or newer.
  • Claude Code Router's Windows app packaging must run on Windows x64 because of a native Electron module.
  • Claude Code Router requires provider details and agent configuration before requests can be routed.

Claude Code Router FAQ

What is Claude Code Router?

Claude Code Router is an open-source local model gateway and control plane for coding agents. Claude Code Router provides a stable local endpoint while centralising providers, models, accounts, routing rules, tools, and request logs for supported agents and compatible API clients.

Which coding agents does Claude Code Router support?

Claude Code Router supports Claude Code, Claude Design, Codex, Grok CLI, Kimi CLI, Kilo Code, OpenCode, Pi, ZCode, and WorkBuddy. Claude Code Router also supports compatible API clients, with agent profiles covering model overrides, environment settings, and CLI or application launch entries.

How do you install Claude Code Router?

Claude Code Router is available as a desktop app for macOS, Windows, and Linux, through an npm CLI, or through Docker deployment. Claude Code Router's npm CLI requires Node.js 22 or newer and provides a browser-based management interface without Electron.

Can Claude Code Router switch providers and use fallback models?

Claude Code Router supports switching providers and models, conditional routing, request rewrites, retries, and ordered fallback models. Claude Code Router also manages credential pools and key rotation, allowing provider and account choices to be controlled behind a stable local endpoint.

What licence does Claude Code Router use?

Claude Code Router uses the MIT License and is distributed as an open-source project. Claude Code Router's repository includes desktop download options, npm CLI instructions, Docker deployment guidance, and instructions for building desktop applications.

What request information does Claude Code Router show?

Claude Code Router shows request and response details, resolved providers, models and credentials, status, latency, tokens, estimated costs, tool calls, and agent traces. Claude Code Router's Logs view also helps users confirm routing outcomes and inspect errors after connecting an agent.

From the community

No reviews yet

Be the first to review this tool. What you write helps the next person choose.

More tools like Claude Code Router

Free Claude Code

www.github.com

Connect coding agents to free, paid, subscription, and local models through a searchable model catalog.

Free

CC Switch

www.github.com

A desktop manager for switching AI coding providers and organizing MCP, Skills, and Prompts.

Free

Codewhale

www.github.com

Open-source terminal coding agent that reads repositories, edits files, and runs commands with cloud or local models.

Free

Compress AI coding agent output and route heavy tasks to cheaper models with shareable pipelines.

Free