Skip to content
Gemini CLI

RelaySwitch for Gemini CLI

io.relayswitch/gateway

Every major chat, image and video model on one prepaid key. OpenAI, Anthropic and Gemini formats.

client:Gemini CLI transport:streamable-http tools:15

Install RelaySwitch in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "gateway": {
      "httpUrl": "https://api.relayswitch.io/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

What Gemini CLI can do once it is connected

RelaySwitch in other clients