Z.AI

ZGLM 5.2OPEN

GLM 5.2 (Z.AI): live API pricing, context window and the best open-source alternatives, tracked daily by olud.ai.

Context window
1M
tokens
Input price
$0.63
per M tokens
Output price
$1.96
per M tokens
Provider
Z.AI

Prices update automatically — checked hourly against provider list prices.

See model comparisons → Compare all model prices

Benchmarks & performance

Independent benchmark scores for GLM 5.2, measured by Artificial Analysis. Higher is better. Measurement mode: max.

3.9×
More intelligence per dollar than Claude Opus 5 (Fast).
For the same budget, GLM 5.2 delivers 3.9 times more capability. Open weights also mean you can self-host it and pay nothing per token.
Intelligence index51.1
Coding index68.8
GPQA89.5%
Humanity's Last Exam40.1%
Long Context Reasoning71.3%
SciCode50.5%
IFBench73.3%
τ²-Bench99.1%
τ-Bench Banking26.8%
Terminal-Bench77.9%
Terminal-Bench Hard50.8%
⚡ Speed138.1 tokens/sec
⏱ Latency0.93s to first token
💰 Blended price$2.15 / 1M tokens
📈 Value23.8 intelligence points per $
Benchmark data by Artificial Analysis

About this model

GLM 5.2 is an open-weight AI model by Z.AI. You can download and self-host it for free; the prices below are hosted-API list prices, tracked hourly, for when you prefer convenience over self-hosting.

Frequently asked questions

What is GLM 5.2?

GLM 5.2 is an AI language model from Z.AI. It is open-weight: you can download it and run it on your own hardware, for free. It scores 51.1 on the Artificial Analysis intelligence index.

Is GLM 5.2 free?

The weights are free and open — you can self-host GLM 5.2 and pay nothing per token. If you prefer a hosted API, list prices are $0.63 per million input tokens and $1.96 per million output tokens.

What is GLM 5.2 good at?

Independent benchmarks from Artificial Analysis give it GPQA 89.5%, Humanity's Last Exam 40.1%, Long Context Reasoning 71.3%, SciCode 50.5%, IFBench 73.3%, τ²-Bench 99.1%, τ-Bench Banking 26.8%, Terminal-Bench 77.9%, Terminal-Bench Hard 50.8%. It is particularly used for code generation.

How fast is GLM 5.2?

It generates about 138.1 tokens per second, with a median 0.93s delay before the first token. Measured independently by Artificial Analysis.

Can I self-host GLM 5.2?

Yes. GLM 5.2 has open weights, so you can download it and run it on your own GPU or server with tools like Ollama, vLLM or llama.cpp — with no per-token cost.

Related models

GLM 5Z.AIGLM 5.1Z.AIGLM 4.7Z.AIGLM 4.7 FlashZ.AIGLM 4.6Z.AIGLM 5 TurboZ.AI