Zhipu
Use this when your team already runs on Zhipu and you want that vendor family to stay explicit in Loong config instead of disappearing behind a generic compatibility route.At A Glance
| Field | Value |
|---|---|
| Built-in kind | zhipu |
| Provider group | Direct Hosted Providers |
| Protocol family | openai_chat_completions |
| Feature family | openai_compatible |
| Auth scheme | bearer |
| Credential envs | ZHIPUAI_API_KEY, ZHIPU_API_KEY |
| Aliases | zhipu_compatible, glm, bigmodel |
| Default base URL | https://open.bigmodel.cn |
| Request endpoint | https://open.bigmodel.cn/api/paas/v4/chat/completions |
| Models endpoint | https://open.bigmodel.cn/api/paas/v4/models |
Minimal Config
Verify It
list-models is unreliable for this account or region, pin an explicit provider.model or add preferred_models instead of leaving recovery implicit.
Auth And Routing Contract
| Contract | Value |
|---|---|
| Auth optional | no |
| Model probe auth optional | no |
| Default API key env | ZHIPUAI_API_KEY |
| OAuth env | none |
| Primary request route | https://open.bigmodel.cn/api/paas/v4/chat/completions |
| Primary model-catalog route | https://open.bigmodel.cn/api/paas/v4/models |
Region Endpoints
| Variant | Base URL |
|---|---|
| CN | https://open.bigmodel.cn |
| Global | https://api.z.ai |
https://open.bigmodel.cn); switch provider.base_url to https://api.z.ai for Global accounts
Related Docs
- Continue to Providers And Models when you still need the broader chooser page.
- Continue to Provider Guides for the full built-in provider matrix.
- Continue to Provider Recipes for representative rollout recipes.
- Continue to Configuration Patterns for the shared provider-profile shape.