GLM 5

Zai

Zai's new-generation flagship foundation model designed for Agentic Engineering. GLM-5 delivers state-of-the-art open-source performance in coding and agent capabilities, with usability in real programming scenarios approaching Claude Opus 4.5. Built for complex system engineering and long-range agent tasks, it provides reliable productivity across demanding workflows. With 203K context, 131K output, thinking capabilities, and implicit caching, it excels at sophisticated agentic applications requiring depth and persistence.

Try Now

Capabilities

Thinking

Tool Use

Technical Specifications

Context Window

202,800 tokens

Max Output

131,072 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$1

Non-Reasoning Output

$3.20

Cache Read Input

$0.20

Tool Costs (per 1K calls)

Web Search

$15

Code Execution

$0.19

Legacy

Made legacy on

Reason

Superseded by GLM 5.1

Recommended Replacement

GLM 5.1