Gemini CLI
Configure Gemini CLI to use Webway's Gemini-compatible gateway.
1. Install
npm install -g @google/gemini-cli
2. Configure
export GEMINI_API_KEY="sk-ww-…"
export GOOGLE_GEMINI_BASE_URL="https://api.webway.sh"
export GEMINI_MODEL="openai/gpt-5.6-terra"
Choose Gemini API key if the first-run prompt asks for an authentication
method. GOOGLE_GEMINI_BASE_URL must be the gateway origin, without /v1.
3. Run
gemini -p "Summarize this repository."
Use an exact provider-qualified ID from the model table for
GEMINI_MODEL.