r/opencodeCLI • • Oct 25 '26

DS v4.1 flash is served identically to the Deepseek API

Post image

if they have identical setup, what could explain the differences?

source: https://x.com/thdxr/status/2114211145615626433

348 Upvotes

72 comments sorted by

47

u/advancedalias Oct 25 '26

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

15

u/DeciusCurusProbinus Oct 25 '26

Yeah, my experience was the same. The model is noticeably dumber when used with Opencode Go even if the DSH is used.

4

u/shing3232 Oct 25 '26

It could very much be the inference stack cause quant doesn't not save cost.

10

u/maqifrnswa Oct 25 '26

Quant directly reduces kv cache's, weights', activations' vram and bandwidth requirements. How does that not ultimately reduce cost?

9

u/shing3232 Oct 25 '26

because it would slowdown the entire inference process. there isn't much you can quant quant for DF41 because its kv is already MXFP4 and the majority of weight are already 4bit activation aka routed experts. In batching inference, dequant is not a good idea as it would slowdown as you increase batch size so no.

4

u/maqifrnswa Oct 25 '26

Ahh, you're right about ds v4.1 flash. I was thinking generally. Thank

1

u/LargeLanguageModelo Oct 25 '26

And to compare apples to apples, you're using the same coding harness with both providers?

1

u/_metamythical Oct 25 '26

some are saying that this is due to the difference in caching systems

57

u/a355231 Oct 25 '26

Key word is Served.

20

u/Master-Chocolate1420 Oct 25 '26

Ok it's quantized

15

u/Deep_Imagination_811 Oct 25 '26

It's like the answer is for a different question. Which is bad business.

4

u/Impossible-Lab-3133 Oct 25 '26

And "This". "This" specific rack.

And the weight may be indentically served, but the KV cache and index and DSpark are not the same.

23

u/IAmFitzRoy Oct 25 '26 edited Oct 25 '26

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.

1

u/Deep_Imagination_811 Oct 25 '26

Look at this poser flexin'

1

u/buff_pls Oct 25 '26

Key word is If

3

u/Stock-Map-1727 Oct 25 '26

There is no if

11

u/RustOceanX Oct 25 '26

We need a method to verification model quantization from outside. A objective measure.

1

u/reddit_mini Oct 26 '26

Just benchmark them with localbench or something.

63

u/Acehan_ Oct 25 '26

Can we consider the blatant lying fraud yet...?

2.2x slower execution time

3.7x lower throughput

5.3x more uncached tokens

30% higher cost per output token

39% less reasoning

Worse output quality

Frequent timeouts

56.3s TTFT vs. 2.2s

But, of course, the precision of the weights is the exact same.

47

u/imoshudu Oct 25 '26

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.

6

u/curryslapper Oct 25 '26

does the kv cache affect quality and reasoning effort? it shouldn't right?

2

u/confused-photon Oct 25 '26

Probably not the way you’re concerned about. Its natively FP4 quantized. Its more about how the KV cache is laid out across accelerators and storage that affects performance of serving but is lossless in terms of quality.

1

u/Acehan_ Oct 26 '26

None of that explains why you're getting 64% less output tokens per task. Explain how that's not the biggest red flag?

8

u/akza07 Oct 25 '26

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 Oct 25 '26

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.

1

u/akza07 Oct 25 '26

Well, my company and many other I know provide AI funds to developers and we have to submit the tool and service we will use and their data compliance policy page so the team will review and allow the funds. So before when DeepSeek was not exclusively hosted in China, Opencode Go plan viable. Now it's no longer usable for me at professional capacity.

I still use it for personal use though.

1

u/Prize_Tiger_2504 Oct 25 '26

Must be a small company to do that on a per employee basis (OR a good one, from Dev's perspective)

My employer provides a $20 Kiro plan, which they will upgrade to $100 plan based on business need (aka begging and pleading).

I'd love to have a OpenCode Go sub (or two)...

7

u/Zealousideal_Aide787 Oct 25 '26

Not a fan of current DS flash state on Opencode but where do you get those numbers from?

0

u/Ctrl-Alt-Panic Oct 25 '26

Their imagination.

4

u/ZHName Oct 25 '26

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).

2

u/IndividualPlus2011 Oct 25 '26

The same prompt ran on the same model on deepseek api can vary in tokens used by several times, measured by me.

Simple run some prompt, note the numbers, reverse the code to the baseline and do it again. You will see differences because the models are not deterministic.

Someone's comparison of one api vs another with a sample size of one means absolutely nothing. Don't be the person to fall for that

3

u/Avernite Oct 25 '26

Proof of where you got these numbers or blatant lying

1

u/Inner-Pangolin-1110 Oct 25 '26

Trust me bro

But lowk it's believable

1

u/gato001k1 Oct 25 '26

8x cheaper.

0

u/Strong_Essay1176 Oct 25 '26

Is it you? Ugly one.

7

u/ApprehensiveDelay238 Oct 25 '26

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

u/Ok_Pound_2164 Oct 25 '26

Identically served with http.

6

u/xRebellion_ Oct 25 '26

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 Oct 25 '26

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/Fromthepast77 Oct 25 '26

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.

3

u/cdurth Oct 25 '26

Quit supporting these rug pullers and just use the API....

4

u/Serious_Current_8802 Oct 25 '26

They throttle the rate but it’s not quantized

2

u/Jaded_Expert2806 Oct 25 '26

just use it inside claudecode it makes wonder

2

u/V07- Oct 25 '26

I had opencode 1017 do simple research on Reddit which it took 35min and I lost patience and gave it to Deepseek inside DSH. It wrapped task in 7min.

Same with my Hermes agent. It is slow and does dumb loops with opencode’s 1017.

2

u/tsangberg Oct 25 '26

Those with issues voice them. Those without issues don't post.

1

u/ahmetegesel Oct 25 '26

How do they even know how is their setup and they claim they are identical?

3

u/redblood252 Oct 25 '26

They claimed it is “served” identically. This can be true if only interfaces are identical. He answered a different question meaning they heavily quantize and lobotomize reasoning

1

u/Thomas-Lore Oct 25 '26

Because Deepseek released full documentation about their setup.

1

u/RainyDayFeel Oct 25 '26

I switched from OpenCode Go to DeepSeek API and its night and day

1

u/rizaldywirawan Oct 25 '26

i know this might be incorrect to ask this, but, let's say we have $20 worth of credit in DeepSeek API, how much token could we produce?

1

u/RainyDayFeel Oct 25 '26 edited Oct 25 '26

Based on my past usage, a $20 top-up should give me around 1.2 billion tokens. That is using off-peak pricing as I use most during the day in the EU.

1

u/sixincomefigure Oct 26 '26

I'm not sure why people are comparing Go and DS API like it's apples to apples cost-wise. I'm getting 5 billion+ tokens for $10 on Opencode. Faster and (slightly, unverifiably and unquantifiably) smarter for about 8x the price isn't a great deal.

1

u/FBIFreezeNow Oct 26 '26

Hahahahaha yeah right

1

u/Fast-Spray-6720 Oct 26 '26

To all the experts out there complaining:

  1. there are multiple quantization levels

. model parameter quantization

. KV cache quantization

some times Kv cache is quantized further to accomodate further users, which has a greater hit on the perf.

( not everyone has GPU's big enough to have a bfloat16 Kv cache quantization )

2. Most providers dont have the respective understanding on hitting the KV cache, its also harness and provider dependent. and its hard for opencode to optimize to for each and every model and provider. Plus its a free model guys why are you complaining so bad.

3. Harness is also a thing and deepseek would have had probably a different harness during their RL so yeah.. but it should be a much smaller factor.

1

u/Federal-Mode8949 24d ago

I don't think so. For me DeepSeek straight from API is way better lol.

1

u/haikusbot 24d ago

I don't think so. For

Me DeepSeek straight from API

Is way better lol.

- Federal-Mode8949


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

1

u/Federal-Mode8949 24d ago

But I am human xD

1

u/ithilelda Oct 25 '26

I just can't understand that people really asked and expected an honest answer lol. Like we at least need some picture proof before, now it is just text on X?

0

u/PM_ME_YOUR_HAGGIS_ Oct 25 '26

I tried deepseek free version and it just got stuck in a compaction loop

0

u/rainpurplebow Oct 25 '26

"Just subscribe to OpenCode Go! You get 80$ worth of usage for just 10$!"

-1

u/neotorama Oct 25 '26

System prompt

0

u/New-Translator-8131 21d ago

I’d compare the actual request bodies before blaming the model: same messages, tool definitions, sampling and reasoning settings. Using the same harness doesn’t guarantee those are identical. I work with Ofox; if you add it to the comparison, save any provider-routing field or header you send alongside the request. That is your requested route, not independent proof of the backend that served it. Repeat the matched request a few times so one unusually good or bad response doesn’t decide the comparison.

0

u/[deleted] Oct 25 '26

[deleted] — view deleted comment

1

u/alovoids Oct 25 '26

I'm not sure. it may or may not be true. it is said that OC is one of the biggest deepseek consumer

0

u/TimelyLivingCore Oct 25 '26

Opencode is hosting a more quantized version OF the deepseek model, they are not getting the api from deepseek to serve to users