Zhipu AI (China)
GLM-5 family — flagship reasoning and agentic models, China mainland API
API Configuration
| API Type | openai-completions |
| Base URL | https://open.bigmodel.cn/api/paas/v4 |
| Auth Mode | api_key |
| Auth Keys | ZHIPU_API_KEY — API key from open.bigmodel.cn console |
| Regions | cn |
| Default Model | glm-5 |
| Status | active |
Pricing
Pay-as-you-go per token (CNY) with tiered pricing by context length. GLM-4.7-Flash is free. New accounts receive 20M free tokens.
Getting Started
Sign up at open.bigmodel.cn, new accounts receive 20M free tokens. Create an API key in the console dashboard.
Models (3)
| Model | Context | Max Output | Pricing | Features |
|---|---|---|---|---|
GLM-5-Turboglm-5-turbo | 128K | 16K | Tiered (CNY): Input ¥5/M (≤32K) / ¥7/M (>32K), output ¥22/M (≤32K) / ¥26/M (>32K). | |
GLM-5glm-5 | 128K | 16K | Tiered (CNY): Input ¥4/M (≤32K) / ¥6/M (>32K), output ¥18/M (≤32K) / ¥22/M (>32K). | |
GLM-4.7glm-4.7 | 200K | 16K | Tiered (CNY): Input ¥2-4/M, output ¥8-16/M depending on input/output length. See pricing page. |