Skip to content

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
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
Z.ai
Legal:Terms
Privacy
203K
6.2s
64tps
$1.00/M$3.20/M
Read:$0.2/M
Write:
02/12/2026
Fireworks
Legal:Terms
Privacy
203K
$1.00/M$3.20/M
Read:$0.2/M
Write:
02/12/2026
DeepInfra
Legal:Terms
Privacy
203K
0.9s
55tps
$0.80/M$2.56/M
Read:$0.16/M
Write:
02/12/2026
Parasail
Legal:Terms
Privacy
203K
0.4s
32tps
$1.00/M$3.20/M
02/12/2026
Amazon Bedrock
Legal:Terms
Privacy
203K
0.2s
64tps
$1.00/M$3.20/M
02/12/2026
Novita AI
Legal:Terms
Privacy
203K
1.8s
34tps
$1.00/M$3.20/M
Read:$0.2/M
Write:
02/12/2026