使用定制版 Gemini CLI 接入智谱 GLM 模型的完整指南
git clone https://github.com/heartyguy/gemini-cli cd gemini-cli
git checkout feature/openrouter-support
export OPENROUTER_BASE_URL="https://open.bigmodel.cn/api/paas/v4"
export OPENROUTER_API_KEY="your_bigmodel_api_key"
npm install
Was this page helpful?