Quick answer

What is the Autohand Z.ai integration?

The Autohand Z.ai integration connects the coding agent to GLM-family models through an OpenAI-compatible provider endpoint. It uses a Z.ai API key and a model identifier available to the account.

Status
Available
Requires
A Z.ai API key and access to the selected GLM-family model.
Configure with
Set ZAI_API_KEY, select the zai provider, and choose a model ID currently available to the Z.ai account.
Best for
Using GLM-family hosted models from Autohand.

Know before you start: Model IDs, context limits, regions, quotas, and API compatibility depend on the current Z.ai service and account.

Overview

Z.ai is available as the zai provider. It is useful for teams that want GLM-family models with straightforward API-key setup and model switching inside Autohand.

Setup

export ZAI_API_KEY="your-zai-api-key"

autohand --provider zai --model glm-5.2

CLI configuration

{
  "provider": "zai",
  "zai": {
    "apiKey": "${ZAI_API_KEY}",
    "baseUrl": "https://api.z.ai/api/paas/v4",
    "model": "glm-5.2"
  }
}
OptionDescriptionDefault
apiKeyYour Z.ai API key-
baseUrlZ.ai API endpointhttps://api.z.ai/api/paas/v4
modelGLM model IDglm-5.2

Models

Use /model to select a Z.ai model or enter a custom model ID supported by your Z.ai account.

/model zai/glm-5.2

Common questions

Z.ai integration FAQ

How do I configure the Autohand Z.ai integration?

Set ZAI_API_KEY, select the zai provider, and choose a model ID currently available to the Z.ai account.

What does the Autohand Z.ai integration require?

A Z.ai API key and access to the selected GLM-family model.

What limitations should I know about?

Model IDs, context limits, regions, quotas, and API compatibility depend on the current Z.ai service and account.