GLM 4.7

by Z.ai · Released , 11 days after AutoGLM-Phone-9B-Multilingual · Announcement · All Z.ai releases

GLM 4.7 is Zhipu's flagship reasoning model released December 2025, with 358 billion total parameters (32 billion active) and a three-mode thinking design. Interleaved thinking generates reasoning before each response and tool call, preserved thinking retains reasoning context across multi-turn conversations to improve cache reuse, and turn-level thinking lets developers toggle reasoning depth per interaction to trade latency against quality. With a 200K context window and up to 131K output, the model reaches frontier-level coding results, reported at 73.8% on SWE-bench Verified for end-to-end software engineering and 66.7% on multilingual coding. Its work on terminal-based task automation, multi-language programming, and mathematical reasoning makes it strong for agentic development and AI-assisted engineering, emphasizing reasoning quality over raw parameter count. Released under an MIT license, GLM 4.7 is built for developers creating coding agents, terminal automation, mathematical problem-solving, and reasoning-intensive multi-step workflows where transparent, controllable thinking is a differentiator.

Sign up without a credit card · OpenAI SDK compatible
Input
$0.40 / 1M
Output
$1.75 / 1M
Cache read
$0.08 / 1M
Context
205K tokens
Max output
203K tokens
Routes
2 US

Available routes

GLM 4.7 runs on 2 different routes through the Opper gateway.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$0.40$1.75$0.08
USNo$0.60$2.20$0.11Not offered on this route

Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below. One route also sells flex processing: the same model at another price, picked per request with service_tier. How service tiers work.

Live routes and prices as JSON: api.opper.ai/v3/models?q=glm-4.7

Key info

Input
Output
Features
Context window
203K
Max output
203K
Input price
$0.40 /1M$0.08 cache read
Output price
$1.75 /1M
Released
Web search
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default

Uptime and availability

GLM 4.7 runs on 2 independently monitored routes through the Opper 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.87% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
2 monitored providers serve GLM 4.7.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

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

DeepInfra — United States🇺🇸

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

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
No classifier
Transfer mechanism
SCCs

Novita — United States🇺🇸

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

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
Transfer mechanism
SCCs

Best for

Where GLM 4.7 ranks among the models on Opper with a score for each use case.

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#159 of 521 LLMs
TierEfficient
Output speed82 tok/s
Intelligence Index (previous version)22.2
Coding
LiveCodeBench
89%
Agentic & knowledge work
GDPval
26%
Terminal-Bench Hard
32%
τ²-Bench Telecom
96%
Science & reasoning
Humanity's Last Exam
27%
GPQA Diamond
86%
Long-context reasoning
71%
Knowledge
MMLU-Pro
86%
Math & instruction following
AIME 2025
95%
IFBench
68%

Get started

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

GLM 4.7 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: "glm-4.7",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use GLM 4.7 in your apps

Pick your tool to see how to run it on GLM 4.7 through Opper.

Use GLM 4.7 with tools

The tools GLM 4.7 can use through Opper. Pick one to see how to set it up.

Compare GLM 4.7 with…

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

All comparisons with GLM 4.7

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