Skip to content
Dashboard

GLM 5

GLM 5 is Z.AI's GLM-5 generation model released February 12, 2026, featuring multiple thinking modes, enhanced long-range planning and memory, and improved handling of complex multi-step agent tasks. It supports agentic coding and structured data extraction workflows. Your use subject to Z.AI's Terms & Privacy Policies.

ReasoningTool UseImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'zai/glm-5',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Max Output
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
ZDR
No Training
Release Date
203K131K
1.3s
80tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026
203K131K
0.7s
37tps
$0.80/M
$2.56/M
Read:$0.16/M
Write:
02/12/2026
203K131K
0.4s
44tps
$1/M
$3.20/M
02/12/2026
203K131K
2.7s
47tps
$1/M
$3.20/M
02/12/2026
203K131K
1.2s
80tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026