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
Capabilities
Providers
ZDR
No Training
Release Date
1M
0.8s
468tps
$2.10/M
$6.60/M
Read:$0.21/M
Write:
fireworks logo
wafer logo
06/23/2026
1M
0.7s
199tps
$1.40/M$0.90/M
$4.40/M$2.84/M
Read:$0.26/M$0.17/M
Write:
alibaba logo
baseten logo
crusoe logo
+9
06/16/2026
203K
5.8s
30tps
$1.20/M
$4/M
Read:$0.24/M
Write:
zai logo
03/15/2026
203K
0.5s
118tps
$0.80/M
$2.56/M
Read:$0.16/M
Write:
baseten logo
bedrock logo
deepinfra logo
+3
02/12/2026
205K
0.1s
843tps
$2.25/M
$2.75/M
Read:$2.25/M
Write:
baseten logo
bedrock logo
cerebras logo
+3
12/22/2025
128K
2.9s
76tps
$0.20/M
$1.10/M
Read:$0.03/M
Write:
zai logo
07/28/2025