Zhipu AI (Z.ai)

GLM-5.1

Generally availableOpen weights200K contextReasoning

Summary

GLM-5.1 is an open-weight language model from Zhipu AI (Z.ai), released on 7 Apr 2026. It accepts text and generates text, with a 200K-token context window and up to 131K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $1 per million input tokens and $3.20 per million output tokens (Hugging Face Inference Providers), across 8 providers we track.

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

Last verified 4 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperZhipu AI (Z.ai)
Release date7 Apr 2026 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [Hugging Face]
Licensemit [Hugging Face]
Parameters754B [Hugging Face]
Context window200K (200,000 tokens) [models.dev]
Max output131K tokens [models.dev]
Knowledge cutoffApr 2025 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Structured outputYes [models.dev]
Hugging Facezai-org/GLM-5.1 [Hugging Face]

GLM-5.1 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
Hugging Face Inference Providers
zai-org/GLM-5.1
$1$3.20$0.20203Kmodels.dev, 4 Oct 2026
SiliconFlow
zai-org/GLM-5.1
$1.19$3.74$0.60205Kmodels.dev, 4 Oct 2026
Baseten
zai-org/GLM-5.1
$1.30$4.30$0.26203Kmodels.dev, 4 Oct 2026
Novita AI
zai-org/glm-5.1
$1.38$4.40$0.26205Kmodels.dev, 4 Oct 2026
Z.ai API
glm-5.1
$1.40$4.40$0.26200Kmodels.dev, 4 Oct 2026
FriendliAI
zai-org/GLM-5.1
$1.40$4.40$0.26203Kmodels.dev, 4 Oct 2026
Vercel AI Gateway
zai/glm-5.1
$1.40$4.40$0.26203Kmodels.dev, 4 Oct 2026
OpenRouter
z-ai/glm-5.1
$1.40$4.40$0.26203KOpenRouter, 4 Oct 2026

Frequently asked questions

What is the context window of GLM-5.1?

GLM-5.1 has a context window of 200,000 tokens (200K) and can generate up to 131,072 tokens in a single response, according to models.dev.

How much does the GLM-5.1 API cost?

Through Z.ai API, GLM-5.1 costs $1.40 per million input tokens and $4.40 per million output tokens. The lowest listed price is $1 input / $3.20 output through Hugging Face Inference Providers. Prices last verified 4 Oct 2026.

Is GLM-5.1 open source?

GLM-5.1 is an open-weight model: its weights are published on Hugging Face as zai-org/GLM-5.1 under the mit license. Check the license terms before commercial use.

When was GLM-5.1 released?

Zhipu AI (Z.ai) released GLM-5.1 on 7 Apr 2026, according to models.dev.

Which providers offer GLM-5.1?

We track GLM-5.1 on 8 providers: Hugging Face Inference Providers, SiliconFlow, Baseten, Novita AI, Z.ai API, FriendliAI, Vercel AI Gateway, OpenRouter.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources