r/PiCodingAgent • u/chroner • 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.
7
Upvotes
View all comments
1
u/pilibitti Sep 27 '26
since each turn sends the entire history, each message in a conversation costs more than the previous one.
cache read says $0.1 per million tokens. if you have 500k tokens in history, each turn reads the entire history from cache, that means each turn costs ~$0.05 just for reading from the cache. When you approach 1 million history each turn's just cache read cost approaches $0.1. You add to that the output cost.
most people assume they pay the cache / history cost once. Like if the history grows to 1 million tokens, it will in total cost $0.1 but that is not the case. you pay for that at each turn. each message you send, each tool call by itself incurs that cache read cost calculated from the entire history.