You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Add /stats command for token usage statistics #10240
Currently there's no easy way to view token usage statistics and activity history in OpenCode. Users have to manually calculate their usage or check external dashboards.
Proposed Solution
Add a /stats slash command that opens a dialog showing:
Activity
github-actions commentedon Jan 23, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
ajjucoder commentedon Jan 23, 2026
Closing as duplicate of #6767. PR #10234 implements this feature.