Verified project record
musistudio/claude-code-router
A local control plane that exposes one stable endpoint to route requests across multiple AI providers, models, and coding agents. It manages provider configurations, routing rules, and credential pools so compatible API clients can connect without maintaining individual configurations.
Project overview
Maintaining separate model configurations for multiple coding agents is difficult and breaks easily during provider or model switches; this project provides a unified local gateway to manage those profiles, routing rules, and fallbacks in one place.
- Project type
- Model Runtime · Infrastructure
- Use cases
- Coding & Development
- Deployment
- Refer to project documentation
- License
- MIT
Best for
- Developers and AI engineers seeking a local control plane to unify configurations and route requests across multiple compatible coding agents and providers.
Key capabilities
- Provides one stable local endpoint for compatible API clients to route across chosen providers and models.
- Keeps requests running with retries, credential pools, key rotation, ordered fallback models, and conditions on headers and bodies.
- Manage providers and models together instead of maintaining a separate model configuration for every client, including presets and custom endpoints.
- Add capabilities to existing models with Fusion vision, web search, MCP tools, and ToolHub.
- View what actually happened through request logs, resolved routes, latency, token usage, cost estimates, and account status.
- Agent relay through Weixin iLink, WeCom, Slack, Discord, Telegram, LINE, Feishu, and DingTalk.
- Provides built-in browser automation and Chrome login-state import.
Limitations and risks
- When using the npm CLI installation method, Node.js 22 or newer is required.
- Routing and inference depend on external remote model APIs and services. The system handles local orchestration but forwards requests to remote inference endpoints.
Getting started
- Setup does not require coding. Users can download and launch the app, add a provider in the settings, start the server, apply an agent profile, and begin using their agent.
- Alternatively, users can install via an npm command, which requires Node.js 22 or newer, and operate the system through the web GUI or CLI.
Alternatives and comparisons
- A self-hosted reverse proxy that exposes AI models via standard API endpoints with account pooling and failover.
- A serverless AI API gateway that unifies multiple providers behind a single endpoint with key rotation and failover.
- A C/C++ implementation for local LLM inference, providing an alternative for running models on local hardware.
Project comparisons
Evidence and sources
- GitHub project description: One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.
- README: Download Claude Code Router for macOS, Windows, or Linux, then launch the app.
- README: Claude Code Router (CCR) is a local model gateway and control plane for coding agents. It gives Claude Code, Claude Design, Codex, Grok CLI, Kimi CLI, OpenCode, Pi, ZCode, and com…
- README: Claude Code Router :3456 Profiles · Routing · Credentials · Tools · Logs
- README: | Area | Highlights | | --- | --- | | **Agents** | Profiles for Claude Code, Claude Design, Codex, Grok CLI, Kimi CLI, OpenCode, Pi, and ZCode; model overrides; scopes; environmen…
AI Search
Find projects, verify facts, compare options, or turn a complex need into an actionable plan
Try a searchA click only fills the search box; you stay in control
Project Details
0