Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Gemini CLI with ModRouter’s Google GenAI-compatible endpoint.
/genai
https://api.modrouter.online/genai
MODROUTER_BASE_URL
export GEMINI_API_KEY="${MODROUTER_API_KEY}" export GOOGLE_GEMINI_BASE_URL=https://api.modrouter.online/genai gemini
export GOOGLE_GENAI_USE_VERTEXAI=true export GOOGLE_GEMINI_BASE_URL=https://api.modrouter.online/genai gemini
gemini -m gemini-2.5-flash gemini -m gemini/gemini-2.5-pro gemini -m openai/gpt-4o-mini gemini -m anthropic/claude-sonnet-4-5