r/PiCodingAgent • • Sep 27 '26

Question OMP and Opus 5.5 Usage

Why is it that Opus 5.5 usage starts out great in OMP, and then for one reason or another starts draining usage like crazy? Am I hitting some sort of caching issues? Do I need to compact at 400k? Or what?

I am pretty sure the cache is being kept warm for an hour, but I don't know for sure how this stuff works. It's compacting at 850k. If i've left it for awhile and context is >35% I will use /handoff and that seems to help.

8 Upvotes

15 comments sorted by

View all comments

1

u/hancengiz Sep 28 '26 edited Sep 28 '26

Prompt cache times differ for API consjmption and ClUde Code subscriptions consumptions.Subs 1hr. api 5min. Never used pi on claude sub, if pi is going to API, API has 5mins cache subs has 1hr. That could be the reason you see different consumption for same usage patterns you have.

ephemeral_5m_input_tokens ephemeral_1h_input_tokens

ask pi to check its (or claude's log to find if it sees any of these in the messsages to antrophic servers)

So, assuming pi connects to API if that's the case it would be 5-minute cache so long story short if you wait more than 5 minutes between two prompts the next prompt would be processed with no cache reads (whole chat history from scratch)

https://platform.claude.com/docs/en/build-with-claude/prompt-caching#1-hour-cache-duration