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

8

u/Twiggled Sep 27 '26

400k context is wild, not surprised your burning through usage like that! I try not to let any single conversation go past 150k because the usage starts to become really noticeable past that point.

Even if the cache works, most of the cost is going to come from cache reads because every single tool call resends the entire conversation history and that adds up even if cache reads are 1/20th the price of a one hour cache write.

Worth checking though that you’re actually getting 1 hour cache writes and not 5 min cache writes. 5 mins is the default on API, and 1 hour is the default on subscription when you use Claude’s harness. Worth confirming how OMP handles it. Could be a combination of your crazy conversation lengths and 5 min caching.

6

u/bad_detectiv3 Sep 28 '26

I’m learning something new now. Isn’t the point of cache to reduce look up, if people are not letting context go beyond 100k, won’t it be more expensive to keep starting new session from scratch? Is hitting new session frequently the way to save on token?

I recently began playing with code after opencode zen disallowed pi using free model, I’m seeing my weekly usage being eaten up quick.

Now while I type this, I wonder if I can my ChatGPT $20 plan on pi hmm

2

u/schmurfy2 Sep 28 '26

I use got 5.6 at work with openspec, one session for exploration, one for implementation and I rarely have session bigger than 250k.

2

u/Twiggled Sep 28 '26

You need a way of to get your agent up to speed quickly in a new session. There are various ways of doing that. For example, the most basic one js an AGENTS.md file containing a short set of instructions you want your agent to follow every session.

Or like OP mentioned, you might have a /handoff skill that generates a brief summary of your current session and next steps for a new session. It’s more or less the same as compacting.

Personally, I use a variant of matt pocock’s skills that I tweaked to my liking. The basic idea is to separate planning and doing over multiple sessions, while recording the important details needed across sessions in markdown files. The workflow is plan -> convert plan into tickets -> do one ticket per session. And certain important details may get recorded in a CONTEXT.md file, or ADRs.

The problem with trying to do too much in one session is that most of the context window gets filled up with tool calls and chains of thought. Most of that isn’t needed later, but you keep paying for it with cache reads as the conversation continues. So from time to time you want to reset with just the important bits saved in some durable way like a markdown file.