Z.ai·Updated Nov 2026
GLM 5.2 logo

GLM 5.2

Z.ai · Compare per-1M input/output rates, prompt cache discounts, and context windows.

Open
Lowest Effective ($100)
$1.12
4 providers · OpenCode Zen
Input / 1M
$0.62
Output / 1M
$2.42
Cache Read
$0.14-77%
Context / Max Output
1.05M / 944K
5m Cache Write $0.62/1MInput Modalities: Text

Verified Provider Routes (GLM 5.2)

Rank model × provider routes by effective $/1M cost after top-up fees.

Providers Directory
$10 – $100,000
$
Value Ranking · Net Purchasing Power

Tokens Bought per $100 Out-of-Pocket

GLM 5.2 (75% / 25%)

Top pick yields +294.4% more tokens than highest-cost route
#1
Command Code Plans (GOAT / Pro / Max) logo
Command Code
PlanCapped· Best Value
GOAT $10/mo ($100 pool) + $90 rollover · 5h & weekly rolling caps
177.6M tokens
$0.56/1M blended
Visit
#2
OpenCode Go logo
OpenCode Go
PlanCapped
$10 Go ($60 pool) + $90 Zen overflow · 20% / 5h · 50% / week
136.2M tokens
$0.73/1M blended
Visit
#3
+$4.70 card fee · $95.30
89.07M tokens
$1.12/1M blended
Visit
+$5/mo MOAT · $95.00 · $5/mo MOAT · 0% markup
88.79M tokens
$1.13/1M blended
Visit
#5
OpenRouter logo
OpenRouter
Gateway
+$5.50 card fee · $94.50
88.32M tokens
$1.13/1M blended
Visit
#6
Vercel AI Gateway logo
Vercel
Gateway
+$3.20 card fee · $96.80
45.02M tokens
$2.22/1M blended
Visit

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.

3 coding plans
Go $10/mo · Plus $40/mo
$15–$60 equiv. monthly pool (Standard tier)
20% / 5h · 50% / week$0.18–$0.71/1M
GOAT $10/mo
Up to $100 open-model pool (~10x)
5h & weekly rolling caps$0.11–$0.18/1M
Lite $18 · Pro $80 · Max $168/mo
Flat-rate 1M-context GLM coding quota (~30% off annual)
Tiered concurrency + off-peak savingsPooled credits

Checkout Fee & Rate Breakdown

Comparing Providers For: GLM 5.2 · $100

6 routes
ProviderTypeListFees & Discounts ($100)Eff. Input / Eff. OutputtokensConfidenceNotesOfficial docs
Plan$0.62 / $2.42$10.00 (0.0%)$0.33 / $1.27
177.6M tokens
+294.4%
VerifiedGOAT $10/mo ($100 pool) + $90 rollover · 5h & weekly rolling capsOfficial 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% / weekOfficial docs
Gateway$0.62 / $2.42$4.70 (4.7%)$0.65 / $2.54
89.07M tokens
+97.8%
Pass-ThroughCache Read $0.14/1MOfficial 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/1MOfficial docs
Gateway$0.62 / $2.42$5.50 (5.5%)$0.66 / $2.56
88.32M tokens
+96.2%
VerifiedCache Read $0.14/1MOfficial docs
Gateway$1.40 / $4.40$3.20 (3.2%)$1.45 / $4.55
45.02M tokens
VerifiedCache Read $0.14/1MOfficial docs
Runs locally · 1.05M context
Open BPE token visualizer
Estimated Tokens
46
Characters
243
Context Window (1.05M)<0.01%
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.

ProviderRaw Model IDBilling TierInput / 1MOutput / 1MContext / Time Brackets
z-ai/glm-5.2:batchbatch$0.32$0.99
Flat per-1M rate
zai/glm-5.2-fastpriority$2.80$8.80
Flat per-1M rate

Comparable Alternatives (GLM 5.2)

Model Catalog
ModelVendorInput / 1MOutput / 1MCache ReadContext
Z.ai logoZ.ai$0.62$2.42$0.141.05M
DeepSeek logoDeepSeek$0.62$1.85$0.62128KCompare →
MiniMax logoMiniMax$0.60$1.80$0.60205KCompare →
Moonshot logoMoonshot$0.60$3.00$0.60262KCompare →
Moonshot logoMoonshot$0.60$3.00$0.12262KCompare →

Frequently 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.

Related Head-to-Head Matchups

Comparisons