GLM 5.1

Apr 2026
GLM 5.1
Compare in
on
$1.02per task?
$1.40 / $4.40per 1M in / out?cache $0.26
72 tok/sfirst token in 1.8 s?
203Kcontext

Alternatives?

Run it yourself

estimate
Fits on✗ 8 GB (phone, laptop)✗ 16 GB✗ 24 GB GPU✗ 48 GB GPU✗ 80 GB GPU
LicenceMITfree for commercial use

History

10 versions
010203040Jul 26Release dateTerminal-Bench 4.05.15.25.3
010203040Jul 26Release dateTerminal-Bench 4.05.15.25.3

Benchmarks

in Coding
SciCode44.8#75
Terminal Bench 2.0lab63.5
SWE-bench Pro (edition unstated)lab58.4
SWE Multilinguallab73.3
DeepSWE (edition unstated)lab18

FAQ

How much does GLM 5.1 cost?›

$1.40 per 1M input tokens and $4.40 per 1M output tokens; cached input $0.26 per 1M; cheapest via lab-qwen at $0.82 / $3.30. A typical benchmark task costs about $1.02 at default effort.

Is GLM 5.1 free to use?›

There is no free API; the cheapest paid price is $0.82 per 1M input tokens. The weights are open, so you can run it yourself.

How good is GLM 5.1, and what is it best at?›

#80 of 334 in Chat & Knowledge, #49 of 132 in Coding, #60 of 133 in Agents & Tool Use, #29 of 195 in Writing & Language, #66 of 133 in Vision & Documents. Strongest at: Tool calling, Reasoning, Science, Knowledge, Instructions.

Is GLM 5.1 better than GPT-5.4 Mini?›

On Terminal-Bench 4.0, GLM 5.1 scores 2 vs 2 — about the same. It is 128% more expensive per task.

How can I use GLM 5.1?›

Through the API of Alibaba, AtlasCloud, Baidu, Chutes, DeepInfra and 6 more.

What is the context window of GLM 5.1?›

203K tokens, with up to 131K output tokens.

When was GLM 5.1 released? Is there a newer version?›

Released 2026-04-07. It has been superseded by GLM 5.2.

Is GLM 5.1 open source?›

Yes, the weights are open (MIT licence).

Can I run GLM 5.1 locally?›

The weights are open and can be self-hosted; hardware needs are not confirmed yet.

Can GLM 5.1 read images?›

No, it accepts text only.

What is GLM 5.1?›

GLM 5.1 is an open-weights language model from Z.ai, released Apr 2026, the successor to GLM 5.

What are the best alternatives to GLM 5.1?›

GPT-6.1 Sol (cheaper), Claude Haiku 5.5 (better), GLM 5.3 (open weights).