- Providers
- Z.AI Coding Plan
Gateway
Z.AI Coding Plan
Z.AI Coding Plan is a Gateway provider with 3 models across 3 offerings.
Access
- API base URL
- https://api.z.ai/api/coding/paas/v4
- SDK
- @ai-sdk/openai-compatible
- Environment variables
- ZHIPU_API_KEY
Protocols
Openai chat
Organizations
| Organization | Families | Models |
|---|---|---|
| Zhipu AI | 1 | 3 |
Models
3 of 3 model versions
| Model | Organization | Family | Provider model ID | Context | Max output | Input | Output | Reasoning | Tool call | Structured | Temperature | Weights | Pricing | Released | Updated | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GLM-5.2 zhipuai/glm/5-2 | Zhipu AI | GLM | glm-5.2 Openai chat · Streaming | 1M | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0/M · cache read $0/M output $0/M · cache write $0/M | 2026-06-13 | 2026-07-22 | |
| GLM-5-Turbo zhipuai/glm/5-turbo | Zhipu AI | GLM | glm-5-turbo Openai chat · Streaming | 200K | 131K | Text | Text | Yes | Yes | Yes | Yes | Closed | input $0/M · cache read $0/M output $0/M · cache write $0/M | 2026-03-16 | 2026-03-20 | |
| GLM-4.7 zhipuai/glm/4-7 | Zhipu AI | GLM | glm-4.7 Openai chat · Streaming | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0/M · cache read $0/M output $0/M · cache write $0/M | 2025-12-22 | 2025-12-23 |