- Providers
- Z.AI
Access
- API base URL
- https://api.z.ai/api/paas/v4
- SDK
- @ai-sdk/openai-compatible
- Environment variables
- ZHIPU_API_KEY
Protocols
Custom
Organizations
| Organization | Families | Models |
|---|---|---|
| Zhipu AI | 1 | 14 |
Models
14 of 14 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 Custom · Streaming | 1M | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1.4/M · cache read $0.26/M output $4.4/M · cache write $0/M | 2026-06-13 | 2026-07-22 | |
| GLM-5.1 zhipuai/glm/5-1 | Zhipu AI | GLM | glm-5.1 Custom · Streaming | 200K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1.4/M · cache read $0.26/M output $4.4/M · cache write $0/M | 2026-04-07 | 2026-07-22 | |
| GLM-5V-Turbo zhipuai/glm/5v-turbo | Zhipu AI | GLM | glm-5v-turbo Custom · Streaming | 200K | 131K | TextImageVideoDocument | Text | Yes | Yes | -No | Yes | Closed | input $1.2/M · cache read $0.24/M output $4/M · cache write $0/M | 2026-04-01 | 2026-05-09 | |
| GLM-5-Turbo zhipuai/glm/5-turbo | Zhipu AI | GLM | glm-5-turbo Custom · Streaming | 200K | 131K | Text | Text | Yes | Yes | Yes | Yes | Closed | input $1.2/M · cache read $0.24/M output $4/M · cache write $0/M | 2026-03-16 | 2026-03-20 | |
| GLM-5 zhipuai/glm/5 | Zhipu AI | GLM | glm-5 Custom · Streaming | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $1/M · cache read $0.2/M output $3.2/M · cache write $0/M | 2026-02-12 | 2026-07-22 | |
| GLM-4.7-Flash zhipuai/glm/4-7-flash | Zhipu AI | GLM | glm-4.7-flash Custom · Streaming | 200K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0/M · cache read $0/M output $0/M · cache write $0/M | 2026-01-19 | 2026-01-19 | |
| GLM-4.7-FlashX zhipuai/glm/4-7-flashx | Zhipu AI | GLM | glm-4.7-flashx Custom · Streaming | 200K | 131K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.07/M · cache read $0.01/M output $0.4/M · cache write $0/M | 2026-01-19 | 2026-01-20 | |
| GLM-4.7 zhipuai/glm/4-7 | Zhipu AI | GLM | glm-4.7 Custom · Streaming | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0.6/M · cache read $0.11/M output $2.2/M · cache write $0/M | 2025-12-22 | 2025-12-23 | |
| GLM-4.6V zhipuai/glm/4-6v | Zhipu AI | GLM | glm-4.6v Custom · Streaming | 128K | 33K | TextImageVideo | Text | Yes | Yes | -No | Yes | Open weight | input $0.3/M output $0.9/M | 2025-12-08 | 2025-12-08 | |
| GLM-4.6 zhipuai/glm/4-6 | Zhipu AI | GLM | glm-4.6 Custom · Streaming | 205K | 131K | Text | Text | Yes | Yes | Yes | Yes | Open weight | input $0.6/M · cache read $0.11/M output $2.2/M · cache write $0/M | 2025-09-30 | 2025-11-13 | |
| GLM-4.5V zhipuai/glm/4-5v | Zhipu AI | GLM | glm-4.5v Custom · Streaming | 64K | 16K | TextImageVideo | Text | Yes | Yes | -No | Yes | Open weight | input $0.6/M output $1.8/M | 2025-08-11 | 2025-08-12 | |
| GLM-4.5 zhipuai/glm/4-5 | Zhipu AI | GLM | glm-4.5 Custom · Streaming | 131K | 98K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.6/M · cache read $0.11/M output $2.2/M · cache write $0/M | 2025-07-28 | 2025-08-05 | |
| GLM-4.5-Air zhipuai/glm/4-5-air | Zhipu AI | GLM | glm-4.5-air Custom · Streaming | 131K | 98K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0.2/M · cache read $0.03/M output $1.1/M · cache write $0/M | 2025-07-28 | 2025-08-05 | |
| GLM-4.5-Flash zhipuai/glm/4-5-flash | Zhipu AI | GLM | glm-4.5-flash Custom · Streaming | 131K | 98K | Text | Text | Yes | Yes | -No | Yes | Open weight | input $0/M · cache read $0/M output $0/M · cache write $0/M | 2025-07-28 | 2025-07-28 |