Stacked subscriptions but Claude Code can only talk to one vendor at a time? cc-router pools quota from 24 providers — DeepSeek, GLM, Kimi, MiMo, MiniMax, Qwen, Gemini and more — into one virtual plan: sequential, round-robin or sticky, with automatic failover when one hits its rate limit.
One diagram: many clients → two API protocols → cc-router → 24 upstreams.
/v1/messages /v1/responses cc-router spins up a local proxy that serves both Anthropic Messages and OpenAI Responses endpoints. Your agent talks to it; it forwards to any provider you configure.
DeepSeek, GLM, Kimi, MiMo, MiniMax, Qwen, Gemini, OpenAI, Grok and more — Token Plan, Coding Plan and pay-as-you-go API, all ready to go.
fable / opus / sonnet / haiku map to real models you choose; model-fallback catches every other model request.
Rate limit, 429 or error? The router switches to the next upstream. Sequential, round-robin or sticky — your agent never notices.
Anthropic /v1/messages and OpenAI /v1/responses run side by side, so both Claude Code and the Codex family plug straight in.
Built-in providers not enough? Anything speaking Anthropic Messages, Gemini or OpenAI Responses / Chat Completions drops in with first-class scheduling.
Generate a self-signed CA and server certificate in one click, so HTTPS-only clients — the Claude Desktop app among them — can reach cc-router.
Each slot answers to several names: model-opus, claude-opus-4-7 and anthropic/model-opus all resolve to the same virtual model, whatever your tool calls it.
Export a token-spend snapshot as PNG, PDF or HTML in 8 themes — usage-only by default.
Simplified Chinese, English and Japanese — auto-follow your system or pick manually.
Export a token-spend snapshot as PNG, PDF or HTML — usage only, no prices, by default.
Sample data is trimmed; a real export lists every subscription and real model under each slot.
Configuration, logs, usage receipts — everything in one app.



Provider ToS may not explicitly permit "subscription key behind a third-party proxy with multi-model dispatch." The author is not responsible for accounts being throttled, banned or subscriptions revoked. Software is provided AS-IS.