GLM 5 Code
Z.ai · Compare per-1M input/output rates, prompt cache discounts, and context windows.
Verified Provider Routes (GLM 5 Code)
Rank model × provider routes by effective $/1M cost after top-up fees.
Tokens Bought per $100 Out-of-Pocket
GLM 5 Code (75% / 25%)
Flat-Rate Coding Plans Including GLM 5 Code
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.36–$1.43 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.21–$0.36 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 Code · $100
| Provider | Type | List | Fees & Discounts ($100) | Eff. Input / Eff. Output | tokens | Confidence | Notes | Official docs |
|---|---|---|---|---|---|---|---|---|
| Plan | $1.20 / $5.00 | $10.00 (0.0%) | $0.63 / $2.63 | 88.37M tokens +101.1% | Verified | GOAT $10/mo ($100 pool) + $90 rollover · 5h & weekly rolling caps | Official docs | |
| Plan | $1.20 / $5.00 | $14.26 (0.0%) | $0.82 / $3.43 | 67.79M tokens +54.2% | Verified | $10 Go ($60 pool) + $90 Zen overflow · 20% / 5h · 50% / week | Official docs | |
| Gateway | $1.20 / $5.00 | $3.20 (3.2%) | $1.24 / $5.17 | 45.02M tokens +2.4% | Pass-Through | Cache Read $0.30/1M | Official docs | |
| Gateway | $1.20 / $5.00 | $4.70 (4.7%) | $1.26 / $5.25 | 44.33M tokens +0.8% | Pass-Through | Cache Read $0.30/1M | Official docs | |
| Plan | $1.20 / $5.00 | $5.00 (5.0%) | $1.26 / $5.26 | 44.19M tokens +0.5% | Pass-Through | $5/mo MOAT · 0% markup · Cache Read $0.30/1M | Official docs | |
| Gateway | $1.20 / $5.00 | $5.50 (5.5%) | $1.27 / $5.29 | 43.95M tokens | Pass-Through | Cache Read $0.30/1M | Official docs |
- Input cost (1 call)
- $0.000055
- Total w/ 400 out tokens
- $0.0021
- 10,000 calls (uncached)
- $20.55
- 10,000 calls (cached input)
- $20.14
Comparable Alternatives (GLM 5 Code)
Model CatalogFrequently Asked Questions
Where is the cheapest place to run GLM 5 Code API?
On a $100 card deposit at a 3:1 input/output ratio, Vercel offers the lowest effective cost for GLM 5 Code at $2.22 per 1M blended tokens across 4 tracked providers (list rate $1.20 input / $5.00 output).
How much does GLM 5 Code cost per 1M tokens?
GLM 5 Code lists at $1.20 per 1M input tokens and $5.00 per 1M output tokens ($2.15 blended at 3:1). Effective provider rates after payment fees range from $2.22 to $2.28 per 1M.
What is the context window and max output of GLM 5 Code?
GLM 5 Code supports a 200K context window and up to 128K output tokens per request.
Does GLM 5 Code support prompt caching or open-weight deployment?
Prompt cache reads are billed at $0.30/1M (75% off list input). Open weights (Open Weight) allow self-hosting or multi-provider inference.