- 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
Models
3 of 3 model versions
| Model | Family | Provider model ID | Protocol | Streaming | Organization | Context | Max output | Input | Output | Reasoning | Tool call | Structured | Temperature | Weights | Price | Released | Updated | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GLM-5.2 zhipuai/glm-5.2 | ZAZhipu AI | GLM | glm-5.2 | Openai chat | Yes | 1M | 131K | Yes | Yes | Yes | Yes | Open | input $0/M · output $0/M cache read $0/M · cache write $0/M | 2026-06-13 | 2026-08-06 | |||
| GLM-5-Turbo zhipuai/glm-5-turbo | ZAZhipu AI | GLM | glm-5-turbo | Openai chat | Yes | 200K | 131K | Yes | Yes | Yes | Yes | Closed | input $0/M · output $0/M cache read $0/M · cache write $0/M | 2026-03-16 | 2026-03-20 | |||
| GLM-4.7 zhipuai/glm-4.7 | ZAZhipu AI | GLM | glm-4.7 | Openai chat | Yes | 205K | 131K | Yes | Yes | Yes | Yes | Open | input $0/M · output $0/M cache read $0/M · cache write $0/M | 2025-12-22 | 2026-08-06 |