Personal AI usage control

Every token.
Every account.
One ledger.

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+

Command CodeCursorMore platforms coming

Built for one person: you

Everything your AI spend was missing

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?

Every account, one home

Add any number of accounts per platform. The Home screen aggregates usage across all of them in one place.

Add an account in seconds

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.

Live plan limits

Command Code's 5-hour, weekly and monthly windows with exact used/cap and reset times. No guessing whether the window rolled over.

Cursor included usage

The Auto vs API vs total split of your included usage, with exact used/cap numbers for every Cursor account.

Per-model breakdowns

Input, output and cache tokens per model, with cost — so you know which model actually eats the budget.

Private by design

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

One screen for every account

Accounts down the side, live limits and cost front and center — built for one-handed checking.

01

Get your tokens

Command Code: run /login, or read apiKey from ~/.commandcode/auth.json. Cursor: run cursor-agent login on your desktop and approve the URL.

02

Paste each once

Add as many accounts as you like. Tokens go straight into the OS secure store — encrypted, never uploaded.

03

Check from your phone

Home aggregates every account. One pull refreshes limits, tokens and cost for all of them.

Tokens

Added once. Stored safely.

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.

  • Tokens live in the OS SecureStore, encrypted on-device
  • Masked everywhere; revealing takes a deliberate tap
  • Any number of accounts per platform
  • Remove an account and its token is gone with it

Try it — the demo copies for real.

tap to copyencrypted locally

Download

Free, and open source.

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.

Usage Ledger for Android

Android 8+ · signed release build · Flutter

  • Unlimited Command Code & Cursor accounts
  • Live limit windows and included-usage splits
  • Per-model token and cost breakdowns
  • Cost history from on-device snapshots
  • Every future update at the same price: free
Download APK from Releases Browse the source (MIT)

First install: allow "Install unknown apps" for your file browser, then open the APK.

FAQ

Frequently asked questions

Does my data leave my phone?

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.

Which platforms does it track?

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.

What does it actually show?

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.

How do I add an account?

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.

What does it cost?

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.

What about iOS or desktop?

The app is built with Flutter, so other targets are possible later, but today it ships as an Android APK for Android 8+.

Stop guessing what your AI costs.

Two minutes to set up: grab the APK, paste a token, done.