GLM 4.7

zai/glm-4.7

GLM-4.7 is Z.ai’s latest flagship model, with major upgrades focused on two key areas: stronger coding capabilities and more stable multi-step reasoning and execution.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'zai/glm-4.7',
prompt: 'Why is the sky blue?'
})