← All models

GLM-5.2

Long-horizon coding on open weights at a fraction of frontier pricing.

GLM-5.2 supersedes GLM-5.1.

What are GLM-5.2's specs and price?

GLM-5.2, built by Z.ai, ships a 1M-token context window and a 64K-token max output, released 2026-05. It supports text input with a dedicated reasoning mode and costs $2.15 per million blended tokens, the 19th-cheapest of 32 models we track.

Verified 2026-08-08 source

Specs

Context window1M tokens
Max output64K tokens
Modalitiestext
Extended thinkingYes
Released2026-05
Knowledge cutoff2026-02
ProviderZ.ai

Verified 2026-08-08source.

Where it ranks

8th-largest context window of 32 current models19th-cheapest of 32 current models
Not yet measured — see the speed benchmark leaderboard.

Strengths

  • Open-weights coding-first flagship
  • 1M-token context window
  • Beats larger frontier models on long-horizon coding

More about GLM-5.2

Price
$2.15/M blended tokens
Provider
Served by Z.ai
Head-to-head
GLM-5.2 vs Claude Opus 4.8
Head-to-head
GLM-5.2 vs Grok 4.3
Best for
#1 for Coding
Alternatives
Cross-provider alternatives, ranked by effort

FAQ

What is GLM-5.2's context window?

GLM-5.2 has a 1M-token context window and a 64K-token max output — the 8th-largest context of the 32 current models we track. Source: https://docs.z.ai/, verified 2026-08-08.

Does GLM-5.2 support vision or audio input?

No — GLM-5.2 is text-only as of 2026-08-08.

Does GLM-5.2 have a reasoning or extended-thinking mode?

Yes — GLM-5.2 exposes a dedicated reasoning mode for multi-step problems.

When was GLM-5.2 released, and what is its knowledge cutoff?

GLM-5.2 was released 2026-05 with a knowledge cutoff of 2026-02.

How much does GLM-5.2 cost, and who provides it?

GLM-5.2 is served by Z.ai at $2.15/M blended tokens (3:1 input:output) — the 19th-cheapest of 32 current models. Full pricing breakdown: /llm-api-pricing/glm-5-2.

Try GLM-5.2 for free

Run real prompts against GLM-5.2 and every other model on this site in one workspace.

Try GLM-5.2 Free