Claude Code Mux: A High-Performance AI Routing Proxy with Failover and Priority-Based Routing

Claude Code Mux: A High-Performance AI Routing Proxy with Failover and Priority-Based Routing

GitHub – 9j/claude-code-mux: High-performance AI routing proxy built in Rust with automatic failover, priority-based routing, and support for 15+ providers (Anthropic, OpenAI, Cerebras, Minimax, Kimi, etc.) Claude Code Mux is a high-performance AI routing proxy built in Rust offering automatic failover, priority-based routing, and support for more than 15 providers including Anthropic, OpenAI, Cerebras, Minimax, and Kimi. It is a lightweight proxy with multi-model intelligence and provider resilience. The proxy provides intelligent model routing, provider failover, streaming support, and full Anthropic API compatibility. The key features include a modern admin UI, OAuth 2.0 support, intelligent routing, streaming support, multi-provider support, and high performance. It allows users to add various providers, configure model mappings, and customize routing logic. The routing logic includes auto-mapping, web search routing, subagent model, think mode, background tasks, and default fallback. Users can configure regex patterns for auto-mapping and background task detection. The proxy offers CLI usage and supports various platforms for deployment. For troubleshooting, users can check if the server is running, enable debug logging, test routing directly, and view real-time logs.

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *