Get an API key
Create an international key on the Z.AI API keys page. For China, create the key in the Zhipu BigModel console. Use Z.AI Coding Plan for a Coding Plan membership key.Configuration
Add Z.AI in Settings > Models, paste the platform key, and select its region. Environment-variable configuration uses:zai/ prefix; Roomote can also map a
supported GLM vision model to the vision role.
Cost behavior
Requests consume the API balance of the matching regional platform. Roomote records usage and estimates cost from model metadata. The selected Z.AI or BigModel account’s balance, pricing, and quota are authoritative; Coding Plan allowances do not fund this connection.Verify setup
- save
ZAI_API_KEYwith the correctZAI_REGION - confirm Z.AI models appear in Settings > Models
- enable a
zai/...model and assign it to a role - run a small task and confirm usage in the matching regional console
Common issues
- Authentication fails. International keys require
global; BigModel keys requirechina. - A Coding Plan key is rejected. Connect it through the separate Z.AI Coding Plan provider.
- Quota display is missing. Roomote uses an undocumented regional endpoint; missing quota data does not necessarily mean inference is unavailable.