GLM-5.2

by Z.ai

Released 70 days after GLM 5.1 · All Z.ai releases

GLM-5.2 is Z.ai's flagship GLM-5 series model, a 744-billion-parameter mixture-of-experts system with 40 billion active parameters, built for agentic engineering and long-horizon coding, with open weights published on Hugging Face. Its standout capability is a 1M-token context window, a roughly fivefold jump over the GLM-5.1 generation's 200K, letting it reason across entire repositories, long plan-then-execute traces, and book-length inputs in a single pass. The model introduces IndexShare, a sparse-attention design that reuses one indexer across every four attention layers, which Z.ai reports cuts per-token compute by 2.9 times at full 1M context while preserving long-range recall. Selectable thinking-effort levels, High and Max, let developers trade reasoning depth against latency, and Z.ai's own benchmarks put it at 62.1 on SWE-bench Pro, up from 58.4 for GLM-5.1. Released under an MIT license, GLM-5.2 suits developers building coding agents, repository-scale tools, and reasoning-intensive applications who want frontier capability with downloadable, self-hostable weights.

Key info

Input
Output
Features
Context window
1M
Max output
Input price
$1.19 /1M
Output price
$4.17 /1M
Released
  • onchain settlement available
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • no-KYC deposit available

Available routes

GLM-5.2 runs on 16 different routes through the qynio gateway. Compare residency, zero retention, and training posture at a glance — full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutput
MultiNot by defaultNo$1.19$4.17
EUZero data retentionNo$1.63$5.11
MultiNot by defaultNo$1.40$4.40
USZero data retentionNo$0.75$2.40
USNot by defaultNo$0.70$2.20
EUZero data retentionNo$1.45$5.81
MultiZero data retentionNo$1.40$4.40
EUZero data retentionNo$0.75$2.90
EUZero data retentionNo$1.16$4.65
USNot by defaultNo$1.10$4.10
EUNot by defaultNo$1.40$4.40
USZero data retentionNo$1.40$4.40
EUZero data retentionNo$2.32$6.04
EUZero data retentionNo$1.20$4.20
EUZero data retentionNo$1.50$4.50
USZero data retentionNo$1.26$3.96

Uptime and availability

GLM-5.2 runs on 6 independently monitored routes through the qynio gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 99.33% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
6 monitored providers serve GLM-5.2.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 10 further routes for this model are not on the board yet and are not counted above. See uptime for every provider qynio monitors.

Data handling per route

Each route hosting GLM-5.2 has its own privacy posture, residency, and no-KYC terms. Postures are maintained by qynio with a last-verification timestamp.

Alibaba Cloud Multi-region

Zero data retention is not on by default — abuse monitoring. No training on customer data. GLOBAL; wallets; deposit available.

Zero data retention
Not by default — abuse monitoring. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Berget Sweden🇸🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

BytePlus Multi-region

Zero data retention is not on by default — abuse monitoring, 180-day retention. No training on customer data. GLOBAL; wallets; deposit available.

Zero data retention
Not by default — abuse monitoring, 180-day retention. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring (180-day retention)
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

DeepInfra United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; unknown; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
unknown

DigitalOcean United States🇺🇸

Zero data retention is not on by default — a moderation hold applies. No training on customer data. US; dpf sccs; deposit available.

Zero data retention
Not by default — a moderation hold applies. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Holds content for review
Caching
Content cached for replay
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
dpf sccs

evroc Sweden🇸🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
No hold on content
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Fireworks Multi-region

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. GLOBAL; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Subprocessors may read content
no-KYC deposit
deposit available
Transfer mechanism
wallets

Inceptron Sweden🇸🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Melious Germany🇩🇪

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Morph United States🇺🇸

Zero data retention is not on by default — abuse monitoring, 30-day retention. No training on customer data. US; wallets; deposit available.

Zero data retention
Not by default — abuse monitoring, 30-day retention. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Nebius Finland🇫🇮

Zero data retention is not on by default — abuse monitoring. No training on customer data. EU; deposit available.

Zero data retention
Not by default — abuse monitoring. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Novita United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Regolo Italy🇮🇹

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
No hold on content
Caching
Not established
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Sference United Kingdom🇬🇧

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EEA; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
No subprocessor reads content
no-KYC deposit
deposit available
Transfer mechanism
wallets

TensorX European Union🇪🇺

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. EU; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
Not applicable — data stays in EU

Wafer United States🇺🇸

Zero data retention is on by default on Pay-as-you-go — no action required. No training on customer data. US; wallets; deposit available.

Zero data retention
On by default on Pay-as-you-go. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
None
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
no-KYC deposit
deposit available
Transfer mechanism
wallets

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Global rank#48 of 630 LLMs
TierFrontier
Output speed71 tok/s
First token1.32s
Intelligence Index52.6
Coding Index68.8
Reasoning & knowledge
GPQA Diamond
90%
Humanity's Last Exam
41%
Long-context reasoning
77%
Coding
SciCode
51%
Agentic & tool use
Terminal-Bench Hard
51%
τ²-Bench Telecom
99%
Math & instruction following
IFBench
73%

Get started

Call GLM-5.2 through the qynio gateway with one API key. Let your coding agent set it up, or call it directly — qynio is drop-in compatible with the OpenAI, Anthropic, and Google AI SDKs.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up qynio for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.QYN_API_KEY,
baseURL: "https://api.qyn.io/v3/compat",
});
const completion = await client.chat.completions.create({
model: "alibaba:global/glm-5.2",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare GLM-5.2 with…

Side-by-side on privacy, crypto rails, pricing, and benchmarks.

Other models from Z.ai

Start building with 700+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation