Track AI coding usage, spend, and quotas from your terminal.
OpenUsage auto-detects supported tools and common API key env vars, then shows spend, quotas, rate limits, model usage, and session telemetry in one keyboard-first dashboard.
Shows spend, quotas, and model usage in one place.
Runs locally. Install it, then run openusage.
dashboard · detail · compare · analytics views
Keep it open beside the agent you are using.
OpenUsage running alongside OpenCode monitoring live OpenRouter usage.
Rearrange dashboard sections. Tune detail graphs. Switch time windows. Set thresholds.
Settings modal — layout, graphs, thresholds, and live preview
What it shows
The useful stuff: spend, quotas, model activity, session history, and tool telemetry. No vanity counters. No decorative dashboard filler.
Spend, credits, and quotas
See daily spend, remaining credits, plan usage, resets, and burn rate wherever the provider exposes them.
Token and model breakdowns
Compare input, output, cached, and reasoning tokens with per-model usage where provider or local telemetry supports it.
Session and client activity
Inspect sessions, projects, clients, and daily trends from supported local telemetry and provider APIs.
MCP and tool usage
See which MCP servers and tools were used, how often they ran, and which sessions they appeared in for supported integrations.
Daemon-backed history
Keep collecting data in the background and analyze time windows from the local SQLite telemetry store.
Code statistics
Track lines added, files touched, and language mix from supported coding-tool telemetry.
17 providers
Coding agents, API platforms, and local runtimes.
One place to watch them all.
Get started
Install it, run openusage, and let auto-detection pick up supported tools and common API key env vars. Add manual accounts later only if you need to.
brew install janekbaraniewski/tap/openusagecurl -fsSL https://github.com/janekbaraniewski/openusage/releases/latest/download/install.sh | bashgo install github.com/janekbaraniewski/openusage/cmd/openusage@latestThen just run openusage