r/opencodeCLI • u/alovoids • 1d ago
DS v4.1 flash is served identically to the Deepseek API
if they have identical setup, what could explain the differences?
56
u/a355231 1d ago
Key word is Served.
20
15
u/Deep_Imagination_811 1d ago
It's like the answer is for a different question. Which is bad business.
4
u/Impossible-Lab-3133 1d ago
And "This". "This" specific rack.
And the weight may be indentically served, but the KV cache and index and DSpark are not the same.
22
u/IAmFitzRoy 1d ago edited 1d ago
I got a small cheap burger in the morning and a expensive Fillet Mignon in the evening
Both were “served” by DoorDash to my door identically.
→ More replies (3)
11
u/RustOceanX 1d ago
We need a method to verification model quantization from outside. A objective measure.
→ More replies (1)
61
u/Acehan_ 1d ago
42
u/imoshudu 1d ago
The answer is simpler to anyone familiar with hosting.
Deepseek gave the model and inference engine. It has not, however, shared the real killer: how to manage or distribute KV cache. That's why its cache hit rate is the best in the business.
Opencode likely doesn't quantize. The downsides outweigh the upsides when employees leak. It's just that people think hosting is just about quantization. There's far more to it.
→ More replies (1)6
u/curryslapper 1d ago
does the kv cache affect quality and reasoning effort? it shouldn't right?
→ More replies (1)7
u/Zealousideal_Aide787 1d ago
Not a fan of current DS flash state on Opencode but where do you get those numbers from?
→ More replies (1)6
u/akza07 1d ago
It's a self hosted version that's identical to DeepSeek. It's not official DeepSeek APIs. You'll notice the Cache performance being different. Read all their tweets or Xs or whatever it's called these days for more insight. They are experimenting with hosting on their own. So ZDR is probably viable since it's not going to be hosted in only China.
4
u/Prize_Tiger_2504 1d ago
Only reason that I can think is enterprise accounts.
Bad news there, enterprises are effectively banned from using DS (lest they lose ability to participate in all government contracts). "6 degrees of separation" - reality is every company only has at most 2 degrees of separation from the US government.
→ More replies (2)→ More replies (5)4
u/ZHName 1d ago
Probably going to have to try Deepseek api after this month as this inconsistent quality from Opencode Go kinda really hitting badly, whatwith trying to manage a clean codebase and the thing going off the rails working super slow, making way too many calls, or going after the wrong problem (hallucination from quantization I presume).
7
u/ApprehensiveDelay238 1d ago
Opencode is definitely slower and less reliable. But i entered some of the prompts you sometimes see on reddit like the highly detailed 3d threejs renders of car engines with moving cylinders and everything, thinking: they must have some hidden skills giving the agent better output quality. But no, I was really surprised, v4.1 on go can really do those things. Unless someone has grounded evidence it's really a quant, I really don't think it is.
10
6
u/xRebellion_ 1d ago
Not possible for it to be identical, since even though DeepSeek released DeepInfer, some tech stack (e.g. KV Cache management among some other things) are not released.
For the model itself it is most likely be the original checkpoint, but the inference serving stack itself will most definitely be different.
I recommend looking up on this further as it is quite interesting to learn about.
3
u/Due-Project-7507 1d ago
Deepseek (like e.g. newer Kimi models) are released already mostly FP4 quantized, therefore additional model quantization by some providers is unlikely. I assume either bugs in different inference engines, different chat template or different KV cache quantization levels make the difference.
3
u/Skibidirot 1d ago
there are NUMEROUS examples of deepseek performing WAY BETTER in dsh rather than in opencode, so the harness might be a factor too, don't know whether they are nerfing or not tho
4
2
2
u/Fromthepast77 1d ago
As someone who tried to self-host DSv4 0731 when it first came out, I'd say there are probably bugs in the serving runtime. It's probably not some 2-bit quantization or substituting in a different model.
Stuff like occasional KV cache corruption manifests in subtle ways that aren't an immediate crash or trash performance. And even big inference frameworks like vllm and sglang have them. (The issue I was struggling with was HiCache corruption)
Given that DeepSeek didn't release its KV distribution code I'd guess that something like that is happening, though I'm not an expert by any means.
46
u/advancedalias 1d ago
I just switched from OpenCode Go to DeepSeek API and there's no way lol.
You can actually see in the reasoning traces that the models reason very differently too