Z.ai: GLM 5.2 reasoning

openrouter
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Capabilities

Context Window 1M tokens
Max Output 131k tokens
Inputs
Outputs

Pricing (per 1M tokens)

Input $1.20
Output $4.10
Cache Read $0.20
Cache Write -

Supported Parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p