See every opencode session, tool call, and token as it happens. ClawMetry detects opencode automatically and renders sessions, tokens, cost, and per-provider routing in one dashboard. No SDK.
Once ClawMetry is running, your opencode activity shows up as:
Pick the line that matches your OS. Windows users: paste the install.cmd line, not the shell one.
# macOS or Linux
curl -fsSL https://clawmetry.com/install.sh | bash
# Windows (cmd.exe or PowerShell)
curl -fsSL https://clawmetry.com/install.cmd -o install.cmd && install.cmd
Already have Python? pip works too; onboard is the interactive first-run wizard.
# Any OS with Python 3.9+
pip install clawmetry && clawmetry onboard
Or skip the terminal entirely and grab the desktop app: macOS (.dmg) · Windows (.exe) · Linux (.AppImage). It installs and updates ClawMetry for you.
clawmetry
The daemon auto-detects opencode and starts reading immediately. No env var, no config, no runtime restart.
Open http://localhost:8900. Switch the runtime chip to opencode.
Start the free trial →Left alone, opencode's failure mode is a fanned turn charged three times because every provider took the request. ClawMetry watches for it: cost per hour on the opencode runtime, message-repeat detection, and per-session token-growth curves. Set a threshold, and the approval queue pauses before the next call. Kill switch (Pro) stops it.
Engineers and founders from OpenAI, Google, PostHog and more have starred ClawMetry on GitHub. One of them helped build it.
opencode is one of 20. Free on every plan: OpenClaw, NVIDIA NemoClaw. Paid on Cloud Pro or Self-Hosted Pro: the rest.