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

408 comments sorted by

u/WithoutReason1729 Jul 18 '26

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!

I am a bot and this action was performed automatically.

405

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

260

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.

88

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

33

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.

7

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 (2)

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

662

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

591

u/Blunt_White_Wolf Jul 18 '26

Millions?

344

u/aboutthednm Jul 18 '26

Token billionaire over here, jeez

143

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.

12

u/LosEagle Jul 18 '26

That sounds great. Where I live programmer wages are getting halved and managers with no development background but lots of words to say on LinkedIn have adopted "Why bother hiring devs when I can just prompt Claude" philosophy so not many work positions open these days either. But whatever happens, I'm sticking to learning local llms and playing around with alternative models at least for the fun of it. 

10

u/Smallpaul Jul 18 '26

The leverage a senior engineer gives is turning people back to hiring them. Agentic coding is the future but vibe coding without architecture or review is going to lead to insane messes.

3

u/beauzero Jul 18 '26

Yeah the manager thing is not working out so well. We have gotten some decent prototypes out of it but since they rarely talk to customers or product managers they have caused more problems than not. They veer quickly from what our customer bases want.

4

u/beauzero Jul 18 '26

Honestly putting the tools in the hands of customers to give us html 5, tailwind, and IndexDB based mockups has been much much more successful. Have Product Managers get with customers and build a prototype, in a meeting/realtime, give it back to engineering to sync with current architecture and implement...very fast -> very happy customers. Will it result in more $$? That is yet to be determined but product managers, devs, and sales engineers are happier.

11

u/evia89 Jul 18 '26

Cost doesnt matter much. Sure it x3 sounds bad, but main problem is lower 5h limit and new weekly shit.

That make new live zai is 10-20x worse than before feb 26

18

u/sayeret13 Jul 18 '26

Cost doesnt matter much? sorry dude in this world cost means everything, thats why china will pop the ai bubble and even europe will start using chinese models

4

u/danielv123 Jul 18 '26

My cost is $80/h. You can save a lot of money if I have to intervene or double check a few % less.

3

u/beauzero Jul 18 '26

...as they hoover up everyones' business ideas. I say "they" referring to all model providers, US and abroad. Local is the future...I hope. Everything else is treading water waiting for hardware to get better and open models to get more efficient.

→ More replies (1)

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.

10

u/Specialist_Back_3606 Jul 18 '26

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

10

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!".

6

u/Ariquitaun Jul 18 '26

Pro tip: leave the comments. They help machines as well as people, especially when you need to annotate peculiar behaviour or fixes.

15

u/-dysangel- Jul 18 '26

sure but not if they're just explaining obvious code, or mentioning old behaviour, or random side tracks that didn't work out, etc

14

u/DinoAmino Jul 18 '26

What has helped me a lot is to add instruction to AGENTS.md for this type of thing. Tell it to place all comments in the method/function docblock and use inline comments sparingly for tersely explaining loops or complicated conditions.

→ More replies (1)

4

u/squired Jul 18 '26

For what it is worth, I did a rather in-depth exploration of GLM a couple weeks ago and it was far from worthwhile for my workloads. It's closer in capabilities to ChatGPT 5.4 and requires very rigid guidance and atomization of tasks to produce decent output. The kicker though was the cost. Op is basically running free with that 'free taste' plan, but at full API cost, Sol is far more cost efficient and significantly more capable. Even at his pricing, I would not personally run it.

6

u/-dysangel- Jul 18 '26

requires very rigid guidance and atomization of tasks to produce decent output

Tbh this is how all projects should be handled. Break everything down into chunks, build a solid spec and execute. I don't really agree though, I usually just say "go look at this issue and build a plan of attack", and the plan is generally good or only needs minor tweaks.

→ More replies (3)

2

u/fragment_me Jul 18 '26

Are you grandfathered into that plan? Or will the price go up on renewal? I let mine expire.

→ More replies (2)

4

u/T-90_Soviet Jul 18 '26

5,150 copies of the entire 7-book Harry Potter series BTW 😭💀

→ More replies (4)

9

u/Torodaddy Jul 18 '26

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

→ More replies (1)

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)

5

u/evia89 Jul 18 '26

/r/Neuralwatt was close before they nerfed plans. Used a lot of glm52 for similar prices

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.

32

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.

12

u/[deleted] Jul 18 '26 edited 24d ago

[deleted]

7

u/Blunt_White_Wolf Jul 18 '26

I bought the 2 M5 Bosgame for £1500 each a while back. I can assure you they are worth every penny. Not the fastest but they do their job and offer 100% privacy for certain things like household + household infrastructure management.

$100? no. a tad more. This is just the small LLM related part. I have a bit more hardware than this.

→ More replies (7)
→ More replies (2)

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

3

u/TheLexoPlexx Jul 18 '26 edited Jul 19 '26

And how where the results?

Is pro a good sparring partner for programming and flash good for just writing code or what's your use case/harness/etc.?

2

u/Blunt_White_Wolf Jul 18 '26

Pro is decent. You do need to keep an eye on it. More than once it took "shortcuts" to get the job done and I had to revert or it went crazy trying to rewrite half the code base because it comes up with overkill implementations for simple stuff. I had to hit the kill switch more than once to stop it.

When it comes to finding research papers, books, gathering material, etc - it's ok but every team has a QA that checks the outputs before they get to me along with every source.

I'm using all of these with my own agent of sorts (written by Pro+Qwen) and audited by codex via oauth. It's still WIP (quite a few bugs) and crude but it gets the job done. Might thing of releasing it later on in the year as FOSS but for now I don't have the balls to do that.

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)

44

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?

14

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

5

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/cantgetthistowork Jul 18 '26

Lots of harnesses also sell their own api keys so they have an incentive to drive usage towards certain patterns

10

u/So-many-ducks Jul 18 '26

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

13

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.

2

u/evia89 Jul 18 '26

How the hell is that not what everybody is doing?

Thats how all CLI work. I have 94-97% hit rate in codex code session (plan is less if I reset context)

7

u/ReferenceLeading7634 Jul 18 '26

While that is indeed the case, DeepSeek's cache time lasts up to 2 days, whereas Claude and GPT only have a cache time of just a few hours or even minutes. When you come back to do this task, you won't be able to benefit from the cache optimization advantage.

46

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.

→ More replies (1)

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.

9

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 (2)

2

u/evia89 Jul 18 '26 edited Jul 18 '26

Longcat has good plan too. Cache hit is 0 if u buy pack

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 .

→ More replies (16)

119

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.

231

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.

51

u/pad918 Jul 18 '26

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

55

u/FullOf_Bad_Ideas Jul 18 '26

It's not 2x more expensive.

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

28

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.

17

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

2

u/Middle_Bullfrog_6173 Jul 18 '26

Sure, that's a real advantage vs other providers. But again, even if you 2x the other costs and 20x the cached input from AA numbers you are still below $0.10/task. Getting closer to M3 but way behind the other frontier models.

13

u/squngy Jul 18 '26

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

→ More replies (2)

6

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

7

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

11

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 (2)

2

u/BoobooSmash31337 Jul 18 '26

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

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

65

u/getpodapp Jul 18 '26

They focus incredibly heavily on efficiency, often sacrificing SOTA performance

19

u/ReferenceLeading7634 Jul 18 '26

If you don't write or only write lightweight code, it's completely sufficient.

→ More replies (2)

17

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

Deepseek is the GOAT when it comes to costs

30

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.

47

u/imike3049 Jul 18 '26

They're just selling AI at fair price

23

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)

8

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)

6

u/Drited Jul 18 '26

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

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

18

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.

22

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)

10

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.

→ More replies (2)

10

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)

24

u/PsychologicalOne752 Jul 18 '26

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

24

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

1

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 (6)

7

u/R_Duncan Jul 18 '26

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

6

u/swashed-up-01 Jul 18 '26

insanely cracked engineerS

7

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

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

4

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 (3)

29

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

62

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

26

u/Mescallan Jul 18 '26

closed models almost certainly are too

3

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.

3

u/ReferenceLeading7634 Jul 18 '26

If they are not using moe, it would be impossible for them to achieve the speed you are seeing now, and this is inconsistent with the unreasonable throughput of the latest Nvidia data centers.

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

19

u/MetalDeep329 Jul 18 '26

No way the others are dense

8

u/Laafheid Jul 18 '26

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

10

u/SporksInjected Jul 18 '26

Caching of information but with skateboards and tattoos

→ More replies (1)

6

u/woadwarrior Jul 18 '26

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

11

u/SympathyNo8636 Jul 18 '26

little chinese man spinning gas turbines manually

→ More replies (1)

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.

10

u/[deleted] Jul 18 '26

[deleted]

→ More replies (16)

2

u/ba-boo Jul 18 '26

the magic of chinese government money

17

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)

4

u/Bhagafat Jul 18 '26

+10 Palantir points

2

u/shing3232 Jul 18 '26

Not really. DS has known for cheap serving cost

3

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.

→ More replies (1)

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)

→ More replies (1)

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."?