Menu

GLM 5.2 now available on AI Gateway - Vercel
📰

GLM 5.2 now available on AI Gateway - Vercel

Vercel News·Walter Korman·5 days ago
#iyL1aLfh
#vercel#gateway#model#built#long
Reading 0:00
15s threshold

GLM 5.2 is now available on AI Gateway .

Built for long-horizon tasks, GLM 5.2 carries project-level engineering context across a single task, runs long-running tasks more reliably, and follows engineering standards more consistently.

The context window for this model has been upgraded to 1M tokens, up from 200K in GLM 5.1.

To use GLM 5.2, set model to zai/glm-5.2 in the AI SDK :

import { streamText } from 'ai' ;

const result = streamText ( {

model : 'zai/glm-5.2' ,

prompt : 'Add error recovery to the data ingestion pipeline.' ,

} ) ;

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. It includes built-in custom reporting , Zero Data Retention support , budgets for API keys , and more.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.