GLM-5.1

Zhipu GLM-5.1 flagship model engineered for long-horizon autonomous tasks with enhanced coding and agentic capabilities.

200,000 context
Released April 7, 2026
Starting at $1.40/M input tokens
Starting at $4.40/M output tokens
Streaming
Tools
Reasoning
JSON Output
Web Search
No ratings yetSign in to rate

Select Provider

All Providers for GLM-5.1

DigitSpace routes requests to the best providers that are able to handle your prompt size and parameters.

Context: 200k
Input
$1.4
/M tokens
Cache Read
$0.26
/M tokens
Output
$4.4
/M tokens
+ $0.010 per search
Get Started

Frequently asked questions

What is GLM-5.1?

Zhipu GLM-5.1 flagship model engineered for long-horizon autonomous tasks with enhanced coding and agentic capabilities. You can access it through DigitSpace's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.

How much does GLM-5.1 cost?

Pricing for GLM-5.1 on DigitSpace starts at $1.40 per million input tokens and $4.40 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.

What is the context length of GLM-5.1?

GLM-5.1 supports a context window of up to 200,000 tokens on its largest provider deployment.

Which providers serve GLM-5.1?

GLM-5.1 is served by Z AI through DigitSpace. Requests are automatically routed to the best available provider, with fallback when a provider has issues.

Does GLM-5.1 support tool calling and structured outputs?

GLM-5.1 supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).

When was GLM-5.1 released?

GLM-5.1 was released on April 7, 2026.