Z.ai: GLM 5.2 (batch) API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Z.ai: GLM 5.2 (batch) | Z Ai | $0.70 | $2.20 | 512,000 (512K) | texttext |
Capabilities
Context window
512,000 (512K)
Max output
-
Input modalities
text
Output modalities
text
Supported parameters
frequency_penalty
include_reasoning
logit_bias
max_tokens
min_p
presence_penalty
reasoning
reasoning_effort
repetition_penalty
response_format
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| Z.ai: GLM 4.5 | $0.60 | $2.20 | 131,072 (131K) | texttext |
| Z.ai: GLM 4.5V | $0.60 | $1.80 | 65,536 (66K) | text, imagetext |
| Z.ai: GLM 5.2 | $0.5306 | $1.6676 | 1,048,576 (1M) | texttext |
| Z.ai: GLM 4.6 | $0.50 | $2.00 | 204,800 (205K) | texttext |
| Z.ai: GLM 5 | $0.95 | $2.55 | 204,800 (205K) | texttext |
| Z.ai: GLM 5.1 | $0.952 | $2.992 | 204,800 (205K) | texttext |
| Z.ai: GLM 4.7 | $0.40 | $1.75 | 204,800 (205K) | texttext |
| Z.ai: GLM 4.6V | $0.30 | $0.90 | 131,072 (131K) | image, text, videotext |