r/opencode • • 29d ago

Opencode context stats and token cache hit

Other harnesses have /context command to see stats of the context - how many tokens are in system prompt, how many for tools, etc.
How to get that in Opencode?
Also, how do you see cache hit ratio? Using Claude, Copilot subs, and Deepseek API, and couldn't find anywhere whats the cache stats of each model...

2 Upvotes

4 comments sorted by

View all comments

2

u/Primary-Meal-2264 29d ago

Just ask opencode agent to build a TUI plugin for you

1

u/RndRedditPerson 29d ago

Good idea, will definitely try it!