GLM-5.1

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

glm-5.1
Context
204,800
tokens
Max output
131,072
tokens
Input from
$0.83
per 1M tokens · tiered
Output from
$3.30
per 1M tokens · tiered
Providers
5
automatic routing
Released
Apr 7, 2026
  • Streaming
  • Tools
  • Reasoning
  • Reasoning Budget
  • JSON Output
  • Structured JSON
  • Web Search
  • Batch API
5.0 · 1 ratingSign in to rate

Providers for GLM-5.1

Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.

5 providers · select a column to sort

ProviderActions
5 regions
202.8k131.1k$1.40$4.4$0.26
200k128k$1.40$4.4$0.26
202.8k131.1k$1.40$4.4$0.26
204.8k131.1k$1.38$4.4$0.26
200k128k$1.40$4.4$0.26

Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.

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 LLM Gateway'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 LLM Gateway starts at $0.83 per million input tokens and $3.30 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 204,800 tokens on its largest provider deployment.

Which providers serve GLM-5.1?

GLM-5.1 is served by Alibaba Cloud, Tencent Cloud, Baidu, NovitaAI, Z AI through LLM Gateway. 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?

Yes. GLM-5.1 supports both tool (function) calling and strict JSON output schema (upstream-enforced) through LLM Gateway.

When was GLM-5.1 released?

GLM-5.1 was released on April 7, 2026.