Z.ai: GLM 5.2 API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Z.ai: GLM 5.2 | Z Ai | $1.20 | $4.10 | 1,048,576 (1M) | texttext |
Capabilities
Context window
1,048,576 (1M)
Max output
131,072 (131K)
Input modalities
text
Output modalities
text
Supported parameters
frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
min_p
presence_penalty
reasoning
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| Z.ai: GLM 5 Turbo | $1.20 | $4.00 | 262,144 (262K) | texttext |
| Z.ai: GLM 5.1 | $0.98 | $3.08 | 202,752 (203K) | texttext |
| Z.ai: GLM 4.5 | $0.60 | $2.20 | 131,072 (131K) | texttext |
| Z.ai: GLM 5 | $0.60 | $1.92 | 202,752 (203K) | texttext |
| Z.ai: GLM 4.5V | $0.60 | $1.80 | 65,536 (66K) | text, imagetext |
| Z.ai: GLM 4.6 | $0.43 | $1.74 | 202,752 (203K) | texttext |
| Z.ai: GLM 4.7 | $0.40 | $1.75 | 202,752 (203K) | texttext |
| Z.ai: GLM 4.6V | $0.30 | $0.90 | 131,072 (131K) | image, text, videotext |