Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created April 17, 2026 07:46
Show Gist options
  • Select an option

  • Save karthiks/4d6f55009395ee788e660bc39bef8274 to your computer and use it in GitHub Desktop.

Select an option

Save karthiks/4d6f55009395ee788e660bc39bef8274 to your computer and use it in GitHub Desktop.
Template of config.json for Claude Code Router
{
"HOST": "0.0.0.0",
"PORT": 3456,
"APIKEY": "apikey-ccr",
"LOG": true,
"LOG_LEVEL": "info",
"Providers": [
{
"NAME": "groq",
"HOST": "https://api.groq.com/openai/v1/chat/completions",
"APIKEY": "your-api-key-here",
"MODELS": [
"groq/compound",
"qwen/qwen3-32b",
"llama-3.3-70b-versatile",
"openai/gpt-oss-120b"
],
"transformers": ["anthropic"]
},
{
"NAME": "openrouter",
"HOST": "https://openrouter.ai/api",
"APIKEY": "your-api-key-here",
"MODELS": ["openrouter/free"],
"transformers": ["anthropic"]
}
],
"Router": {
"default": ["openrouter,openrouter/free", "groq,groq/compound"],
"think": "openrouter,openrouter/free",
"background": "groq,llama-3.3-70b-versatile"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment