GLM models
GLM is a model family (not a company) available through the Z.AI platform. In OpenClaw, GLM models are accessed via thezai provider and model IDs like zai/glm-5.
CLI setup
Config snippet
zai-api-key lets OpenClaw detect the matching Z.AI endpoint from the key and
apply the correct base URL automatically. Use the explicit regional choices when
you want to force a specific Coding Plan or general API surface.
Current bundled GLM models
OpenClaw currently seeds the bundledzai provider with these GLM refs:
glm-5.1glm-5glm-5-turboglm-5v-turboglm-4.7glm-4.7-flashglm-4.7-flashxglm-4.6glm-4.6vglm-4.5glm-4.5-airglm-4.5-flashglm-4.5v
Notes
- GLM versions and availability can change; check Z.AI’s docs for the latest.
- Default bundled model ref is
zai/glm-5. - For provider details, see /providers/zai.