Skip to model information

GLM-5.1

Weights available

Open-weight Z.ai model with a 198K-token context window. Released April 7, 2026. Weights on Hugging Face.

Access details: Z.ai open weights (Hugging Face)

The Hugging Face repository. Download the weights and run them yourself or with a host.

zai-org/GLM-5.1

Also on the Z.ai API as glm-5.1

Updated Oct 1, 2026

Capabilities & limits

Context window
198K
Maximum output
Not published
Image input
Unsupported
Tool calling
—
Structured output
Not published

Hosted price

USD / 1M tokens
Input
$1.40
Output
$4.40

What Z.ai charges for glm-5.1, its API version of this model.

Free to download. Running the weights costs whatever your hardware or host charges.

Price history
Oct 1, 2026

Input Not applicable per million tokens

Oct 1, 2026

Output Not applicable per million tokens

Technical details

Parameters
744B
Active parameters
40B
Architecture
Transformers class GlmMoeDsaForCausalLM
Training / knowledge cutoff
Not published
Input modalities
Text
Output modalities
Text

License

MIT (Hugging Face model card license: mit)

How they describe it

our next-generation flagship model for agentic engineering

Release & lifecycle

Published
Apr 7, 2026
available
As of Oct 1, 2026

Considering a switch?

Specs only go so far. Try both on your own tasks and compare quality, speed and cost.

Compare with Mistral Large 4 →

Prices and availability as of October 20, 2026. Z.ai's own pages have the latest.