zai-orgListed Jun 16, 2026

GLM-5.2

GLM-5.2 is Z-AI's latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context.

Context window1M
Max output943.7K
Provider endpoints40
Benchmark results0

Model overview

GLM-5.2 is a language model from zai-org. Listed capabilities include open weights, tool calling, structured output, reasoning, and prompt caching. The listed context window is 1,048,576 tokens.

Provider options and prices

Current standard quotes use 1M tokens. 32 listed provider options. Provider details and conditions →

Benchmark coverage

No published model benchmark result is linked to this exact identity in the catalog.

Model brief

AI summary with sources

Limited evidence · Checked

This brief is due for review. Check the linked sources for current details.

Z.ai's official model card describes GLM-5.2 as its flagship model for long-horizon tasks, offering a 1M-token context and multiple thinking effort levels for coding. [1]

The OpenRouter provider page states GLM 5.2 accepts text input and output with a 1M-token context and supports high and xhigh reasoning effort levels. [2]

Good uses

  • The official card positions GLM-5.2 for long-horizon tasks and coding, with adjustable thinking effort to trade performance against latency. [1]
  • OpenRouter describes the model as suited to long-horizon agent workflows, project-level software engineering and complex multi-step automation. [2]

Documented caveats

  • The official card notes a newer version, zai-org/GLM-5.3-BF16, is available, so GLM-5.2 is not the latest release. [1]

We have not found enough specific first-hand reports for this model yet.

Sources and dates2
  1. huggingface.co · OfficialPublication date not reportedChecked
  2. openrouter.ai · ProviderPublication date not reportedChecked
Measured performance

Benchmark results

All leaderboards ↗
—

No published results in this index yet

Scores appear here when an evaluation matches this exact model.

Access & cost

Prices across providers

40 quotes

Your token mix

USD · listed token rates

ExperientialStandard list rate
$2.75
Relace · via OpenRouterrelace/fp4 · quantization=fp4
$0.6594
Wafer · via OpenRouterwafer/us · quantization=fp4
$1.457
Wafer · via OpenRouterwafer · quantization=fp4
$2.19
DeepInfra · via OpenRouterdeepinfra/fp4/flex · tier=flex · quantization=fp4
$0.81
DeepInfra · via OpenRouterdeepinfra/fp4 · quantization=fp4
$1.0125
StreamLake · via OpenRouterstreamlake/fp8 · quantization=fp8
$1.0948
CoreWeave · via OpenRoutercoreweave/fp4 · quantization=fp4
$1.225
SiliconFlow · via OpenRoutersiliconflow/fp8 · quantization=fp8
$1.1625
DeepInfra · via OpenRouterdeepinfra/fp4/priority · tier=priority · quantization=fp4
$1.5188
Alibaba · via OpenRouteralibaba/fp8 · quantization=fp8
$1.725
Alibaba · via OpenRouteralibaba/fp8/us-east-1 · quantization=fp8
$2.00
Nebius · via OpenRouternebius/fp4 · quantization=fp4
$2.50
BaseTen · via OpenRouterbaseten/fp8/us · quantization=fp8
$2.50
Baidu · via OpenRouterbaidu/fp8 · quantization=fp8
$2.50
BaseTen · via OpenRouterbaseten/fp8 · quantization=fp8
$2.50
Venice · via OpenRoutervenice/fp8 · quantization=fp8
$2.50
Parasail · via OpenRouterparasail/fp4 · quantization=fp4
$2.50
Z.AI · via OpenRouterz-ai/fp8 · quantization=fp8
$2.50
BaseTen · via OpenRouterbaseten/us/fast · tier=priority · quantization=fp8
$3.75
BaseTen · via OpenRouterbaseten/fast · tier=priority · quantization=fp8
$3.75
Alibaba · via OpenRouteralibaba/fast · tier=priority · quantization=fp8
$4.125

baseten

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

coreweave

via Hugging Face
Input
$0.62
Output
$2.42
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

deepinfra

via Hugging Face
Input
$0.5625
Output
$1.80
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

friendli

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

nebius

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

parasail

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
262.1K contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

relace

via Hugging Face
Input
$0.0069
Output
$2.61
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

together

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

venice

via Hugging Face
Input
$1.40
Output
$4.40
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

wafer

via Hugging Face
Input
$0.007
Output
$5.80
USD / 1M tokens
1M contextPrice source ↗Checked Dec 4, 2026
Endpoint IDzai-org/GLM-5.2

OpenRouter

Catalog quote
Input
$0.007
Output
$5.80
Cached input
$0.006
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2

Experiential

Standard list rate

Input
$1.54
Output
$4.84
Cached input
$0.15
USD / 1M tokens

Catalog list rate. Plan allowances and temporary discounts are separate.

1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDglm-5.2

Relace

via OpenRouter

relace/fp4 · quantization=fp4

Input
$0.0069
Output
$2.61
Cached input
$0.13
USD / 1M tokens
1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::relace/fp4

Wafer

via OpenRouter

wafer/us · quantization=fp4

Input
$0.007
Output
$5.80
Cached input
$0.006
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::wafer/us

Wafer

via OpenRouter

wafer · quantization=fp4

Input
$0.19
Output
$8.00
Cached input
$0.18
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::wafer

DeepInfra

via OpenRouter

deepinfra/fp4/flex · tier=flex · quantization=fp4

Input
$0.45
Output
$1.44
Cached input
$0.084
USD / 1M tokens

Source discount 25%; rates as published

1M context163.8K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::deepinfra/fp4/flex

DeepInfra

via OpenRouter

deepinfra/fp4 · quantization=fp4

Input
$0.5625
Output
$1.80
Cached input
$0.105
USD / 1M tokens

Source discount 25%; rates as published

1M context163.8K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::deepinfra/fp4

StreamLake

via OpenRouter

streamlake/fp8 · quantization=fp8

Input
$0.6131
Output
$1.9268
Cached input
$0.1139
USD / 1M tokens

Source discount 56.21%; rates as published

1M context128K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::streamlake/fp8

CoreWeave

via OpenRouter

coreweave/fp4 · quantization=fp4

Input
$0.62
Output
$2.42
Cached input
$0.14
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::coreweave/fp4

SiliconFlow

via OpenRouter

siliconflow/fp8 · quantization=fp8

Input
$0.651
Output
$2.046
Cached input
$0.13
USD / 1M tokens

Source discount 50%; rates as published

1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::siliconflow/fp8

DigitalOcean

via OpenRouter

digitalocean

Input
$0.70
Output
$2.20
Cached input
$0.105
USD / 1M tokens
1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::digitalocean

Featherless

via OpenRouter

featherless

Input
$0.84
Output
$2.64
Cached input
$0.156
USD / 1M tokens

Source discount 40%; rates as published

262.1K context32.8K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::featherless

DeepInfra

via OpenRouter

deepinfra/fp4/priority · tier=priority · quantization=fp4

Input
$0.8438
Output
$2.70
Cached input
$0.1575
USD / 1M tokens

Source discount 25%; rates as published

1M context163.8K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::deepinfra/fp4/priority

Alibaba

via OpenRouter

alibaba/fp8 · quantization=fp8

Input
$0.966
Output
$3.036
Cached input
$0.1932
USD / 1M tokens

Max prompt 1048576 tokens

1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::alibaba/fp8

Alibaba

via OpenRouter

alibaba/fp8/us-east-1 · quantization=fp8

Input
$1.12
Output
$3.52
Cached input
$0.224
USD / 1M tokens

Max prompt 1048576 tokens

1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::alibaba/fp8/us-east-1

Nebius

via OpenRouter

nebius/fp4 · quantization=fp4

Input
$1.40
Output
$4.40
Cached input
$0.14
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::nebius/fp4

BaseTen

via OpenRouter

baseten/fp8/us · quantization=fp8

Input
$1.40
Output
$4.40
Cached input
$0.14
USD / 1M tokens
1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::baseten/fp8/us

Together

via OpenRouter

together

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::together

Baidu

via OpenRouter

baidu/fp8 · quantization=fp8

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::baidu/fp8

BaseTen

via OpenRouter

baseten/fp8 · quantization=fp8

Input
$1.40
Output
$4.40
Cached input
$0.14
USD / 1M tokens
1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::baseten/fp8

Venice

via OpenRouter

venice/fp8 · quantization=fp8

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::venice/fp8

Parasail

via OpenRouter

parasail/fp4 · quantization=fp4

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
262.1K context235.9K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::parasail/fp4

Friendli

via OpenRouter

friendli/zdr

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
1M context943.7K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::friendli/zdr

Z.AI

via OpenRouter

z-ai/fp8 · quantization=fp8

Input
$1.40
Output
$4.40
Cached input
$0.26
USD / 1M tokens
1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::z-ai/fp8

BaseTen

via OpenRouter

baseten/us/fast · tier=priority · quantization=fp8

Input
$2.10
Output
$6.60
Cached input
$0.21
USD / 1M tokens
1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::baseten/us/fast

BaseTen

via OpenRouter

baseten/fast · tier=priority · quantization=fp8

Input
$2.10
Output
$6.60
Cached input
$0.21
USD / 1M tokens
1M context262.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::baseten/fast

Alibaba

via OpenRouter

alibaba/fast · tier=priority · quantization=fp8

Input
$2.31
Output
$7.26
Cached input
$0.462
USD / 1M tokens

Max prompt 1048576 tokens

1M context131.1K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDz-ai/glm-5.2::alibaba/fast

Model specifications

Developer
zai-org
Modality
Language
Context
1,048,576 tokens
Maximum output
943,718 tokens
Weights
Open weights
Provider listed
Jun 16, 2026
First discovered
Oct 16, 2026

Exact identities

  • huggingfacezai-org/GLM-5.2
  • deepinfrazai-org/GLM-5.2
  • openrouterz-ai/glm-5.2
  • experientialglm-5.2

Sources

Updated Dec 4, 2026

More from zai-org

View all ↗
zai-orgListed Dec 22

GLM-4.7

GLM-4.7 is a state-of-the-art, multilingual Mixture-of-Experts (MoE) language model designed for complex reasoning, agentic coding, and tool use. Building on its predecessor GLM-4.6, it delivers significant…

202.8K contextOpen weightsTool callingNo reported score
No reported score
$0.32in$1.40out/ 1M tokens · USDDeepInfra · via OpenRouter · 11 endpointsdeepinfra/fp4/flex · tier=flex · quantization=fp4
zai-orgListed Sep 29

GLM-4.6

Compared with GLM-4.5, GLM-4.6 brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks.…

202.8K contextOpen weightsTool callingNo reported score
No reported score
$0.40in$1.60out/ 1M tokens · USDDeepInfra · via OpenRouter · 8 endpointsdeepinfra/fp4/flex · tier=flex · quantization=fp4