Z.ai · LLMs & Coding

GLM-5

Catalog data · checked Nov 16, 2026

GLM-5 is a language model from Z.ai, released in February 2026. It reads text and writes text, with a context window of 204.8K tokens and up to 131.1K output tokens per answer. It costs $1 per million input tokens and $3.2 per million output tokens. That puts it in the upper price range: 51% of the 185 paid language models we track cost less.

Calculate my costCompare

Input price$1per 1M tokens
Output price$3.2per 1M tokens
Context window204.8Ktokens per request
Max output131.1Ktokens per answer
ReleasedFeb 20269 months ago
WeightsOpencan be self-hosted

What it can do

  • Tool calling
  • Structured output
  • Reasoning mode
  • Image input
  • File input
  • Audio input
  • Video input
  • Image output
  • Audio output
  • Prompt caching

More prices

Cached input (read)$0.2 /1M
Cache write$0 /1M

What it costs in practice

1,000 support replies1,000 chats with 800 input and 250 output tokens each$1.6
Summarize a 300-page reportabout 150,000 input tokens in one request, 2,000 tokens out$0.156
10,000 product descriptions300 input and 200 output tokens per text$9.4
One day of agentic codingabout 3M input and 150K output tokens across many calls$3.48

Calculated from the list prices above. Your bill depends on your real token counts. Use your own numbers →

Compare GLM-5 with

Questions & answers

How much does GLM-5 cost?

GLM-5 costs $1 per 1 million input tokens and $3.2 per 1 million output tokens (USD, list price checked Nov 16, 2026).

How large is the context window of GLM-5?

GLM-5 can process up to 204,800 tokens per request and return up to 131,072 tokens. As a rule of thumb, 1,000 tokens are about 750 English words.

Does GLM-5 support tool calling?

Yes. The API accepts tool (function) definitions.

Can GLM-5 read images?

No, this model accepts text only.