> ## Documentation Index
> Fetch the complete documentation index at: https://openclaw.veiseule.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Các mô hình GLM

# Các mô hình GLM

GLM is a **model family** (not a company) available through the Z.AI platform. Trong OpenClaw, GLM
models được truy cập thông qua nhà cung cấp `zai` và các ID model như `zai/glm-5`.

## Thiết lập CLI

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw onboard --auth-choice zai-api-key
```

## Đoạn cấu hình

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  env: { ZAI_API_KEY: "sk-..." },
  agents: { defaults: { model: { primary: "zai/glm-4.7" } } },
}
```

## Ghi chú

* Phiên bản và mức độ khả dụng của GLM có thể thay đổi; hãy kiểm tra tài liệu của Z.AI để biết thông tin mới nhất.
* Ví dụ ID mô hình bao gồm `glm-4.7` và `glm-4.6`.
* Để biết chi tiết về nhà cung cấp, xem [/providers/zai](/providers/zai).
