GLM-5 pricing & specs

Z.AI (Zhipu) · released 2026-02-12 · ● verified 2026-11-17

input / 1M$1.00
output / 1M$3.20
context204.8K
max output131.1K

GLM-5 is a Z.AI (Zhipu) model released on 2026-02-12. At $1.00 per million input tokens and $3.20 per million output tokens, its blended price of $1.55 per 1M tokens is lower than 43% of the 185 models we track. It offers text input, a 204.8K-token context window, built-in reasoning and tool calling. Its weights are open, and it is available from 5 tracked hosting providers.

Ranked #10 of 15 in Cheapest GLM Models.

// price history ($/1M tokens)

$3.68
input $/1Moutput $/1M2026-02-11 → 2026-11-17

// cheaper or similar alternatives

modelinoutctxvs GLM-5
Gemma 4 E2B IT$0.04$0.08131.1K−96.8%
Qwen3.7 Flash$0.03$0.131M−96.5%
GPT OSS 20B$0.03$0.14131.1K−96.3%
GPT OSS 120B$0.037$0.17131.1K−95.5%
DeepSeek V4 Flash 0731$0.06$0.181.05M−94.2%

// price by host

hostin $/1Mout $/1M
DeepInfra$0.60$2.08
Amazon Bedrock$1.00$3.20
Google Vertex AI$1.00$3.20
Novita AI$1.00$3.20
Together AI$1.00$3.20

// embed this price badge

Show the live price of GLM-5 in your README or docs (updated daily):

GLM-5 API price badge
[![GLM-5 price](https://aisignals.dev/badge/zhipuai/glm-5.svg)](https://aisignals.dev/models/zhipuai/glm-5)

// faq

How much does GLM-5 cost?

GLM-5 costs $1.00 per million input tokens and $3.20 per million output tokens. At 50M input and 10M output tokens per month that is about $82.00.

What is the context window of GLM-5?

204.8K tokens, with up to 131.1K output tokens per request.

Does GLM-5 support prompt caching?

Yes. Cached input tokens cost $0.20 per million and cache writes cost $0 per million.

What are cheaper alternatives to GLM-5?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), GPT OSS 20B ($0.03 in / $0.14 out) offer the same input types and capabilities for less.

Is GLM-5 open weights?

Yes. It is available from 5 tracked hosts; the cheapest is DeepInfra at $0.60 input and $2.08 output per million tokens.

// spec sheet

input / 1M
$1.00
output / 1M
$3.20
cache read / 1M
$0.20
cache write / 1M
$0
blended (3:1)
$1.55
context
204.8K
max output
131.1K
input types
text
reasoning
yes
tool calling
yes
structured output
no
open weights
yes
knowledge cutoff
n/a
price source
Z.AI (Zhipu)

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
GPT OSS 20B$0.03$0.14$2.90
GLM-5$1.00$3.20$82.00

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.