
GLM 5.2 is 35% off via Novita on AI Gateway
Quick Answer
GLM 5.2 is available at a 35% discount on AI Gateway via Novita until July 24.
Quick Take
GLM 5.2 is available at a 35% discount on AI Gateway via Novita until July 24. Users can access this rate by setting the model to 'zai/glm-5.2' in the AI SDK and routing requests through Novita, after which standard rates apply without markup.
Key Points
- Discount valid until July 24 for GLM 5.2 via Novita on AI Gateway.
- Set model to 'zai/glm-5.2' in AI SDK to access the discount.
- Routing requests through Novita is required to obtain the reduced rate.
- Post July 24, GLM 5.2 will be available at standard provider rates.
- Users can try GLM 5.2 in the model playground.
📖 Reader Mode
~1 min readGLM 5.2 is 35% off on AI Gateway through July 24 when routed through Novita.
To get the discounted rate, set the model to zai/glm-5.2 in the AI SDK and route requests through Novita:
agent.ts
import { streamText } from 'ai';
const result = streamText({
model: 'zai/glm-5.2',
prompt: 'Migrate every API route to the new auth middleware and open a PR.',
providerOptions: {
gateway: {
order: ['novita'],
},
},
});
Routing GLM 5.2 requests to Novita with the gateway provider options
After July 24, the model stays available at standard provider rates with no markup.
Try GLM 5.2 in the model playground.
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

