z-ai logo

Z.ai

GLM 4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens.

GLM 4.5 is scheduled to be retired on December 31, 2026. Consider GLM 5.3 instead.

At a glance

Input / 1M
$0.60
Output / 1M
$2.20
Context
131K
Max output
98K
Intelligence
12.8
Released
Jul 2025
Text inputReasoningTool calling

Pricing

GLM 4.5 API pricing

Per-token rates, plus what common tasks actually cost.

Input tokensPer 1M tokens$0.60
Output tokensPer 1M tokens$2.20
Cached input (read)Per 1M tokens$0.11
Cache writePer 1M tokensNot available

Chat message

2K in, 500 out

$2.30

per 1,000 requests

Coding task

30K in, 4K out

$26.80

per 1,000 requests

Long document summary

150K in, 2K out

$94.40

per 1,000 requests

Benchmarks

GLM 4.5 benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

12.8

Coding index

Not available

Agentic index

Not available

Specs

Context window and capabilities

What it can read, what it can write, and which API features it supports.

Context window
131K tokens
Max output
98K tokens
Input types
Text
Output types
Text
Reasoning effort
Not available
Release date
July 25, 2025
Knowledge cutoff
December 31, 2024
  • Tool calling
  • Structured outputs
  • JSON mode
  • Reasoning
  • Temperature
  • Stop sequences
  • Deterministic seed
  • Verbosity control

FAQ

Frequently asked questions

How much does GLM 4.5 cost?

GLM 4.5 costs $0.60 per 1M input tokens and $2.20 per 1M output tokens through the API. A typical chat message costs about $2.30 per 1,000 messages.

What is the context window of GLM 4.5?

GLM 4.5 accepts up to 131K tokens of input and can write up to 98K tokens in a single response.

What is the best alternative to GLM 4.5?

Gemini 3.1 Flash Lite from Google is a strong alternative. It offers: 1.5x cheaper output, higher intelligence score, larger 1.05m context.

Can I use GLM 4.5 alongside other models?

Yes. Shortcut Chat sends one prompt to GLM 4.5 and any other models you pick at the same time, so you can compare answers side by side.

z-ai logo

Try GLM 4.5 next to every other model.

Use GLM 4.5 alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.