GLM-5.2

LLM
Z.AI

GLM-5.2 is a text-based chat model from Z.ai built for instruction following, function calling, and structured outputs. It supports a 262K token context window with thinking and tool use capabilities.

Context tokens

262,144

Output tokens

131,072

Released

Jun 13, 2026

Schema

Supports two thinking-effort levels (High and Max); Max effort is recommended for coding and complex reasoning tasks.

Schema documentation

Capabilities

Tool use
Structured output
Thinking

Supported tools

  • Seclai Web Tools

    Fetch web pages and search the web from within agent prompt calls. Includes seclai_web_fetch for retrieving page content in markdown, HTML, or plain text, and seclai_web_search for finding relevant pages with content snippets.

Pricing

TypeCreditsUnits
Input18.62Credits per 1k tokens
Output58.52Credits per 1k tokens
Cache hit3.46Credits per 1k tokens

Variants

No variants available for this model.

Try This Model

Write a prompt and experiment with GLM-5.2 in the model experiments page. You can compare it with other models side by side.