GLM 5.2

Z.ai · On OpenRouter since June 16, 2026 · Pinned version id: z-ai/glm-5.2-20260616

Price

$2.15

mixed / 1M tokens

Mixed price per 1M tokens: 3 input tokens to 1 output token.

in $1.40 · out $4.40 · Cached input $0.26

Price disputed

Models that think before they answer can use many more output tokens, so your real cost can be higher than the figure shown.

US dollars per million tokens, converted to your currency at the NBP rate.

Tasks, with the evidence

Each line names the measurement it rests on. A task that is not listed has no measurement or declared feature we can show.

Writing code Top 25%

Measured by a third party

Coding Index: 68.8 · Rank 16 of 86, among scored models · Top 25% · Artificial Analysis, read November 18, 2026

Code: 1,269 · Rank 28 of 122, among scored models · Top 25% · Design Arena, read November 21, 2026

Agents that use tools Top 25%

Measured by a third party

Agentic Index: 38.4 · Rank 11 of 64, among scored models · Artificial Analysis, read November 18, 2026

Websites and apps Top 25%

Measured by a third party

Websites: 1,272 · Rank 27 of 127, among scored models · Top 25% · Design Arena, read November 21, 2026

UI components: 1,279 · Rank 25 of 118, among scored models · Top 25% · Design Arena, read November 21, 2026

Web apps (agent): 1,195 · Rank 19 of 47, among scored models · Design Arena, read November 21, 2026

Full-stack apps (agent): 1,213 · Rank 15 of 45, among scored models · Design Arena, read November 21, 2026

Mobile apps (agent): 1,153 · Rank 31 of 50, among scored models · Design Arena, read November 21, 2026

Android apps (agent): 1,169 · Rank 22 of 41, among scored models · Design Arena, read November 21, 2026

Games and 3D

Measured by a third party

Game development: 1,244 · Rank 34 of 121, among scored models · Design Arena, read November 21, 2026

3D scenes: 1,253 · Rank 26 of 114, among scored models · Top 25% · Design Arena, read November 21, 2026

Godot games (agent): 1,142 · Rank 19 of 34, among scored models · Design Arena, read November 21, 2026

Games (agent): 1,156 · Rank 9 of 25, among scored models · Design Arena, read November 21, 2026

Blender 3D (agent): 983 · Rank 20 of 25, among scored models · Design Arena, read November 21, 2026

Slides and spreadsheets

Measured by a third party

PowerPoint files (agent): 1,160 · Rank 17 of 29, among scored models · Design Arena, read November 21, 2026

HTML slides (agent): 1,075 · Rank 15 of 25, among scored models · Design Arena, read November 21, 2026

Spreadsheets (agent): 1,027 · Rank 23 of 32, among scored models · Design Arena, read November 21, 2026

Charts and graphics Top 25%

Measured by a third party

Data visualization: 1,279 · Rank 20 of 112, among scored models · Top 25% · Design Arena, read November 21, 2026

SVG graphics: 1,189 · Rank 33 of 84, among scored models · Design Arena, read November 21, 2026

ASCII art: 1,173 · Rank 34 of 68, among scored models · Design Arena, read November 21, 2026

Long documents

Declared, not measured

Context window: 1M tokens as declared. It says how much fits, not how well the model uses it.

Ranks are among all models we list, including older ones. The share is rounded up to whole models, so a rank slightly past the exact share still counts. Models with equal scores share the better rank.

Price by provider

The price used in the catalog is the vendor's own; when the vendor has no API of its own, it is the cheapest regular host.

ProviderInputOutputCached inputMixedNotes
StreamLake $0.3024$0.9504 $0.0562 $0.4644 78% cheaper fp8 · promo −78%
Baidu $0.3094$0.9724 $0.0575 $0.4752 78% cheaper fp8 · promo −78%
Relace $0.31$2.40 $0.075 $0.8325 61% cheaper fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality.
DeepInfra $0.5625$1.80 $0.105 $0.8719 59% cheaper fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality. · promo −25%
Ambient $0.60$2.00 $0.15 $0.95 56% cheaper fp8
Morph $0.643$1.98 $0.217 $0.9768 55% cheaper fp8
SiliconFlow $0.651$2.05 $0.13 $0.9997 54% cheaper fp8 · promo −50%
CoreWeave $0.62$2.42 $0.14 $1.07 50% cheaper fp4 · Numeric precision used by this host. Lower precision (fp4, int4) is cheaper and can change quality.
Show all providers: 27
  • DigitalOcean: $0.70 / $2.20 · $1.08
  • Novita: $0.77 / $2.42 · $1.18
  • AtlasCloud: $0.938 / $2.95 · $1.44
  • Alibaba: $0.966 / $3.04 · $1.48
  • Wafer: $0.007 / $6.80 · $1.71
  • Alibaba: $1.12 / $3.52 · $1.72
  • Cloudflare: $0.19 / $8.00 · $2.14
  • Wafer: $0.19 / $8.00 · $2.14
  • Z.ai: $1.40 / $4.40 · $2.15
  • BaseTen: $1.40 / $4.40 · $2.15
  • BaseTen: $1.40 / $4.40 · $2.15
  • Friendli: $1.40 / $4.40 · $2.15
  • GMICloud: $1.40 / $4.40 · $2.15
  • Mistral: $1.40 / $4.40 · $2.15
  • Nebius: $1.40 / $4.40 · $2.15
  • Parasail: $1.40 / $4.40 · $2.15
  • Together: $1.40 / $4.40 · $2.15
  • Venice: $1.40 / $4.40 · $2.15
  • Mistral: $1.54 / $4.84 · $2.37

Other pricing modes

Specifications

Context window
1M
Max output
944k
Accepts
text
Answers with
text
Tools
Yes
Structured output
Yes
Reasoning
Optional
Thinking effort levels: none, high, and xhigh
Thinking is on by default
Weights on Hugging Face
Hugging Face A Hugging Face repository is linked. We did not check the licence; read it before you build on it.
Knowledge cutoff
No data
On OpenRouter since
June 16, 2026
Price check
disputed

As listed by OpenRouter. "Not listed" means OpenRouter does not list it for this model.

Benchmark scores

Scores come from third parties and are relayed by OpenRouter. We do not run the tests. Higher is better.

SourceScoreRank among scored
Coding Index
Artificial Analysis, read November 18, 2026
68.8Rank 16 of 86, among scored models Top 25%
Agentic Index
Artificial Analysis, read November 18, 2026
38.4Rank 11 of 64, among scored models Top 25%
Websites
Design Arena, read November 21, 2026
1,272Rank 27 of 127, among scored models Top 25%
UI components
Design Arena, read November 21, 2026
1,279Rank 25 of 118, among scored models Top 25%
Game development
Design Arena, read November 21, 2026
1,244Rank 34 of 121, among scored models
3D scenes
Design Arena, read November 21, 2026
1,253Rank 26 of 114, among scored models Top 25%
Data visualization
Design Arena, read November 21, 2026
1,279Rank 20 of 112, among scored models Top 25%
SVG graphics
Design Arena, read November 21, 2026
1,189Rank 33 of 84, among scored models
ASCII art
Design Arena, read November 21, 2026
1,173Rank 34 of 68, among scored models
Code
Design Arena, read November 21, 2026
1,269Rank 28 of 122, among scored models Top 25%
Web apps (agent)
Design Arena, read November 21, 2026
1,195Rank 19 of 47, among scored models
Full-stack apps (agent)
Design Arena, read November 21, 2026
1,213Rank 15 of 45, among scored models
Mobile apps (agent)
Design Arena, read November 21, 2026
1,153Rank 31 of 50, among scored models
Android apps (agent)
Design Arena, read November 21, 2026
1,169Rank 22 of 41, among scored models
Godot games (agent)
Design Arena, read November 21, 2026
1,142Rank 19 of 34, among scored models
Games (agent)
Design Arena, read November 21, 2026
1,156Rank 9 of 25, among scored models
Blender 3D (agent)
Design Arena, read November 21, 2026
983Rank 20 of 25, among scored models
PowerPoint files (agent)
Design Arena, read November 21, 2026
1,160Rank 17 of 29, among scored models
HTML slides (agent)
Design Arena, read November 21, 2026
1,075Rank 15 of 25, among scored models
Spreadsheets (agent)
Design Arena, read November 21, 2026
1,027Rank 23 of 32, among scored models
agents/pdf
Design Arena, read November 21, 2026
1,250Rating 1,250; rank 9 at the source. Too few scored models for a tier.

Intelligence, Coding and Agentic indices: Artificial Analysis (artificialanalysis.ai). Design categories: Design Arena (designarena.ai). Both are relayed by the OpenRouter public model list and were read on November 21, 2026. We compute ranks, tiers and costs from these numbers; the sources have not reviewed them. Scores belong to the model, not to the route it is served on.

Artificial Analysis · Design Arena · Relayed by OpenRouter. opens in a new tab

Sources and dates

Prices: OpenRouter routes and a second price table, checked November 21, 2026. Specifications: OpenRouter, November 21, 2026. Exchange rate: NBP, November 20, 2026. Benchmarks: Artificial Analysis and Design Arena via OpenRouter.