API PRICES
Z.ai · GLM-5
Provider prices, cheapest first
Price comparison
- Official (cash)
- Input 1 / output 3.2 USD/million tokens智谱(国际站 Z.ai) ·
- Lowest inference provider (cash)
- Input 1.05 / output 3.36 USD/million tokensOpenRouter · Aggregator · Via OpenRouter with 5% fee, original price × 1.05 ·
- Lowest relay (credit)
- Input 0.516 / output 1.89 USD credit/million tokensapi.hubagi.ai "glm" ·
Official and inference-provider prices are cash; relay prices are site credit (USD credit or CNY credit), a different unit, compared separately. All prices are input / output per million tokens; relays are ranked by a mix of 75% input and 25% output.
All official and inference price observations
Z.ai · GLM-5 official price: input 1, output 3.2 USD per million tokens (智谱(国际站 Z.ai), observed 2026-11-28). Cheapest inference provider: OpenRouter, input 1.05, output 3.36 USD per million tokens. This is the price via OpenRouter with a 5% fee added, original price × 1.05. Original price: input 1, output 3.2. Cheapest relay: api.hubagi.ai, group "glm" 0.8595 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-11-27). 114 sites have comparable prices; 347 sites list this model.Relay blended price uses 75% input and 25% output. Conditions: OpenRouter lists only quantized deployments of this model (fp8); they are listed separately. This is OpenRouter's single price, and it is compared.
Price ranges per million tokens
Official cash prices · Lowest 1.55 · median 1.55 · highest 1.55 · 1 quotes USD / per million tokens
Official cash prices · Lowest 7.5 · median 7.5 · highest 7.5 · 1 quotes CNY / per million tokens · 1 of these are priced by context length; each counts once, at its lowest tier
Inference provider cash prices · Lowest 1.6275 · median 1.6275 · highest 1.6275 · 1 quotes USD / per million tokens
Relay USD credit prices · Lowest 0.8595 · median 1.146 · highest 1.4325 · 2 quotes USD / per million tokens, site credit
Each quote is blended into one price by this workload: ordinary input 75% · cache read 0% · output 25% · cache write 0%. Only prices in effect now are counted.
Official price
| Provider | Tariff | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|---|
| 智谱(国际站 Z.ai) | Standard | 1 | 3.2 | 0.2 | — | USD / 1M tokens | Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": null,
"processingMode": null,
"conditionNotes": [],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| 智谱 | Standard | 4 | 18 | 1 | — | CNY / 1M tokens | Context tier: ZHIPU_TIER:输入长度[0,32K) · section: 模型推理 / 文本模型Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": "ZHIPU_TIER:输入长度[0,32K)",
"processingMode": null,
"conditionNotes": [
"section: 模型推理 / 文本模型"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| 智谱 | Standard | 6 | 22 | 1.5 | — | CNY / 1M tokens | Context tier: ZHIPU_TIER:输入长度≥32K · section: 模型推理 / 文本模型Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": "ZHIPU_TIER:输入长度≥32K",
"processingMode": null,
"conditionNotes": [
"section: 模型推理 / 文本模型"
],
"effectiveFrom": null,
"effectiveUntil": null
}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
For prices via OpenRouter, comparisons and order use the price with a 5% fee added, original price × 1.05. The original price is listed too.
| Provider | Tariff | Input | Output | Cache read | Cache write | Via OpenRouter with 5% fee | Unit | Observed | Conditions and source | vs official |
|---|---|---|---|---|---|---|---|---|---|---|
| OpenRouter · Aggregator · Single price | Standard | 1 | 3.2 | 0.2 | — | Input 1.05 Output 3.36 Cache read 0.21 Original price × 1.05 | USD / 1M tokens | OpenRouter lists only quantized deployments of this model (fp8); they are listed separately. This is OpenRouter's single price, and it is compared.Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.0000002",
"input": "0.000001",
"output": "0.0000032"
},
"conditions": [
"OpenRouter lists only quantized deployments of this model (fp8); they are listed apart from full-precision prices, so this single price is compared (R97)"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [],
"effectiveFrom": null,
"effectiveUntil": null
}Official source |
Inference providers (quantized deployments)
These providers serve lower-precision builds such as fp8 and fp4. Prices are lower and output may differ from the original model.
For prices via OpenRouter, comparisons and order use the price with a 5% fee added, original price × 1.05. The original price is listed too.
| Provider | Tariff | Input | Output | Cache read | Cache write | Via OpenRouter with 5% fee | Unit | Observed | Conditions and source | vs official |
|---|---|---|---|---|---|---|---|---|---|---|
| StreamLake · fp8 quantized | Standard | 0.6 | 1.92 | 0.12 | — | Input 0.63 Output 2.016 Cache read 0.126 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint streamlake/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.00000012",
"input": "0.0000006",
"output": "0.00000192"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint streamlake/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | ||
| Baidu · fp8 quantized | Standard | 0.7 | 2.24 | 0.14 | — | Input 0.735 Output 2.352 Cache read 0.147 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint baidu/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.00000014",
"input": "0.0000007",
"output": "0.00000224"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint baidu/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | ||
| SiliconFlow · fp8 quantized | Standard | 0.95 | 2.55 | 0.2 | — | Input 0.9975 Output 2.6775 Cache read 0.21 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint siliconflow/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.0000002",
"input": "0.00000095",
"output": "0.00000255"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint siliconflow/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source |
Other tariffs and prices to review
Official price
For prices via OpenRouter, comparisons and order use the price with a 5% fee added, original price × 1.05. The original price is listed too.
| Provider | Tariff | Input | Output | Cache read | Cache write | Via OpenRouter with 5% fee | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|---|---|
| Amazon Bedrock | Standard | 1 | 3.2 | — | — | Input 1.05 Output 3.36 Original price × 1.05 | USD / 1M tokens | Served through OpenRouter by the model vendor or a major cloud at its own price (first-tier resale) · price listed by OpenRouter for this provider (endpoint amazon-bedrock)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"input": "0.000001",
"output": "0.0000032"
},
"conditions": [
"Served through OpenRouter by the model vendor or a major cloud at its own price (first-tier resale)"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"price listed by OpenRouter for this provider (endpoint amazon-bedrock)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| Z.AI | Standard | 1 | 3.2 | 0.2 | — | Input 1.05 Output 3.36 Cache read 0.21 Original price × 1.05 | USD / 1M tokens | Served through OpenRouter by the model vendor or a major cloud at its own price (first-tier resale) · quantization: fp8 · price listed by OpenRouter for this provider (endpoint z-ai/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.0000002",
"input": "0.000001",
"output": "0.0000032"
},
"conditions": [
"Served through OpenRouter by the model vendor or a major cloud at its own price (first-tier resale)"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint z-ai/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source |
Inference providers
For prices via OpenRouter, comparisons and order use the price with a 5% fee added, original price × 1.05. The original price is listed too.
| Provider | Tariff | Input | Output | Cache read | Cache write | Via OpenRouter with 5% fee | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|---|---|
| StreamLake | Standard | 0.6 | 1.92 | 0.12 | — | Input 0.63 Output 2.016 Cache read 0.126 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint streamlake/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.00000012",
"input": "0.0000006",
"output": "0.00000192"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint streamlake/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| Baidu | Standard | 0.7 | 2.24 | 0.14 | — | Input 0.735 Output 2.352 Cache read 0.147 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint baidu/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.00000014",
"input": "0.0000007",
"output": "0.00000224"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint baidu/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| SiliconFlow | Standard | 0.95 | 2.55 | 0.2 | — | Input 0.9975 Output 2.6775 Cache read 0.21 Original price × 1.05 | USD / 1M tokens | Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices · quantization: fp8 · price listed by OpenRouter for this provider (endpoint siliconflow/fp8)Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.0000002",
"input": "0.00000095",
"output": "0.00000255"
},
"conditions": [
"Quantized deployment (fp8) served through OpenRouter; listed apart from full-precision prices"
],
"contextTier": null,
"processingMode": null,
"conditionNotes": [
"quantization: fp8",
"price listed by OpenRouter for this provider (endpoint siliconflow/fp8)"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source |
Older official and inference provider prices
Earlier price observations and their original conditions
Official price
| Provider | Tariff | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|---|
| 智谱 | Standard | 4 | 18 | 1 | — | CNY / 1M tokens | Context tier: ZHIPU_TIER:输入长度[0,32K) · section: 模型推理 / 文本模型Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": "ZHIPU_TIER:输入长度[0,32K)",
"processingMode": null,
"conditionNotes": [
"section: 模型推理 / 文本模型"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| 智谱 | Standard | 6 | 22 | 1.5 | — | CNY / 1M tokens | Context tier: ZHIPU_TIER:输入长度≥32K · section: 模型推理 / 文本模型Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": "ZHIPU_TIER:输入长度≥32K",
"processingMode": null,
"conditionNotes": [
"section: 模型推理 / 文本模型"
],
"effectiveFrom": null,
"effectiveUntil": null
}Official source |
Inference providers
| Provider | Tariff | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|---|
| Novita AI | Standard | 1 | 3.2 | 0.2 | — | USD / 1M tokens | Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": null,
"processingMode": null,
"conditionNotes": [],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| OpenRouter · Aggregator | Standard | 1 | 3.2 | 0.2 | — | USD / 1M tokens | Full price conditions{
"sourceUnit": "USD_PER_TOKEN",
"sourceAmounts": {
"cacheRead": "0.0000002",
"input": "0.000001",
"output": "0.0000032"
},
"conditions": [],
"contextTier": null,
"processingMode": null,
"conditionNotes": [],
"effectiveFrom": null,
"effectiveUntil": null
}Official source | |
| Novita AI | Standard | 1 | 3.2 | 0.2 | — | USD / 1M tokens | Full price conditions{
"sourceUnit": null,
"sourceAmounts": null,
"conditions": [],
"contextTier": null,
"processingMode": null,
"conditionNotes": [],
"effectiveFrom": null,
"effectiveUntil": null
}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.8595 · median 1.146 · highest 1.4325 (2 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 discussOpen this site's home page ↗ · External site; operator not verifiedCollected: Collected this cycle View 3 plans | glm Name on site: glm-5 glm Operator pending verification | 0.516 | 1.89 | 0.1032 | 0.8595The median price is 1.3× this price | Details |
| 02 | api.hubagi.aiAsk or discussOpen this site's home page ↗ · External site; operator not verifiedCollected: Collected this cycle View 3 plans | Zhipu official [machine translation]Group on site: 智谱官方 Name on site: glm-5 Zhipu official [machine translation]Original: 智谱官方 Operator pending verification | 0.86 | 3.15 | 0.172 | 1.43251.3× the median price | Details |
| Flagged · not ranked · Recent price | |||||||
| — | api.hubagi.aiAsk or discussOpen this site's home page ↗ · External site; operator not verifiedCollected: Collected this cycle View 3 plans | Exclusively for Xueqiu (Snowball) [machine translation]Group on site: 雪球专供 Name on site: glm-5 Exclusively for Xueqiu (Snowball) [machine translation]Original: 雪球专供 Note: Site states a limited use. This price is not ranked or counted. Operator pending verification | 0.344 | 1.26 | 0.0688 | 0.573The median price is 2× this price | Details |
How this ranking works
All per-token prices: 174,023 prices. 147,560 are ranked; 26,463 more are listed separately and not ranked. Prices collected up to 2026-11-28.
This model has 777 recorded prices; 182 can be compared directly (181 ranked, 1 listed separately). Not comparable yet: price not parsed yet 267, ratio looks unset 178, CAPTURE_FRAMEWORK_UNIT_SEMANTICS_NOT_REVIEWED 30, billed per request or another unit 20, display unit not confirmed 13, new price under review; showing the previous one 13, scope of the official doc price not confirmed 8. 61 more are tiered by rules and compared on the Tiered prices board
3 recent · 0 stale (older than 14 days, or not updated by this refresh) · 0 unverified timestamps. Minimum and median only count recent paid prices; older prices stay in the table.
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?
api.hubagi.ai, group "glm", 0.8595 USD credit per million total tokens, observed 2026-11-27. 114 sites have comparable prices.
What is the official price for Z.ai · GLM-5?
Input 1, output 3.2 USD per million tokens, checked 2026-11-28. Lowest inference provider: OpenRouter, input 1.05, output 3.36 USD per million tokens. This is the price via OpenRouter with a 5% fee added, original price × 1.05. Original price: input 1, output 3.2.
How do I use Z.ai · GLM-5 in Claude Code or Codex?
Install Grandet Skill, then say "Connect the cheapest Z.ai · GLM-5 API to Claude Code for me". Install Skill →