Zhipu AI
Use zhipuai/<model> with VoltAgent's model router.
Quick start
import { Agent } from "@voltagent/core";
const agent = new Agent({
name: "zhipuai-agent",
instructions: "You are a helpful assistant",
model: "zhipuai/glm-4.5",
});
Environment variables
ZHIPU_API_KEY
Provider package
@ai-sdk/openai-compatible
This provider uses the OpenAI-compatible adapter.
Default base URL
https://open.bigmodel.cn/api/paas/v4
You can override the base URL by setting ZHIPUAI_BASE_URL.
Provider docs
Models
Show models (8)
- glm-4.5
- glm-4.5-air
- glm-4.5-flash
- glm-4.5v
- glm-4.6
- glm-4.6v
- glm-4.6v-flash
- glm-4.7