Enterprise DNAEnterprise DNA
Z.ai (Zhipu) logo

Models · Best coding

GLM-5.2

by Hf Zai Org

Open flagship GLM for long-horizon coding agents and million-token context work.

Our verdict

Not reviewed yet

We have not reviewed GLM-5.2 yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About GLM-5.2

Open flagship GLM for long-horizon coding agents and million-token context work.

Notes

GLM-5.2 is listed in the EDNA Models directory, sourced from models.dev.

Key facts

What we have checked

Input price
$0.0060 per million tokens
Checked OpenRouter models API
Output price
$6.80 per million tokens
Checked OpenRouter models API
Price on ambient
$0.150 per million cached input tokens
Checked OpenRouter models API
Price on ambient
$0.600 per million input tokens
Checked OpenRouter models API
Price on ambient
$2.00 per million output tokens
Checked OpenRouter models API
Price on atlas-cloud
$0.174 per million cached input tokens
Checked OpenRouter models API
Price on atlas-cloud
$0.938 per million input tokens
Checked OpenRouter models API
Price on atlas-cloud
$2.95 per million output tokens
Checked OpenRouter models API
Price on baidu
$0.260 per million cached input tokens
Checked OpenRouter models API
Gpqa diamond
91.9% (for 16 June 2026)
Checked Epoch AI (CC BY 4.0)
Swe bench verified
78.7% (for 16 June 2026)
Checked Epoch AI (CC BY 4.0)
Frontiermath tiers 1 3 v2 private
59.2% (for 16 June 2026)
Checked Epoch AI (CC BY 4.0)

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

API access

How to call it

Call via other with model id `hf:zai-org/GLM-5.2`.

  • other · hf:zai-org/GLM-5.2

Price

What GLM-5.2 costs, over time

Input price

$0.966 to $0.0060

US dollars per million input tokens. 3 Sept 2026 to 7 Nov 2026, 41 days.

Source: OpenRouter models API. Checked .

Output price

$3.04 to $6.80

US dollars per million output tokens. 3 Sept 2026 to 7 Nov 2026, 41 days.

Source: OpenRouter models API. Checked .

Prices by host

HostPriceOver timeChecked
ambientCached input$0.150 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
ambientInput$0.600 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
ambientOutput$2.00 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
atlas-cloudCached input$0.174 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
atlas-cloudInput$0.938 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
atlas-cloudOutput$2.95 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
baiduCached input$0.260 per million cached input tokensSince 7 Nov 20267 changesOpenRouter models API
baiduInput$1.40 per million input tokensSince 7 Nov 20267 changesOpenRouter models API
baiduOutput$4.40 per million output tokensSince 7 Nov 20267 changesOpenRouter models API
basetenCached input$0.140 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
basetenInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
basetenOutput$4.40 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
cloudflareCached input$0.190 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
cloudflareInput$0.190 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
cloudflareOutput$8.00 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
coreweaveCached input$0.140 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
coreweaveInput$0.620 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
coreweaveOutput$2.42 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
decartCached input$0.480 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
decartInput$1.20 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
decartOutput$8.00 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
deepinfraCached input$0.084 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
deepinfraInput$0.450 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
deepinfraOutput$1.44 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
digitaloceanCached input$0.105 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
digitaloceanInput$0.700 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
digitaloceanOutput$2.20 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
friendliCached input$0.260 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
friendliInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
friendliOutput$4.40 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
gmicloudCached input$0.260 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
gmicloudInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
gmicloudOutput$4.40 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
inceptronCached input$0.190 per million cached input tokensSince 2 Nov 20261 changeOpenRouter models API
inceptronInput$1.40 per million input tokensSince 30 Oct 20262 changesOpenRouter models API
inceptronOutput$4.40 per million output tokensSince 29 Oct 20264 changesOpenRouter models API
mistralaiCached input$0.140 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
mistralaiInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
mistralaiOutput$4.40 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
morphCached input$0.250 per million cached input tokensSince 7 Nov 20265 changesOpenRouter models API
morphInput$0.740 per million input tokensSince 7 Nov 20268 changesOpenRouter models API
morphOutput$3.00 per million output tokensSince 7 Nov 20266 changesOpenRouter models API
nebiusCached input$0.140 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
nebiusInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
nebiusOutput$4.40 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
novitaCached input$0.121 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
novitaInput$0.650 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API
novitaOutput$2.04 per million output tokensSince 24 Oct 2026No change recordedOpenRouter models API
parasailCached input$0.260 per million cached input tokensSince 24 Oct 2026No change recordedOpenRouter models API
parasailInput$1.40 per million input tokensSince 24 Oct 2026No change recordedOpenRouter models API

Usage

How much GLM-5.2 is used

Tokens served a day

205.3B to 94.9B

tokens a day on OpenRouter. 19 Sept 2026 to 7 Nov 2026, 50 readings.

Source: OpenRouter model activity (741 of 741 series). Checked .

Scores

How GLM-5.2 scores

Each score comes from the named source and shows when we last confirmed it. A flag means the score needs care.

ScoreValueSourceChecked
Artificial Analysis Intelligence Index33.7indexAs of 26 Oct 2026Artificial Analysis via OpenRouter
Artificial Analysis Coding Index68.8indexAs of 7 Nov 2026Artificial Analysis via OpenRouter
Artificial Analysis Agentic Index38.4indexAs of 7 Nov 2026Artificial Analysis via OpenRouter
LMArena text rating (Elo)1,469EloAs of 7 Nov 2026LMArena (CC-BY-4.0), published 2026-11-06
LMArena web development rating (Elo)1,606EloAs of 7 Nov 2026LMArena (CC-BY-4.0), published 2026-11-06
Design Arena rating (Elo)1,291EloAs of 7 Nov 2026Design Arena via OpenRouter
Apex agents (best-across-versions)45.2percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Arc agi (best-across-versions)77percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Arc agi 2 (best-across-versions)22.8percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Chess puzzles (best-across-versions)22percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Dtbench (best-across-versions)93.6percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Ebr bench (best-across-versions)9.5percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Show 14 more scores
ScoreValueSourceChecked
Frontiercode (best-across-versions)24.5percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Frontiermath tier 4 v2 private (best-across-versions)29.3percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Frontiermath tiers 1 3 v2 private (best-across-versions)59.2percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Gpqa diamond (best-across-versions)91.9percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Lmca (best-across-versions)45.8percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Mystery game puzzles (best-across-versions)19percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Otis mock aime 2024 2025 (best-across-versions)Saturated86.4percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Posttrainbench (best-across-versions)31.7percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Proofbench (best-across-versions)35percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Simplebench (best-across-versions)58.8percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Simpleqa verified (best-across-versions)34.2percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Surface evolver bench (best-across-versions)55.6percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Swe bench verified (best-across-versions)78.7percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Weirdml (best-across-versions)70.1percentAs of 16 June 2026Epoch AI (CC BY 4.0)
Saturated
Top models score close to the maximum, so this test no longer separates them.

Compare

Compare GLM-5.2 side by side

Sources

Where this comes from

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

  1. Price changed

    cached input per mtok: 0.11362 to 0.103168

    Source: OpenRouter models API

  2. Price changed

    output per mtok: 1.9228 to 1.74592

    Source: OpenRouter models API

  3. Price changed

    input per mtok: 0.6118 to 0.55552

    Source: OpenRouter models API

  4. Price changed

    cached input per mtok: 0.069 to 0.25

    Source: OpenRouter models API

  5. Price changed

    output per mtok: 1.4 to 3

    Source: OpenRouter models API

  6. Price changed

    input per mtok: 0.078 to 0.74

    Source: OpenRouter models API

  7. Price changed

    cached input per mtok: 0.11492 to 0.26

    Source: OpenRouter models API

  8. Price changed

    output per mtok: 1.9448 to 4.4

    Source: OpenRouter models API

  9. Price changed

    input per mtok: 0.6188 to 1.4

    Source: OpenRouter models API

  10. Price changed

    cached input per mtok: 0.052 to 0.11362

    Source: OpenRouter models API

  11. Price changed

    output per mtok: 0.88 to 1.9228

    Source: OpenRouter models API

  12. Price changed

    input per mtok: 0.28 to 0.6118

    Source: OpenRouter models API

  13. Price changed

    input per mtok: 0.07 to 0.078

    Source: OpenRouter models API

  14. Price changed

    cached input per mtok: 0.16 to 0.19

    Source: OpenRouter models API

  15. Price changed

    cached input per mtok: 0.0351 to 0.11492

    Source: OpenRouter models API

  16. Price changed

    output per mtok: 0.594 to 1.9448

    Source: OpenRouter models API

  17. Price changed

    input per mtok: 0.189 to 0.6188

    Source: OpenRouter models API

  18. Price changed

    cached input per mtok: 0.103168 to 0.052

    Source: OpenRouter models API

  19. Price changed

    output per mtok: 1.74592 to 0.88

    Source: OpenRouter models API

  20. Price changed

    input per mtok: 0.55552 to 0.28

    Source: OpenRouter models API

MODEL FIELD GUIDE / SOURCE EVIDENCE

What you can do with GLM-5.2.

Listed specifications; no EDNA task evaluation has been run. Sources checked 2026-11-07. Hosting routes and app features can differ.

DeveloperHf Zai Org
Exact model identifierhf:zai-org/GLM-5.2
Inputtext
Outputtext
Tool calling
Listed support
Structured output
Listed support
Reasoning controls
Listed support
Availability
available
Price basis
token
Licence verification
Check the developer licence; the model name is insufficient
Context length
524K tokens
Knowledge cutoff
Not established
Developer release date
Not established
First seen in the catalogue
Not established
Listed retirement date
Not established
Inspect the sources and their scope
catalogue source ↗

hf:zai-org/GLM-5.2: listed by one provider on models.dev (synthetic); a fact is kept only where the listings agree. Hosting routes can differ.

Checked 2026-11-07
models.dev ↗

Source for reasoning controls, tool calling, context length, input, output, structured output.

Checked 2026-11-07
How to evaluate a model for your work →

FROM SPECIFICATIONS TO YOUR WORK

Is this the right model for your job?

Start with a realistic sample. These workflows match the model’s listed capabilities, not a verified result on your task.

What would it cost?

Pick a common job and how many times a month you run it. Token sizes are our assumption for a typical run, shown under the result.

Working out the cost...

Token prices only. Per-request, image, tool, storage and subscription fees are not included. One token is about three quarters of an English word. Real counts vary by model and language. How tokens are counted ↗

Check the source

Price date: 7 Nov 2026, from OpenRouter models API. Prices are USD API token rates. Your app subscription, uploads, browsing and tools are separate.

Model source & availability ↗

Understand the evidence

Listed capabilities and third-party benchmark scores do not establish Enterprise DNA task-test results. Validate accuracy and total cost on your own sample.

Intelligence Index: 51.1 (2026-07-21) ↗Coding Index: 68.8 (2026-07-21) ↗Agentic Index: 43.1 (2026-07-21) ↗
Compare this model with alternatives →
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.