| ▲ | krisknez 3 hours ago |
| How is that economically viable? They are selling at a loss? |
|
| ▲ | gpugreg 3 hours ago | parent | next [-] |
| Agentic workloads are somewhere around 1%/0.5%/98.5% input/output/cached tokens. Cached tokens are pretty much free for inference providers (if they implement sparse and compressed attention properly) and throughput for input tokens is much higher. Lets assume that you've got 2 million input tokens, 1 million output tokens and 98.5 million cached tokens to process. That would cost 2 * $0.14 + 1 * $0.28 + 98.5 * $0.0028 = $0.8358 with DeepSeek API pricing. For comparison, it would take 2M / 8000 + 1M / 800 = 1500 seconds to process this amount of tokens with the linked framework, which is about $0.83 when we assume $2/hr for one MI300X. However, other inference providers have 10 times higher prices for cached tokens, which results in a comfortable margin. And we should not discount that DeepSeek also gets paid in data, which is probably more valuable to them. And I believe that this framework still has some room for optimization for generation with high batch sizes. |
| |
| ▲ | throw10920 an hour ago | parent | next [-] | | > should not discount that DeepSeek also gets paid in data, which is probably more valuable to them That's agentic feedback loops for training, right? Any more detail on this, such as how they actually tell whether that data is good or not? That seems like a very hard problem, and like the value of that data is low compared to just building their own, controlled RL gyms. | | |
| ▲ | gpugreg 2 minutes ago | parent [-] | | Agents usually start with ingesting the existing code base, and DeepSeek can use those code bases for pretraining. And they will have filters on top of that to throw out garbage. I am not sure how they are using the data for post-training, but there probably are ways to get signal out of it, e.g. sentiment analysis when the user begins cursing at the agent, or checking whether the user continued another session with the generated code, or started a new session with the same starting point as before, i.e. they git-stashed. Generally, you can train on data that is quite bad (e.g. the entire internet). It will still work, but take much longer compared to clean data. |
| |
| ▲ | xyzzy_plugh 2 hours ago | parent | prev [-] | | Your math is a bit funny if you're assuming the 1/0.5/98.5 ratios: you doubled input and output tokens but not cached. If you double cached tokens to match your original ratio it works out to around $1.11, and if you 10x the cached token cost it's around $6.08. Based on your $0.83 estimate, the margin isn't great. This is within shooting distance of "at cost" which is probably pretty close to what DeepSeek is operating with, ignoring the value of the data they're collecting of course. > And I believe that this framework still has some room for optimization for generation with high batch sizes. If that optimization can bring this scenario closer to $0.50 then it gets pretty compelling, otherwise I'm not confident. | | |
| ▲ | gpugreg 14 minutes ago | parent [-] | | Oh, I messed up. Half-way through, I thought it would be a good idea to double the numbers so I don't have to deal with half millions, but forgot to also double the 98.5. Unfortunately, I can not edit it anymore. I think the margins of DeepSeek may be a bit better than with this vibe-coded framework here, since they had the liberty of optimizing their models for their own hardware. For DeepSeek V3, they claimed a cost profit margin of 545%: https://github.com/deepseek-ai/open-infra-index/blob/main/20... At the time, open frameworks were not anywhere close to achieving that number. Not sure whether they caught up. The software wizards at DeepSeek are quite skilled. |
|
|
|
| ▲ | Aurornis 32 minutes ago | parent | prev | next [-] |
| > They are selling at a loss? Definitely not. Inference is not as expensive to operate as many people seem to assume. The frontier labs are probably making a lot of money from selling tokens. It’s covering all of the R&D costs like salaries, collecting training material, and running the large training operations that costs a lot of money. |
|
| ▲ | dietr1ch 3 hours ago | parent | prev | next [-] |
| They claim their advantage is knowing how to serve their models efficiently, which is quite possible since they design for it. |
|
| ▲ | simlevesque an hour ago | parent | prev | next [-] |
| They get all our invaluable data which they'll use to train the next model, to get more data, to train the model after. |
|
| ▲ | drob518 an hour ago | parent | prev | next [-] |
| I think Deepseek is selling roughly at cost (perhaps a slight premium). They don’t guarantee that they don’t train on the submitted prompts, so I suspect they are mining the data. Mining for what? Well, who knows. Best case, mining to make Deepseek better. That said, I use Deepseek all the time. It has done a whole lot of ‘ls’ commands on my system, though. |
|
| ▲ | pama 3 hours ago | parent | prev [-] |
| Use nvidia hardware instead and use a larger cluster serving many more users concurrently. Easily 10x–20x higher token rate per GPU with public solutions like dynamo and sglang. |