GLM-5.1

Developer: Z.AI (Zhipu International) · Release: 2026-04-07 · Official Docs ↗

Estimate Cost in Calculator

Strong GLM coding model for agentic engineering, terminals, and repository generation

Context Window
200K
Max output: 131K
Modalities
text → text
Vision: No
Capabilities
Reasoning: Yes · Tools: Yes
Structured output: Yes
Weights & License
Open Weights
See official terms

Provider Pricing Matrix (1 Endpoints)

Exact provider endpoint IDs are separated—do not assume routed or quantized variants are identical to direct first-party endpoints.

Provider & Route Exact Endpoint ID Input / 1M Output / 1M Cache Read / 1M Cache Write / 1M Verified & Source Action
Z.AI (Zhipu International) Direct glm-5.1 $1.40/1M $4.40/1M $0.260/1M $0.00 (Free)/1M replacement 2026-11-24 04:27Z models.dev Open Catalog (MIT) ↗ Calculate

Historical Price Observations

Observed (UTC) Provider Endpoint ID Input (USD/1M) Output (USD/1M) Source
2026-11-24 04:27:19Z Z.AI (Zhipu International) glm-5.1 $1.40 $4.40 models.dev Open Catalog (MIT)