Z.ai: GLM 5 Original ThinkingOfficial docs

Z.ai: GLM 5 Original Thinking

byZ.ai
Official docs

GLM 5 Original Thinking is a reasoning model from Z.ai released on Feb 12, 2026. It reads text and writes text, with a 200K token context window and up to 128K tokens per reply.

Show more

It costs $0.86 per million input tokens and $2.74 per million output tokens. Cached input bills at $0.17, 80% less than fresh input.

It supports tool calling, structured JSON output and prompt caching, and its weights are open, so you can host it yourself.

Modalities
In / out price
$0.86 / $2.74 per 1M
Context
200K
Max output
128K
Released
Feb 12, 2026
Knowledge cutoff
n/a
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

GLM 5 Original Thinking pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.86 / 1M tokens
Output$2.74 / 1M tokens
Cached input (read)$0.17 / 1M tokens

What GLM 5 Original Thinking costs per month

Pick a workload close to yours or type your own volumes.

GLM 5 Original Thinking per month
$62.22
Without caching
$93.27
Per request
$0.0021

Supported request parameters

What you can set when you call GLM 5 Original Thinking through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Reasoningreasoning
  • Temperaturetemperature

Alternatives to GLM 5 Original Thinking

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text. Tool calling, structured output, reasoning. Served by 14 providers.

    by tencentAug 28, 2026$0.834/M input tokens$2.50/M output tokens14 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 9 providers.

    by x-aiApr 16, 2026$1/M input tokens$2/M output tokens9 providers

  • Index 33.7

    Reads text and images. Tool calling, structured output, reasoning. Served by 73 providers.

    by qwenAug 14, 20261M context$0.45/M input tokens$3.20/M output tokens73 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 5 providers.

    by googleDec 17, 2025$0.50/M input tokens$3/M output tokens5 providers

  • Index 38.4

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 14 providers.

    by mistralaiOct 5, 20261.05M context$0.70/M input tokens$2.10/M output tokens14 providers

  • Reads text. Tool calling, structured output, reasoning. Served by 75 providers.

    by deepseekApr 24, 20261.05M context$0.66/M input tokens$1.98/M output tokens75 providers

More from Z.ai

  • Reads text and images. Tool calling, structured output, reasoning.

    by z-aiNov 23, 2026$1.20/M input tokens$4.20/M output tokens

  • Reads text. Tool calling, reasoning.

    by z-aiNov 14, 2026$0.429/M input tokens$1.45/M output tokens

  • Reads text. Tool calling, reasoning.

    by z-aiNov 14, 2026$0.242/M input tokens$0.88/M output tokens

  • Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 7 providers.

    by z-aiNov 2, 2026$0.2994/M input tokens$1.05/M output tokens7 providers

  • Reads text and images. Tool calling, reasoning.

    by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens

  • Reads text and images. Tool calling, reasoning.

    by z-aiOct 5, 2026$0.15/M input tokens$0.50/M output tokens

All Z.ai models

GLM 5 Original Thinking questions

How much does the GLM 5 Original Thinking API cost?

$0.86 per million input tokens and $2.74 per million output tokens, with cached input at $0.17. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of GLM 5 Original Thinking?

200,000 tokens of input, and it can write up to 128,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Does GLM 5 Original Thinking support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is GLM 5 Original Thinking open source?

Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.

When was GLM 5 Original Thinking released?

Feb 12, 2026.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.