Z.ai
Subscription
4 params
Z.ai GLM-5.1 (subscription) parameters
These are the parameters modelparams.dev tracks for Z.ai GLM-5.1 when you reach it through a subscription rather than an API key. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
| Length · 1 param | ||||
|
Max tokens
max_tokens
|
integer (1…+∞) | — | Maximum number of tokens to generate in the response. | — |
| Sampling · 2 params | ||||
|
Temperature
temperature
|
number (0…1 step 0.1) | 1 | Controls randomness. Lower values make outputs more focused; higher values make them more varied. | — |
|
Top P
top_p
|
number (0.01…1 step 0.01) | 0.95 | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
| Reasoning · 1 param | ||||
|
Thinking mode
thinking.type
|
enum (enabled | disabled) | "enabled" | Toggles the model's extended reasoning before it produces the final answer. | — |