# GLM\-4\.7 available on Vercel AI Gateway

**Published:** December 22, 2025 | **Authors:** Walter Korman, Rohan Taneja, Jerilyn Zheng

---

You can now access Z.ai's latest model, GLM-4.7, with Vercel's [AI Gateway](https://vercel.com/ai-gateway) and no other provider accounts required.

GLM-4.7 comes with major improvements in coding, tool usage, and multi-step reasoning, especially with complex agentic tasks. The model also has a more natural tone for a better conversational experience and can product a more refined aesthetic for front-end work.

To start building with GLM-4.7 via [AI SDK](https://ai-sdk.dev/), set the model to `zai/glm-4.7`:

```tsx
import { streamText } from 'ai';
const result = streamText({
  model: 'zai/glm-4.7',
  prompt:
    `Create an interactive weather timeline app, fetch forecasts
     via weather tool, normalize data, render animated charts,
     cache results, and produce a production build.`
});
```

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 [observability](https://vercel.com/docs/ai-gateway/observability), [Bring Your Own Key support](https://vercel.com/docs/ai-gateway/byok), and intelligent [provider routing](https://vercel.com/docs/ai-gateway/provider-options) with automatic retries.

Learn more about [AI Gateway](https://vercel.com/docs/ai-gateway), view the [AI Gateway model leaderboard](https://vercel.com/ai-gateway/leaderboards) or try it in our [model playground](https://vercel.com/ai-gateway/models/glm-4.7).

**AI Gateway: Track top AI models by usage**
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
[View the leaderboard](https://vercel.com/ai-gateway/leaderboards)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)