Press Ctrl + P in OpenCode to open the command palette, search install plugin, then type:
opencode-cache-stats@latest
Press Enter to install and configure automatically.
Install the plugin
npm install -g opencode-cache-stats@latestConfigure TUI plugin
Create or edit ~/.config/opencode/tui.jsonc:
Open any session — the cache stats panel appears in the sidebar.

{ "$schema": "https://opencode.ai/tui.json", "plugin": ["opencode-cache-stats@latest"] }