Z.AI: GLM-5
stableGLM-5 is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
glm-5glmreleased Feb 12, 2026
Context
204.8K
tokens
Max output
131.1K
tokens
Input
$1.00
per 1M
Output
$3.20
per 1M
Activity
Daily period usage
Aggregated managed Everstack traffic. Buckets below 5 tenants or 100 requests are withheld.
Providers
ProviderContextInput /MOutput /M
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $1.00 | per 1M tokens |
| Output | $3.20 | per 1M tokens |
| Cache read | $0.20 | per 1M tokens |
| Cache write | - | per 1M tokens |
Performance
Reliability
Compare
Compare usage and performance
Place this model beside up to three other catalog models.
Capabilities
Capabilities
Modalities
Input
Output
Details
- Model ID
- glm-5
- Family
- glm
- Status
- stable
- Knowledge
- -
- Released
- Feb 12, 2026
Gateway Config
- API
- 2024-01-01
- Auth
- ZHIPU_API_KEY
- Discovery
- static
- Provider type
- static
Quick Start
index.ts
Endpoint
Base URL
https://api.z.ai/api/paas/v4Chat completions
https://api.z.ai/api/paas/v4/chat/completionsModel
glm-5Auth env
ZHIPU_API_KEYGLM-5 FAQ
How much does the GLM-5 API cost?
Through Z.AI, GLM-5 costs $1.00 per 1M input tokens and $3.20 per 1M output tokens.
What is the context window of GLM-5?
GLM-5 accepts up to 204.8K tokens of context and returns up to 131.1K output tokens on Z.AI.
Which providers offer GLM-5?
GLM-5 is available from Fireworks AI and Z.AI. Everstack can route between them with automatic fallback when one is unavailable.
What can GLM-5 do?
GLM-5 supports chat, function calling and reasoning. It accepts text input.
How do I call GLM-5 through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @zai/glm-5. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
