GLM 5.2
Z.ai · Compare per-1M input/output rates, prompt cache discounts, and context windows.
Verified Provider Routes (GLM 5.2)
Rank model × provider routes by effective $/1M cost after top-up fees.
Tokens Bought per $100 Out-of-Pocket
GLM 5.2 (75% / 25%)
Flat-Rate Coding Plans Including GLM 5.2
Subscription tiers apply rolling 5h/weekly caps unlike unlimited PAYG APIs; saturated estimates divide seat fee by published pool.
| Provider | Plan | Allowance & Rolling Caps | Est. Saturated Rate | Overflow Rule | Official docs |
|---|---|---|---|---|---|
OpenCode Go Go $10/mo · Plus $40/mo | $10/mo | $15–$60 equiv. monthly pool (Standard tier) 20% / 5h · 50% / week | $0.18–$0.71 if saturated /1M | OpenCode Zen PAYG (+4.4% + $0.30) | Official docs |
Command Code GOAT $10/mo | $10/mo | Up to $100 open-model pool (~10x) 5h & weekly rolling caps | $0.11–$0.18 if saturated /1M | Rollover top-up at raw cost / BYOK | Official docs |
GLM Coding Lite $18 · Pro $80 · Max $168/mo | $18/mo | Flat-rate 1M-context GLM coding quota (~30% off annual) Tiered concurrency + off-peak savings | Pooled credits | Fallback to Z.ai PAYG balance | Official docs |
Checkout Fee & Rate Breakdown
Comparing Providers For: GLM 5.2 · $100
| Provider | Type | List | Fees & Discounts ($100) | Eff. Input / Eff. Output | tokens | Confidence | Notes | Official docs |
|---|---|---|---|---|---|---|---|---|
| Plan | $0.62 / $2.42 | $10.00 (0.0%) | $0.33 / $1.27 | 177.6M tokens +294.4% | Verified | GOAT $10/mo ($100 pool) + $90 rollover · 5h & weekly rolling caps | Official docs | |
| Plan | $0.62 / $2.42 | $14.26 (0.0%) | $0.43 / $1.66 | 136.2M tokens +202.5% | Verified | $10 Go ($60 pool) + $90 Zen overflow · 20% / 5h · 50% / week | Official docs | |
| Gateway | $0.62 / $2.42 | $4.70 (4.7%) | $0.65 / $2.54 | 89.07M tokens +97.8% | Pass-Through | Cache Read $0.14/1M | Official docs | |
| Plan | $0.62 / $2.42 | $5.00 (5.0%) | $0.65 / $2.55 | 88.79M tokens +97.2% | Pass-Through | $5/mo MOAT · 0% markup · Cache Read $0.14/1M | Official docs | |
| Gateway | $0.62 / $2.42 | $5.50 (5.5%) | $0.66 / $2.56 | 88.32M tokens +96.2% | Verified | Cache Read $0.14/1M | Official docs | |
| Gateway | $1.40 / $4.40 | $3.20 (3.2%) | $1.45 / $4.55 | 45.02M tokens | Verified | Cache Read $0.14/1M | Official docs |
- Input cost (1 call)
- $0.000029
- Total w/ 400 out tokens
- $0.0010
- 10,000 calls (uncached)
- $9.97
- 10,000 calls (cached input)
- $9.74
Billing Tiers, Long-Context & Off-Peak Rate Bands
Verified upstream rate cards separated from the standard baseline — including async batch, flex, priority throughput, fine-tuned inference, prompt-depth tiers, and UTC off-peak schedules.
| Provider | Raw Model ID | Billing Tier | Input / 1M | Output / 1M | Context / Time Brackets |
|---|---|---|---|---|---|
| z-ai/glm-5.2:batch | batch | $0.32 | $0.99 | Flat per-1M rate | |
| zai/glm-5.2-fast | priority | $2.80 | $8.80 | Flat per-1M rate |
Comparable Alternatives (GLM 5.2)
Model CatalogFrequently Asked Questions
Where is the cheapest place to run GLM 5.2 API?
On a $100 card deposit at a 3:1 input/output ratio, OpenCode Zen offers the lowest effective cost for GLM 5.2 at $1.12 per 1M blended tokens across 4 tracked providers (list rate $0.62 input / $2.42 output).
How much does GLM 5.2 cost per 1M tokens?
GLM 5.2 lists at $0.62 per 1M input tokens and $2.42 per 1M output tokens ($1.07 blended at 3:1). Effective provider rates after payment fees range from $1.12 to $2.22 per 1M.
What is the context window and max output of GLM 5.2?
GLM 5.2 supports a 1.05M context window and up to 944K output tokens per request.
Does GLM 5.2 support prompt caching or open-weight deployment?
Prompt cache reads are billed at $0.14/1M (77% off list input). Open weights (Open Weight) allow self-hosting or multi-provider inference.