Skip to content
Dashboard

GLM 5.1

GLM 5.1 advances Z.ai's GLM-5 generation with a focus on long-horizon autonomous coding. It can work independently on a single task for over eight hours, planning, executing, and iterating until it delivers engineering-grade results.

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

More models by Z.ai

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
1M
2.1s
153tps
$3.00/M$10.25/M
Read:$0.5/M
Write:
+1
wafer logo
06/23/2026
1M
0.8s
150tps
$1.40/M$4.40/M
Read:$0.26/M
Write:
+1
baseten logo
fireworks logo
wafer logo
+1
06/16/2026
203K
4.4s
57tps
$1.20/M$4.00/M
Read:$0.24/M
Write:
+1
zai logo
03/15/2026
203K
0.4s
95tps
$0.80/M$2.56/M
Read:$0.16/M
Write:
+1
baseten logo
bedrock logo
deepinfra logo
+3
02/12/2026
200K
2.2s
136tps
$0.06/M$0.40/M
Read:$0.01/M
Write:
+1
zai logo
01/19/2026
205K
0.1s
1024tps
$2.25/M$2.75/M
Read:$2.25/M
Write:
+1
baseten logo
bedrock logo
cerebras logo
+3
12/22/2025