macOS menu bar widget showing Claude and Z.ai quota usage.
Llumia — Catalan for "light", hiding both LLM and IA (Intel·ligència Artificial).
- macOS
- Python 3.9+
uv(recommended) orpip~/.claude/.credentials.json(written by Claude Code automatically)~/.config/opencode/opencode.jsonwith Z.ai API key, orZAI_API_KEYenv var
curl -fsSL https://github.com/rafaelzimmermann/llumia/main/install.sh | bashOr manually:
git clone https://github.com/rafaelzimmermann/llumia.git
cd llumia
./install.shThe menu bar shows current usage at a glance:
🤖 C 42% Z 67%
Click the icon to expand the menu and see details for each provider — usage bar, percentage, quota window, and time until reset.
Refreshes every 60 seconds. Click Refresh to force an update.
| Indicator | Meaning |
|---|---|
| ○ | < 70% used |
| ◕ | 70–89% used |
| ● | ≥ 90% used or rejected |
- Claude: reads your OAuth token from Keychain (or
~/.claude/.credentials.json) and makes a minimal API call to read usage from response headers. Cached for 5 minutes. - Z.ai: reads your API key from
~/.config/opencode/opencode.json(orZAI_API_KEYenv var) and polls the quota endpoint. Cached for 1 minute.
The install script sets this up automatically. To do it manually:
./install.sh --launchagent./install.sh --uninstallStops the app, removes the launch agent, log file, and the entire repo directory.