GLM 5V Turbo from Z.ai is now available on Vercel AI Gateway .
GLM 5V Turbo is a multimodal coding model that turns screenshots and designs into code, debugs visually, and operates GUIs autonomously. It's strong at design-to-code generation, visual code generation, and navigating real GUI environments, at a smaller parameter size than comparable models.
To use GLM 5V Turbo, set model to zai/glm-5v-turbo in the AI SDK .
import { streamText } from 'ai' ;
const result = streamText ( {
model : 'zai/glm-5v-turbo' ,
prompt :
` Recreate this screenshot as a responsive React component
with Tailwind CSS and match the layout exactly. ` ,
} ) ;
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime.…