Z.ai·Updated Nov 2026
z-ai/glm-5 logo

z-ai/glm-5

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

Open
Lowest Effective ($100)
$1.60
4 providers · Vercel
Input / 1M
$1.00
Output / 1M
$3.20
Cache Read
$0.20-80%
Context / Max Output
205K / 131K
5m Cache Write $1.00/1MInput Modalities: Text

Verified Provider Routes (z-ai/glm-5)

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

z-ai/glm-5 (75% / 25%)

Top pick yields +101.1% 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
122.6M tokens
$0.82/1M blended
Visit
#2
OpenCode Go logo
OpenCode Go
PlanCapped
$10 Go ($60 pool) + $90 Zen overflow · 20% / 5h · 50% / week
94.03M tokens
$1.06/1M blended
Visit
#3
Vercel AI Gateway logo
Vercel
Gateway
+$3.20 card fee · $96.80
62.45M tokens
$1.60/1M blended
Visit
#4
+$4.70 card fee · $95.30
61.48M tokens
$1.63/1M blended
Visit
+$5/mo MOAT · $95.00 · $5/mo MOAT · 0% markup
61.29M tokens
$1.63/1M blended
Visit
#6
OpenRouter logo
OpenRouter
Gateway
+$5.50 card fee · $94.50
60.97M tokens
$1.64/1M blended
Visit

Flat-Rate Coding Plans Including z-ai/glm-5

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.26–$1.03/1M
GOAT $10/mo
Up to $100 open-model pool (~10x)
5h & weekly rolling caps$0.16–$0.26/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: z-ai/glm-5 · $100

6 routes
ProviderTypeListFees & Discounts ($100)Eff. Input / Eff. OutputtokensConfidenceNotesOfficial docs
Plan$1.00 / $3.20$10.00 (0.0%)$0.53 / $1.68
122.6M tokens
+101.1%
VerifiedGOAT $10/mo ($100 pool) + $90 rollover · 5h & weekly rolling capsOfficial docs
Plan$1.00 / $3.20$14.26 (0.0%)$0.69 / $2.20
94.03M tokens
+54.2%
Verified$10 Go ($60 pool) + $90 Zen overflow · 20% / 5h · 50% / weekOfficial docs
Gateway$1.00 / $3.20$3.20 (3.2%)$1.03 / $3.31
62.45M tokens
+2.4%
VerifiedCache Read $1.00/1MOfficial docs
Gateway$1.00 / $3.20$4.70 (4.7%)$1.05 / $3.36
61.48M tokens
+0.8%
Pass-ThroughCache Read $0.20/1MOfficial docs
Plan$1.00 / $3.20$5.00 (5.0%)$1.05 / $3.37
61.29M tokens
+0.5%
Pass-Through$5/mo MOAT · 0% markup · Cache Read $0.20/1MOfficial docs
Gateway$1.00 / $3.20$5.50 (5.5%)$1.06 / $3.39
60.97M tokens
VerifiedCache Read $0.20/1MOfficial docs
Runs locally · 205K context
Open BPE token visualizer
Estimated Tokens
46
Characters
243
Context Window (205K)0.02%
Input cost (1 call)
$0.000046
Total w/ 400 out tokens
$0.0013
10,000 calls (uncached)
$13.26
10,000 calls (cached input)
$12.89

Comparable Alternatives (z-ai/glm-5)

Model Catalog
ModelVendorInput / 1MOutput / 1MCache ReadContext
Z.ai logoZ.ai$1.00$3.20$0.20205K
OpenAI logoOpenAI$1.00$5.00$0.051.05MCompare →
Anthropic logoAnthropic$1.00$5.00$0.10200KCompare →
Google logoGoogle$1.00$5.00$0.10131KCompare →
Google logoGoogle$1.00$5.00$1.00131KCompare →

Frequently Asked Questions

Where is the cheapest place to run z-ai/glm-5 API?

On a $100 card deposit at a 3:1 input/output ratio, Vercel offers the lowest effective cost for z-ai/glm-5 at $1.60 per 1M blended tokens across 4 tracked providers (list rate $1.00 input / $3.20 output).

How much does z-ai/glm-5 cost per 1M tokens?

z-ai/glm-5 lists at $1.00 per 1M input tokens and $3.20 per 1M output tokens ($1.55 blended at 3:1). Effective provider rates after payment fees range from $1.60 to $1.64 per 1M.

What is the context window and max output of z-ai/glm-5?

z-ai/glm-5 supports a 205K context window and up to 131K output tokens per request.

Does z-ai/glm-5 support prompt caching or open-weight deployment?

Prompt cache reads are billed at $0.20/1M (80% off list input). Open weights (Open Weight) allow self-hosting or multi-provider inference.

Related Head-to-Head Matchups

Comparisons