VM0VM0
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-key

You'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

ModelDescription
glm-5Most capable GLM model
glm-4.7Latest GLM model (default)
glm-4.5-airLighter, 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"

Resources

On this page