Claude Code model router
ccflare
Load-balancing proxy for Claude Code that spreads requests across multiple accounts with a usage dashboard.
Install
git clone https://github.com/snipeship/ccflare.gitFrom the README
ccflare 🛡️
A multi-provider native proxy for Anthropic and OpenAI.
ccflare routes each provider by URL prefix, load-balances across multiple accounts, and keeps full request history, rate-limit state, and usage analytics without translating provider payloads.
Why ccflare?
- Native passthrough — Anthropic stays Anthropic, OpenAI stays OpenAI
- Multi-provider routing — route by /v1/{provider}/*
- Compatibility routes — route by /v1/ccflare/* with family-prefixed models
- Account failover — retry another account when one provider account is rate limited
- Built-in observability — dashboard, request history, analytics, logs, and health endpoints
- Flexible auth — API key and OAuth account support
Quick start
Verify the server is up:
How routing works
ccflare proxies requests by provider prefix:
- http://localhost:8080/v1/anthropic/*
- http://localhost:8080/v1/openai/*
- http://localhost:8080/v1/ccflare/*
Examples:
- /v1/anthropic/v1/messages → https://api.anthropic.com/v1/messages
- /v1/openai/chat/completions → https://api.openai.com/v1/chat/completions
- /v1/openai/responses → https://api.openai.com/v1/responses
The /v1/{provider} prefix is stripped exactly once before forwarding upstream.
Compatibility routes keep the client-facing schema but select a provider family from
the model prefix:
- openai/ → prefers codex, then openai
- anthropic/ → prefers claude-code, then anthropic
Examples:
- /v1/ccflare/openai/chat/completions with "model":"openai/gpt-5.4"
- /v1/ccflare/openai/responses with "model":"anthropic/claude-sonnet-4"
- /v1/ccflare/anthropic/messages with "model":"openai/gpt-4o-mini"
Account setup
API key accounts
Add accounts through the management API:
OAuth accounts
Use the CLI/TUI for interactive OAuth setup:
The management API also…Details
- Repository
- snipeship/ccflare
- Website
- ccflare.com
- Language
- TypeScript
- License
- MIT
- Last updated
- 19 April 2026
- Topics
- anthropic-apianthropic-claudeclaudeclaude-apiclaude-codecodexcodex-cli
FAQ
What is ccflare?
Load-balancing proxy for Claude Code that spreads requests across multiple accounts with a usage dashboard. It is a model router for Claude Code, from snipeship/ccflare on GitHub.
How do I install ccflare?
Clone snipeship/ccflare from GitHub and follow the setup steps in its README.
Is ccflare popular?
snipeship/ccflare has 1,053 GitHub stars and 144 forks, and is included in 2 curated Claude Code lists. It was last updated on 19 April 2026.
More model routers & proxies
CC Mirror
2.3knumman-ali/cc-mirror
Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM)
WindsurfAPI
3.1kdwgx/WindsurfAPI
Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, Anthropic- & Gemini-compatible APIs. Zero-dependency self-hosted reverse proxy for Claude Code, Cline & Cursor. 把 Windsurf/Devin 云端 100+ 模型变成三套兼容 API。
Claude Code Local
3.5knicedreamzapp/claude-code-local
Hit your Claude Code usage limit or ran out of credits? Keep working on a local model. Claude Code on your own Mac (MLX), Linux or Windows (llama.cpp) with no API key and no rate limits. Your code stays home.
ccNexus
973lich0821/ccNexus
API gateway for Claude Code that rotates endpoints and bridges OpenAI and Gemini backends.
claude-swap
4.4krealiti4/claude-swap
Switches between multiple Claude Code accounts with automatic rate-limit rotation.
AntigravityManager
2.4kDraculabo/AntigravityManager
Antigravity Manager is a desktop application for managing the Google accounts used by Antigravity clients (including Classic, Antigravity IDE and agy CLI). View model quota in real time, switch client accounts seamlessly, and connect AI coding tools like Claude Code, Codex and OpenCode through a high-performance local API gateway.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.