Model Selection
Z.AI (GLM)
Use GLM models with VM0
Z.AI provides access to GLM models with strong coding capabilities.
Quick Setup
zero org model-provider setup --type zai-api-keyYou'll be prompted for your API key and model selection.
Get API Key
Visit the Z.AI Platform to create and obtain an API key.
Available Models
| Model | Description |
|---|---|
glm-5 | Most capable GLM model |
glm-4.7 | Latest GLM model (default) |
glm-4.5-air | Lighter, faster variant |
Non-Interactive Setup
# With default model
zero org model-provider setup --type zai-api-key --secret "xxx"
# With specific model
zero org model-provider setup --type zai-api-key --secret "xxx" --model "glm-4.5-air"Run
vm0 run my-agent "build a todo app"