by Zhipu AI

Z.ai: GLM 5.2.

text open weights 1M ctx
Cheapest input
$0.75/M
on DeepInfra
Cheapest output
$2.4/M
on DeepInfra
Hosted equiv.
~$0.86/hr
@ 100 tok/s on DeepInfra

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...

Where to use it

Cheapest hosted endpoints.

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

Official references.

FAQ

Frequently asked.

How do I run Z.ai: GLM 5.2?
Z.ai: GLM 5.2 is open-weight, so you can self-host on rented GPUs. See the Run It Yourself tab for GPU configurations + cost estimates, or use one of the hosted inference providers listed on this page.
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 open-weight under the license. You can download and self-host it.