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