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.

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
Regional Inference
Release Date
Z.AI
Legal:Terms
Privacy
203K131K
2.7s
114tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026
DeepInfra
Legal:Terms
Privacy
203K131K
0.8s
51tps
$0.80/M
$2.56/M
Read:$0.16/M
Write:
02/12/2026
Parasail
Legal:Terms
Privacy
203K131K
0.5s
39tps
$1/M
$3.20/M
02/12/2026
Bedrock
Legal:Terms
Privacy
203K131K
0.2s
117tps
$1/M
$3.20/M
02/12/2026
Baseten
Legal:Terms
Privacy
203K131K
0.8s
168tps
$0.95/M
$3.15/M
Read:$0.2/M
Write:
US
02/12/2026
Novita AI
Legal:Terms
Privacy
203K131K
1.4s
79tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026