r/opencode • • Aug 13 '26

The Opencode guy recommends switching to Opencode v2 to improve the cache hit rate

Post image

Have you guys tried it yet? Is it stable and safe to upgrade?

116 Upvotes

34 comments sorted by

25

u/Fedor_Doc Aug 13 '26 edited Aug 13 '26

Consistent 98-99% cache hit rates in pi, but I keep it clean – default tools, one extension, small AGENTS.md. 

I guess that the drop comes from the users with oh-my-pi and other heavy extensions

1

u/sam7oon Aug 13 '26

i face a big limitations with Pi due to web search, may i ask how do you manage, pupeteer and playwright are very limited with captcha including google search

3

u/stefanvh1 Aug 13 '26

https://github.com/1broseidon/ketch

with

https://github.com/searxng/searxng

is what works for me. Running a Google search in a Playwright browser does not seem like a good idea (if that is what you meant).

2

u/Classic_Television33 Aug 22 '26 edited Aug 27 '26

Thank you kind stranger on reddit. This seems fixed my broken searxng mcp in opencode2

1

u/Classic_Television33 Aug 22 '26

Do you have subagents in pi or multiple pi agents?

1

u/Fedor_Doc Aug 22 '26

No subagents, rarely multiple instances

1

u/Classic_Television33 Aug 22 '26

Good info, thank you

0

u/[deleted] Aug 13 '26

[deleted]

3

u/Fedor_Doc Aug 13 '26

No mcp, 106 lines of AGENTS.md

3

u/DYSTOBY Aug 14 '26

That’s the way. Keep it simple.

I not even sure that oh-my-opencode-slim is worth it.
I tried it and it to A) verly long to complete a task, B) consumed much more tokens on the same job I gave a clean opencode instance with no thing than the print to solve the same task.

I tested it 5 times. Seems not worth it for my workflow.

1

u/maqifrnswa Aug 15 '26

It's great a complicated, multi step processes that involve checking documentation, writing test harnesses, generating new code, testing, verifying specs are met, iterating. But for standard "make x function for this standard API" or "modify this UI to do x", it's overkill

6

u/NotThatButThisGuy Aug 13 '26

They could help the adoption by putting it out of beta if it's ready. It feels risky to me to switch to a beta product, on something that could hurt my workflow.

2

u/ProfessionalAd6530 Aug 14 '26

You install it separate. It doesn't replace what you already have. You can decide to run `opencode` or `opencode2`. So you can try it, and if it messes up your thing, just go back to using what you were using.

1

u/ichisay Aug 13 '26

Por no decir que si tienes la versión 1 totalmente configurada con tu forma de trabajar, prompts, agentes, mcps, plugins, etc. Te ves obligado a hacer una importación a la versión 2 y asegurarte de que todo quede bien.

6

u/Gianniarrenzetti Aug 13 '26

Is there a link for opencode v2?

4

u/blavelmumplings Aug 13 '26

Wondering the same. Isn't the latest version 1.18 or something?

1

u/McKing_07 Aug 15 '26

do we know what branch it's on? in the repository!?

1

u/Upstream1495 Aug 15 '26

https://github.com/anomalyco/opencode-beta

Heading for closed source shit? Do I have to plan moving to PI?

3

u/maqifrnswa Aug 15 '26

https://github.com/anomalyco/opencode/tree/v2

I don't know what the beta link you found is, but this is the v2 link

4

u/Guilty_Spray_6035 Aug 14 '26

v2 is pretty stable, and if you keep it in out of box form - no plugins, etc - it works ok, there are hundreds of issues on GitHub tagged 2.0 already. YMMV.

2

u/__xueiv Sep 26 '26

The few plugins I have (including ponytail) are broken. I can't switch now 😢

1

u/Top_Put3773 Oct 13 '26

Ponytail was fixed days ago for OpenCode v2.

1

u/mageblex Aug 18 '26

I’d test this with the same model and repo before treating the screenshot as a v2 win. Cache rate can move a lot with extensions and AGENTS.md size. Has anyone compared v1 and v2 using the same session pattern?

0

u/t4a8945 Aug 13 '26

So it's the same guy that called "idiots" the people claiming OpenCode has cache issues, that now basically admits OpenCode has cache issues. Ok nice.

https://xcancel.com/thdxr/status/2079953961579102612

3

u/DC-GG Aug 13 '26

That looks more like to me, explaining why it would be idiotic to believe they don't prioritise cache hits.

Which understandably, considering they offer their OpenCodeGo sub, would be idiotic.

0

u/[deleted] Aug 13 '26

[deleted]

1

u/afanasenka Aug 13 '26

Wtf is this?

3

u/sam7oon Aug 13 '26

spam , its bots posting this shit everywhere

2

u/zer0evolution Aug 13 '26

its reasonix harness , i already tried using DS and using Mimo api key, able to hit more than 98 percent

3

u/GetLaidOff69 Aug 13 '26

for me around 99.65% cache hit rate with Reasonix

1

u/Aggressive-Habit-698 Aug 13 '26

Deepseek first CLI cache hit no 1

1

u/Aggressive-Habit-698 Aug 13 '26

Is missing on the screenshot for DS "cache hits"

1

u/RainScum6677 Aug 13 '26

Name checks out. That said, it really is quite good.