GLM 5.2 API Pricing
Z.ai (GLM) · context window 1M · prices updated 2026-08-02
What real workloads cost on GLM 5.2
| Workload | Per request | Per month |
|---|---|---|
| 1K short requests/day (500 in / 150 out) | $0.0004 | $12.20 |
| Support chatbot, 500 convs/day (~5K in / 1.4K out per conv) | $0.0039 | $59.02 |
| Document pipeline, 10K docs/day (3K in / 500 out) | $0.0019 | $574 |
Model your exact traffic in the API cost calculator — it preloads GLM 5.2 with caching and batch options.
Cheaper alternatives
More Z.ai (GLM) models
Frequently asked questions
› How much does the GLM 5.2 API cost?
GLM 5.2 costs $0.4186 per million input tokens and $1.32 per million output tokens, with cached input at $0.0777 per million (81% cheaper). In practice, a typical short request (500 tokens in, 150 out) costs about $0.0004.
› What does 1,000 requests per day cost on GLM 5.2?
At 500 input + 150 output tokens per request, 1,000 requests/day costs about $12.20 per month. Heavier workloads scale linearly — use our API cost calculator to model your exact traffic.
› How can I reduce GLM 5.2 costs?
Three levers, in order of impact: (1) route routine requests to a cheaper tier and keep GLM 5.2 for hard cases; (2) enable prompt caching — cached input is 81% cheaper, which typically halves chatbot bills; (3) use the batch API for non-urgent jobs at a ~50% discount.
› Is GLM 5.2 worth the price?
It depends on task difficulty. Flagship models earn their premium on complex reasoning, coding, and high-stakes output; mini/flash tiers handle classification, extraction and routine chat at 10–30× lower cost. Benchmark a sample of your real workload on both before committing.