Zhipu GLM-5.2 flagship model for long-horizon coding and agentic engineering tasks with a 1M context window.
LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.
Zhipu GLM-5.2 flagship model for long-horizon coding and agentic engineering tasks with a 1M context window. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.
Pricing for GLM-5.2 on LLM Gateway starts at $0.55 per million input tokens and $1.78 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
GLM-5.2 supports a context window of up to 1,048,576 tokens on its largest provider deployment.
GLM-5.2 is served by Z AI, NovitaAI, CanopyWave, EmberCloud, ByteDance, Alibaba Cloud, Runware, SCX.ai, Baidu through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
GLM-5.2 supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).
GLM-5.2 was released on June 13, 2026.
GLM-5.3 Flash
1,048,576 context$0.13 in / $0.40 out per 1M
GLM-5.2 Turbo
1,000,000 context$1.99 in / $6.16 out per 1M
GLM-5.3
1,048,576 context$1.30 in / $4.00 out per 1M
GLM-5.1
204,800 context$0.93 in / $2.93 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