GLM 4.6
GLM 4.6 is Z.ai's coding-focused model released September 30, 2025, with enhanced performance on both benchmarks and real-world programming tasks. It features an expanded context window of 204.8K tokens for handling large codebases and complex agent workflows.
import { streamText } from 'ai'
const result = streamText({ model: 'zai/glm-4.6', prompt: 'Why is the sky blue?'})