Z.AI: GLM-5.2
stableGLM-5.2 is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
Activity
Providers
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $1.40 | per 1M tokens |
| Output | $4.40 | per 1M tokens |
| Cache read | $0.26 | per 1M tokens |
| Cache write | - | per 1M tokens |
Performance
Reliability
Compare
Capabilities
- Model ID
- glm-5.2
- Family
- glm
- Status
- stable
- Knowledge
- -
- Released
- Jun 13, 2026
- API
- 2024-01-01
- Auth
- ZHIPU_API_KEY
- Discovery
- static
- Provider type
- static
Quick Start
Endpoint
https://api.z.ai/api/paas/v4https://api.z.ai/api/paas/v4/chat/completionsglm-5.2ZHIPU_API_KEYGLM-5.2 FAQ
How much does the GLM-5.2 API cost?
Through Z.AI, GLM-5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. The lowest input price in the catalog is $1.19 per 1M tokens on OpenRouter.
What is the context window of GLM-5.2?
GLM-5.2 accepts up to 1M tokens of context and returns up to 131.1K output tokens on Z.AI.
Which providers offer GLM-5.2?
GLM-5.2 is available from NVIDIA NIM, OpenRouter, Fireworks AI, Hugging Face, Together AI and Z.AI. Everstack can route between them with automatic fallback when one is unavailable.
What can GLM-5.2 do?
GLM-5.2 supports chat, function calling and reasoning. It accepts text input.
How do I call GLM-5.2 through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @zai/glm-5.2. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
