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
Regional Inference
Release Date
Z.AI
Legal:TermsPrivacy
203K131K
3.1s
106tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026
DeepInfra
Legal:TermsPrivacy
203K131K
0.6s
33tps
$0.80/M
$2.56/M
Read:$0.16/M
Write:
02/12/2026
Parasail
Legal:TermsPrivacy
203K131K
0.4s
40tps
$1/M
$3.20/M
02/12/2026
Bedrock
Legal:TermsPrivacy
203K131K
0.3s
41tps
$1/M
$3.20/M
02/12/2026
Baseten
Legal:TermsPrivacy
203K131K
$0.95/M
$3.15/M
Read:$0.2/M
Write:
US
02/12/2026
Novita AI
Legal:TermsPrivacy
203K131K
1.1s
80tps
$1/M
$3.20/M
Read:$0.2/M
Write:
02/12/2026