Skip to content

GLM 5.1

Z.ai · Open weights · 205K context · released Apr 7, 2026 · checked 7h ago

Ways to buy 14

Way to buyIn / out per 1M
Baidu
fp8 · cached $0.179
$0.965 / $3.03Cheapest
StreamLake
fp8 · cached $0.179
$0.966 / $3.04Cheapest
Chutes
fp8 · cached $0.098
$0.98 / $3.08+2% vs cheapest
DeepInfra
fp4 · cached $0.205
$1.05 / $3.5+12% vs cheapest
SiliconFlow
fp8 · cached $0.6
$1.19 / $3.74+23% vs cheapest
AtlasCloud
fp8 · cached $0.234
$1.26 / $3.96+31% vs cheapest
Phala
Default region · cached $0.6
$1.21 / $4.2+32% vs cheapest
Qwen (Alibaba)
fp8 · cached $0.247
$1.33 / $4.18+38% vs cheapest
Novita AI
fp8 · cached $0.26
$1.38 / $4.4+44% vs cheapest
Friendli
Default region · cached $0.26
$1.4 / $4.4+45% vs cheapest
GMICloud
fp8 · cached $0.26
$1.4 / $4.4+45% vs cheapest
Nebius
fp8
$1.4 / $4.4+45% vs cheapest
Z.ai
fp8 · cached $0.26
$1.4 / $4.4+45% vs cheapest
Venice
fp8 · cached $0.26
$1.4 / $4.4+45% vs cheapest

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $157.09 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
GLM 5.3 Prime
Z.ai · 1M
$2.8 / $8.8
GLM 5.3 FlashX
Z.ai · 1M
$0.37 / $1.25
GLM 5.3 Flash
Z.ai · 1.31M
$0.045 / $0.14
GLM 5.3
Z.ai · 1.31M
$0.561 / $1.76
Muse Spark 1.3
Meta · 1M
$1.25 / $4.25
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75
Muse Spark 1.1
Meta · 1M
$1.25 / $4.25
Qwen3.8 Max (0902)
Qwen (Alibaba) · 1M
$2 / $6

About GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

Takes text in and returns text. First listed Sep 23, 2026. Up to 131K output tokens. Blended price $1.48 per 1M tokens at 3 input to 1 output. Model id glm-5-1.

Price history

No list-price history: this model is sold by hosts rather than its lab.

Across fru.devCompany profile

Questions

How much does GLM 5.1 cost?

$0.965 per million input tokens and $3.03 per million output tokens, with cached input at $0.179.

What is the context window of GLM 5.1?

205K tokens, with up to 131K tokens of output.

Where is GLM 5.1 cheapest?

Of 14 routes tracked, Baidu is cheapest at $0.965 input and $3.03 output per million tokens.

Has GLM 5.1's price changed?

Yes. The output price went from $4.4 to $3.03, first seen Sep 25, 2026.

Sources: OpenRouter's public model catalog and each provider's own pricing page, read every morning at 05:00 UTC; gateway fees re-read every Monday. List prices: your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Price changes by email

Thursdays, only in weeks when an LLM API list price changed.

Double opt-in. Unsubscribe any time.