Why Claude Code Router?
Lightning Fast
Get started in minutes with just one command. No complicated configuration required.
Smart Routing
Automatically route requests to the best model based on context length, task type, and custom rules.
Multi-Provider
Support for DeepSeek, Gemini, Groq, OpenRouter, and more. Easy to extend with custom transformers.
Cost Effective
Use more affordable models for routine tasks while reserving Claude for complex scenarios.
Agent System
Extendable agent architecture for custom tools and workflows. Built-in support for image tasks.
Highly Customizable
Configure routing per project, set up transformers, and fine-tune every aspect of your workflow.
Simple Configuration
Configure your providers and routing logic with a single JSON file.
{
"Providers": [
{
"NAME": "deepseek",
"HOST": "https://api.deepseek.com",
"APIKEY": "your-api-key",
"MODELS": ["deepseek-chat", "deepseek-coder"]
},
{
"NAME": "groq",
"HOST": "https://api.groq.com/openai/v1",
"APIKEY": "your-groq-key",
"MODELS": ["llama-3.3-70b-versatile"]
}
],
"Router": {
"default": "deepseek,deepseek-chat",
"background": "groq,llama-3.3-70b-versatile"
}
}Perfect For
See how Claude Code Router fits your workflow
Cost-Conscious Developers
Reduce API costs by 10x while maintaining quality for most tasks
Privacy-Focused Teams
Keep code local with self-hosted models while using Claude when needed
Multi-Model Workflows
Use different models for different tasks without switching tools
Claude Code Power Users
Extend Claude Code with custom providers and routing strategies
Ready to Get Started?
Join thousands of developers using Claude Code Router to build better software.