GLM-5 is live on AI Gateway

Published: (February 11, 2026 at 08:00 AM EST)
1 min read

Source: Vercel Blog

Overview

You can now access GLM-5 via AI Gateway with no other provider accounts required.

GLM-5 from Z.AI is now available on AI Gateway. Compared to GLM-4.7, GLM-5 adds multiple thinking modes, improved long-range planning and memory, and better handling of complex multi‑step agent tasks. It’s particularly strong at agentic coding, autonomous tool use, and extracting structured data from documents like contracts and financial reports.

Using GLM-5

To use this model, set the model to zai/glm-5 in the AI SDK:

import { streamText } from 'ai';

const result = streamText({
  model: 'zai/glm-5',
  prompt: `Generate a complete REST API with authentication,
           database models, and test coverage for a task management app.`,
});

AI Gateway Features

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, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn More

0 views
Back to Blog

Related posts

Read more »

Use MiniMax M2.5 on AI Gateway

Overview MiniMax M2.5 is now available on AI Gateway. M2.5 plans before it builds, breaking down functions, structure, and UI design before writing code. It ha...