Docs
Skip to content

Use with Gemini CLI

Gemini CLI can connect through the Gemini-compatible gateway endpoint when the tool supports custom base URLs.

Configure

bash
export GEMINI_API_KEY="sk-your-token"
export GEMINI_BASE_URL="https://api.geoq.help"

Use a Gemini model configured in the gateway console, such as gemini-2.0-flash.

If your Gemini CLI version ignores custom endpoints, upgrade the CLI or use an OpenAI-compatible client instead.

基于 new-api 二次开发,AGPL-3.0 协议