export GOOGLE_GENAI_USE_VERTEXAI=true

Category: Gemini CLI

export GOOGLE_GENAI_USE_VERTEXAI=true

Route Gemini CLI requests through Vertex AI instead of Google AI Studio

Routes all Gemini CLI requests through Vertex AI (Google Cloud) instead of the default Google AI Studio endpoint.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.