Zhipu GLM-5.1 flagship model engineered for long-horizon autonomous tasks with enhanced coding and agentic capabilities.
LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.
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.
Pricing for GLM-5.1 on LLM Gateway starts at $0.93 per million input tokens and $2.93 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
GLM-5.1 supports a context window of up to 204,800 tokens on its largest provider deployment.
GLM-5.1 is served by Z AI, NovitaAI, DeepInfra, EmberCloud, Nebius AI through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
Yes. GLM-5.1 supports both tool (function) calling and structured JSON outputs through LLM Gateway.
GLM-5.1 was released on April 7, 2026.
GLM-5.2
1,048,576 context$0.80 in / $2.55 out per 1M
GLM-5
203,000 context$0.57 in / $2.30 out per 1M
GLM-4.7
204,800 context$0.38 in / $1.98 out per 1M
GLM-4.7 FlashX
200,000 context$0.07 in / $0.40 out per 1M
GLM-4.7 Flash
200,000 context$0.06 in / $0.40 out per 1M
GLM-4.6V
131,072 context$0.30 in / $0.90 out per 1M