Z.ai
GLM 5.2
GLM-5.2 — Z.ai's next-generation flagship LLM with a 1M-token context window, enhanced reasoning, agentic tool use, and prompt caching.
glm-5.2Pricing
~99.9%- Input
- $0.00052 / 1,000,000 tokens
- Output
- $0.00352 / 1,000,000 tokens
- Cache read
- $0.000208 / 1,000,000 tokens
- Cache write
- $0.00052 / 1,000,000 tokens
Discount history
Model details
- Input
- text
- Output
- text
- Context window
- 1,048,576 tokens
- Maximum output
- 131,072 tokens
- Availability
- $2.8KUncapped capacity
- Updated
- 11/8/2026, 3:58:06 AM UTC
Capacity is reserved when your request is accepted.
Capabilities
ChatStreamingReasoningTool calling
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p