GLM-5.1 API Pricing

Short answer

GLM-5.1 costs $0.98 per 1M input tokens and $3.08 per 1M output tokens . Context window: Needs Review. Last verified 2026-06-18 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
$0.98 /1M
Output
$3.08 /1M
Cached input
/1M
Input pricing$0.98
Output pricing$3.08

Limits & capabilities

Context window
Max output
Modalitytext input/output
ChannelOpenRouter
ProviderZhipu

Best for

Open weightCodingAgentic
Lower than the official Z.ai headline rate, but OpenRouter's public page does not expose cached-input pricing. 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