GLM 5.2 now available on AI Gateway
By Steven Van ·
GLM 5.2 arrives on Vercel's AI Gateway with a 1M-token context window, up from 200K in the previous version.
The Vercel AI Gateway now offers GLM 5.2, a model built for long-horizon tasks that carries project-level engineering context across a single task and follows engineering standards more consistently. Its context window has been upgraded to 1M tokens, up from 200K in GLM 5.1.
To use it, developers set the model to zai/glm-5.2 in the AI SDK. AI Gateway charges no markup on provider pricing and no platform fee on inference, including on Bring Your Own Key requests. Model rankings are tracked on the AI Gateway leaderboard.

Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →