使用 Grok CLI 接入智谱 GLM 模型的快速指南
npm install -g @vibe-kit/grok-cli
export GROK_BASE_URL="https://open.bigmodel.cn/api/paas/v4" export GROK_API_KEY="your_bigmodel_api_key"
grok --model glm-4.5
重要提示:目前 Grok CLI 对 thinking 模型的兼容性有限,thinking 内容会被完整显示。建议: 等待 Grok CLI 完善对 thinking 模型的兼容 或使用非 thinking 版本的模型
Was this page helpful?