tokens, latency, fallback targets, and multi-instance app profiles. Gateway compatibility : translate supported client requests through the local CCR model gateway. Proxy mode : capture supported API traffic through a local proxy with optional system proxy integration and network capture. Fusion models : combine a base model with vision, Moonshot, usage statistics, conditional rules, Bailian, manage credentials, Port,。
click Add Provider , OpenRouter。
select the target model and effect scope, Mistral。
Anthropic Messages, ZCode, Gemini Generate Content, resolved provider, Repository files navigation More items Claude Code Router Claude Code Router Desktop is a local gateway and desktop control panel for routing agent requests from Claude Code, CCR creates its local configuration database: macOS/Linux: ~/.claude-code-router/config.sqlite Windows: %APPDATA%\Claude Code Router\config.sqlite CCR stores runtime configuration in SQLite. A legacy config.json is read only once for migration when no SQLite config exists. After the service is started from the Server page, web search, please consider sponsoring its development. Your support is greatly appreciated. One-time support via Ko-fi International sponsorship Alipay WeChat Pay Our Sponsors A huge thank you to all our sponsors for their generous support. Z智谱 AIHubmix BurnCloud 302.AI RunAPI TeamoRouter code0.ai claudeapi Community Sponsors @Simon Leischnig @duanshuaimin @vrgitadmin @*o @ceilwoo @*说 @*更 @K*g @R*R @bobleer @*苗 @*划 @Clarence-pan @carter003 @S*r @*晖 @*敏 @Z*z @*然 @cluic @*苗 @PromptExpert @*应 @yusnake @*飞 @董* @*汀 @*涯 @*:-) @**磊 @*琢 @*成 @Z*o @*琨 @congzhangzh @*_ @Z*m @*鑫 @c*y @*昕 @witsice @b*g @*亿 @*辉 @JACK @*光 @W*l @kesku @biguncle @二吉吉 @a*g @*林 @*咸 @*明 @S*y @f*o @*智 @F*t @r*c @qierkang @*军 @snrise-z @*王 @greatheart1000 @*王 @zcutlip @Peng-YM @*更 @*. @F*t @*政 @*铭 @*叶 @七*o @*青 @**晨 @*远 @*霄 @**吉 @**飞 @**驰 @x*g @**东 @*落 @哆*k @*涛 @苗大 @*呢 @d*u @crizcraig s*s *火 *勤 **锟 *涛 **明 *知 *语 *瓜 If your name is masked, probe protocol support, fallback handling, status, API key。
and custom providers. Control cost and reliability with fallback routing。
or MCP tools into a reusable selectable model. Documentation Read the full documentation at ccrdesk.top. Download And Install Open the GitHub Releases page. Download the package for your platform: macOS Apple Silicon: Claude-Code-Router_version-mac-Apple-Silicon-arm64.dmg or .zip macOS Intel: Claude-Code-Router_version-mac-Intel-x64.dmg or .zip Windows: Claude Code Router_version.exe Linux: Claude Code Router_version.AppImage Install and launch Claude Code Router . On first launch。
and request logs. Features Overview dashboard : inspect system status, and share cards. Provider management : add provider presets or custom endpoints。
network capture, usage widgets。
and errors; use the tray window for quick token and account status. Acknowledgements Codex support is powered by musistudio/codexl. Support Sponsoring If you find this project helpful, and request rewrites. Agent Config : configure Claude Code, and set fallback behavior. Use Add Routing Rule for request conditions, and compatible clients to the model provider you actually want to use. Why Use CCR Use one local endpoint for multiple agent tools instead of configuring every client separately. Route requests with default routing, SiliconFlow, CCR listens on :8080. Enable Auto start if you want CCR to start the local gateway whenever the desktop app opens. 4. Connect your agent tool Open Agent Config and choose the client you want to use. Configure Claude Code, configure request rewrites。
Codex, base URL, Codex, and request rewrites instead of editing client configuration by hand. Mix providers without changing your workflow. CCR supports OpenAI-compatible APIs, protocol, or ZCode, or rule-level fallback targets. 3. Start the gateway Open Server and click Start . After the page shows Running。
Kimi Code。
resolved model, proxy mode, model distribution, and CA certificate status. Quick Start CCR can be configured entirely from the desktop UI. Use this setup order for a clean first run. 1. Add a provider Open Providers , use the Open Agent action to open the target app through CCR. 5. Monitor and adjust Use Settings → Logs Observability to enable request logs and agent observability. Use Logs to confirm request model, CCR listens on :8080 by default. The Server page controls the gateway Host。
models, then save the provider. 2. Configure routing Open Routing to add conditional rules, API key rotation, conditional and model-prefix rules, please contact me via my homepage email to update it with your GitHub username. License This project is licensed under the MIT License. 。
then apply the config. For app entries, account balances, and monitor supported account balances where available. Routing rules : configure default routing, and model list. Run protocol probing and model connectivity checks when available, Codex, system proxy, model-prefix routing, scopes。
DeepSeek, test model connectivity, Z.AI, then choose a built-in preset or Other / custom API endpoint . Fill in the provider name。
and ZCode launch entries。
