GLM 5

Z.ai (Zhipu)z-ai/glm-5Providers: 8
Inputi$0.60per 1M tokens
Outputi$1.92per 1M tokens
Contexti200K204,800 tokens
ReleasedFeb 11, 2026Max output: 128K

Where it stands

Quality in independent tests against price, next to 135 other models. Up means more capable, left means cheaper.

100110120130140150160170$0.01$0.03$0.1$0.3$1$3$10$30$100Overall indexPrice per million tokens, log scale (3 parts input to 1 part output)↖ Cheaper and smarterGLM 5
Scores: Epoch AI (CC BY 4.0). Prices: OpenRouter. View as a table

About this model

GLM 5 is an AI model from Z.ai (Zhipu), made available through the API on February 11, 2026. It can read up to 204,800 tokens in one request, roughly 384 pages of text, and write up to 128,000 tokens in a single answer.

Through the API it costs $0.60 per million input tokens and $1.92 per million output tokens. Its pricing sits in the middle of the market.

It supports extended reasoning: it can "think" step by step before answering, which helps on maths, code and complex questions. It can call tools and functions, so developers can connect it to search, databases or other software. Its weights are openly published (zai-org/GLM-5), so it can also be downloaded and run on your own hardware.

Quality scores

Rankings →
145.8Overall index · #69 of 136
  • SWE-bench VerifiedCan the model fix real bugs in real open-source software projects? Share of tasks solved.72.1%#20 of 28
  • GPQA DiamondVery hard multiple-choice questions in biology, physics and chemistry, written by PhD experts. Random guessing scores 25%.87.8%#41 of 116
  • AIME mathCompetition-level math problems in the style of the American Invitational Mathematics Examination. Share solved.80.0%#67 of 112

Benchmark data: Epoch AI, licensed CC BY 4.0

Where to use it

Companies that serve this model through an API: 8. Prices per million tokens, cheapest first.

ProviderInputiOutputiContextiUptime (24 h)i
StreamLakeCheapestfp8
$0.60$1.92198K99.8%
GMICloudCheapestfp8
$0.60$1.92198K99.4%
Baidufp8
$0.70$2.24198K98.9%
SiliconFlowfp8
$0.95$2.55200K99.5%
Amazon Bedrock
$1$3.20198K98.8%
Venicefp8
$1$3.20198K99.0%
Novitafp8
$1$3.20203K100.0%
Z.AIOfficialfp8
$1$3.20198K99.9%

Availability and prices come from OpenRouter’s public API and are refreshed daily. Uptime is the share of successful requests over the last 24 hours. Some providers run a compressed version of open models (fp8, int4), which is cheaper but can be slightly less accurate.

Use it in your code

Call GLM 5 through OpenRouter’s OpenAI-compatible API: create a key on openrouter.ai, then run one of these examples.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-5", "messages": [{"role": "user", "content": "Hello! What can you do?"}]}'

The same code works with every model on this site: only the model ID changes. Many labs also offer their own API and SDK.

What it costs in practice

  • 1,000 chat replies
    ≈ 500 tokens in, 300 out each
    $0.876
  • Summarise a 100-page document
    ≈ 50,000 tokens in, 1,000 out
    $0.032
  • An app with 10,000 requests a day for a month
    ≈ 1,000 tokens in, 400 out each
    $410

Cost calculator →

Similar-priced alternatives

ModelInputiOutputiContexti
$0.60$2.40256KCompare with ⇄
Kimi K2.6Moonshot AI
$0.65$3.41256KCompare with ⇄
Qwen3.5 397B A17BAlibaba Qwen
$0.55$3.50256KCompare with ⇄
$0.66$1.981MCompare with ⇄
Aion 3.5 MiniAion Labs
$0.70$1.40256KCompare with ⇄
Seed 2.1 TurboByteDance Seed
$0.50$2.50256KCompare with ⇄

News about Z.ai (Zhipu)

See all →

Frequently asked questions

How much does GLM 5 cost?
GLM 5 costs $0.60 per million input tokens and $1.92 per million output tokens through the API. For example, 1,000 chat replies of about 500 tokens in and 300 out cost around $0.876.
What is the context window of GLM 5?
GLM 5 can read up to 204,800 tokens in one request, about 384 pages of text. It can write up to 128,000 tokens in a single answer.
Is GLM 5 open source?
Yes. Its weights are published (zai-org/GLM-5), so you can download it and run it on your own hardware, or use it through one of 8 API providers.
Who makes GLM 5?
GLM 5 is made by Z.ai (Zhipu). It became available through the API on February 11, 2026.
How good is GLM 5?
GLM 5 has an overall index of 145.8 in Epoch AI’s independent tests, ranking #69 of 136 models we track.
Can GLM 5 read images?
No. GLM 5 only accepts text as input.
What are the alternatives to GLM 5?
Models with a similar price from other companies include Nemotron 3 Ultra, Kimi K2.6 and Qwen3.5 397B A17B. You can compare them side by side on this page.