Skip to main content

Z.ai

Use this when your team already runs on Z.ai and you want that vendor family to stay explicit in Loong config instead of disappearing behind a generic compatibility route.

At A Glance

Minimal Config

Verify It

If runtime models list 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

Region Endpoints

Z.ai / BigModel region endpoint: Global default (https://api.z.ai); switch provider.base_url to https://open.bigmodel.cn for CN accounts