GLM 5.2
GLM-5.2 delivers powerful coding capabilities, usable 1M-context support, and continued strengths in long-horizon tasks.
import { streamText } from 'ai'
const result = streamText({ model: 'zai/glm-5.2', prompt: 'Why is the sky blue?'})Playground
Try out GLM 5.2 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.