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
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.
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
- Output price
- $6.80 per million tokens
- Price on ambient
- $0.150 per million cached input tokens
- Price on ambient
- $0.600 per million input tokens
- Price on ambient
- $2.00 per million output tokens
- Price on atlas-cloud
- $0.174 per million cached input tokens
- Price on atlas-cloud
- $0.938 per million input tokens
- Price on atlas-cloud
- $2.95 per million output tokens
- Price on baidu
- $0.260 per million cached input tokens
- Gpqa diamond
- 91.9% (for 16 June 2026)
- Swe bench verified
- 78.7% (for 16 June 2026)
- Frontiermath tiers 1 3 v2 private
- 59.2% (for 16 June 2026)
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
$0.966 to $0.0060
$3.04 to $6.80
Prices by host
| Host | Price | Over time | Checked |
|---|---|---|---|
| ambientCached input | $0.150 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| ambientInput | $0.600 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| ambientOutput | $2.00 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| atlas-cloudCached input | $0.174 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| atlas-cloudInput | $0.938 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| atlas-cloudOutput | $2.95 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| baiduCached input | $0.260 per million cached input tokensSince 7 Nov 2026 | 7 changes | OpenRouter models API |
| baiduInput | $1.40 per million input tokensSince 7 Nov 2026 | 7 changes | OpenRouter models API |
| baiduOutput | $4.40 per million output tokensSince 7 Nov 2026 | 7 changes | OpenRouter models API |
| basetenCached input | $0.140 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| basetenInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| basetenOutput | $4.40 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| cloudflareCached input | $0.190 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| cloudflareInput | $0.190 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| cloudflareOutput | $8.00 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| coreweaveCached input | $0.140 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| coreweaveInput | $0.620 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| coreweaveOutput | $2.42 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| decartCached input | $0.480 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| decartInput | $1.20 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| decartOutput | $8.00 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| deepinfraCached input | $0.084 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| deepinfraInput | $0.450 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| deepinfraOutput | $1.44 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| digitaloceanCached input | $0.105 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| digitaloceanInput | $0.700 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| digitaloceanOutput | $2.20 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| friendliCached input | $0.260 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| friendliInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| friendliOutput | $4.40 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| gmicloudCached input | $0.260 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| gmicloudInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| gmicloudOutput | $4.40 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| inceptronCached input | $0.190 per million cached input tokensSince 2 Nov 2026 | 1 change | OpenRouter models API |
| inceptronInput | $1.40 per million input tokensSince 30 Oct 2026 | 2 changes | OpenRouter models API |
| inceptronOutput | $4.40 per million output tokensSince 29 Oct 2026 | 4 changes | OpenRouter models API |
| mistralaiCached input | $0.140 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| mistralaiInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| mistralaiOutput | $4.40 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| morphCached input | $0.250 per million cached input tokensSince 7 Nov 2026 | 5 changes | OpenRouter models API |
| morphInput | $0.740 per million input tokensSince 7 Nov 2026 | 8 changes | OpenRouter models API |
| morphOutput | $3.00 per million output tokensSince 7 Nov 2026 | 6 changes | OpenRouter models API |
| nebiusCached input | $0.140 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| nebiusInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| nebiusOutput | $4.40 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| novitaCached input | $0.121 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| novitaInput | $0.650 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| novitaOutput | $2.04 per million output tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| parasailCached input | $0.260 per million cached input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
| parasailInput | $1.40 per million input tokensSince 24 Oct 2026 | No change recorded | OpenRouter models API |
Usage
How much GLM-5.2 is used
205.3B to 94.9B
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.
| Score | Value | Source | Checked |
|---|---|---|---|
| Artificial Analysis Intelligence Index | 33.7indexAs of 26 Oct 2026 | Artificial Analysis via OpenRouter | |
| Artificial Analysis Coding Index | 68.8indexAs of 7 Nov 2026 | Artificial Analysis via OpenRouter | |
| Artificial Analysis Agentic Index | 38.4indexAs of 7 Nov 2026 | Artificial Analysis via OpenRouter | |
| LMArena text rating (Elo) | 1,469EloAs of 7 Nov 2026 | LMArena (CC-BY-4.0), published 2026-11-06 | |
| LMArena web development rating (Elo) | 1,606EloAs of 7 Nov 2026 | LMArena (CC-BY-4.0), published 2026-11-06 | |
| Design Arena rating (Elo) | 1,291EloAs of 7 Nov 2026 | Design Arena via OpenRouter | |
| Apex agents (best-across-versions) | 45.2percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Arc agi (best-across-versions) | 77percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Arc agi 2 (best-across-versions) | 22.8percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Chess puzzles (best-across-versions) | 22percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Dtbench (best-across-versions) | 93.6percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Ebr bench (best-across-versions) | 9.5percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) |
Show 14 more scores
| Score | Value | Source | Checked |
|---|---|---|---|
| Frontiercode (best-across-versions) | 24.5percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Frontiermath tier 4 v2 private (best-across-versions) | 29.3percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Frontiermath tiers 1 3 v2 private (best-across-versions) | 59.2percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Gpqa diamond (best-across-versions) | 91.9percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Lmca (best-across-versions) | 45.8percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Mystery game puzzles (best-across-versions) | 19percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Otis mock aime 2024 2025 (best-across-versions)Saturated | 86.4percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Posttrainbench (best-across-versions) | 31.7percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Proofbench (best-across-versions) | 35percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Simplebench (best-across-versions) | 58.8percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Simpleqa verified (best-across-versions) | 34.2percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Surface evolver bench (best-across-versions) | 55.6percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Swe bench verified (best-across-versions) | 78.7percentAs of 16 June 2026 | Epoch AI (CC BY 4.0) | |
| Weirdml (best-across-versions) | 70.1percentAs of 16 June 2026 | Epoch 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
- OpenRouter models APIOfficial
- OpenRouter models APIThird party
- Epoch AI (CC BY 4.0)Third party
- Epoch AI (CC BY 4.0)Third party
- Epoch AI (CC BY 4.0)Third party
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
Price changed
cached input per mtok: 0.11362 to 0.103168
Price changed
output per mtok: 1.9228 to 1.74592
Price changed
input per mtok: 0.6118 to 0.55552
Price changed
cached input per mtok: 0.069 to 0.25
Price changed
output per mtok: 1.4 to 3
Price changed
input per mtok: 0.078 to 0.74
Price changed
cached input per mtok: 0.11492 to 0.26
Price changed
output per mtok: 1.9448 to 4.4
Price changed
input per mtok: 0.6188 to 1.4
Price changed
cached input per mtok: 0.052 to 0.11362
Price changed
output per mtok: 0.88 to 1.9228
Price changed
input per mtok: 0.28 to 0.6118
Price changed
input per mtok: 0.07 to 0.078
Price changed
cached input per mtok: 0.16 to 0.19
Price changed
cached input per mtok: 0.0351 to 0.11492
Price changed
output per mtok: 0.594 to 1.9448
Price changed
input per mtok: 0.189 to 0.6188
Price changed
cached input per mtok: 0.103168 to 0.052
Price changed
output per mtok: 1.74592 to 0.88
Price changed
input per mtok: 0.55552 to 0.28
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.
hf:zai-org/GLM-5.2- 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
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-07Source for reasoning controls, tool calling, context length, input, output, structured output.
Checked 2026-11-07FROM 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.
Enter a whole number of runs from 1 to 100,000,000.
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) ↗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.