Model Selection
Z.AI (GLM)
Use GLM models with VM0
Z.AI provides access to GLM models with strong coding capabilities.
Quick Setup
vm0 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-4.7 | Latest GLM model (default) |
GLM-4.5-Air | Lighter, faster variant |
Non-Interactive Setup
# With default model
vm0 model-provider setup --type zai-api-key --secret "xxx"
# With specific model
vm0 model-provider setup --type zai-api-key --secret "xxx" --model "GLM-4.5-Air"Run
vm0 run my-agent "build a todo app"