samiulhossain
01

UsageLedger

mobile · 2026

Your AI spend across every account, on your phone. UsageLedger pulls live usage from Command Code and Cursor — and nothing leaves the device.

Problem

AI usage is scattered across platforms and accounts. Checking where your limits stand means opening a desktop app or dashboard for each one, one at a time.

What I built

A Flutter app: add each account once with its API key, and UsageLedger pulls live usage directly from every platform. It aggregates across accounts, shows exact used/cap and reset times for plan windows (Command Code's 5-hour/weekly/monthly, Cursor's included-usage splits), breaks tokens down per model with cost, and accumulates refresh snapshots into a cost-over-time chart. Tokens are stored encrypted on-device — no server, no cloud. Ships as a signed APK on GitHub Releases (v0.3.0).

Highlights

  • Multi-platform, multi-account — any number of accounts per platform
  • Live plan limits with exact used/cap and reset times
  • Per-model token breakdowns (input/output/cache) with cost
  • Cost history built from refresh snapshots
  • Tokens encrypted on-device; only the platform API calls leave the phone
usageledger/stack.toml

# usageledger - ai spend tracker

lang = "dart"

ui = "flutter"

platforms = "command code, cursor"

shows = "limits, tokens per model, cost over time"

privacy = "encrypted on-device, no server"

ship = "signed apk via github releases"