Gemini CLI

Gemini CLI accepts a custom endpoint, letting you point it at the gateway's Gemini-compatible entry.

Configure

export GEMINI_API_KEY="$ADMESH_API_KEY"
export GEMINI_API_BASE_URL="https://gateway.admesh.ai/v1"

Models

Use model IDs in the google/* namespace (e.g. google/gemini-pro). See the model list for what is available.

Verify

Run gemini and start a conversation. A 401 invalid_api_key means the key is missing or expired.