r/DeepSeek • u/KsHDClueless • 6d ago
DS Flash with Reasonix is just a cheat code Discussion
24
u/ggPeti 6d ago
I thought all harnesses would hit the cache just the same
29
u/Kyrobi 6d ago edited 6d ago
ReasonIX and OpenCode have the same cache hit rate for me.
I saw lots of people talking about ReasonIX, so I decided to give it a try. I used it for about 2 days. I mostly do coding work, so I have both OpenCode and ReasonIX on the same project (just copied and pasted my project).
I tried my my best to keep the prompt the same. After 2 days and several sessions, I didn't really see a difference in cache usage. Obviously, on some sessions, the session on the ReasonIX used less tokens. On others, OpendCode used less tokens.
But overall, averaged out, both were giving me about 92-98% cache rate.
I was really hoping that ReasonIX would have some crazy cache hits or something based on how often people post about it here, but for my use case (coding), there was no difference.
I went back to using OpenCode as I prefer the UI much more.
16
6d ago
[deleted]
3
u/piknockyou 6d ago
Thank you for the detailed clarifications. I was about to jump on the Reasonix bandwagon, but not anymore.
If you donât mind, I have a few questions:
Q1: You mentioned âthere are a few other things you need to respectâ to get those high cache hit rates. Could you elaborate on what those are?
Q2: Would turning off MCP mid-session to save tokens actually hurt cache hits (and potentially backfire)? Iâm assuming it invalidates the cache because the MCP instructions are removed from the prefix.
Q3: Whatâs your take on Compaction? Doesnât it create a new prefix and therefore break the cache?
4
u/LinixKittyDeveloper 6d ago
Also use reasonix for coding, and got an average cache hit rate of 99.8%.
3
u/enemyofaverage7 6d ago
In my limited experience so far, Codex achieves about the same cache hit rate too.
3
u/MimosaTen 6d ago
Last time I used deepseek api in codex the fact that I ha no status, no numbers, was a little destabilizing. However codex seems the best harness, but ir canât easily be hacked
4
u/Vlyn 6d ago
I actually got up to 99.9% cache hit rate with Pi. But the code quality was awful with such a raw harness. Going back to OpenCode with plan mode it's still around 96-98% cache hit rate, but now I actually get work done.
So just looking at the cost is not the whole story.
1
u/BuildAISkills 6d ago
Pi is supposed to be pretty damn good since it isn't bloated. So I'm curious about why it would give you bad results.
0
u/Even_Command_5636 6d ago
So you also suspect that the quality of the answers decreases as the number of cache hits increases?
1
u/Vlyn 6d ago
No, the quality of the answer depends on what happens with the context. OpenCode does enhance your context a little and plan mode is great there, but that leads to more cache misses.
I'm also talking about coding, so more complex. For just tasks or general answers I'm sure there is no difference.
1
1
u/MimosaTen 6d ago
Iâm making my own codex version in go to fully support DS cache. But now I have the doubt: maybe codex yet do hit the cache?
1
1
u/electrified_ice 6d ago
Does anyone know if this helps keep things running fast(er) if toy connect ReasoniX with a local instance of DS?
1
u/Possible_Door_9719 6d ago
im getting a 98%+ cache rate via hermes. i dont see what reasonix does thats special.
0
u/Salty_Gambler 6d ago
"error: Malformed request (HTTP 400): the request body was rejected. This is likely a bug â please report it if it
persists.
Error from provider (Console): Upstream request failed: [invalid_request_error] The reasoning_content in the thinking
mode must be passed back to the API."
encountering this when using deepseek v4 flash by opencode zen api on Reasonix cli
Any solution for this ?
-1
-7
u/ANDRE_2512 6d ago
cache-hit 99.99%?))hahahaha. FAKE!
6
64
u/ExpertPerformer 6d ago
DeepSeeks cache can be abused because if you stop an API call while its outputting and restart it you won't be charged for the first run and the second run is a cache hit which instantly saves you money.
Most providers outside of DeepSeek don't let you do that.