GLM-5.1
The prior GLM-5 flagship with hybrid thinking, strong for coding and agents, available across inference gateways.
Source: Z.ai GLM API pricing, Z.ai GLM models, Metadata verification, Field resolution verification
- Text
- Text
Pricing
Every billing leg from the live catalog, in USD per 1M tokens.
| Billing leg | Rate |
|---|---|
| Input | $0.9646 / M |
| Output | $3.03 / M |
| Cache read | $0.17914 / M |
Cost calculator
Billing-grade math over the rate card above, including the thinking tokens most estimates miss.
Hidden reasoning tokens bill as output. 1.0x = thinking off. Medium-effort reasoning typically lands near 3x; heavy reasoning runs 6x to 8x. Set it to match your workload.
Compare providers
The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.
| Platform | Input / M | Output / M | Cache read / M | Batch | Access |
|---|---|---|---|---|---|
StreamLakeLowest | $0.966 | $3.04 | $0.1794 | - | via OpenRouter |
Baidu | $0.98 | $3.08 | $0.182 | - | via OpenRouter |
Chutes | $0.98 | $3.08 | $0.49 | - | via OpenRouter |
GMICloud | $0.98 | $3.08 | $0.182 | - | via OpenRouter |
Wafer | $1 | $3.2 | $0.1 | - | via OpenRouter |
DeepInfra | $1.05 | $3.5 | $0.205 | - | via OpenRouter |
SiliconFlow | $1.19 | $3.74 | $0.6 | - | via OpenRouter |
AtlasCloud | $1.26 | $3.96 | $0.234 | - | via OpenRouter |
Phala | $1.21 | $4.2 | $0.6 | - | via OpenRouter |
Alibaba | $1.33 | $4.18 | $0.247 | - | via OpenRouter |
Baseten | $1.3 | $4.3 | $0.26 | - | via OpenRouter |
DigitalOcean | $1.3 | $4.3 | $0.26 | - | via OpenRouter |
Crusoe | $1.2 | $4.4 | $0.25 | - | via OpenRouter |
Novita | $1.38 | $4.4 | $0.26 | - | via OpenRouter |
Together AI | $1.4 | $4.4 | $0.26 | - | Direct |
Fireworks AI | $1.4 | $4.4 | $0.26 | ✓ | Direct |
Coreweave | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Fireworks AI | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Friendli | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Nebius | $1.4 | $4.4 | - | - | via OpenRouter |
Parasail | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Together AI | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Z.ai | $1.4 | $4.4 | $0.26 | - | via OpenRouter |
Venice | $1.4 | $4.4 | $0.26026 | - | via OpenRouter |
Azure AI Foundry (Fireworks) | $1.54 | $4.84 | $0.286 | - | Direct |
Price history
Has this model gotten cheaper or more expensive?
| Effective | Input / Output | Status |
|---|---|---|
| July 8, 2026 – August 6, 2026 | $0.966 / $3.04 | past |
| August 6, 2026 – August 10, 2026 | $0.952 / $2.99 | past |
| August 10, 2026 – August 12, 2026 | $1.4 / $4.4 | past |
| August 12, 2026 – August 18, 2026 | $0.952 / $2.99 | past |
| August 18, 2026 – August 25, 2026 | $0.966 / $3.04 | past |
| August 25, 2026 – August 30, 2026 | $1.26 / $3.96 | past |
| August 30, 2026 – October 1, 2026 | $0.966 / $3.04 | past |
| October 1, 2026 – October 3, 2026 | $0.9646 / $3.03 | past |
| October 3, 2026 – October 24, 2026 | $0.966 / $3.04 | past |
| October 24, 2026 | $0.9646 / $3.03 | current |
More from Z.ai
Other models from the same provider.
Stop estimating. Track it.
SuperPenguin meters every GLM-5.1 call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.
Rates are generated from SuperPenguin's live pricing catalog.



