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

Show parent comment

1

u/RndRedditPerson 29d ago

Not what i am asking for, but looks interesting to get at least those global stats! Unfortunatelly i don't use Opencode subscription, would be good to support all connected OC providers