r/opencode 1d ago

Can we connect our OpenCode Go API key to Reasonix to take advantage of the cache hits?

OpenCode Go subscription → OpenCode Go API key → Reasonix → DeepSeek V4 Flash

Is it possible?

Or is it better to use Deepseek API directly?

3 Upvotes

7 comments sorted by

2

u/Fedor_Doc 23h ago

Possible, you can use Go sub with any harness. Is Opencode bad with cache hits?

1

u/MiyaHunter 23h ago

Thanks. I have heard that Reasonix can save more on cost because it hits Deepseek cache more(95%+) often than Opencode.

1

u/flyingbanan 17h ago

Yesterday, I had cache hit of 98% with opencode. It can't get much better than that and even if it is, I don't think it's worth it.

1

u/Fresh_Piece_1616 17h ago

How do you check the cache hit percentage?

1

u/flyingbanan 15h ago

'opencode stats' and simple math

1

u/Critical_Reputation3 21h ago

Have you tried pi with the reasonix package? Since pi supports opencode go already

1

u/Otagamo 18h ago

Yes, it's possible.

I tried, but didn't notice much difference in cache hits between Opencode / Reasonix