Complete Guide to Accessing Z.AI GLM Models Using a Customized Gemini CLI
git clone https://github.com/heartyguy/gemini-cli cd gemini-cli
git checkout feature/openrouter-support
export OPENROUTER_BASE_URL="https://api.z.ai/api/paas/v4"
export OPENROUTER_API_KEY="your_api_key"
npm install
Was this page helpful?