GLM-5
GLM-5 is a Z Ai model listed in the NextModel catalog for General chat via Z Ai, API workloads workloads. Its listed price is Starting at $0.58 / 1M tokens input and $2.58 / 1M tokens output, with a 198k token context window.
| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| ≤ 32k | $0.58 | $2.58 | $0.12 |
| 32k - 200k | $0.86 | $3.16 | $0.18 |
What is GLM-5 in NextModel?
GLM-5 is a Z Ai model listed in the NextModel catalog for General chat via Z Ai, API workloads workloads. Its listed price is Starting at $0.58 / 1M tokens input and $2.58 / 1M tokens output, with a 198k token context window.
GLM-5 via NextModel: 198k-token context; Starting at $0.58 / 1M tokens in / $2.58 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
Best use cases
- General chat via Z Ai
- API workloads
OpenAI-compatible code example
curl https://api.nextmodel.app/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $NEXTMODEL_API_KEY" \
-d '{"model":"z-ai/glm-5","messages":[{"role":"user","content":"Reply with OK."}]}'Switching models only changes the model field.
Similar alternatives
GLM-5.1 via NextModel: 202k-token context; Starting at $0.83 / 1M tokens in / $3.31 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
Gemini 3.5 Flash via NextModel: 1M-token context; $1.50 / 1M tokens in / $9 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
Kimi-K2.5 via NextModel: 256k-token context; $0.58 / 1M tokens in / $3.02 / 1M tokens out per 1M tokens. Capabilities: streaming, tool, json.
Reading
Articles that explain GLM-5
GLM-5 CN cache safety review: family data only, CN still unmeasured
Family CacheSafety numbers; the CN id itself is unmeasured.
Lin Qiming
Bad Hit Rate: the metric every LLM cache needs
Safe Hit and Bad Hit are not the same as raw cache hit rate.
Lin Qiming
Semantic Caching for LLM APIs: A Practical Guide
Production cache on NextModel is exact-key; this explains why a close prompt should miss.
Lin Qiming
How Indian teams can estimate AI API cost before they ship
Listed price only tells you the unit cost. This walkthrough turns that into a traffic estimate.
Lin Qiming
FAQ
GLM-5 API questions
Start in India
Ready to start building?
Passwordless signup, pay-as-you-go billing, and one OpenAI-compatible endpoint for every model. Create your key and send your first request in minutes.