GLM 5.2 (free)
by Z.aitext->text
Overview
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, and complex multi-step automation.
Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.
Capabilities
Text generation
Extended reasoning
Top-P sampling
Stop sequences
Deterministic seed
Modalities
Input
Text
Output
Text
Technical Specifications
Context Window
32.8K tokens
Max Output
29.5K tokens
Tokenizer
Other
Supported Parameters
frequency_penaltyinclude_reasoningmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyseedstoptemperaturetop_ktop_p