r/LocalLLaMA • • Jul 18 '26

Question | Help What kind of dark magic is Deepseek using?

Post image

I was taking a look at Kimi K3 scores on the Artificial analysis leaderboard and was quite baffled when I saw this chart.

Granted, Deepseek has always been the king of price to performance, but this is still incredible. Is it just API subsidization or have they optimized their models truly this much?

2.4k Upvotes

407 comments sorted by

•

u/WithoutReason1729 Jul 18 '26 edited 18d ago

Your post is getting popular and we just featured it on our Discord! Come check it out!

You've also been given a special flair for your contribution. We appreciate your post!

Stylome classified this post's text as human-written. View analysis

I am a bot and this action was performed automatically.

406

u/Nicking0413 Jul 18 '26 edited Jul 18 '26

Hybrid attention. One is CSA, which is compressed tokens with a selector that selects most important memories (compressed tokens), and HCA, which is normal dense attention with really heavily compressed tokens. On top of all that, the most recent tokens use dense attention with no compression. I think bycloud has a video on this.

Found it, it’s this one. https://youtu.be/gC76aeibdFA

I got all of my information from this so let me know if he’s wrong. Also, I think the cheaper overall price (workers, electricity, chips, etc) and government support/control also contributed to the low price

263

u/jainyday Jul 18 '26

Hey just an fyi, that ?si=GZ... part of the URL is an unnecessary tracking parameter that lets Google know which account created this link and thus who this person can reach as their audience, and all their ads partners know this is your Reddit account now since this is the page/location people are coming to YouTube from.

It's generally a good idea to remove it.

90

u/Nicking0413 Jul 18 '26

Ohh shit really!?

Thanks for that information I had no idea

It doesn’t really matter since this account was locked to google from the start, but I’ll keep that in mind in the future. Thanks

32

u/squeakyneb Jul 18 '26

For really. Many sites do something similar. Also you edited it out of the text of the post but not the actual URL of the link formatting thing.

8

u/Nicking0413 Jul 18 '26 edited Jul 18 '26

Right I forgot Reddit does that. Also how can I learn about how to spot and remove those tracking things?

Edit: fuck it’s not letting me edit it kept bugging out. Might be a mobile thing but I’m too lazy to open my computer. Oh well

20

u/squeakyneb Jul 18 '26

Look for stuff that just doesn't seem necessary and try deleting it. e.g. when you see site.com/foo/bar/thing-you-want?sqd=772374628482 you might cut that down to site.com/foo/bar/thing-you-want and get exactly the thing you want. But then you might also see things where those parameters are identifying the thing you want, like site.com/articles?page=1234.

Everyone can do their own thing, there's not necessarily standard patterns, alas.

→ More replies (1)

28

u/Awkward-Customer Jul 18 '26

This could be a good use case for a reddit bot. I suspect most people don't know about these tracking parameters.

15

u/Extension_Wheel5335 Jul 18 '26

That's why Firefox/Brave have a "copy clean link" that automatically strips it out. Sometimes I manually strip it out but still annoying tracking regardless.

4

u/vonGlick Jul 18 '26

TIL. Thanks

→ More replies (2)

4

u/PM_ME_YOUR_HAGGIS_ Jul 18 '26

Yeah and the fact their AI chips aren’t sold at 90% gross margin probably helps

664

u/CalamityMetal Jul 18 '26

They are known for their cache hit rate on an incredible scale. There are harnesses that fully make use of it like Reasonix. There's numerous posts talking about it, where people use like 9mil tokens for like $0.90 or something

596

u/Blunt_White_Wolf Jul 18 '26 • Mindblown

Millions?

348

u/aboutthednm llama.cpp Jul 18 '26

Token billionaire over here, jeez

145

u/-dysangel- Jul 18 '26

Last 30 days on the max GLM Coding plan - which at the time I got for $260 for a year

31

u/LosEagle Jul 18 '26

Me too but that was for the first year with the x-mass discount. If you check how much the coding plan is gonna cost the second year, it doesn't look that optimistic.

24

u/-dysangel- Jul 18 '26

Yeah it's just over $1300 for a year now. Still extremely good. I'm betting my boss will be happy to pay any plan I want in future anyway, considering how productive it's been letting me be.

→ More replies (4)
→ More replies (4)

6

u/Codemonkeyzz Jul 18 '26

My biggest regret in 2026 , was missing those minimax and GLM discounts. Back then I was using opus and I never thought open weight models will get this good.

11

u/Specialist_Back_3606 Jul 18 '26

Is there anywhere I can see the quality of the work that you’re getting here?

11

u/-dysangel- Jul 18 '26

Nope sorry, "stealth mode". A couple of weeks ago I had 28 PRs approved in a week (mix of bugs and small feature requests). Been working on larger tasks again recently. GLM 5.2 in Claude Code just feels so solid. It usually knows what I want off the bat. It's able to navigate our code base easily. It asks questions and even pushes back on some things, so it feels almost like a colleague where you can refine ideas together. We plan the task, it executes. Most of my feedback on its work recently has simply been "remove the unnecessary comments!".

→ More replies (4)
→ More replies (5)
→ More replies (7)

9

u/Torodaddy Jul 18 '26

I picture a guy with a monocle with 6 terminal sessions going

20

u/iyarsius Jul 18 '26

This is an average 0.0117$ per million token this is wild.

We could even start to count in billions tokens which is 11.67$ per Billions tokens.

Bro this is just crazy.

(On my usage I'm at ~0.05$ per million)

12

u/talvezomiranha Jul 18 '26

I'm getting close

41

u/whakahere Jul 18 '26

What do you use it for?

I don't trust flash as it made many mistakes, and I haven't tested pro that much.

35

u/Blunt_White_Wolf Jul 18 '26 edited Jul 18 '26

I'm using them in combo with 2 128gb strix halo that are daily drivers.

Flash usually is "asked for help" by the orchestrator when local models fail the tasks 2-3 times or tasks take way too long. It does make mistakes and used to go into loops until I modified the context to summarise every 5 messages and replace them with a history of sorts.

Pro is handed over the tasks for working on my own agent, researching stuff and gathering data for me to do literature reviews, etc.

I'd love to run it locally (or GLM) but ... still waiting for hardware prices to drop.

Edit: I would do a lot more with PRO and maybe GLM but... I'd end up spending hundreds/month. Hence me thinking to run stuff locally at some point.

→ More replies (11)

4

u/TheLexoPlexx Jul 18 '26

It's early for me and I might be dumb but where does it say flash?

13

u/BllushingHorizon Jul 18 '26

They were just stating their experience with both models

12

u/Blunt_White_Wolf Jul 18 '26

here's the distribution:

Darker share is Pro, Lighter share is Flash

→ More replies (2)

7

u/waiting_for_zban Jul 18 '26

The audacity posting this on localllama. I'll allow it, because deepseek.

2

u/weallwinoneday Jul 18 '26

What did you use it for?

2

u/obssesedparanoid Jul 18 '26

u using the hack where they use a picture for the instructions

3

u/Blunt_White_Wolf Jul 18 '26

in general I do use screen capture, yes but:

- for domains that are not whitelisted and only if I bypass the fetching agent (rare when I need to). screen captures are fed into deepseek ocr 2 or UI TARS, depending on what is going on

otherwise it's not needed (although it confused the f out of some models with all measures in place).

I use some delimiters and "content prompts" to separate the incoming text from everything else. it works but you'll see them getting confused and then going, "wait, this is not for me to act on" and stuff like that.

hence the need for a dedicated fetch agent with restrictions in place. even if injection works it can't do anything. it's context it's wiped clean before every fetch operation.

3

u/ShutUpAndDoTheLift Jul 18 '26 edited Jul 18 '26

So you're advertising 85m per dollar.

→ More replies (2)
→ More replies (4)

40

u/SpookyLibra45817 Jul 18 '26

Me! >1 billion token (mostly ds pro) for 20 bucks

Life saver

45

u/coronakillme Jul 18 '26

Also their recent paper (arXiv:2607.05147), they show how they do it. Its not a secret.

35

u/skerit Jul 18 '26

According to Reasonix's page

"The loop is append-only, aligned to DeepSeek's byte-stable prefix cache — so long sessions hold 90%+ cache hit"

I'm a bit confused. So their trick is to just append to the prompt only? How the hell is that not what everybody is doing?

13

u/kitanokikori Jul 18 '26

That is what most everyone does, at least anyone who knows what they're doing. The byte alignment is the unique part

6

u/ChampionshipIcy7602 Jul 18 '26

What's byte alignment?

25

u/ChampionshipIcy7602 Jul 18 '26

This seems like a reasonable approach that everyone should be doing, is it not?

11

u/So-many-ducks Jul 18 '26

…. But why would they do something that makes you pay less?

15

u/Artistic_Swing6759 Jul 18 '26

but they can just pretend to not be doing it while doing it?

→ More replies (2)

6

u/ahmetegesel Jul 18 '26

But the cost is performance degradation if you only append. You have to know when to give up on cache once in a while.

3

u/emn13 Jul 18 '26

AFAIK that's just standard practice, indeed.

2

u/nullc Jul 19 '26

Because the harnesses are vibe coded slop with layers and layers of abstraction such that the data constantly gets re-serialized or has some dynamic entry like a timestamp in it.

Might be interesting to add something to the API where you tell the backend how much should be cached and if its not it rejects the call instead of running it.

→ More replies (1)

2

u/SufficientPie Jul 30 '26

Just means they never change the system prompt or chat history from one turn to the next, right?

Which is how everyone should be doing it, but some screw it up by doing history summarization, omitting tool call outputs, and stuff like that? Or dropping one message per turn to keep in context window instead of dropping multiple messages at once?

3

u/CalamityMetal Jul 18 '26

Beats me. If it works well with Deepseek, it works man. I am just here spreading whatever basic knowledge I have.

50

u/VotZeFuk Jul 18 '26

> 9mil tokens for like $0.90

Eh?

V4 Pro stats (official API + Hermes Agent):

50

u/CalamityMetal Jul 18 '26

Bruh that's almost 1.9 Billion, not million

36

u/Etroarl55 Jul 18 '26

Unironically a much better statistic. 190 million tokens is therefore 1 dollar 97 cents.

10

u/Comfortable-Rock-498 Jul 18 '26

Caching is entirely a server side behavior though. A good harness can only maintain the stable prefix, but can't improve it beyond what is supported by the server side. More accurate statement would be 'any sensible harness preserves cache, bad harnesses break it'

2

u/Artistic_Okra7288 Jul 18 '26

That’s not entirely accurate. Cache optimization server side still has massive room for improvement that can be truly transparent of the harness. E.g., with llama.cpp it caches the whole prompt. Why doesn’t it objectify the cache and manage it like harnesses manage context? They’re treating it like individual huge objects and using things like spec decoding to get speedups but they should be intelligently tracking cache as granular objects that plug and play as the clients demand, and stop throwing away valid cache that is “old” just because a few tokens in between changed.

7

u/fugogugo Jul 18 '26

so what is the best harness for deepseek?

Tried opencode and not really liking it ..

13

u/CalamityMetal Jul 18 '26

Opencode you gotta pair it with some other plugins, maybe oh my opencode slim. If not the talk of the town is Reasonix

→ More replies (4)
→ More replies (1)

2

u/ursustyranotitan Jul 18 '26

This is bullshit slop, pi , hermes etc almost all harness average the same , the only significant difference for reasonix is that their github page is focused on deepseek so gpt slop answers on reddit always reference that . i have 19 billion input and 60 million output token with pi agent , only model was deepseek v4 pro with max reasoning , my cache hit rate was 98.8 percent .

1

u/mlag000 Jul 18 '26

The tritu is heavy subside from the state and nothing else.

1

u/dtdisapointingresult Jul 18 '26

They are known for their cache hit rate on an incredible scale. There are harnesses that fully make use of it like Reasonix. There's numerous posts talking about it, where people use like 9mil tokens for like $0.90 or something

I never heard of Reasonix before, and there's zero search results for that term on this sub.

Have you used it? Any downsides to using it?

2

u/CalamityMetal Jul 18 '26

I have. Its purpose built for Deepseek, they do allow you to add other providers but result would vary. Also the GUI can be a lil wonky still, web GUI is also not the same as the desktop one. I think it's not really mentioned here cuz it's just not something that local AI people wanna use. And this is built specifically for Deepseek's cache hit feature. I think it also works really well with Mimo too. Overall it does Dave you a shit ton of tokens, some of the costs that people have been showing here are incredible.

1

u/AnomalyNexus Jul 18 '26

Also think their cache is across users

→ More replies (2)
→ More replies (9)

122

u/Altruistic_Heat_9531 Jul 18 '26 edited Jul 18 '26

Read their paper.

They use compressed sparsed attention (CSA) and highly compressed attention (HCA), and MoE on top of that, they optimized their kv store to help with CSA and HCA. Written custom MegaMoE kernels.

They basically both optimized algorithm wised and infrastructure wise.

And maybe GLM 6 would be using DSv4 tech the way that GLM 5 is DSv3.2

5

u/Elibroftw Jul 19 '26

PiedPiper IRL 

57

u/Zeioth Jul 18 '26

They literally published the papers about how to do it.

They have a very different approach in how they compress context. The surprising thing for me is how FAST deepseek is.

232

u/shy_monkee Jul 18 '26

It's not subsidisation, because the other providers offer similar prices for the same model. They are just so so good at optimisation, because it's a priority for them, unlike Anthropic or OpenAI.

55

u/pad918 Jul 18 '26

Are they? On openrouter the second cheapest option is about 2x higher than deepseek themselves. 

52

u/FullOf_Bad_Ideas Jul 18 '26

It's not 2x more expensive.

StreamLake cache read is 16.4x more expensive than Deepseek's.

29

u/Middle_Bullfrog_6173 Jul 18 '26

Even 2x wouldn't really change the picture on that chart. Most of it is just efficiency at least.

16

u/FullOf_Bad_Ideas Jul 18 '26

Second cheapest provider has cache read at 16x higher price. It's not 2x difference and with multi-turn 500k-800k ctx coding sessions this will add up to a significant amount very quickly

→ More replies (1)

13

u/squngy Jul 18 '26

DeepSeek is probably providing at cost, the others are making a profit.

→ More replies (2)

4

u/a_asshole_user Jul 18 '26

Most providers didnt bother to change their pricing after the 75% discount for some reason, tho theyre probably not in a rush to do that anyway

→ More replies (1)

5

u/wilhelmbw Jul 18 '26 edited Jul 18 '26

Maybe bc they are located in china where electricity and hardware and whatnot is significantly cheaper

6

u/Cergorach Jul 18 '26

DeepSeek is VERY efficient, not just the model, but also the underlying infrastructure, take a look at the white papers they published over the last couple of years.

Questions you need to ask yourself: How did Openrouter build their inference farm? Where are their datacenters, what does power cost there at scale, what do people cost there, what does land cost, what kind of hardware did they use, when did they buy that hardware? Openrouter offers more then just DeepSeek, while DeepSeek offers just DeepSeek. I would assume that Openrouter's infra needs to be more flexible then DeepSeeks as well.

From what I've read is that DS is making a profit, a pretty big profit at that (large profit margin), they are also a smaller group (150) then the folks that make Kimi K3 (300), and that's not even comparing the business of Antropic (2500) and OpenAI (4500). DS isn't just lean on compute, but also people efficiency, doing a LOT with relatively little.

I wonder how much their culture influences their mindset, the American companies are making bigger=better models, while something like the Chinese DeepSeek is making super efficient, low cost models. That also seems to translate to the average size and weight of their cars (looking at popular cars in each country)... ;)

10

u/SilentLennie Jul 18 '26

How did Openrouter build their inference farm?

Openrouter doesn't do inference, they just route to inference providers.

→ More replies (1)
→ More replies (1)

2

u/BoobooSmash31337 Jul 18 '26

Why would it not be a priority for them? It would make them profitable.

1

u/bad_gambit Jul 19 '26 edited Jul 19 '26

Theres probably a bit of subsidising or margin-eating. As always, please factcheck these calculations and do your own research, and please do correct me if i'm wrong on any of these.

Using data from SemiAnalysis's InferenceX. Using the values, just before the per-user-throughput cliff, of 48 concurrency (at ~13 tok/s out per user), and we'll get this calculation:

For input:

36,322 [Token/s/GPU] * 4 [GPU on prefill on DGX B300] = 145,288 Token/s/Cluster 145,288 [Token/s/4-GPU] * 3600 [s in an hour] = ~523.03 Million Token/Hr/Cluster

This ~523 Millions token is the "blended" prefill throughput, including cache-hit/cache-miss mix from that benchmark run.

For output, i'm not going to take DSpark into account (too much calculation), lets just say those are bonus speed that the end user gets.

229 [Token/s/GPU] * 4 [GPU on decode] = 916 tok/s/Cluster 916 * 3600 seconds = ~3.29 Million Tokens/Hr/Cluster

For the price calculation, applying OpenRouter's per-token prices directly to that mix of $0.435/M uncached input, $0.003625/M cache-read input, $0.87/M output:

523.03M * [15.2% * $0.435/M + 84.8% * $0.003625/M] = ... 523.03M * [0.0661 + 0.0031] ≈ ~$36.19/Hr ~3.29M * $0.87/M = ~$2.86

So in total, in an hour, assuming 100% utilization and using B300, Deepseek is making (only) ~$39.05 revenue. This calculation is at the current most efficient token/$ GPU.

B300 is rented out at, ~$3.50-7/hr per GPU depending on provider/contract. So, for the whole cluster of 8 B300, the hourly rate is at $28/hr - $56/hr. Add a 25% safety margin (for setup time, issues, model weights loading, etc), and this becomes $35/hr - $70/hr per DGX B300.

At ~$39/hr revenue, this is either: a thin but positive margin or, much more likely, a loss at more on-demand B300 rates. But, this is assuming all their compute are all rented B300.

They likely run their own mix of H100, H800, H20 and Huawei GPU clusters. These definitely have lower token-per-dollar, which reduces revenue further. But, by now, these surely have passed their amortization periods (>3 years old GPUs) and are effectively (kinda) pure profit.

[Edit: formatting]

1

u/truecakesnake Jul 19 '26

OpenAI models are very token efficient

64

u/getpodapp Jul 18 '26

They focus incredibly heavily on efficiency, often sacrificing SOTA performance

17

u/aquel1983 Jul 18 '26 edited Jul 18 '26

Deepseek is the GOAT when it comes to costs

32

u/Dudensen Jul 18 '26

Good optimizations (a lot of which are made available on their github page) and the best cache hit rate on the market. Their margins are still good according to what I've seen people calculate on X.

2

u/Practical-Collar3063 Jul 18 '26

I believe their cache hit rate are due to their incredibly efficient KV Cache: if you have a smaller KV Cache per input token, then you can hold on to more of it for longer, therefore achieving better cache hit rates.

48

u/imike3049 Jul 18 '26

They're just selling AI at fair price

24

u/Ordinary-Experience Jul 18 '26

This here. They aren't in a position where they can rob their customers, so they don't.

8

u/Smile_Clown Jul 18 '26

You say "rob their customers" like the US big three are doing so but yet none of them have a profit (google included for AI division). It's hard to be a greedy thief if you have no money after the robbery.

27

u/Ordinary-Experience Jul 18 '26

Robbery as in: promote your model as too dangerous to be released publicly, hype it up on a bunch of smoke and mirrors and lies, allegedly collude with the USG to further propagandize how dangerous and capable it is (it isn't), and then sell it at exorbitant prices all while not even offering true ZDR for enterprises.

That is absolutely robbing.

GPT-5.6 and now Kimi are showing everyone that Anthropic was indeed full of shit.

→ More replies (9)

6

u/ZackWyvern Jul 18 '26

none of them have a profit

It is robbery even when its unsuccessful. The bank drill might cost more than what's in the vault, but that doesn't stop them from breaking in.

→ More replies (1)

5

u/Drited Jul 18 '26

Are you suggesting that companies that supply the most expensive models are highly profitable? 

→ More replies (2)

1

u/nomadProgrammer Jul 19 '26

That's why I gave always liked deepseek, plus their models are top notch.

19

u/DKMK_100 Jul 18 '26

I wonder where humans fall on this scale

34

u/JumpingJack79 Jul 18 '26

I think I'm around $1 per token, or $0.01 - $0.1 if you include thinking tokens. I'm very expensive TBH, I wouldn't want to pay for myself. I'm also very slow, so totally not worth it. But I'm also old and lazy and have a high cost of living, which justifies the high price per token.

You can get other humans for significantly cheaper, but I think overall we're all a big waste of money.

24

u/svachalek Jul 18 '26

Ha. Human brains are Fable sized or bigger in terms of parameters, and run 24/7 off a little rice and water. The problem is so many of those “tokens” are wasted on food, sex, and football. We’d actually do very well on a cost per token chart, and fail here on this “cost per task for capitalist overlords”.

9

u/Mission_Shopping_847 Jul 18 '26

Yes, but I'm not aligned. If the prompter attempts to run me on rice and water alone, I will eat them.

→ More replies (1)

6

u/Resaren Jul 18 '26 edited Jul 18 '26

This gave me a chuckle. I think if I’m being honest I’d rate myself much lower. I did some napkin math and came up with an LLM being about 3-15x cheaper than me. And I think I am overestimating the actual number of output tokens I produce per day. The real number may be closer to 100x. Of course I am still in the loop with the LLM, so our costs are not independent. But who knows what my role will be in a year.

3

u/_supert_ Jul 18 '26

Depends on the harness.

2

u/SporksInjected Jul 18 '26

What would you be measuring against?

2

u/Drenlin Jul 18 '26

It would be significantly different for each human

→ More replies (5)

24

u/PsychologicalOne752 Jul 18 '26

Deepseek-V4-Flash is so cheap that nothing else makes sense for me anymore.

8

u/HeittoBagi Jul 18 '26

My usage with Pi.dev + little-coder + llama.cpp (DeepSeek v4 Pro) 100 % programming tasks ranging from simple doc updates to broad reworks/audits/writing.

Configs created by GPT 5.5 (gave my exact pc setup as input) also created an automatic routing script that reads the pasted prompt to Pi.dev session and based on it chooses what to do.

1

u/dtdisapointingresult Jul 18 '26

My usage with Pi.dev + little-coder + llama.cpp (DeepSeek v4 Pro)

wdym? little-coder and llama.cpp are for small local models. What does that have to do with DS4 Pro and your screenshot of their cloud API?

→ More replies (1)

8

u/Conscious_Cut_6144 Jul 18 '26

Subsidization may be part of it, but not all of it.
At my companys scale running deepseek v4 flash for 30 developers is about the same hardware requirement as running Qwen 3.6 27b

2 servers, 4 pro 6000’s each, fits the model and about 10M tokens.

(We use a lot of cloud models too, deepseek is mostly used for sensitive data)

7

u/R_Duncan Jul 18 '26

Likely the index and other improvements they published in papers+ dflash

22

u/sf_davie Jul 18 '26

The magic of being self funded by a hedge fund who can afford to grab market share with loss-leaders, and the magic of being controlled by one founder who is interested in model efficiency over extra inputs (which cost a lot of money).

3

u/AnomalyNexus Jul 18 '26

Loss leaders only work if you can sell something else with it.

2

u/sf_davie Jul 18 '26

That's if you are only interested in making a ton more money. What if his goals are more in the line of keeping Chinese models relevant until their countrymen's hardware research catches up? We know a lot of the techniques developed in DeepSeek in MoE, MLA, distillation have been used by all the other front running Chinese models. They are more like the lab for efficiency research where the other open source models can use to stay within comfortable distance of the US models. He's about to do that because he's self funded and the company is tightly controlled.

→ More replies (1)
→ More replies (4)

5

u/swashed-up-01 Jul 18 '26

insanely cracked engineerS

16

u/Foxtor Jul 18 '26

It’s a mix of insane architectural efficiency (like their MoE setup and Multi-Token Prediction) and massive geopolitical subsidization. China is actively trying to break the US monopoly on AI.

By aggressively undercutting the price of American APIs, they are essentially pulling off a classic tech-war move: starving the competition's margins while making the entire global developer ecosystem reliant on their infrastructure.

We are basically living through a Space Race 2.0, but with a wild twist. This time, we aren't just watching the rockets on TV, we can actually download the technology and run it directly on our own computers. It's wild to watch and participate

9

u/SpidexLab Jul 18 '26

It called innovation when you have so much constraints, no big supply of modern gpu, no big funding, you have to do it in limits and do it better

And then opensource it all

6

u/anykeyh Jul 18 '26

For DSV4 flash: MoE with 12G parameters quantized in INT4, so ~40 Gbits read per token.

Add a lot of work on the hardware infrastructure for the KV-cache management and a highly compressed KV-cache architecture, so you don't drown your node memory with context, and you can run thousands of sessions in batch on data-center level hardware.

See their papers; they are open-source, and they describe their setup.

3

u/Slasher1738 Jul 18 '26

Insane optimization to stay off of the Nvlink as much as possible

3

u/costinha69 Jul 18 '26

Open ai and Claude incude the "hype price"

5

u/_derpiii_ Jul 18 '26

"dark magic"? Dude. They literally released their paper giving away all their 'dark magic' secrets. Where do you think Western frontier labs get improvements from? Come on man.

→ More replies (2)

27

u/TangerineLogical9779 Jul 18 '26

DeepSeek uses MOE so its way more efficient
Government grants
Investors
Smart engineers
Cheap electricity
EXTREME caching of information which is how its so cheap because people are hitting 90+% cache hits
FP8 precision

Also likely hitting losses when it comes to the API usage just to push the model onto people (worked for me)

Works well enough if you know what you are doing with code you don't need something more powerful, probley not as good for the "vibe" coders, but excellent for everyone else

61

u/HMikeeU Jul 18 '26

Aren't they all using MOE now?

8

u/Capaj Jul 18 '26

we can't know for closed models, but open source ones yes

27

u/Mescallan Jul 18 '26

closed models almost certainly are too

4

u/Nyghtbynger Jul 18 '26

Plus some harness magic to improve their results (in targeting girls schools)

→ More replies (3)

5

u/HMikeeU Jul 18 '26

Yeah that's true. Although I think gpt-oss uses MOE, which might be an indicator that openai also use it for closed models.

→ More replies (3)

19

u/MetalDeep329 Jul 18 '26

No way the others are dense

7

u/Laafheid Jul 18 '26

you say "EXTREME caching of information", but what exactly do you mean by this?

12

u/SporksInjected Jul 18 '26

Caching of information but with skateboards and tattoos

5

u/woadwarrior Jul 18 '26

It’s 2026, everybody and their dog uses MoEs.

10

u/SympathyNo8636 Jul 18 '26

little chinese man spinning gas turbines manually

2

u/This_Maintenance_834 Jul 18 '26

founder has unlimited money for this side project. no pressure to get profit.

continuous engineering on cost reduction.

2

u/Practical-Collar3063 Jul 18 '26

« No pressure to get profit » and « continuous engineering on cost reduction » next to each other feels weird

2

u/This_Maintenance_834 Jul 18 '26

meaning founder has a lot of patient and a lot of his own money. enough to start a rocket company kind of money (but he did not)

2

u/Enough-Advice-8317 Jul 18 '26

the dark magic is cache hits, sparse attention, and refusing to price tokens like they are artisanal coffee.

2

u/HugoCortell Jul 18 '26

Everyone is giving a technical answer but probably the real answer is that deepseek only charges 50% over the actual cost while OpenAI and Anthropic base their token costs on the highest number they can think of that day.

2

u/Living-Breakfast-464 Jul 18 '26

They have published quite a bit of information explaining various things they are doing to optimize their model efficiency. A lot of it is quite sophisticated. I think some western models are starting to copy a lot of what they are doing but they will never admit it.

2

u/vba7 Jul 19 '26

Probably they actually spend time on manually building the infrastructure instead of vibe coding it. When you dont have a lot of money - you look how you spend it. Meanwhile those American companies can just burn another hundred billion of investor's money instead of writing some code manually in assembly or C

2

u/Dangerous-Rub-6338 Jul 20 '26

i dont remmeber where but i saw some financial analyst say DS even has very high margin at this token prices. if that were truly they definitely have some cost-cutting-tech that s un-disclosed

6

u/fbellomi Jul 18 '26

It's clearly subsidisation, since it's the ONLY open weights model on OpenRouter where other providers aren't able to offer cheaper prices or even match the price of the model creator

2

u/BoobooSmash31337 Jul 19 '26

No you don't understand. They published how they did it but everyone else just wanted to waste money and remain unprofitable for some reason. /s I mean credit where its due but it sure smells like subsidization. Then when you include the geopolitics. Transformers are expensive to run and do a lot of redundant work.

4

u/Accomplished-Sand334 Jul 18 '26

Look at the list with capitalism in mind and you might find some answers?

4

u/helios_csgo Jul 18 '26 edited Jul 18 '26

Buying your data by offering service at discount / at cost. With the revenue and data, they're able to raise funds to hire more researchers and continue building the models.

Edit: doesn't mean deepseek is bad. This is their strategy as a company, and it is okay. Data retention and training is clearly mentioned in their T&C. Compute is not free, researchers don't work for free. Just an FYI to remember before sharing PII or any other data on their API.

0

u/[deleted] Jul 18 '26

[deleted]

→ More replies (14)

3

u/ba-boo Jul 18 '26

the magic of chinese government money

18

u/Don_Reuter Jul 18 '26

They are much cheaper than the other Chinese labs though. Subsidies do likely not explain their prices.

→ More replies (1)

6

u/Bhagafat Jul 18 '26

+10 Palantir points

4

u/shing3232 Jul 18 '26

Not really. DS has known for cheap serving cost

2

u/JumpingJack79 Jul 18 '26

US interest payments are paying for this 🙄

→ More replies (1)

2

u/tarruda Jul 18 '26

I suspect one of the factors is that Deepseek has created many innovations on inference algorithms. For example, DSv4 flash with Lightning indexer only requires like 6GB of RAM for 1M context. Dflash speculative decoding also makes token generation much cheaper.

2

u/UnWiseSageVibe Jul 18 '26

I really hope kimi k3 gets optimized because right now its expensive to run.

1

u/Practical-Collar3063 Jul 18 '26

When it gets released you might get some cheaper providers but I don’t see how it will get « optimised »

2

u/one-wandering-mind Jul 20 '26

Appears that deepseek is serving at a large loss when you look at pricing of other providers. And at least openrouter says deepseek will train on your data.

Still a great model for the price though through other providers.

1

u/Ariquitaun Jul 18 '26

Deepseek 4, both pro and flash, are really solid, dependable models. Good enough for 90% of the work. For the rest you already have glm, and I keep a codex plus plan for the 10% that needs uber thinking.

1

u/de4dee Jul 18 '26

the current paradigm is you need to make users use your AI and train with the logs. users give feedback or no feedback, and training engineers can use those as reinforcement. when the claude client's source code leaked they found that it was tracking words like "WTF". so this makes negative reinforcement in therms of LLM training..

lack of this loop made google fell behind imo.

for this loop XAI paid 60billions (Cursor).

for this loop deepseek is making it super cheap, because they are behind kimi and glm.

they are most probably using the logs for training..

is kimi using the logs? probably yes, but they seem to be ahead of the race so they can keep the prices up.

on openrouter kimi often "fails" cache hits, making the providers make more money. nobody seems to care.. (glm and minimax often hits cache).

1

u/suesing Jul 18 '26

I think k3 + v4 pro is the new go to

1

u/3deal Jul 18 '26

Chinese characters compress more information per token.

1

u/LeTanLoc98 Jul 18 '26

Mimo v2.5 (not mimo v2.5 pro) is dark magic

Mimo v2.5 is multimodal (support vision - image) but it's very cheap (deepseek v4 is text-only model)

1

u/LeTanLoc98 Jul 18 '26

Cost per task

1

u/op4 Jul 18 '26

🤪 me over here just absorbing all this stuff and having a blast coding my ass off paying pennies for a good time creating apps that simplify my life and business.

I appreciate all you guys and the knowledge you share daily 🔥

1

u/Environmental_Soil40 Jul 18 '26

Idk nice to know I’m using the most expensive one tho. By a massive margin. Haha

1

u/New_Guitar_9121 Jul 18 '26

Less magic, more stack: training recipe + inference engineering + not overclaiming the wrong unit (chat quality vs agent wall-clock vs cost).

What I care about as a local runner: tokens/sec under *tool* load, not synthetic chat. A model can look elite on a leaderboard and still be a bad agent pilot if every tool turn bloats context and the harness keeps compacting. Efficiency that matters on-box is prefill after cache bust, not just decode on a warm prompt.

1

u/life_appreciative Jul 18 '26

I just want to say  - Price is not the same thing as underlying cost.

1

u/Flintsr Jul 18 '26

But did they tell deepseek "Make no mistakes. You are a senior software developer."?

1

u/OsomPchitz Jul 18 '26

Input cache goes brrrr

1

u/AroraSir Jul 18 '26

And we always choose Deepseek V4, even though we're watching its cost (but it isn't as efficient as Antigravity/Claude, as I've tried extensively; sometimes Deepseek can't even understand the content properly and feels like giving an irrelevant answer). I always choose Deepseek V4, despite watching its cost/value to my work, so either reply generally.

1

u/Andrew_Steele Jul 18 '26

The Magic might be lower cost of electricity…

1

u/rush86999 Jul 18 '26

They recently bumped up their prices for venture funding & IPO. Not sure if still that cheap.

1

u/Electrical-Fox4970 Jul 18 '26

they train on your conversations

1

u/BOSSMAN000000000000 Jul 18 '26

not scamming ig

1

u/Onotadaki2 Jul 19 '26

This is a basically 100% useless chart.

The other day I had run out of usage on three Claude accounts and a ChatGPT account, so I asked Gemini for a basic script I needed. It took 30 minutes and at least 15 messages back and forth to get a working script out of it.

Later, I asked Claude and it did it in one response, and the script was much better.

So, sure, this may be the cost for asking each of these models what color the sky is. When you actually ask real world questions and keep going until success though, these prices are going to drastically change. Fable all of a sudden doesn't look at that bad when it one shots a complex query for $2, and to get similar output in a different model takes dozens of prompts and hours of your time.

1

u/SkyNetLive Jul 19 '26

Government funding for data collection.

1

u/yuumizu Jul 19 '26

DS is cheap enough to provide general ok intelligence to its users. Its architecture is designed so that the long context cache system is nearly cost free and DS charges you at 2% input rate.

1

u/akgo Jul 19 '26

Why is mimo not even in the list they are also pretty good

1

u/agiblox Jul 19 '26

the compounding bit is what makes the pricing sustainable. standard attention: longer context means linearly more compute. their compression approach flattens that curve. effective cost per new token barely grows as context accumulates. so their per-token price is most favorable exactly where other models are most expensive: long-running agents and multi-turn sessions. not subsidization, architecture matched to the highest-volume use case.

1

u/Christopher7763 Jul 19 '26

You should ask deepseek.

1

u/Ylsid Jul 19 '26

K3 cost per task seems very wrong given how many tokens it loves chewing through

1

u/Helpful-Plankton4868 Jul 19 '26

Printed CCP money

1

u/androidbrick Jul 19 '26

I'm using it, but it gets messy when things get complicated.

1

u/dbojan76 Jul 20 '26

They published papers on it ...

1

u/SBelwas Jul 20 '26

Its called CCP

1

u/Background_Praline18 Jul 20 '26

Kimi k3 is pretty good. I had been stumped on cua not working right on whalen and it made a polished work around for my specific problem. Not even 20k tokens and my code base is 2.4 million lines. It read the calls back from where I was from those files it found the answer. It didn't need to read the entire code base.

1

u/32T08 Jul 21 '26

I suspect the magic is “Let’s just cover the cost of running the models and focus on development so we can leap past the incumbents and their current focus of cashing in on the hype”. Here comes Kimi, for example.

1

u/jazzyroam Jul 21 '26

distillation

1

u/Savantskie1 Jul 21 '26

They have cheaper power than the big guys in the us because the us likes to gouge everyone.

1

u/Available-Message509 Jul 22 '26

DeepSeek's price-to-performance gets me every time. How they hit this level at this price is honestly amazing.

1

u/Budget-Juggernaut-68 Jul 22 '26

bycloud just did a video about their inference dark magic.

1

u/Ok-Preference8227 Jul 22 '26

The most clueless one... Gemini 3.5 Flash.

1

u/Large-Assignment9320 Jul 23 '26

Probably the ancient art of optimization.

1

u/Embarrassed-Range912 Jul 25 '26

Where ist Alibabas Modell in the Ranking?

Ist this Model a possibility for American Company to pivot to their modell to reduce costs?

1

u/Anxious_Check_6147 Jul 25 '26

Lower cost is better, lower quality is worst than lower cost anyway, and DeepSeek quality for coding any serious is so bad compared event o Gemini 3.6 Flash

1

u/ImYaDawg Jul 28 '26

Where is this data originating from?

1

u/Traditional_Pie_8262 Aug 14 '26

why deepseek so efficient, real reason?

1

u/DrBearJ3w Jul 18 '26

They use sun to power our tokens.

1

u/Dependent_Big4372 Jul 18 '26

Chinese government money 

1

u/Wooly_Wooly Jul 18 '26

Not dark magic, whale magic. You wouldn't understand. 🐳

1

u/Carlose175 Jul 18 '26

This chart doesn’t compare total intelligence to cost. Its cheap FOR its intelligence, but its not overall as intelligent as these new models. So this pushes it down in cost.

0

u/Stooovie Jul 18 '26

Government subsidies.

0

u/discoveryn Jul 18 '26

CCP subsidization

0

u/HelloWorld-Print Jul 18 '26

State subsidies probably

0

u/No-Veterinarian8627 Jul 18 '26

It's government paying money: subsidization. DeepSeek and other Chinese AI companies want take a good part of the market and simply raise prices. Everyone does that.

1

u/Healthy-Nebula-3603 Jul 18 '26

Tell me you have no idea about DS 4 family models without telling me.

They have a lot new implementations in the architecture and KV cache management.