GLM 5.2
GLM 5.2 is Z.ai's flagship open-weight model for long-horizon coding and agentic engineering, released June 16, 2026. A 1.0M tokens context window carries project-level engineering state, and selectable reasoning effort tunes depth per request.
ReasoningTool UseImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({ model: 'zai/glm-5.2', prompt: 'Why is the sky blue?'})Uptime24 hours
Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.