AI usage analytics for developers and teams
Know what your AI tools actually cost
One private dashboard for Claude Code, Codex, Cursor, and more, across every machine and account. Usage syncs as rollups. Full prompts and responses stay on your devices.
brew install starkdmi/tap/statsaiOr: cargo install statsai, cargo binstall statsai, or use the GitHub release installer script.
Prefer an app? Get StatsAI for Mac6.39B
184k requests
87
in selected range
$1,870
API-equivalent
14 days
longest: 31
Activity
Providers
Every tool reports differently. Or not at all.
You run Claude Code on your laptop, Codex at work, and Cursor on a remote server. Each has its own usage UI, billing cycle, and blind spots. StatsAI normalizes local logs on each machine into one schema, syncs only what you need, and shows the full picture — including subscription value versus API-equivalent spend.
Up and running in minutes
No API keys from providers. No proxying your requests. Just a local CLI that reads what your tools already log.
Install the collector
Install the open-source Rust CLI from GitHub. It reads local provider logs directly — no browser extension required.
Pair your devices
Authorize each machine once in the browser. StatsAI stores a device session for automatic sync from that machine.
Scan and sync
Read local provider logs on each machine, normalize them locally, and sync usage rollups to your dashboard, plus project and session details if you opt in.
See the full picture
Use the dashboard for cross-device totals, provider breakdowns, subscription value, activity heatmaps, and project-level stats.
Built for developers who ship with AI
Not another wrapper around provider dashboards. A private dashboard designed around how you actually work.
One dashboard, every device
Laptop, desktop, and headless servers — roll up tokens, cost, and activity into a single view filtered by account and time range.
Outcome-aware insights
Correlate AI sessions with commits and projects so you can see what you actually shipped with those tokens, not just how many you burned.
Private dashboard sync
Daily rollups and provider account details sync; project, session, and task details only if you opt in. Prompts, raw log lines, and transcripts stay local, and you can preview every batch before it leaves.
Auditable open-source CLI
The Rust CLI that reads your local provider logs is fully open source. Inspect what it reads, how it normalizes events, and what it strips.
One view of your whole team's AI usage
See who uses which tools, on which projects, and what the subscriptions are worth against API pricing. Rankings by tokens, requests, API value, or active days. No prompts, messages, or task archives are ever collected.
Create a private team
Pick a stable team URL. You stay the owner.
Invite with roles
Admin, member, or read-only viewer per person.
Link shared projects
Each member connects their own local checkout. Usage rolls up per project without anyone's prompts.
Your code and full prompts stay local
The open-source CLI reads provider logs on your machine and syncs usage rollups. Project details, session titles, and short task previews go only if you turn them on. Full prompts, model responses, and raw log lines never leave. Run sync --dry-run to see exactly what a batch contains before it is sent.
Stays on your machine
- Full prompts and conversation content
- Model responses and tool transcripts
- Raw JSONL log lines
- Parse evidence line numbers and source record IDs
- Private subscription notes
Synced as rollups
- Daily token and request rollups
- Provider, model, and provider account email or ID
- Opt-in: project names, repo and branch labels, folder paths
- Opt-in: session titles, task previews, agent tool names
Normalized from local logs across providers
We build StatsAI with StatsAI.
Our own usage on this project is public: tokens, models, activity, and cache reuse, straight from the dashboard.
Stop guessing what your AI stack costs
Connect your first device, scan your local logs, and see your real usage in one dashboard — without giving up your privacy.