Skip to content

Instantly share code, notes, and snippets.

@mcwalrus
Created April 30, 2026 10:29
Show Gist options
  • Select an option

  • Save mcwalrus/f40e33eb041c2e4693d6643e9e355fd3 to your computer and use it in GitHub Desktop.

Select an option

Save mcwalrus/f40e33eb041c2e4693d6643e9e355fd3 to your computer and use it in GitHub Desktop.
Claude Router config - Together.ai setup
{
"APIKEY": "test",
"HOST": "0.0.0.0",
"PORT": 3456,
"LOG_LEVEL": "debug",
"API_TIMEOUT_MS": 600000,
"NON_INTERACTIVE_MODE": false,
"Providers": [
{
"name": "together",
"api_base_url": "https://api.together.xyz/v1/chat/completions",
"api_key": "$TOGETHER_API_KEY",
"models": [
"moonshotai/Kimi-K2.6",
"deepseek-ai/DeepSeek-V4-Pro",
"zai-org/GLM-5.1",
"MiniMaxAI/MiniMax-M2.7",
"Qwen/Qwen3.5-397B-A17B"
],
"transformer": {
"use": ["openai"]
}
}
],
"Router": {
"default": "together,moonshotai/Kimi-K2.6",
"background": "together,moonshotai/Kimi-K2.6",
"think": "together,moonshotai/Kimi-K2.6",
"longContext": "together,moonshotai/Kimi-K2.6",
"webSearch": "together,moonshotai/Kimi-K2.6",
"longContextThreshold": 30000
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment