GLM Models
This document describes the features and default parameters of GLM series models.
Features
| Model | Multi-turn Chat | Deep Thinking | Tool Calling | Structured Output | Prompt Caching |
|---|---|---|---|---|---|
| GLM-5.1 | ✅ | ✅ | ✅ | ✅ | ✅ |
| GLM-5 | ✅ | ✅ | ✅ | ✅ | ✅ |
| GLM-4.7 | ✅ | ✅ | ✅ | ✅ (only non-thinking mode) | ✅ |
Default Parameters
| Model | enable_thinking | temperature | top_p | top_k | repetition_penalty |
|---|---|---|---|---|---|
| GLM-5.1 | true | 1.0 | 0.95 | 1 | 1.0 |
| GLM-5 | true | 1.0 | 0.95 | 1 | 1.0 |
| GLM-4.7 | true | 1.0 | 0.95 | 1 | 1.0 |