Skip to content
Dashboard

Z.ai's GLM-4.5 and GLM-4.5 Air are now supported in Vercel AI Gateway

pnpm i ai

import { streamText } from 'ai'
const result = streamText({
model: "zai/glm-4.5", // or "zai/glm-4.5-air"
prompt: "What is specifically notable about the style of Sonoran food?",
providerOptions: {
zai: {
thinking: {
type: 'disabled',
},
},
}
})

Ready to deploy?