API PRICES
Z.ai · GLM-5.1
Provider prices, cheapest first
Price comparison
- Official (cash)
- Input 6 / output 24 CNY/million tokens智谱 ·
- Lowest inference provider (cash)
- Input 0.966 / output 3.036 USD/million tokensOpenRouter · Aggregator ·
- Lowest relay (credit)
- 0.78 CNY credit/million total tokensapi.liangrekui.com "F glm-反代" ·
Official and inference-provider prices are cash; relay prices are site credit (USD credit or CNY credit), a different unit, compared separately. Relay prices are per million total tokens at 75% input and 25% output.
Z.ai · GLM-5.1 official price: input 6, output 24 CNY per million tokens (智谱, observed 2026-10-17). Cheapest inference provider: OpenRouter, input 0.966, output 3.036 USD per million tokens. Cheapest relay: api.liangrekui.com, group "F glm-reverse proxy [machine translation] (on site: F glm-反代)" 0.78 CNY_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 120 sites have comparable prices; 312 sites list this model.Relay blended price uses 75% input and 25% output.
Price ranges per million tokens
Official cash prices · Lowest 10.5 · median 11.75 · highest 13 · 2 quotes CNY / per million tokens
Inference provider cash prices · Lowest 1.4835 · median 1.8093 · highest 2.135 · 2 quotes USD / per million tokens
Inference provider cash prices · Lowest 13 · median 13 · highest 13 · 1 quotes CNY / per million tokens
Relay USD credit prices · Lowest 0.4375 · median 4.7 · highest 23.4 · 52 quotes USD / per million tokens, site credit
Relay CNY credit prices · Lowest 0.78 · median 6.3 · highest 86.469 · 28 quotes CNY / per million tokens, site credit
Official price
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| 智谱 | 6 | 24 | 1.3 | — | CNY / 1M tokens | Official source | |
| 智谱 | 8 | 28 | 2 | — | CNY / 1M tokens | Official source |
Official prices are the vendor's cash prices. Inference providers also list cash prices and can be compared directly. Relays list prices in site credit; what you actually pay depends on each site's top-up rate, so they cannot be compared with official prices directly.
Inference providers
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source | vs official |
|---|---|---|---|---|---|---|---|---|
| OpenRouter · Aggregator | 0.966 | 3.036 | 0.1794 | — | USD / 1M tokens | Official source | ||
| Novita AI | 1.38 | 4.4 | 0.26 | — | USD / 1M tokens | Official source | ||
| SiliconFlow | 8 | 28 | 2 | — | CNY / 1M tokens | Official source |
Unit: CNY credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.
Price range: lowest 0.78 · median 6.3 · highest 86.469 (28 quotes, CNY credits per million total tokens)
Relays
Prices below are in site credit, not cash.
| # | Provider | Plan / conditions | Input ↑CNY credits / 1M | Output CNY credits / 1M | Cache readCNY credits / 1M | BlendedCNY credits / 1M | Details |
|---|---|---|---|---|---|---|---|
| Recent price | |||||||
| 26 | ai.soruxgpt.comAsk or discussCollected: Collected this cycle View 1 plans | default Name on site: glm-5.1 General channel [machine translation]Original: 通用渠道 Operator pending verification | 8 | 28 | 1.4857 | 13Median price ÷ this price: 0.5× | Full prices and sources |
| 26 | onetoken.oneAsk or discussCollected: Collected this cycle View 2 plans | default Name on site: glm-5.1 Supports all models [machine translation]Original: 支持所有模型 Operator pending verification | 8 | 28 | 2 | 13Median price ÷ this price: 0.5× | Full prices and sources |
| 28 | dapicloud.comAsk or discussCollected: Collected this cycle View 1 plans | Chinese models [machine translation]Group on site: 国产模型 Name on site: glm-5.1 Alibaba Cloud official supply resources [machine translation]Original: 阿里云官方供应资源 Operator pending verification | 56.305 | 176.96 | 56.305 | 86.469Median price ÷ this price: 0.1× | Full prices and sources |
| Older price | |||||||
| 01 | ai.lehe.comAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 1 plans | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Operator pending verification | 1.2 | 1.2 | — | 1.2Median price ÷ this price: 5.3× | Full prices and sources |
| 02 | cdn.coderelay.cnAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 1 plans | GLM Name on site: glm-5.1 Operator pending verification | 2.4 | 8.4 | 0.6 | 3.9Median price ÷ this price: 1.6× | Full prices and sources |
| 03 | aidianwo.comAsk or discussCollected: Carried previous price Not updated this time; showing the previous price View 1 plans | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Operator pending verification | 3.5 | 20 | — | 7.625Median price ÷ this price: 0.8× | Full prices and sources |
| Flagged · not ranked · Recent price | |||||||
| — | api.slomerex.xyzAsk or discussCollected: Collected this cycle View 3 plans | GLM Name on site: glm-5.1 Note: far from other providers’ prices, number precision issue. This price is not ranked or counted. Operator pending verification | 0.09 | 0.43 | 0.016 | 0.175Median price ÷ this price: 36× | Full prices and sources |
| — | api.slomerex.xyzAsk or discussCollected: Collected this cycle View 3 plans | Chinese models_special price [machine translation]Group on site: 国模_特惠 Name on site: glm-5.1 Note: far from other providers’ prices, number precision issue. This price is not ranked or counted. Operator pending verification | 0.135 | 0.645 | 0.024 | 0.2625Median price ÷ this price: 24× | Full prices and sources |
| — | api.slomerex.xyzAsk or discussCollected: Collected this cycle View 3 plans | Chinese models [machine translation]Group on site: 国模 Name on site: glm-5.1 Note: number precision issue. This price is not ranked or counted. Operator pending verification | 0.27 | 1.29 | 0.048 | 0.525Median price ÷ this price: 12× | Full prices and sources |
| — | aiaizz.comAsk or discussCollected: Collected this cycle View 2 plans | GLM per-request [machine translation]Group on site: GLM按次 Name on site: glm-5.1 Note: number precision issue. This price is not ranked or counted. Operator pending verification | 1.4 | 4.4 | 0.26 | 2.15Median price ÷ this price: 2.9× | Full prices and sources |
| — | aiaizz.comAsk or discussCollected: Collected this cycle View 2 plans | default Name on site: glm-5.1 Note: number precision issue. This price is not ranked or counted. Operator pending verification | 1.4 | 4.4 | 0.26 | 2.15Median price ÷ this price: 2.9× | Full prices and sources |
| — | dmc.ccAsk or discussCollected: Collected this cycle View 1 plans | Open Source Models Unified group for open-source model routes during the early platform rollout. Note: number precision issue. This price is not ranked or counted. Operator pending verification | 7.14 | 22.44 | 1.326 | 10.965Median price ÷ this price: 0.6× | Full prices and sources |
| — | agent.tokensea.aiAsk or discussCollected: Collected this cycle View 1 plans | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Note: number precision issue. This price is not ranked or counted. Operator pending verification | 8 | 28 | 2 | 13Median price ÷ this price: 0.5× | Full prices and sources |
| — | api.tacklekey.comAsk or discussCollected: Collected this cycle View 1 plans | default Name on site: z-ai/glm-5.1 Default group Note: number precision issue. This price is not ranked or counted. Operator pending verification | 14.937 | 46.945 | 2.774 | 22.939Median price ÷ this price: 0.3× | Full prices and sources |
| — | api.gemai.ccAsk or discussCollected: Collected this cycle View 1 plans 2 more sites of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 600 | 2,400 | 180 | 1,050Median price ÷ this price: 0× | Full prices and sources |
| — | api.gemapi.aiAsk or discussCollected: Collected this cycle View 1 plans 2 more sites of the same company
Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 600 | 2,400 | 180 | 1,050Median price ÷ this price: 0× | Full prices and sources |
| — | api2.gemai.ccAsk or discussCollected: Collected this cycle View 1 plans 2 more sites of the same company
Basis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Name on site: glm-5.1 Default group [machine translation]Original: 默认分组 Note: far from other providers’ prices. This price is not ranked or counted. Operator pending verification | 600 | 2,400 | 180 | 1,050Median price ÷ this price: 0× | Full prices and sources |
How this ranking works
All per-token prices: 97,455 prices from 871 sites (about 765 companies). 89,631 are ranked, from 861 sites (about 755 companies); 7,824 more are listed separately and not ranked. Prices collected up to 2026-10-17.
This model has 621 recorded prices; 194 can be compared directly (193 ranked, 1 listed separately). Not comparable yet: price not parsed yet 205, tiered by rules (see Tiered prices) 142, billed per request or another unit 29, ratio looks unset 21, display unit not confirmed 20, scope of the official doc price not confirmed 8
64 recent · 3 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. Minimum and median only count recent paid prices; older prices stay in the table. 0 zero-valued pairs are separately unverified, without proof of free eligibility. Timing does not verify payment, upstream identity or quality.
Prices are converted to site credits using each site’s published ratio. What you actually pay depends on its top-up rate. Input, output and cache prices in each row come from the same plan. Several sites run by the same company take one place in the ranking: its cheapest plan, with the other sites listed under it. We judge “same company” by identical prices, status pages or homepage code; this is not a legal finding. To see every site’s prices, choose “All plans” or filter by provider.
“Self-declared unofficial channel” means the plan name itself says “reverse-engineered” or similar. We have not verified their source or quality. Minimum and median only count regular plans.
Sources not accepted this cycle and reasons
FAQ
Which API is cheapest for Z.ai · GLM-5.1?
api.liangrekui.com, group "F glm-反代 (F glm-reverse proxy)", 0.78 CNY credit per million total tokens, observed 2026-10-16. 120 sites have comparable prices.
What is the official price for Z.ai · GLM-5.1?
Input 6, output 24 CNY per million tokens, checked 2026-10-17. Lowest inference provider: OpenRouter, input 0.966, output 3.036 USD per million tokens.
How do I use Z.ai · GLM-5.1 in Claude Code or Codex?
Install Grandet Skill, then say "Connect the cheapest Z.ai · GLM-5.1 API to Claude Code for me". Install Skill →