Tutorial · Gemini CLI
Connect the Gemini CLI
Point the Gemini CLI endpoint at LowCostAI. The Gemini channel is being monitored, so test with light traffic first.
Connect in three steps
The Gemini CLI reads the endpoint and credentials from env vars.
Step 1
Create an API keyCreate a key.
Step 2
Set env varsExport the endpoint and API key.
Step 3
Run and observeVerify connectivity and stability with light traffic.
Configuration
export GEMINI_API_KEY="YOUR_TOKEN" export GOOGLE_GEMINI_BASE_URL="https://api.lowcostaiapi.com" gemini "summarize the README"
Variable names can vary by version; follow the dashboard notes.