Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
Getting started
Choose an auth route and run onboarding
Pick the onboarding choice that matches your Z.AI plan and region:
| Auth choice | Best for |
|---|---|
zai-api-key | Generic API-key setup with endpoint auto-detection |
zai-coding-global | Coding Plan users (global) |
zai-coding-cn | Coding Plan users (China region) |
zai-global | General API (global) |
zai-cn | General API (China region) |
Config example
Built-in catalog
OpenClaw currently seeds the bundledzai provider with these GLM refs:
| Model | Model |
|---|---|
glm-5.1 | glm-4.7 |
glm-5 | glm-4.7-flash |
glm-5-turbo | glm-4.7-flashx |
glm-5v-turbo | glm-4.6 |
glm-4.5 | glm-4.6v |
glm-4.5-air | |
glm-4.5-flash | |
glm-4.5v |
The default bundled model ref is
zai/glm-5.1. GLM versions and availability
can change; check Z.AI’s docs for the latest.Advanced configuration
Endpoint auto-detection
Endpoint auto-detection
When you use the
zai-api-key auth choice, OpenClaw inspects the key format
to determine the correct Z.AI base URL. Explicit regional choices
(zai-coding-global, zai-coding-cn, zai-global, zai-cn) override
auto-detection and pin the endpoint directly.Provider details
Provider details
GLM models are served by the
zai runtime provider. For full provider
configuration, regional endpoints, and additional capabilities, see
Z.AI provider docs.Related
Z.AI provider
Full Z.AI provider configuration and regional endpoints.
Model selection
Choosing providers, model refs, and failover behavior.