GLM 5

by Z.ai

Released 23 days after GLM 4.7 Flash · All Z.ai releases

GLM-5 is Zhipu's fifth-generation frontier foundation model released February 2026, with 744 billion total parameters and 40 billion active in a Mixture-of-Experts configuration. Zhipu reports it was trained entirely on Huawei Ascend chips using the MindSpore framework, without NVIDIA hardware, a notable step toward large-model training independent of US semiconductor supply chains. The model reports open-source state-of-the-art results in coding and agentic tasks, with real-world programming capability that Zhipu benchmarks directly against Claude Opus 4.5. Trained on 28.5 trillion tokens, it integrates DeepSeek Sparse Attention to reduce deployment cost while preserving long-context capacity, with a 200K context window. Its reasoning-first design emphasizes thought quality and multi-step problem decomposition, making it strong for software engineering, mathematics, and frontier reasoning. Released under an MIT license, GLM-5 targets developers building state-of-the-art coding agents, research systems, and reasoning-intensive applications. Its roughly two-fold scale increase over GLM-4.5 combined with sparse activation aims to deliver capability gains while keeping inference practical.

Call GLM 5 on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
—
Max output
131K
Input price
$0.70 /1M$0.14 cache read
Output price
$2.24 /1M
Released
  • US residency available
  • Zero data retention on pay-as-you-go
  • GDPR DPA available

Available routes

GLM 5 runs on 3 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutputCache read
Multi—Not established—$0.70$2.24$0.14
USNo$1.00$3.20Input price
MultiNo$1.00$3.20$0.20

Live routes and prices as JSON: api.opper.ai/v3/models?q=baidu%3Acn%2Fglm-5

Uptime and availability

One of GLM 5's 3 routes is on the monitoring board, so the figure below is that provider's availability rather than the model's.

100%route uptime, last 30 days
Its other routes aren't measured here yet.

Name a second model in the same request and the gateway tries it on retriable errors, so a busy hour never has to reach your users. Set up a fallback chain.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 2 further routes are not on the board yet. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting GLM 5 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Baidu Qianfan — China🇨🇳

Zero data retention posture is not established for this route. Training posture pending review. GLOBAL; unknown.

Zero data retention
Not established.
GDPR DPA
No DPA
Transfer mechanism
unknown

Novita — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
GDPR DPA
DPA available
Transfer mechanism
SCCs

Z.ai — Singapore🇸🇬

Zero data retention with abuse monitoring: nothing is logged or used for training; content flagged by abuse monitoring is held for review. No training on customer data. GLOBAL; unknown; DPA available.

Zero data retention
With abuse monitoring, flagged content held.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, holds flagged content
Caching
Content cached for replay
Subprocessor access
Subprocessors may read content
GDPR DPA
DPA available
Transfer mechanism
unknown

Benchmarks

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

Intelligence Index27.9
Reasoning & knowledge
GPQA Diamond
82%
Humanity's Last Exam
29%
Long-context reasoning
76%
Agentic & tool use
Terminal-Bench Hard
43%
τ²-Bench Telecom
98%
Math & instruction following
IFBench
72%

Get started

Call GLM 5 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

GLM 5 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

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 Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "baidu:cn/glm-5",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use GLM 5 in your apps

Pick your tool, then choose GLM 5 to see how to run it through Opper.

Compare GLM 5 with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Z.ai

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation