THE SUZENT HANDBOOK
Zhipu AI (GLM)
Use GLM models with a Zhipu AI API key.
Use GLM models with an API key from Zhipu AI.
Set up
- Get an API key from open.bigmodel.cn.
- Open Settings → Providers → Zhipu AI (GLM), click CHANGE on the API KEYS tab, and paste the key.
- On the MODELS tab, click FETCH, tick the models you want, and click Save Changes.
Settings
| Field | Environment variable | Notes |
|---|---|---|
| API Key | ZAI_API_KEY | ZHIPUAI_API_KEY also works. |
You can set the key's environment variable before starting Suzent instead of pasting it. It then shows as Set in env and can't be changed from the app.