Get a Coding Plan key
Activate a plan and follow the Z.AI Coding Plan documentation to create a key. Generate it in the same international or China region you will select in Roomote.Configuration
Add Z.AI Coding Plan in Settings > Models, paste the plan key, and select its region. Environment-variable configuration uses:zai-coding-plan/ prefix, keeping
their membership quota separate from metered zai/ model IDs.
Cost behavior
Requests consume the Coding Plan’s included quota and reset windows rather than a general Z.AI API balance. Roomote shows quota information when the provider’s regional monitoring endpoint returns it. The plan console remains authoritative for allowance, renewal, overage, and regional terms.Verify setup
- save the Coding Plan key and matching region
- confirm Z.AI Coding Plan models appear
- enable a
zai-coding-plan/...model and assign it to a role - run a small task and check the quota display when available
Common issues
- The key is rejected. Confirm it is a Coding Plan key, not a general API platform key, and that the selected region matches.
- The plan quota is exhausted. Wait for its reset or switch the role to a separately billed provider.
- Quota is not displayed. The upstream monitor endpoint is undocumented and may be unavailable while inference continues to work.