UtilMesh
Menu
Z.ai

GLM 5.1 pricing and limits

GLM 5.1 charges $1.40 per million input tokens and $4.40 per million output tokens. Below is the full rate card, the context limit, and cost examples for common workloads.

Input / 1M tokens
$1.40
Output / 1M tokens
$4.40
Context window
205K
Max output
131K

What a request actually costs

Estimated from the listed per-token prices, without cache discounts or batch pricing.

WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0036
Code review10,0002,000$0.0228
Long document100,00020,000$0.2280
Bulk batch item1,000,000200,000$2.2800

Capabilities

Input types
text
Output types
text
Tool calling
Supported
Moderated
No

Where these numbers come from

Prices and limits are read from OpenRouter's public model feed, not from a direct vendor contract, and refreshed by a scheduled job. OpenRouter can route the same model through different providers, so its listed rate may differ from the vendor's own rate card. Treat this page as a starting point and confirm the final number on the vendor page before you commit to volume.

Last refreshed 2026-11-24. Open the source record

About this model

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Other Z.ai models