Skip to content

Instantly share code, notes, and snippets.

@automata
Created July 16, 2025 10:14
Show Gist options
  • Select an option

  • Save automata/5229ccf7c078b1b89e1a9a785e04c82e to your computer and use it in GitHub Desktop.

Select an option

Save automata/5229ccf7c078b1b89e1a9a785e04c82e to your computer and use it in GitHub Desktop.
Kimi K2 + Claude Code + Groq
{
"LOG": false,
"OPENAI_API_KEY": "",
"OPENAI_BASE_URL": "",
"OPENAI_MODEL": "",
"Providers": [
{
"name": "groq",
"api_base_url": "https://api.groq.com/openai/v1/chat/completions",
"api_key": "YOUR_GROQ_API_KEY",
"models": ["moonshotai/kimi-k2-instruct"],
"transformer": {
"use": [
[
"maxtoken",
{
"max_tokens": 16384
}
],
"openrouter"
]
}
}
],
"Router": {
"default": "groq,moonshotai/kimi-k2-instruct"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment