Get an API key from the Z.ai Platform
Configuration
- YAML
- JSON (Deprecated)
config.yaml
Available Models
glm-5: Flagship model with 128K context windowglm-4.7: Latest generation model with 128K context windowglm-4-plus: Enhanced GLM-4 model with 128K context windowglm-4.5: GLM-4.5 model with 128K context window
Configuration Options
| Option | Description | Default |
|---|---|---|
apiKey | Z.ai API key | Required |
apiBase | API base URL | https://api.z.ai/api/paas/v4/ |
model | Model name to use | glm-5 |