Claude Code Router
Local gateway that routes Claude Code requests to any model provider with dynamic /model switching and a plugin/transformer system.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for Claude Code Router, derived from its capabilities.
AIVSS 8.7 · High
View MAESTRO 7-layer threat model →Overview
Claude Code Router (CCR) is a local gateway sitting between agents (Claude Code, Codex, ZCode) and upstream model providers, centralizing model management, API keys, routing rules, and observability. It enables dynamic model switching via /model, CLI management via `ccr model`, GitHub Actions integration, and an extensible plugin system of custom transformers. It supports OpenAI-compatible, Anthropic, Gemini, OpenRouter, DeepSeek, Moonshot, Mistral, and more.
Key features
- Dynamic /model provider switching
- Local gateway for API keys + routing rules
- Custom transformer plugin system
- GitHub Actions integration, broad provider support
Use cases
- Running Claude Code against non-Anthropic models
- Centralized routing/observability for multiple agents