Z.ai: GLM 5 API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Z.ai: GLM 5 | Z Ai | $1.00 | $3.20 | 204,800 (205K) | texttext |
Capabilities
Context window
204,800 (205K)
Max output
131,072 (131K)
Input modalities
text
Output modalities
text
Supported parameters
frequency_penalty
include_reasoning
logprobs
max_tokens
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 | 202,752 (203K) | texttext |
| Z.ai: GLM 5V Turbo | $1.20 | $4.00 | 202,752 (203K) | image, text, videotext |
| Z.ai: GLM 5.1 | $1.40 | $4.40 | 204,800 (205K) | texttext |
| Z.ai: GLM 4.7 | $0.60 | $2.20 | 204,800 (205K) | texttext |
| 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 4.6 | $0.50 | $2.00 | 204,800 (205K) | texttext |
| Z.ai: GLM 5.3 FlashX | $0.37 | $1.25 | 1,048,576 (1M) | text, image, videotext |