Token Ledger
Lokales Dashboard für den Tokenverbrauch von OpenCode – API und Frontend auf einem Port, startbar via opencode-token-ledger.
0
818
317 in 7 days
37.9
Multi-signal model
6 days ago
2026-09-28
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-token-ledger@0.3.1"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-token-ledger@0.3.1"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-token-ledgerOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.
Similar plugins
Session Viewer
@cedricg-dev/opencode-session-viewer
A local dashboard for [opencode](https://opencode.ai) that shows live session activity — messages, status, and model usage — in your browser.
Turn Stats
opencode-turn-stats
Current-turn processed-token count for the OpenCode sidebar
Usage Stats
@bandonker/opencode-usage-stats
Lifetime token / dollar / tool accounting in local SQLite with a self-contained HTML dashboard and Unicode heatmaps.