by Zhipu AI

Z.ai: GLM 5.2.

text closed 1M ctx
Cheapest input
$0.75/M
on DeepInfra
Cheapest output
$2.3888/M
on OpenRouter
Hosted equiv.
~$0.86/hr
@ 100 tok/s on OpenRouter

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow...

Hosted API only

No self-host path — closed weights.

Z.ai: GLM 5.2's weights aren't published. Use it via the access providers below.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
DeepInfra hosted inference $0.75 $2.4 Launch ↗
OpenRouter api aggregator $0.7601 $2.3888 Launch ↗
Together AI hosted inference $1.4 $4.4 Launch ↗
FAQ

Frequently asked.

How do I run Z.ai: GLM 5.2?
Z.ai: GLM 5.2 is a closed-source API model. The cheapest way to access it is through the API providers listed on this page (direct API, aggregators, and hosted chat UIs).
Where can I access Z.ai: GLM 5.2?
Z.ai: GLM 5.2 is available via Together AI, DeepInfra, OpenRouter, z.ai. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run Z.ai: GLM 5.2?
API pricing starts at $1.4/M input tokens and $4.4/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is Z.ai: GLM 5.2 open-source or proprietary?
Z.ai: GLM 5.2 is a proprietary model from Zhipu AI. Access is API-only — there are no public weights to download.