API PRICES
Z.ai · GLM-4.7
Provider prices, cheapest first
Price comparison
- Official (cash)
- Input 2 / output 8 CNY/million tokens智谱 ·
- Lowest inference provider (cash)
- Input 0.54 / output 1.98 USD/million tokensOpenRouter · Aggregator ·
- Lowest relay (credit)
- 0.4 USD credit/million total tokensapi.hubagi.ai "雪球专供" ·
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-4.7 official price: input 2, output 8 CNY per million tokens (智谱, observed 2026-10-17). Cheapest inference provider: OpenRouter, input 0.54, output 1.98 USD per million tokens. Cheapest relay: api.hubagi.ai, group "Exclusively for Xueqiu (Snowball) [machine translation] (on site: 雪球专供)" 0.4 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 53 sites have comparable prices; 103 sites list this model.Relay blended price uses 75% input and 25% output.
Price ranges per million tokens
Official cash prices · Lowest 3.5 · median 5.75 · highest 7 · 3 quotes CNY / per million tokens
Inference provider cash prices · Lowest 0.9 · median 0.95 · highest 1 · 2 quotes USD / per million tokens
Relay USD credit prices · Lowest 0.4 · median 0.4 · highest 0.6 · 3 quotes USD / per million tokens, site credit
Official price
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| 智谱 | 2 | 8 | 0.4 | — | CNY / 1M tokens | Official source | |
| 智谱 | 3 | 14 | 0.6 | — | CNY / 1M tokens | Official source | |
| 智谱 | 4 | 16 | 0.8 | — | 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.54 | 1.98 | 0.099 | — | USD / 1M tokens | Official source | ||
| Novita AI | 0.6 | 2.2 | 0.11 | — | USD / 1M tokens | Official source |
Unit: USD credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.
Price range: lowest 0.4 · median 0.4 · highest 0.6 (3 quotes, USD credits per million total tokens)
Relays
Prices below are in site credit, not cash.
| # | Provider | Plan / conditions | Input ↑USD credits / 1M | Output USD credits / 1M | Cache readUSD credits / 1M | BlendedUSD credits / 1M | Details |
|---|---|---|---|---|---|---|---|
| Recent price | |||||||
| 01 | api.hubagi.aiAsk or discussCollected: Collected this cycle View 3 plans | Tongyi Wanxiang [machine translation]Group on site: 通义万象 Name on site: glm-4.7 Tongyi Wanxiang [machine translation]Original: 通义万象 Operator pending verification | 0.24 | 0.88 | 0.044 | 0.4Median price ÷ this price: 1× | Full prices and sources |
| 01 | api.hubagi.aiAsk or discussCollected: Collected this cycle View 3 plans | Exclusively for Xueqiu (Snowball) [machine translation]Group on site: 雪球专供 Name on site: glm-4.7 Exclusively for Xueqiu (Snowball) [machine translation]Original: 雪球专供 Operator pending verification | 0.24 | 0.88 | 0.044 | 0.4Median price ÷ this price: 1× | Full prices and sources |
| 03 | api.hubagi.aiAsk or discussCollected: Collected this cycle View 3 plans | glm Name on site: glm-4.7 glm Operator pending verification | 0.36 | 1.32 | 0.066 | 0.6Median price ÷ this price: 0.7× | Full prices and sources |
Related variants · 4 rows · not ranked
These are special editions of the model (thinking, max, search, batch, long context, free, etc.). They are priced differently from the base model, so they are listed separately and not ranked. Names that only add an effort level such as low, high or nothinking are compared with the base model.
- glm-4.7-thinking (-thinking · thinking edition): 4 rows
- xinsuanai.com · default · glm-4.7-thinking · Input 2 / Output 8 USD credits / 1M
- xinsuanai.com · vip · glm-4.7-thinking · Input 6 / Output 24 USD credits / 1M
- xinsuanai.com · svip · glm-4.7-thinking · Input 8 / Output 32 USD credits / 1M
- xinsuanai.com · Official relay Claude [machine translation]Group on site: 官转克劳德 · glm-4.7-thinking · Input 20 / Output 80 USD credits / 1M
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 256 recorded prices; 118 can be compared directly (114 ranked, 4 listed separately). Not comparable yet: price not parsed yet 77, ratio looks unset 19, tiered by rules (see Tiered prices) 13, scope of the official doc price not confirmed 12, display unit not confirmed 8, billed per request or another unit 7
3 recent · 0 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-4.7?
api.hubagi.ai, group "雪球专供 (Exclusively for Xueqiu (Snowball))", 0.4 USD credit per million total tokens, observed 2026-10-16. 53 sites have comparable prices.
What is the official price for Z.ai · GLM-4.7?
Input 2, output 8 CNY per million tokens, checked 2026-10-17. Lowest inference provider: OpenRouter, input 0.54, output 1.98 USD per million tokens.
How do I use Z.ai · GLM-4.7 in Claude Code or Codex?
Install Grandet Skill, then say "Connect the cheapest Z.ai · GLM-4.7 API to Claude Code for me". Install Skill →