LimitDigest

GLM-5.4 API pricing

Official GLM (Z.ai) list price, last checked Dec 3, 2026. Updated Dec 3, 2026.

Quick answer

GLM-5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, cached input at $0.26, and a 1M-token context window, per GLM (Z.ai)'s official pricing page (checked Dec 3, 2026). It's a premium-priced model: number 60 of 94 by blended price ($2.15 per 1M tokens at a 3 to 1 input to output mix). On LMArena's Code Arena it ranks #15 of 59 models we price (relative score 46 out of 100). Nothing cheaper scores close to it on that board; DeepSeek V4.1 Flash is the nearest cheaper option.

GLM-5.4 price per million tokens

GLM-5.4 price per million tokensUSD
Input$1.40
Cached input$0.26
Output$4.40
Blended, 3 parts input to 1 part output$2.15
Context window1M tokens

Official note from GLM (Z.ai): API live Dec 2, 2026 (model launched for GLM Coding Plan Nov 23). Same list price as GLM-5.3. 1M context, 128K max output, text, image, video and file input. First Loop Transformer GLM; no open weights yet.

What GLM-5.4 costs for real work

List-price estimates for a month, no discounts. Our math, not a quote: change the token counts in the plan vs API calculator.

WorkloadTokens a monthGLM-5.4Qwen4-MaxDeepSeek V4.1 Flash
Light: a side project or personal assistant2M in, 0.5M out$5.00$5.25$1.20
Medium: a small team or one product feature20M in, 5M out$50.00$52.50$12.00
Heavy: a production app200M in, 50M out$500$525$120
Medium with 80% of input cached20M in (16M cached), 5M out$31.76$29.70$7.30

How GLM-5.4 ranks on LMArena

Relative score: 100 is the top model we price on that board. Rank is among the models in our price table, not the full leaderboard.

BoardRankScore /100Rating
Coding (Code Arena)#15 of 59461689.7
Cheap bulk and agents (Agent Arena)#20 of 45240.0313

Closest rivals to GLM-5.4

The models nearest in price, other makers first. Ranks are on Code Arena, where we have them.

ModelIn / outBlendedCoding rankVerdict
Qwen4-Max Qwen$1.50 / $4.50$2.25#9Qwen4-Max for quality, GLM-5.4 for price. Compare
GPT-6.1 Terra OpenAI$1 / $5$2#14GPT-6.1 Terra wins: cheaper, same score. Compare
Muse Spark 1.3 Meta$1.25 / $4.25$2#23Muse Spark 1.3 for price, GLM-5.4 for quality. Compare
DeepSeek V4 Pro DeepSeek$1.32 / $3.96$1.98#47DeepSeek V4 Pro for price, GLM-5.4 for quality. Compare

Cheaper alternatives to GLM-5.4

At least 40% cheaper blended, best LMArena score first.

ModelIn / outBlendedCoding rankVerdict
DeepSeek V4.1 Flash DeepSeek$0.30 / $1.20$0.525#20DeepSeek V4.1 Flash for price, GLM-5.4 for quality. Compare
Hunyuan Hy4 Tencent Hunyuan$0.834 / $2.50$1.25#22Hunyuan Hy4 for price, GLM-5.4 for quality. Compare
MiMo-V2.6 Flash Xiaomi MiMo$0.14 / $0.28$0.175#26MiMo-V2.6 Flash for price, GLM-5.4 for quality. Compare

More from GLM (Z.ai)

FAQ

How much does the GLM-5.4 API cost per million tokens?

$1.40 per 1M input tokens and $4.40 per 1M output tokens, plus $0.26 per 1M for cached input, as of Dec 3, 2026. A typical 3 to 1 input to output mix works out to $2.15 per 1M tokens.

Does GLM-5.4 charge more for long prompts?

GLM (Z.ai) doesn't list a long-prompt surcharge for GLM-5.4. Its pricing note says: API live Dec 2, 2026 (model launched for GLM Coding Plan Nov 23). Same list price as GLM-5.3. 1M context, 128K max output, text, image, video and file input. First Loop Transformer GLM; no open weights yet.

Is GLM-5.4 cheaper than Qwen4-Max?

Yes. A medium month (20M input and 5M output tokens) costs $50.00 on GLM-5.4 and $52.50 on Qwen4-Max at list price. On Code Arena, GLM-5.4 ranks #15 and Qwen4-Max #9.

How does GLM-5.4 rank on LMArena?

On Code Arena it is #15 of 59 models we price, with a relative score of 46 out of 100. It ranks on 2 of 8 boards we track.

What is a cheaper alternative to GLM-5.4?

DeepSeek V4.1 Flash costs $0.30 in and $1.20 out per 1M tokens, about 4.1x less blended, and scores 33 on Code Arena against 46 for GLM-5.4.

Where does this GLM-5.4 price come from?

From GLM (Z.ai)'s official pricing page, which we check every day. This page was last checked Dec 3, 2026.

Sources

Related