Earlier quoted context omitted.
The OpenCode devs talk about this on Twitter a lot, e.g. https://xcancel.com/thdxr/status/2048268697790300343 > tool call pruning breaks cache and people will tell you this is horrible and expensive > except i looked at some anthropic data and real user behavior ends up with better cache hits and 30% less spend > even this is needs to be analyzed further, it's just not simple > for openai data it's inverted! cache hi…
You didn't quote the interesting part: > our implementation is it only prunes calls from > 3 user messages ago, if context is > 40K, and only if there's at least 20K tokens to be removed Seems reasonable to me and explains why I can have long sessions (way longer than with zed agents) while still hitting cache. Opencode is just missing per-provider TTL.
DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
251–260 of 325 posts
Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#252Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#253Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#254Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#255Earlier quoted context omitted.
I’m feeling more a novice every day, but how isn’t this just handing over your code to team deepseek for whatever they might want
there's laws on the books in China that says that every company operating in China must aid and abet the Chinese government in espionage against the rest of the world. given those facts, I find it deeply troubling to be using anything coming out of China, especially a program that runs in the context of a Linux terminal on a machine that might have something important on it. I'd argue it's a back door waiting to happ…
Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#256I'm not sure you need a "DeepSeek native coding agent" to take advantage of DeepSeeks cache, yesterday as the Codex quota usage issue still wasn't solved for me, I wrote a tiny little bridge so I could use DeepSeek V4 Pro via Codex, and seems most of everything I did was basically cached as far as I can tell: https://i.imgur.com/7eKn6wN.png (2026-05-23 Input (Cache hit): 39,123,200 tokens, Input (Cache miss) 1,692,28…
This would be a better page to link to https://github.com/esengine/DeepSeek-Reasonix/blob/main/docs... They explain some of the the reasons why they have a better solution and why they are very opinionated >Automatic prefix caching activates only when the exact byte prefix of the previous request matches. Most agent loops reorder, rewrite, or inject fresh timestamps each turn — cache hit rate in practice: So they opt…
I haven't seen that, it'd be crazy slow if they did this. What "agent loops" are they talking about here specifically? The vagueness makes it sound potentially made up.
Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#257As someone who has been writing harnesses for a year: the people at opencode etc aren't stupid, when they decide to break the prefix cache [usually partially] it's always because they've tested it and it gives better results overall. If you think that dsv4 behaves differently enough from the aggregate of other models, submit a PR with a patch to special case that to your harness of choice with evidence. Just blindly…
Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#258Earlier quoted context omitted.
Deepseek v4 pro is definitely my preferred cheap model, it's very good, and I use it all the time for my personal projects (opencode go plan), but I also use Claude Opus all the time at work and Deepseek is not as good as that, but it does compete with Sonnet for capability, and beats it on price.
Deepseek V4 Pro is an amazing model, even without the unreal cost factored in. It is my default model at the moment. I'm not doing anything too complex though. I honestly found more expensive models like Qwen 3.6 to fail in tasks Deepseek nails. I'm interested in knowing what people are using for tasks which require a bit more thinking. Kimi 2.6? Qwen 3.7? GLM 5.1?
Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#259Re: DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
#260Earlier quoted context omitted.
Opencode has really bad cache stability issues that they seem uninterested in fixing at the moment.
That'd be really easy to spot and also fix, most likely. Any open issue you could point us to, must surely been reported already?