Claude Code model router
CCR Rust
Universal AI coding proxy. Use Claude Code, Codex CLI, or any tool with DeepSeek, GLM, MiniMax, and more—without rate limits breaking your flow.
Install
cargo install --path . --forceFound in the project README. Check it for setup steps after installing.
git clone https://github.com/RESMP-DEV/ccr-rust.gitFrom the README
CCR-Rust CCR-Rust is a lightweight, self-hosted LLM router that sits between your AI coding tools (Claude Code, Codex, OpenCode, or any OpenAI-compatible client) and your model providers. Your client talks to one local URL; CCR-Rust decides which provider and model actually handles each request, translates between API formats when needed, and fails over automatically when a provider has problems. It is aimed at developers and teams who want to keep using their favorite coding CLI even when they need to switch providers, spread load across several models, or keep working after a usage limit runs out. The most common reason people install it: when your Claude plan runs out, keep using Claude Code with GLM, MiniMax, DeepSeek, or another provider instead of changing tools. Why route at all A coding agent and its model provider are two independent layers, and the failures that actually kill long agent sessions happen in the provider layer: quota windows (5-hour, weekly, monthly) run out, providers emit 429 storms at peak hours, endpoints have regional outages, models get deprecated or silently rerouted, and pricing or terms change without notice. No agent, however good, can fix a provider that is rate-limiting it. A router places one local, provider-agnostic endpoint between the agent and that entire failure surface: - Failover instead of failure. Providers are arranged in tiers; 5xx errors and timeouts cascade to the next tier automatically. - Held retries instead of dropped work. With retry sweeps enabled, a request that exhausts every tier is held in flight and re-cascaded after a cooldown, so the agent observes latency instead of a 429. Deterministic rejections (401/402/403/404) are attempted once and skipped afterward. - Client choice decoupled from provider…
Details
- Repository
- RESMP-DEV/ccr-rust
- Language
- Rust
- Last updated
- 24 October 2026
FAQ
What is CCR Rust?
Universal AI coding proxy. Use Claude Code, Codex CLI, or any tool with DeepSeek, GLM, MiniMax, and more—without rate limits breaking your flow. It is a model router for Claude Code, from RESMP-DEV/ccr-rust on GitHub.
How do I install CCR Rust?
Run cargo install --path . --force, then follow the setup in the README.
Is CCR Rust popular?
RESMP-DEV/ccr-rust has 29 GitHub stars and 4 forks. It was last updated on 24 October 2026.
More model routers & proxies
Claude N Codex API Proxy
28jimmc414/claude_n_codex_api_proxy
Claude Code and Codex API Routing Proxy
Antomix
27unclecode/antomix
Universal Claude Code Proxy | Bidirectional Anthropic ↔ OpenAI API Bridge
Tokdiet
32agiwhitelist/tokdiet
Local streaming reverse proxy between AI coding agents (Claude Code, Cursor, Codex) and model APIs (Anthropic, OpenAI, Gemini, MiniMax). Meters every token + USD cost, compacts bloated context to cut pay-per-token API spend, and runs shadow-eval to prove quality held. ccusage-style metering + live local dashboard.
Claude Quota Proxy
28InertiaUK/claude-quota-proxy
Local proxy that makes Claude Code aware of its own quota usage
Claude Gateway
260xMaxMa/claude-gateway
Turn Claude Code into a voice-enabled, multi-channel assistant that runs tasks in parallel
Zerokey
26downloaddoctor/zerokey
OpenAI-compatible local AI proxy for DeepSeek, Claude , ChatGPT and Qwen — pipe any of them into VS Code or Terax using your real browser session. Just paste a fetch().
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.