Your OpenCode usage, at a glance.
The rolling five-hour, weekly and monthly plan windows, every dollar split by model, and your latest sessions with what each one cost. It reads your own OpenCode data, so nothing leaves your machine.
npx opencode-usage-dash
or the container:
ghcr.io/martinezharo/opencode-usage
- Real percentages and reset times from the OpenCode Go API.
- Per-model costs from the OpenCode console, so the dollars match the website.
- Hover a bar for spend, requests and tokens per model.
- Your latest sessions, with what each cost and the models it used.
- Falls back to your local database. No account, no telemetry.