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.
import { streamText } from 'ai'
const result = streamText({ model: 'zai/glm-5', prompt: 'Why is the sky blue?'})Playground
Try out GLM 5 by Z.ai. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.