Know your LLM usage
at a glance.
A tiny open-source CLI and macOS menu bar app that tracks your subscriptions (Claude Max, Codex, Kimi Code, Cursor) and your API keys (OpenAI, Anthropic, Kimi) โ cycle, usage, and reset times. Everything stays on your machine. No signup, no server, no database, no tracking.
โ claude ยท Max (20x) Weekly โโโโโโโโโโโโโโโโ 52% left ยท 3d 4h Session (5h) โโโโโโโโโโโโโโโโ 87% left ยท 2h 10m โ codex ยท Pro Weekly โโโโโโโโโโโโโโโโ 41% left ยท 2026-08-08 GPT-5.3-Codex-Spark โโโโโโโโโโโโโโโโ 52% left ยท 2026-08-10 โ kimi-code ยท Vivace Weekly โโโโโโโโโโโโโโ 38% left ยท 2026-08-07 5h rate limit โโโโโโโโโโโโโโโโ 94% left ยท 4h 35m โ cursor ยท Pro Monthly โโโโโโโโโโโโโโโโ 34% left ยท 2026-08-06 API keys openai $12.40 spent this cycle cycle: day 3/31 ยท resets 2026-09-01 (28d left)
What it tracks
Subscriptions โ auto-detected
Nothing to configure. If the tool is signed in on your machine, sage reads its local credentials read-only and shows plan, usage windows, and reset times.
- Claude โ Max/Pro, session + weekly limits
- Codex (ChatGPT) โ plan, weekly limits, credits
- Kimi Code โ membership tier, weekly quota, rate limits
- Cursor โ plan, monthly included usage
API keys โ pay-as-you-go
Add keys via the CLI, the app, or both (they share ~/.sage/).
- Kimi (Moonshot) โ account balance
- OpenAI โ key validity; spend with an admin key
- Anthropic โ key validity; spend with an admin key
No provider exposes your billing cycle, so API spend is anchored to a monthly
reset day you choose (sage cycle --set-reset-day N).
Install
brew install thedevdavid/tap/sage # or run without installing: bunx @thedevdavid/sage
brew install --cask thedevdavid/tap/sage-app
Or grab sage.app.zip from
GitHub releases.
npx skills add thedevdavid/sage # or: sage skill install
Teaches your coding agent to answer โhow much do I have left?โ itself.
Usage
sage status [--json] cycle + usage for keys and subscriptions (default)
sage add <provider> add an API key: openai, anthropic, kimi
[--key K] [--admin-key K] prompts securely when flags are omitted;
spend reporting needs an admin key
sage remove <provider> remove an API-key provider
sage usage [name] [--json] detailed usage for one source or all:
openai, anthropic, kimi, claude, codex, kimi-code, cursor
sage cycle [--set-reset-day N] show billing cycle, or set the monthly reset day
sage skill install [--project] install the agent skill (~/.agents/skills,
or ./.agents/skills with --project)
sage help show help
sage version show version
Local-only by design
- Keys live in
~/.sage/config.json(chmod 600). Subscription credentials never leave your existing CLI/app stores. - The only network calls are to the providers' own APIs. No accounts, no sync, no analytics, no dependencies.
- The CLI and the menu bar app share two JSON files. That's the entire architecture.