China AI Hub China AI Hub

Models / GLM-5.2

GLM-5.2

GLM-5 family · Provider: zhipu-ai · Status: deprecated · Released: 2026-06-16

GLM-5.2 is a GLM-5 model developed by zhipu-ai, a Chinese AI company headquartered in Beijing Zhipu Huazhang Technology Co., Ltd. (北京智谱华章科技股份有限公司), Beijing, China, released 2026-06-16 with a 1,048,576-token context window and open weights.

GLM-5.2
Image: AI-generated illustration (Seedream)
Last verified: · Review cadence: 90 days · Next review:
Key facts for GLM-5.2
Key factValue
Model IDglm-5.2
Architecture744B total / 40B active (open weights, BF16/FP8)
Context window 1,048,576 tokens
Max output163,840 tokens
Open weightsYes
LicenseMIT (pure open, no regional limits per official model card)
Self-hostingYes
API availableYes
API pricing $1.4 input / $4.4 output per 1M tokens (USD) · provider pricing page
Regionsinternational, china
Cloud providersZ.ai, BigModel

Capabilities

Capabilities of GLM-5.2
CapabilitySupported
ReasoningYes
CodingYes
MathUnknown
ChineseUnknown
EnglishUnknown
MultilingualUnknown
VisionNo
AudioUnknown
VideoUnknown
Tool callingYes
Function callingUnknown
Structured outputUnknown
Agent capabilityYes
RAGUnknown
Computer useUnknown

Benchmark results

Benchmark results for GLM-5.2
BenchmarkVersionScoreMetricDateSource typeSource
HLE — 40.5 (text-only) accuracy 2026-06 vendor_reported link
HLE — 54.7 (w/ tools) accuracy 2026-06 vendor_reported link
SWE-bench Pro — 62.1 resolved 2026-06 vendor_reported link

Benchmark scores are single data points, not universal rankings. Vendor-reported scores are labeled as such.

Known limitations

What it is. GLM-5.2 (2026-06-16) is Zhipu AI’s previous flagship text model: a 744B-total / 40B-active open-weight model with a 1M-token context window, released under the MIT license. Why it matters. It is the direct predecessor of GLM-5.3 and remains listed on the API pricing page at the same price, making it a live reference point for the post-training gains of its successor. Key characteristics. Text-only input, reasoning in high/max modes, 1M context, 163,840 max output. What a professional should know. It is deprecated and superseded by GLM-5.3 (same base model, improved post-training), so new workloads should prefer GLM-5.3 — but GLM-5.2 remains billable and is worth tracking if you pinned a specific checkpoint.

Architecture and parameters

GLM-5.2 is a 744B-total / 40B-active MoE (~5.4% activation), with open weights in BF16 and FP8. It shares this base with GLM-5.3, which means the entire GLM-5.2→5.3 delta is post-training, not architecture. China AI Hub analysis: that makes the pair a clean controlled comparison for how much post-training alone can move a fixed model. See Mixture-of-Experts.

What the context window actually means

The 1M-token context with a 163,840 output cap sits between GLM-5.3’s 131K and DeepSeek’s 393K on generation headroom. As a long-input analysis tool it matches the frontier norm. See the context-window research.

Pricing implications

$1.40 input / $4.40 output per 1M tokens (cached $0.26) — identical to GLM-5.3. Because the successor costs the same, there is no price reason to stay on GLM-5.2; the pricing page simply has not retired it. See the pricing-changed research.

API, coding, and agent implications

Vendor-reported HLE 40.5 (text-only) / 54.7 (with tools) and SWE-bench Pro 62.1 describe the pre-5.3 capability baseline. The with-tools HLE delta is the same agentic pattern seen across the database. For coding and agent work, GLM-5.3’s claimed post-training gains (including the private Code Bench “50%” improvement) argue for the successor. See GLM agent-oriented AI.

Open weights and license

Open weight, MIT license — described in the official model card as “pure open, no regional limits,” which is notably cleaner than the Apache-2.0-with-verification note on GLM-5.3. Teams that specifically want an MIT-licensed 1M-context GLM checkpoint may prefer 5.2 on licensing grounds despite the deprecation. See licensing explained.

Benchmark interpretation

The three rows are vendor-reported. HLE 40.5 (54.7 with tools) and SWE-bench Pro 62.1 are the GLM-5.2 baseline against which GLM-5.3’s improvements are claimed. The with-tools HLE delta (40.5 → 54.7) mirrors the agentic pattern seen across the database, where tool access raises the ceiling on the hardest knowledge benchmarks. These scores are useful as a historical baseline, not as a current competitive signal.

Context and output in practice

The 1M-token input window places GLM-5.2 at the frontier norm of its release wave, but its 163,840-token output cap is worth noting because it actually exceeds GLM-5.3’s 131,072 ceiling — an artifact of the two models’ separate documentation rather than a capability regression. For long-input analysis (multi-document review, codebase-wide context) the input window is what matters; for generation, both models are long-input tools rather than long-form generators.

What the benchmarks do not prove

Scores are vendor-reported and predate the 5.3 successor; they say nothing about GLM-5.3’s actual gains, which rest on a private benchmark. As a deprecated model, the main utility is historical comparison. See how to read vendor-reported benchmarks.

Suitable and less suitable workloads

Well-suited: text-only long-context analysis where an MIT-licensed (no-verification) open checkpoint is specifically required, and historical/regression baselines against GLM-5.3. Less suited: any new production workload (deprecated, superseded), vision/multimodal input, and cost-optimization (same price as the better successor).

Where this model fits

WorkloadRelevance
Long-context analysisHigh
CodingHigh
Structured API workflowsModerate
Agent orchestrationHigh
Local self-hosted deploymentHigh
GUI automationNo evidence
Video generationNo evidence
Enterprise cloudModerate

Relevance judgments are China AI Hub analysis based on documented capabilities, not vendor claims.

China AI Hub analysis

China AI Hub analysis indicates GLM-5.2’s residual value is almost entirely as a licensing option and a historical baseline: its MIT “pure open” label is cleaner than its successor’s Apache-2.0-with-caveat, and its benchmark set is the reference point for GLM-5.3’s claimed gains. For everyone else, the model is deprecated at identical pricing, which makes staying on it a strictly dominated choice — the successor costs the same and improves on the same base.

Market position and outlook

China AI Hub analysis indicates GLM-5.2 illustrates a recurring pattern in the database: deprecation is not retirement. The 2026-09-10 DeepSeek change-log reversal kept DeepSeek-V4-Pro’s API running past its announced cutoff, and GLM-5.2 similarly remains billable on Z.ai’s pricing page at the same $1.40/$4.40 as its successor. The practical consequences are threefold: existing integrations continue to function, the model stays useful as a regression baseline for measuring GLM-5.3’s claimed post-training gains, and its MIT “pure open, no regional limits” label keeps it relevant for teams that specifically want a permissive, no-verification 1M-context GLM checkpoint. For everyone else the model is a strictly dominated choice — the successor costs the same and improves on the same base. See the state of China’s AI models and licensing explained research.

What is uncertain

  • It is superseded by GLM-5.3 but remains billable at the same price — a deprecation without retirement.
  • Benchmark scores are vendor-reported and predate the GLM-5.3 successor.
  • GLM-5.3’s claimed gains rest on the private Z.ai Code Bench and cannot be independently reproduced.

Sources

Labels used above: Official fact (from primary sources), Vendor-reported claim (benchmark scores published by Zhipu), and China AI Hub analysis (our synthesis, always introduced as such). No third-party benchmark evidence is currently recorded for this model.

Provider

Pricing

Benchmarks with results for this model

Related models (same family)

API

Model family timeline

Release timeline for the GLM-5 family
ModelReleasedStatus
GLM-5.2 (this page) 2026-06-16 deprecated
GLM-5.3 2026-08-18 active

Data interpretation

Evidence types for GLM-5.2
FieldValueEvidence type
Context window1,048,576 tokensOfficial
Architecture744B total / 40B active (open weights, BF16/FP8)Official
Open weightsYesOfficial
LicenseMIT (pure open, no regional limits per official model card)Official
API pricing $1.4 / $4.4 per 1M tokens (USD) Official
HLE 40.5 (text-only) accuracy Vendor-reported
HLE 54.7 (w/ tools) accuracy Vendor-reported
SWE-bench Pro 62.1 resolved Vendor-reported
Family position2 models in the GLM-5 familyChina AI Hub analysis

Evidence types: Official = vendor documentation, pricing pages or model cards. Vendor-reported = benchmark scores published by the vendor. China AI Hub analysis = derived from the database itself. See the sourcing policy.

Sources

Confidence and source hierarchy per the sourcing policy. Facts change; check the source before relying on this page.

What is the context window of GLM-5.2?

GLM-5.2 has a 1,048,576-token context window and a maximum output of 163,840 tokens.

Is GLM-5.2 open weight?

Yes — GLM-5.2 weights are openly available under the MIT (pure open, no regional limits per official model card) license.

How much does GLM-5.2 cost through the API?

$1.4 per 1M input tokens and $4.4 per 1M output tokens (USD).

Where does China AI Hub get its GLM-5.2 data?

From 4 sources (official pages first), last verified 2026-09-27. Benchmark scores are labeled by source type; see the sourcing policy for details.