Claude Code model router
claude-code-mux
Rust routing proxy for Claude Code with automatic failover and priority-based routing.
Install
cargo install claude-code-muxgit clone https://github.com/9j/claude-code-mux.gitFrom the README
Claude Code Mux OpenRouter met Claude Code Router. They had a baby. Now your coding assistant can use GLM 4.6 for one task, Kimi K2 Thinking for another, and Minimax M2 for a third. All in the same session. When your primary provider goes down, it falls back to your backup automatically. ⚡️ Multi-model intelligence with provider resilience A lightweight, Rust-powered proxy that provides intelligent model routing, provider failover, streaming support, and full Anthropic API compatibility for Claude Code. Table of Contents - Key Features - Installation - Quick Start - Screenshots - Usage Guide - Routing Logic - Configuration Examples - Supported Providers - Advanced Features - CLI Usage - Troubleshooting - FAQ - Performance - Why Choose Claude Code Mux? - Documentation - Changelog - Contributing - License Key Features 🎯 Core Features - ✨ Modern Admin UI - Beautiful web interface with auto-save and URL-based navigation - 🔐 OAuth 2.0 Support - FREE access for Claude Pro/Max, ChatGPT Plus/Pro, and Google AI Pro/Ultra - 🧠 Intelligent Routing - Auto-route by task type (websearch, reasoning, background, default) - 🔄 Provider Failover - Automatic fallback to backup providers with priority-based routing - 🌊 Streaming Support - Full Server-Sent Events (SSE) streaming for real-time responses - 🌐 Multi-Provider Support - 18+ providers including OpenAI, Anthropic, Google Gemini/Vertex AI, Groq, ZenMux, etc. - ⚡️ High Performance - ~5MB RAM, 📸 Click to view screenshots (5 images) Overview Dashboard *Main dashboard with router configuration and provider management* Provider Management *Add and manage multiple AI providers with automatic format translation* Model Mappings with Fallback *Configure models with priority-based fallback routing* Router…
Details
- Repository
- 9j/claude-code-mux
- Language
- Rust
- License
- MIT
- Last updated
- 19 November 2025
- Topics
- aianthropicclaude-codeclaude-code-routeropenai
FAQ
What is claude-code-mux?
Rust routing proxy for Claude Code with automatic failover and priority-based routing. It is a model router for Claude Code, from 9j/claude-code-mux on GitHub.
How do I install claude-code-mux?
Run cargo install claude-code-mux, then follow the setup in the README.
Is claude-code-mux popular?
9j/claude-code-mux has 517 GitHub stars and 64 forks. It was last updated on 19 November 2025.
More model routers & proxies
Claude Nvidia Proxy
196zhangrr/claude-nvidia-proxy
an Nvidia proxy for claude code
Autocache
178montevive/autocache
Autocache - Intelligent Anthropic API Cache Proxy Automatically inject cache-control fields into Claude API requests to reduce costs by up to 90% and latency by up to 85%. Works as a transparent drop-in replacement for popular AI platforms like n8n, Flowise, Make.com, LangChain, and LlamaIndex—no code changes required
Agentpool
201phil65/agentpool
A unified agent orchestration hub that lets you configure and manage multiple AI agents (native, ACP, AGUI, Claude Code) via YAML, and exposes them through standardized protocols (ACP/OpenCode Server).
Llm Router
120ypollak2/llm-router
Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.
Claude Code Proxy
199horselock/claude-code-proxy
Uses Claude Code authentication to make direct API calls
Grokbuild Proxy
159GreyGunG/grokbuild-proxy
本地自托管的 Grok Build → Claude Code / OpenAI 兼容代理 | Local self-hosted Grok Build compatibility proxy
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.