WhichModel for Gemini CLI
io.github.which-model/whichmodel
Cost-optimized LLM model routing recommendations for autonomous AI agents
client:Gemini CLI
transport:streamable-http
Install WhichModel in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"whichmodel": {
"httpUrl": "https://whichmodel.dev/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs