Browser extension for the z.ai API subscription page.
The z.ai subscription page at https://z.ai/manage-apikey/subscription shows quota usage percentages but doesn't display when the quota resets in your local timezone. You're left guessing when you can use the API again.
- Adds a reset countdown bar inside each quota card (5h quota and monthly web search quota)
- Shows the exact reset time in your local timezone with a color-coded progress bar (red = long wait, yellow = halfway, green = almost reset)
- Displays the current quota multiplier badge (peak 3x / off-peak) with local peak hours on hover
- Shows a message when the 5h quota hasn't started yet
- Auto-switches to the "Usage" tab on page load
Only tested on the legacy pro plan with 5-hour and monthly reset cycles. Plans with weekly resets or different quota structures have not been tested and may not display correctly.
Firefox (signed):
Install from Firefox Add-ons or download the .xpi from Releases.
Chrome:
- Download the
.zipfrom Releases - Extract the zip
- Go to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked" and select the extracted folder
Tag a version and push to trigger the GitHub Actions workflow:
git tag v1.2.0
git push --tags
The workflow packages the extension files into a zip, signs the .xpi via AMO, and attaches both to a GitHub Release.