Integrations/Gemini CLI

Gemini CLI

Google's official CLI, connected through the OpenAI-compatible endpoint.

Steps

  1. Create an API key in the console.
  2. Set the environment variables:
bash
export OPENAI_BASE_URL=https://www.starunion.net/v1
export OPENAI_API_KEY=YOUR_API_KEY
  1. Start gemini and pick any model listed in the Model Plaza.

Some native Gemini CLI features (such as Google Search grounding) depend on the official endpoint and are unavailable through the compatible endpoint.

Updated: 2026-08-24