
GLM 5.1 API Pricing / Price per 1M tokens
Zhipu AI / Z.ai • API Price Comparison
Also known as: z-ai-glm-5.1 · z ai glm 5.1 · zaiglm5.1 · z-ai-glm5.1 · z ai glm5.1 · glm-5.1 · glm5.1
API pricing and token costs at a glance
Updated on · Published currencies / per 1M tokens; cheapest ranked by input
| Channel | Input / 1M | Output / 1M | Cache read / 1M | Updated / verified on |
|---|---|---|---|---|
| Official | No official quote recorded | |||
| Fireworks AILowest input | USD 1.4 | USD 4.4 | USD 0.26 | 2026-08-25 |
| OpenRouter | USD 1.4 | USD 4.4 | USD 0.26 | 2026-10-31 |
Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 2.5. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.
— means the price or date is not recorded. Cross-currency ranking uses exchange rates.
GLM 5.1 is a large language model by Zhipu AI / Z.ai with a 128K-token context window. Across the 2 API channels tracked here, input pricing ranges from $1.40 per 1M input tokens; the cheapest is Fireworks AI at $1.40 per 1M input tokens. None of the tracked channels are directly reachable from mainland China without a proxy or VPN. It is also available through subscription plans such as GLM Coding Lite, GLM Coding Pro, GLM Coding Max. Its Agent Arena net-improvement score is approximately -2.2%. Prices are collected daily from official provider pages and every tracked channel, then cross-checked by a data-accuracy audit.
Model performance benchmarks
Scores retain their original benchmark, version and metric. We do not combine them into a site-wide score; results from different versions are not directly comparable.
💳 Subscription Plans
Plans from Zhipu AI / Z.ai come first, followed by linked third-party plans; each group is organized by product line.
Official plans
These are the model producer’s plans. A plan may not include this exact model; check the official site for current model availability and allowances.
⌨️ Coding plans
3 plansEditor and CLI coding agents, metered in prompts rather than tokens.
- Recorded plan allowance: 10000 credits per week
- Plan price: ¥118.00/month
- Billed annually ¥991.20
- Payment methods: Alipay / WeChat Pay
Conditions and details
- Accessible from mainland China
- Currency CNY, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Available in China
- EstimateRecorded estimated plan allowance: 60000 credits per week
- Context tokens: 202752
- Plan price: ¥538.00/month
- Billed annually ¥4,519.20 (¥104.25/month)
Conditions and details
- Payment methods: Alipay / WeChat Pay
- Accessible from mainland China
- Currency CNY, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Available in China
- EstimateRecorded estimated plan allowance: 140000 credits per week
- Plan price: ¥1,078.00/month
- Billed annually ¥9,055.20
- Payment methods: Alipay / WeChat Pay
Conditions and details
- Accessible from mainland China
- Currency CNY, unit per month
- EstimateFeatures, message caps, context and rate limits come from the same plan row; lines marked Estimate are not guaranteed allowances
- Does the subscription allowance cover third-party models?: Unknown
- Available in China
Which plan is right for you?
Pro: Ideal for individual professionals with regular usage needs
Max: For power users who need extended thinking and highest usage limits
| Channel | Type | Input / 1M | Output / 1M | Rate Limit | China | vs Official | |
|---|---|---|---|---|---|---|---|
Fireworks AI💰 Best Price | Aggregator | $1.40 | $4.40 | - | - | - | |
OpenRouter15 variants | Aggregator | $1.40 | $4.40 | - | - | - | |
Show all price variants for this channelOpenRouter Auto / default routeDefault $1.40 / $4.40 per 1M default_route Cheapest endpoint: Baidu $0.90 / $2.82 per 1M cheapest_endpoint Baidu | z-ai/glm-5.1-20260406 $0.90 / $2.82 per 1M upstream_provider Chutes | z-ai/glm-5.1-20260406 $0.90 / $2.90 per 1M upstream_provider StreamLake | z-ai/glm-5.1-20260406 $0.97 / $3.04 per 1M upstream_provider SiliconFlow | z-ai/glm-5.1-20260406 $1.19 / $3.74 per 1M upstream_provider Phala | z-ai/glm-5.1-20260406 $1.21 / $4.20 per 1M upstream_provider AtlasCloud | z-ai/glm-5.1-20260406 $1.26 / $3.96 per 1M upstream_provider Alibaba | z-ai/glm-5.1-20260406 $1.33 / $4.18 per 1M upstream_provider Novita | z-ai/glm-5.1-20260406 $1.38 / $4.40 per 1M upstream_provider Z.AI | z-ai/glm-5.1-20260406 $1.40 / $4.40 per 1M upstream_provider Friendli | z-ai/glm-5.1-20260406 $1.40 / $4.40 per 1M upstream_provider GMICloud | z-ai/glm-5.1-20260406 $1.40 / $4.40 per 1M upstream_provider Nebius | z-ai/glm-5.1-20260406 $1.40 / $4.40 per 1M upstream_provider Venice | z-ai/glm-5.1-20260406 $1.40 / $4.40 per 1M upstream_provider | |||||||
| Usage Level | Tokens/Month | Fireworks AI | OpenRouter |
|---|---|---|---|
| 🐣 Light | 0.1M in + 0.1M out | $0.36 | $0.36 |
| 📊 Medium | 1.0M in + 0.5M out | $3.60 | $3.60 |
| 🚀 Heavy | 10.0M in + 5.0M out | $36.00 | $36.00 |
| 🏢 Enterprise | 100.0M in + 50.0M out | $360.00 | $360.00 |
Frequently asked questions about glm-5.1
How much does the GLM 5.1 API cost?
The lowest input rate is USD 1.4 per 1M tokens; output on that channel is USD 4.4 per 1M tokens.
Which channel has the cheapest GLM 5.1 API?
Fireworks AI has the lowest input rate: USD 1.4 per 1M tokens. Cross-currency ranking uses exchange rates; compare output and cache prices separately.
What is the GLM 5.1 cache-read price?
Fireworks AI: USD 0.26; OpenRouter: USD 0.26 per 1M cache-read tokens.
When was GLM 5.1 pricing last updated?
Updated on 2026-10-31. This is the latest recorded price update or verification; see the table for individual channel dates.
Is there a free GLM 5.1 API?
No available recorded channel lists both input and output at zero. Missing prices, free cache reads or a free chat tier do not establish a free API; check provider terms for trial credits.
How do I calculate GLM 5.1 token costs and monthly spend?
Metered API cost = input tokens / 1M × input rate + output tokens / 1M × output rate. At the lowest-input-rate channel, 1M input plus 250K output tokens costs approximately USD 2.5. This excludes caching, tools, retries and other service fees; the lowest input rate does not guarantee the lowest total bill.
Related pricing research