EasiAPI AILLM API prices

Home / Z.ai

GLM 5.1 API price

Z.ai · 204K token context · Released Apr 7 · 26 sellers, checked 29 Nov, 18:17 UTC

Other versions: newer: GLM 5.2 from $0.19 / $0.59 · earlier: GLM 5 from $0.60 / $1.92. Compare versions

Input, per 1M tokens
$0.90
$1.40 list price
Output, per 1M tokens
$2.82
$4.40 list price

Cheapest at Baidu, 36% below Z.ai's list price.

Versions

VersionWhat it isSellersFrom, in / out per 1M
GLM 5.1 this pagez-ai/glm-5.1Main listing26$0.90 / $2.82
GLM 5.2z-ai/glm-5.2Newer generation56$0.19 / $0.59
GLM 5z-ai/glm-5Earlier generation27$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.

Provider, with its monthly cost for this workload

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.

Embed this price in your README or site

A badge with the cheapest price, the seller and the date. It updates every 6 hours and links here.

Markdown[![GLM 5.1 API: from $0.90 in / $2.82 out per 1M · Baidu · 29 Nov 2026](https://easiapiai.com/badge/zhipu--z-ai-glm-5-1.svg)](https://easiapiai.com/m/zhipu--z-ai-glm-5-1.html)HTML<a href="https://easiapiai.com/m/zhipu--z-ai-glm-5-1.html"><img src="https://easiapiai.com/badge/zhipu--z-ai-glm-5-1.svg" alt="GLM 5.1 API: from $0.90 in / $2.82 out per 1M · Baidu · 29 Nov 2026" height="40"></a>
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.

$0.00$2.46$4.9316 Oct29 Nov
OutputInputOfficial list price

Baidu, Kilo Gateway, Nous Research, YisamaAPI: prices float from one check to the next, so the moves are not listed as changes.

Every price change this month →

More from Z.ai: GLM 5.3 $0.070 · GLM 5.3 Flash $0.036 · GLM 5.2 $0.19