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.
Many clients → three API protocols → cc-router → 24 upstreams.
POST /v1/messages POST /v1/responses POST /v1/chat/completions 127.0.0.1:23456 cc-router spins up a local proxy that serves Anthropic Messages, OpenAI Responses and OpenAI Chat Completions endpoints side by side. 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, OpenAI /v1/responses and /v1/chat/completions run side by side, so Claude Code, Codex and OpenAI-compatible tools like Open WebUI and Cherry Studio all 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.
Drain A first, then B. Great cache hit rate, perfect for squeezing small plans.
Split traffic evenly. Caches across accounts are independent, so quota burn is higher in exchange for real load balancing.
One session stays pinned to one vendor, keeping cache hits while still spreading load across accounts.
Configuration, logs, usage receipts — everything in one app.



cc-router-tui lets you watch and manage the running cc-router right in your terminal — everyday tasks are a few keystrokes away.
cc-router-tui Turn it on under Settings → Security & Access → Terminal UI (local connections only; the desktop app must stay running). After “Add to PATH”, just type cc-router-tui in any terminal.
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.