Claude Code model router
Claude Rotate
Multi-account rotating proxy for Claude Code — consume-first quota rotation, burst-aware 429 handling, hold-until-reset, per-device analytics. Herd-safe by test.
Install
git clone https://github.com/doxaras/claude-rotate.gitFrom the README
claude-rotate A tiny self-hosted proxy that lets Claude Code ride multiple Claude Max/Pro subscriptions and switches accounts automatically when one hits its rate-limit window — with a built-in analytics panel showing quota gauges, per-device consumption, and cost-equivalent dollars. One process, one config file, no database. Built for individual developers who own more than one subscription and are tired of "You've hit your session limit". Herd-safe, by test — not by vibes: when your whole fleet slams into a rate limit at the same instant, exactly *one* rotation decision happens — 100 in-flight requests, 1 switch, and every request recovers with a single retry onto the new account. Reproducible numbers in Performance. Terms-of-Service note. This tool automates switching between accounts *you personally own and pay for*. Each account's limits are still fully enforced by Anthropic. Rotating accounts to work past limits is a gray area under Anthropic's consumer terms — use at your own risk, and do not use consumer subscriptions to back a shared/commercial service. Contents: How it works · Performance · Quickstart: server · Generating tokens · Quickstart: devices · Networking · Analytics panel · Configuration · Run as a service · Troubleshooting · Limitations · Operations · Comparison · Security · License How it works Per request the proxy: authenticates the device (device key → device name), swaps in the active account's long-lived setup-token, forwards transparently, reads the exact anthropic-ratelimit-unified-* quota headers off the response, applies the rotation policy (consume-first; quota 429 → rotate, burst 429 → pace, all spent → hold), and logs usage per device/model. Diagram regenerates with python3 screenshots/architecture.py (needs pip install diagrams +…
Details
- Repository
- doxaras/claude-rotate
- Language
- Python
- License
- MIT
- Last updated
- 8 September 2026
- Topics
- account-rotationanthropicclaudeclaude-codeproxyrate-limiting
FAQ
What is Claude Rotate?
Multi-account rotating proxy for Claude Code — consume-first quota rotation, burst-aware 429 handling, hold-until-reset, per-device analytics. Herd-safe by test. It is a model router for Claude Code, from doxaras/claude-rotate on GitHub.
How do I install Claude Rotate?
Clone doxaras/claude-rotate from GitHub and follow the setup steps in its README.
Is Claude Rotate popular?
doxaras/claude-rotate has 41 GitHub stars and 4 forks. It was last updated on 8 September 2026.
More model routers & proxies
Claude Code Copilot
37samarth777/claude-code-copilot
Use Claude Code for free via GitHub Copilot — local proxy that translates Anthropic API to Copilot API
Claude Zeroclaw Nexus
52omaralisql/Claude-Zeroclaw-Nexus
Claude Code ZeroClaw Pro 2026: AI Multitool & CLI Router for Claude SDK Subagents
SEPCC
43sepehrbayat/SEPCC
SEPCC — A Claude Code proxy with context that survives. Route Claude Code through 17+ providers, resume sessions across restarts, and never lose your place. Fork of Free Claude Code.
Commandcode API Proxy
36thaolaptrinh/commandcode-api-proxy
Bring your CommandCode Go subscription to OpenCode, Claude Code, and more.
Claude Session Viewer
43prime-radiant-inc/claude-session-viewer
Session Explorer: a local web app for browsing Claude Code and OpenAI Codex CLI session histories, built with React Router, Express, and SQLite.
Luthien Proxy
34LuthienResearch/luthien-proxy
AI Control for Claude Code in the real world
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.