ZMIME
Z.ai (Zhipu) · Released Jun 13, 2026

GLM-5.2

Open flagship GLM for long-horizon coding agents and million-token context work.

  • Open weights
  • Reasoning
  • Tool calling
Capability
151.8ECI · #44 of 148
Input
$1.40per 1M tokens
Output
$4.40per 1M tokens
Context
1M131K max output
Pricing

What it costs

Input
$1.40per million tokens
Output
$4.40per million tokens
Cached input
$0.26per million tokens
Blended (3:1)
$2.15pricier than 72% of priced models

Typical monthly bills

Monthly usageEstimated cost
Side project2M input + 0.5M output tokens$5.00
Team assistant25M input + 5M output tokens$57.00
Production app250M input + 50M output tokens$570.00

Official Z.AI API price, as listed on models.dev.

Capability

Independent benchmarks

151.8Epoch Capabilities Index
#44 of 148 scored models
88Median 146167

The shaded band is Epoch AI’s confidence range (149.8–154.0); the tick marks the median scored model.

  • GPQA DiamondGraduate-level science questions · max setting91.9%
  • FrontierMath Tiers 1–3Research-level mathematics · max setting59.2%
  • OTIS Mock AIME 2024–2025Competition mathematics · max setting86.4%
  • SWE-bench VerifiedFixing real GitHub issues · max setting78.7%
  • SimpleQA VerifiedShort factual questions · max setting34.2%

Scores from Epoch AI, run independently of Z.ai (Zhipu).

Specifications

The details

Lab
Z.ai (Zhipu)
Released
Jun 13, 2026
Context window
1,000,000 tokens
Max output
131,072 tokens
Inputs
Text
Output
Text
Reasoning
Adjustable effort high · max
Tool calling
Yes
Structured output
Yes
API model ID
glm-5.2on Z.AI
Availability
80 API providerslisted on models.dev

Z.AI model documentation

Lab-reported

What Z.ai (Zhipu) claims

Published by the lab at launch. Settings vary, so compare these only with care.

BenchmarkScoreSettingSource
SWE-Bench Pro62.1 resolve rate—Source
Terminal-Bench v2.182.7 success rate—Source
FrontierSWE74.4 dominance—Source
Humanity's Last Exam40.5—Source
Humanity's Last Exam54.7with toolsSource
CritPt20.9—Source
AIME v202699.2—Source
HMMT vNovember 202594.4—Source
HMMT vFebruary 202692.5—Source
IMOAnswerBench91—Source
GPQA Diamond91.2—Source
NL2Repo48.9 resolve rate—Source
Same lab

More from Z.ai (Zhipu)

Questions

About GLM-5.2

How much does GLM-5.2 cost?

GLM-5.2 costs $1.40 input / $4.40 output per million tokens (official Z.AI API price). Cached input is $0.26 per million tokens. At a 3:1 input-to-output mix that is $2.15 per million tokens, more expensive than 72% of the 360 priced models we track.

What is the context window of GLM-5.2?

GLM-5.2 accepts up to 1,000,000 tokens per request and can write up to 131,072 tokens in one response.

How good is GLM-5.2?

Epoch AI gives GLM-5.2 a Capabilities Index score of 151.8 (likely range 149.8–154.0), ranking it #44 of 148 models Epoch has scored. Epoch AI benchmark results: GPQA Diamond 91.9%, FrontierMath Tiers 1–3 59.2%, OTIS Mock AIME 2024–2025 86.4%, SWE-bench Verified 78.7%, SimpleQA Verified 34.2%.

Is GLM-5.2 open source?

Yes. Z.ai (Zhipu) publishes the weights, so it can be downloaded and self-hosted.

What inputs does GLM-5.2 support?

GLM-5.2 accepts text and replies in text. It is a reasoning model with high and max effort settings, supports tool calling and can return structured JSON output.

When was GLM-5.2 released?

Z.ai (Zhipu) released GLM-5.2 on Jun 13, 2026.

What are the best alternatives to GLM-5.2?

The closest current models from other labs on capability, price and release date are Kimi K2.6 (Moonshot AI, ECI 151.1, $0.95 / $4.00), Muse Spark 1.1 (Meta, ECI 154.3, $1.25 / $4.25), Grok 4.20 (Reasoning) (xAI, ECI 152.0, $1.25 / $2.50) and Gemini 3.6 Flash (Google, ECI 154.3, $0.75 / $3.75).