GLM 5.2

z-ai/glm-5.2-20260616

Z.ai: GLM 5.2 is a text-to-text model with a context length of 1,048,576 tokens. It supports tools and reasoning, and is an open-weight model. Pricing is $0.0341 per million input tokens and $7 per million output tokens.

  • tool use
  • structured outputs
  • reasoning
  • open-weight

At a glance

providerz-ai
releasedJun 13, 2026
context1.0M
input / M$0.034

Specifications

What the API gives you

Context window
1.0M tokens
Max output
944K tokens
Input price
$0.034 / 1M tokens
Output price
$7 / 1M tokens
Cache read
$0.033 / 1M tokens
Modalities
text → text
Knowledge cutoff
—
Released
Jun 13, 2026

Measured evidence

Public benchmark record

Design Arena Coding
1288 Elo2026-10-21
Design Arena UI
1295 Elo2026-10-21
Design Arena Web-app Agent
1222 Elo2026-10-21
Design Arena Website
1285 Elo2026-10-21
FrontierMath Tiers 1-3 (Epoch AI)‡
54.7% ± 32026-08-29low effort, evaluated 2026-08-29
FrontierMath Tiers 1-3 (Epoch AI)‡
59.2% ± 32026-06-19max effort, evaluated 2026-06-19
GPQA Diamond (Epoch AI)‡
87.9% ± 2.32026-08-10low effort, evaluated 2026-08-10
GPQA Diamond (Epoch AI)‡
91.9% ± 1.62026-06-24max effort, evaluated 2026-06-24
LiveBench Coding
79.7%2026-10-18
LiveBench Language
76.2%2026-10-18
LiveBench Math
89.8%2026-10-18
LiveBench Reasoning
78.6%2026-10-18
LMArena Agent‡
2.12026-10-20max effort
LMArena Agent Bash Recovery‡
0.72026-10-08max effort
LMArena Agent Steerability‡
1.32026-10-20max effort
LMArena Agent Task Outcome‡
3.82026-10-20max effort
LMArena Agent Tool Hallucination‡
0.72026-10-20max effort
LMArena Creative Writing‡
1463 Elo2026-10-20max effort
LMArena Instruction Following‡
1466 Elo2026-10-20max effort
LMArena Long Query‡
1480 Elo2026-10-20max effort
LMArena Math‡
1483 Elo2026-10-20max effort
LMArena Text‡
1476 Elo2026-10-20max effort
LMArena Text Factuality‡
1463 Elo2026-10-20max effort
LMArena WebDev‡
1604 Elo2026-10-19max effort
OTIS Mock AIME (Epoch AI)‡
75.6% ± 6.52026-08-10low effort, evaluated 2026-08-10
OTIS Mock AIME (Epoch AI)‡
86.4% ± 4.22026-06-25max effort, evaluated 2026-06-25
SimpleQA Verified (Epoch AI)‡
34.2% ± 1.52026-08-27max effort, evaluated 2026-08-27
SWE-rebench (2026-05-15 to 2026-07-01)‡
62.9% ± 1.22026-10-21tools, tasks 2026-05-15 to 2026-07-01
tau2-bench (1.0.1)‡
37.1%2026-07-24xhigh effort, evaluated 2026-07-24

LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Design Arena uses blind human preference. ‡ Submitted scaffold plus model result. Compare the harness and effort settings, not only the model name.

Open-weight model on Hugging Face.

Task evidence

How broad is the support?

Each status is exact to this model version and the selected task. Official release claims remain provisional.

  • Best LLM for Competition MathEstablished evidence

    100% of intended weighted task evidence across 4 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • Best LLM for Business WritingEstablished evidence

    100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • 100% of intended weighted task evidence across 3 independent sources. 5 of 5 configured evaluation feeds currently have results.

  • Best LLM for Marketing CopyEstablished evidence

    100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Chat & RoleplayEstablished evidence

    100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Creative WritingEstablished evidence

    100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

Show all 41 tasks
  • Best LLM for WritingEstablished evidence

    100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • 100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Math & ReasoningEstablished evidence

    100% of intended weighted task evidence across 5 independent sources. 7 of 7 configured evaluation feeds currently have results.

  • 100% of intended weighted task evidence across 3 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • Best LLM for Frontend & UIEstablished evidence

    91% of intended weighted task evidence across 3 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • Best LLM for Code CompletionEstablished evidence

    79% of intended weighted task evidence across 2 independent sources. 3 of 3 configured evaluation feeds currently have results.

  • Best LLM for Agentic CodingEstablished evidence

    75% of intended weighted task evidence across 4 independent sources. 7 of 7 configured evaluation feeds currently have results.

  • Best LLM for CodingEstablished evidence

    71% of intended weighted task evidence across 4 independent sources. 7 of 7 configured evaluation feeds currently have results.

  • 67% of intended weighted task evidence across 3 independent sources. 5 of 5 configured evaluation feeds currently have results.

  • 64% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.

  • Best LLM for Autonomous AgentsEstablished evidence

    63% of intended weighted task evidence across 3 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • Best Local LLM for CodingEstablished evidence

    62% of intended weighted task evidence across 3 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • 58% of intended weighted task evidence across 2 independent sources. 6 of 7 configured evaluation feeds currently have results.

  • Best LLM for Fast SummariesEstablished evidence

    58% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.

  • Best Value LLMEstablished evidence

    58% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.

  • Best LLM for AI AgentsEstablished evidence

    57% of intended weighted task evidence across 4 independent sources. 9 of 9 configured evaluation feeds currently have results.

  • 50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.

  • 50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.

  • Best LLM for TranslationEstablished evidence

    50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.

  • Best LLM for Hermes AgentEstablished evidence

    41% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for OpenHandsEstablished evidence

    41% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for GooseEstablished evidence

    41% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for OpenClawEstablished evidence

    41% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.

  • 40% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.

  • Best LLM for SummarizationEstablished evidence

    40% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.

  • Best Cheap LLM for High VolumeEstablished evidence

    40% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.

  • Cheapest Capable LLMEstablished evidence

    40% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.

  • 35% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.

  • 35% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.

  • Best LLM for Grounded RAGEstablished evidence

    29% of intended weighted task evidence across 2 independent sources. 5 of 7 configured evaluation feeds currently have results.

  • 22% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LMArena Document. 5 of 6 configured evaluation feeds currently have results.

  • 21% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Route reliability or Structured-output eval. 1 of 3 configured evaluation feeds currently have results.

  • Best LLM for Massive ContextProvisional evidence

    20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or LongBench v2. 2 of 3 configured evaluation feeds currently have results.

  • 17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or OSWorld Verified. 3 of 3 configured evaluation feeds currently have results.

  • 11% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Vision or VLMEvalKit tasks. 2 of 3 configured evaluation feeds currently have results.

Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.