LinuxCommandLibrary

opencode-stats

Show OpenCode usage statistics

TLDR

Show token usage and cost statistics

$ opencode stats
copy

SYNOPSIS

opencode stats

DESCRIPTION

opencode stats displays token usage and cost statistics for OpenCode sessions. It shows cumulative data about tokens consumed, API calls made, and estimated costs across different AI providers. Useful for monitoring usage and budgeting API expenses.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard