GLM-5.1 API Pricing

Short answer

GLM-5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens . Context window: Needs Review. Last verified 2026-06-17 from openrouter.ai. Confidence: Auto.

GLM-5.1 is Zhipu/Z.ai's prior agentic-engineering flagship, priced identically to GLM-5.2 on the official API page.

Input
$1.40 /1M
Output
$4.40 /1M
Cached input
/1M
Input pricing$1.40
Output pricing$4.40

Limits & capabilities

Context window
Max output
Modalitytext input/output
ChannelOpenRouter
ProviderZhipu

Best for

Open weightCodingAgentic
Official Z.ai pricing lists GLM-5.1 at the same input, cached input, and output prices as GLM-5.2. Use GLM-5.2 first unless a workload is pinned to 5.1.

More from Zhipu

Related comparisons