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 $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.
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, ByteDance, Alibaba Cloud, Baidu, Tencent Cloud 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.