A tiny Cinnamon companion keeping Z.ai GLM Coding Plan usage beautifully in view. Forked from cinnamon-chatgpt-usage.
  • JavaScript 65.9%
  • Python 22.7%
  • Shell 11.2%
  • Makefile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Claudiu Schuster c3383ed250
Some checks are pending
Checks / Functional checks (push) Waiting to run
Checks / Super-Linter (push) Waiting to run
Release receipt: 1.0.5 (#23)
2026-09-21 04:29:05 +02:00
.github Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
.zcode/skills Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
docs Release receipt: 1.0.5 (#23) 2026-09-21 04:29:05 +02:00
icons Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
packaging Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00
po Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
scripts Release 1.0.1: live-fixture Spices screenshot (#4) 2026-09-19 03:51:11 +02:00
tests Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
.gitignore Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00
api_key_settings.py Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
applet.js Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
ATTRIBUTION.md Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
CHANGELOG.md Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
icon.png Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00
install.sh Prepare ChatGPT Usage Monitor 1.0.0 for Cinnamon Spices (#46) 2026-09-08 13:17:42 +02:00
LICENSE Create ChatGPT usage applet 2026-08-28 00:48:48 +02:00
Makefile Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00
metadata.json Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
notification_settings.py Prepare ChatGPT Usage Monitor 1.0.3 (#49) 2026-09-09 11:37:23 +02:00
README.md Release 1.0.3: optional 5h panel window, no-data activity ticks, Start Plan toggle, plan-only README look (#10) 2026-09-20 23:35:06 +02:00
SECURITY.md Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
settings-schema.json Release 1.0.5: inline API keys launcher, UUID fork credit (#22) 2026-09-21 04:20:13 +02:00
uninstall.sh Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00
usage-format.js Sweep the ChatGPT-era leftovers out of docs, templates and tooling (#18) 2026-09-21 01:18:59 +00:00
z_usage.py Z Usage Monitor 1.0.0 — Z.ai Coding Plan quotas + ZCode plan buckets (#1) 2026-09-19 03:13:00 +02:00

Z Usage Monitor icon

Z Usage Monitor for Cinnamon

Keep your Z.ai GLM Coding Plan beautifully in view — right in your Cinnamon panel.

Checks License GPL-3.0-or-later Cinnamon 5.8 or newer supported Z.ai monitor API

Z Usage Monitor — quota rings, plan buckets and activity chart

Full usage overview with the gradient plan pill Every window with its recent consumption
Usage menu with plan buckets, credits and 24-hour histories Scrolled usage menu with the recent-consumption charts of every plan window

Only the Coding Plan active? The popup trims to the essentials

Compact usage menu with only the coding plan windows, credits and 24-hour activity charts

Same values as above — without ZCode Start Plan or Global Build quotas the popup stays sleek.

Every active quota at a glance

Panel hover summary listing every plan window with its remaining percentage

Hovering the panel icon summarizes every plan window with its remaining quota.

General settings Colors and thresholds
General settings with quota sources and refresh options Color settings with warning and critical thresholds

Why you will love it

  • Everything at a glance — 5-hour and weekly quota windows as rings in the panel and the popup, with live reset countdowns. Either panel window can be hidden when you prefer it calm.
  • All your plans, stacked — the personal Coding Plan plus the ZCode Start Plan and Global Build token buckets, each with its own collapsible section.
  • API-key-less by default — no setup: the applet reuses the credentials of your signed-in ZCode app. It only performs read-only GET requests against https://api.z.ai.
  • Built for real panels — horizontal and vertical panels, threshold colors, pinned header and action footer, and a scrollable popup that never lets content escape.
  • Sticky chrome — title, quota rings and the action buttons stay visible while the details scroll beneath them.

Installation

./install.sh

Then enable Z Usage Monitor via System Settings → Applets and add it to a panel. Requires Python 3.10+ and Cinnamon 5.8 or newer.

Credentials: nothing to configure if the ZCode app is signed in — the applet picks up its Coding Plan API key automatically. Optional overrides: the Z.ai API key setting, the ZAI_API_KEY environment variable, or the file ~/.config/cinnamon-z-usage/api-key.

The popup

Zone What you get
Header (pinned) Title, the gradient plan pill, the last-update stamp and the 5h / 7d quota rings
Usage limits Coding Plan 5h/7d plus ZCode Start Plan and Global Build sections, each with reset countdowns
Credits Remaining credits plus the "Used:" line with 24h/12h/4h/1h consumption tokens
Recent consumption Per-plan 1h/4h/12h/Today summaries and the 24-hour activity charts
Footer (pinned) Z.ai Chat, ZCode, Refresh now, Usage dashboard

Credits

Built with love by Claudiu & ZCode as part of OSS Singularity. Forked from cinnamon-chatgpt-usage by Claudiu & Codex. All bundled icons are original OSS Singularity artwork (GPL-3.0-or-later) except the bundled symbolic action icons from Ubuntu Yaru; see icons/ATTRIBUTION.md.

Licensed under GPL-3.0-or-later.