Back to all models

Pricing and availability as of

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
No ratings yetSign 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
200k128k$1.40$4.4$0.26
204.8k131.1k$1.38$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.

GLM-5.1 API pricing

GLM-5.1 API pricing starts at $0.825 per 1M input tokens and $3.30 per 1M output tokens through LLM Gateway, on Alibaba Cloud (ap-tokyo). Cached input starts at $0.165 per 1M tokens. Some providers charge more above a prompt-size threshold; prices here are base-tier rates, and the Providers tab shows the tiers.

ProviderInput / 1M tokensOutput / 1M tokensCached input / 1M tokensContext window
Alibaba Cloud (ap-tokyo)$0.825$3.30$0.165202,752 tokens
Alibaba Cloud (cn-beijing)$0.825$3.30$0.165202,752 tokens
Alibaba Cloud (us-virginia)$0.825$3.30$0.165202,752 tokens
Alibaba Cloud (eu-frankfurt)$0.825$3.30$0.165202,752 tokens
NovitaAI$1.38$4.40$0.26204,800 tokens
Alibaba Cloud (singapore)$1.40$4.40$0.26202,752 tokens
Tencent Cloud$1.40$4.40$0.26200,000 tokens
Baidu$1.40$4.40$0.26202,752 tokens
Z AI$1.40$4.40$0.26200,000 tokens
Alibaba Cloud$1.40$4.40$0.26202,752 tokens

What GLM-5.1 costs at volume

Monthly usageCost on Alibaba Cloud (ap-tokyo)
1M input + 250K output tokens$1.65
10M input + 2.5M output tokens$16.50
100M input + 25M output tokens$165.03

GLM-5.1 cost calculator

Estimated monthly cost
$24.76
Cost per request
$0.0025

The estimate uses base-tier prices. Prompts above a provider's size threshold cost more.

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, Z AI, NovitaAI 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.