Every account, one home
Add any number of accounts per platform. The Home screen aggregates usage across all of them in one place.
Personal AI usage control
Usage Ledger is a completely personal Android app that watches usage and spend across all your Command Code and Cursor accounts in real time. Add each account once — your data never leaves your device.
Free & open source (MIT) · No cloud · No telemetry · Android 8+
Built for one person: you
Not a team dashboard. Not a SaaS portal. A fast, private app that lives on your phone and answers one question — what has my AI cost me so far?
Add any number of accounts per platform. The Home screen aggregates usage across all of them in one place.
Paste a token once — Command Code's apiKey or a Cursor token from cursor-agent login. It goes into the OS secure store, never to a server.
Command Code's 5-hour, weekly and monthly windows with exact used/cap and reset times. No guessing whether the window rolled over.
The Auto vs API vs total split of your included usage, with exact used/cap numbers for every Cursor account.
Input, output and cache tokens per model, with cost — so you know which model actually eats the budget.
Tokens live in the OS secure store, usage history in on-device SQLite. Nothing leaves your phone except the API calls to the platforms themselves.
The app
Accounts down the side, live limits and cost front and center — built for one-handed checking.
user_••••••••8f2acur_••••••••mLR4user_••••••••Qe5dCommand Code: run /login, or read apiKey from ~/.commandcode/auth.json. Cursor: run cursor-agent login on your desktop and approve the URL.
Add as many accounts as you like. Tokens go straight into the OS secure store — encrypted, never uploaded.
Home aggregates every account. One pull refreshes limits, tokens and cost for all of them.
Tokens
Usage Ledger needs one token per account. Paste it once and it's kept in your phone's secure store — encrypted, masked and never synced anywhere. No .env files, no digging through provider consoles.
Try it — the demo copies for real.
Download
MIT-licensed. No accounts, no servers, no premium tier — every feature is in the free build. Grab the signed APK from GitHub Releases, or compile it yourself.
First install: allow "Install unknown apps" for your file browser, then open the APK.
FAQ
No. Tokens sit in the OS secure store and usage history in an on-device SQLite database. The only network traffic is direct calls to the Command Code and Cursor APIs with your own credentials — nothing is sent anywhere else.
Command Code and Cursor today, with more platforms planned. Any number of accounts per platform is supported, and the Home screen aggregates across all of them.
For Command Code: requests, tokens in/out, cost, credits, and the rolling 5-hour, weekly and monthly limit windows with reset times. For Cursor: plan spend, the included-usage split (Auto vs API vs total), and per-model token counts with cache.
Command Code: run /login, or take apiKey from ~/.commandcode/auth.json (it starts with user_). Cursor: run cursor-agent login on your desktop, approve the URL it prints, then paste the token into the app.
Nothing. Usage Ledger is MIT-licensed open source. Download the signed APK from GitHub Releases or build it from source — there is no paid tier and there never will be a server to pay for.
The app is built with Flutter, so other targets are possible later, but today it ships as an Android APK for Android 8+.
Two minutes to set up: grab the APK, paste a token, done.