GLM 5.1 API price
Other versions: newer: GLM 5.2 from $0.19 / $0.59 · earlier: GLM 5 from $0.60 / $1.92. Compare versions
Cheapest at Baidu, 36% below Z.ai's list price.
Versions
| Version | What it is | Sellers | From, in / out per 1M |
|---|---|---|---|
| GLM 5.1 this pagez-ai/glm-5.1 | Main listing | 26 | $0.90 / $2.82 |
| GLM 5.2z-ai/glm-5.2 | Newer generation | 56 | $0.19 / $0.59 |
| GLM 5z-ai/glm-5 | Earlier generation | 27 | $0.60 / $1.92 |
Why there are several: the undated name can move to a newer build when the developer updates it, while a dated snapshot is meant to stay fixed, which can suit pipelines that need repeatable behaviour; an experimental build tests new features. Sellers price each version separately and not every seller offers every version, so check a seller's own docs for the build it serves.
Cost calculator: where to buy, and what it costs you
Pick a use case, a volume and a provider. Monthly figures assume 30 days.
1,500 input and 400 output tokens per request, 30% of input cached.
Spotted a wrong or outdated price? Report it and we fix it at the next update.
Test a seller of this model with your own key, on your own machine.
- Context window
- 204K204,800 tokens
- Cached input
- from $0.17per 1M tokens
- Last checked
- 29 Nov, 18:17 UTC
Price history
Cheapest standard price per 1M tokens, recorded every 6 hours since 16 Oct 2026.
- Novita first listed in our data at $1.38 / $4.40
- Novita no longer listed under this name in our data (was $1.38 / $4.40)
- Hugging Face no longer listed under this name in our data (was $1.05 / $3.50)
- Venice no longer listed under this name in our data (was $1.40 / $4.40)
- Together AI no longer listed under this name in our data (was $1.40 / $4.40)
- AtlasCloud no longer listed under this name in our data (was $1.26 / $3.96)
- PrimeIntellect no longer listed under this name in our data (was $1.40 / $4.40)
- GMICloud no longer listed under this name in our data (was $1.40 / $4.40)
- Friendli no longer listed under this name in our data (was $1.40 / $4.40)
- Hugging Face first listed in our data at $1.05 / $3.50
Baidu, Kilo Gateway, Nous Research, YisamaAPI: prices float from one check to the next, so the moves are not listed as changes.
More from Z.ai: GLM 5.3 $0.070 · GLM 5.3 Flash $0.036 · GLM 5.2 $0.19