Z.AI

ZGLM 5OPEN

GLM 5 (Z.AI): live API pricing, context window and the best open-source alternatives, tracked daily by OpenSourceAI.tech.

Context window
205K
tokens
Input price
$0.95
per M tokens
Output price
$2.55
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, measured by Artificial Analysis. Higher is better. Measurement mode: Reasoning.

4.2×
More intelligence per dollar than Claude Opus 5.
For the same budget, GLM 5 delivers 4.2 times more capability. Open weights also mean you can self-host it and pay nothing per token.
Intelligence index39.5
GPQA82%
Humanity's Last Exam27.2%
Long Context Reasoning63.3%
SciCode46.2%
IFBench72.3%
τ²-Bench98.2%
Terminal-Bench Hard43.2%
💰 Blended price$1.55 / 1M tokens
📈 Value25.5 intelligence points per $
Benchmark data by Artificial Analysis

About this model

GLM 5 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?

GLM 5 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 39.5 on the Artificial Analysis intelligence index.

Is GLM 5 free?

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

What is GLM 5 good at?

Independent benchmarks from Artificial Analysis give it GPQA 82%, Humanity's Last Exam 27.2%, Long Context Reasoning 63.3%, SciCode 46.2%, IFBench 72.3%, τ²-Bench 98.2%, Terminal-Bench Hard 43.2%.

Can I self-host GLM 5?

Yes. GLM 5 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.

Open-source alternatives

Depending on your workload, an open-weight model that you can self-host may cut costs dramatically or remove per-token pricing entirely. Our comparison pages put this model side by side with the strongest open-source contenders.

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