GLM-5.1 API Pricing

Short answer

GLM-5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens (cached input $0.26/1M). Context window: Needs Review. Last verified 2026-06-17 from docs.z.ai. Confidence: Verified.

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
$0.26 /1M
Input pricing$1.40
Cached input$0.26
Output pricing$4.40

Limits & capabilities

Context window
Max output
Modalitytext input/output
ChannelOfficial API (Z.ai)
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.
Last checked Verified

More from Zhipu

Related comparisons