# GLM Models

## Overview

GLM represents a model family accessible through the Z.AI platform. Within OpenClaw, you access these models via the `zai` provider using identifiers such as `zai/glm-4.7`.

## Setup Instructions

**CLI Configuration:**

```bash
openclaw onboard --auth-choice zai-api-key
```

**Configuration File:**

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

## Key Considerations

- Model versions and availability may change; consult Z.AI documentation for current options
- Supported model identifiers include `glm-4.7` and `glm-4.6`
- Additional provider information is available in the `/providers/zai` documentation
