# GLM 5.2 now available on AI Gateway

By Steven Van · 2026-06-16

GLM 5.2 arrives on Vercel's AI Gateway with a 1M-token context window, up from 200K in the previous version.

The [Vercel](<https://creatorstoolbox.com/tools/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](<https://vercel.com/ai-gateway/leaderboards>).

[![](<https://assets.vercel.com/image/upload/contentful/image/e5382hct74si/6mTpZofxZaXoqLWiRMrwVg/444a2908372f9b74327d4df9f02ab7fb/model_leaderboards_og_card.png>)](<https://vercel.com/ai-gateway/leaderboards>)

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

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

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

Sources

[Original source](<https://vercel.com/ai-gateway/leaderboards>)

[Read GLM 5.2 now available on AI Gateway on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-glm-5-2-now-available-on-ai-gateway>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-glm-5-2-now-available-on-ai-gateway
