← 返回命令列表

Linux command

opencode-stats 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show

opencode stats

说明

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.

FAQ

What is the opencode-stats command used for?

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.

How do I run a basic opencode-stats example?

Run `opencode stats` in a terminal, then adjust file names, paths, flags, or remote targets for your system.