Switch model

API PRICES

Z.ai · GLM-5.1

Provider prices, cheapest first

Browse all models

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

ProviderInputOutputCache readCache writeUnitObservedConditions and source
智谱6241.3—CNY / 1M tokens
Official source
智谱8282—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

ProviderInputOutputCache readCache writeUnitObservedConditions and sourcevs official
OpenRouter · Aggregator0.9663.0360.1794—USD / 1M tokens
Official source
Novita AI1.384.40.26—USD / 1M tokens
Official source
SiliconFlow8282—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.

Searching…

Browse all providers

Blended price = input × 75% + output × 25%, without cache.

Price range: lowest 0.78 · median 6.3 · highest 86.469 (28 quotes, CNY credits per million total tokens)

sites have comparable prices120312 sites list this model; approximately 37 operators
Lowest input price0.48CNY credits / 1M
Median of each provider’s lowest price3.6CNY credits / 1M

Relays

Prices below are in site credit, not cash.

#ProviderPlan / conditionsInput ↑CNY credits / 1MOutput CNY credits / 1MCache readCNY credits / 1MBlendedCNY credits / 1MDetails
Recent price
26ai.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
8281.485713Median price ÷ this price: 0.5×Full prices and sources
26onetoken.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
828213Median price ÷ this price: 0.5×Full prices and sources
28dapicloud.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.305176.9656.30586.469Median price ÷ this price: 0.1×Full prices and sources
Older price
01ai.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.21.2—1.2Median price ÷ this price: 5.3×Full prices and sources
02cdn.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.48.40.63.9Median price ÷ this price: 1.6×Full prices and sources
03aidianwo.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.520—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.090.430.0160.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.1350.6450.0240.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.271.290.0480.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.44.40.262.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.44.40.262.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.1422.441.32610.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
828213Median 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.93746.9452.77422.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 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
6002,4001801,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
6002,4001801,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
6002,4001801,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.

Full methodology →

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 →