All writing
Image of a lonely robot in a field.
Dystopian datacenter buildout generated using nano-banana-2 in the style of Simon Stålenhag

DeepSeek and the Economics of AI Spending

Oct 23, 2026

These thoughts come in the wake of DeepSeek open-sourcing their inference framework DeepInfer.1 Inferencing is the step where LLMs actually formulate and provide their responses. And an inference framework is how it's executed. Naturally, this comes after the training step.

The DeepSeek announcement has caused a splash in the technology community. But this isn't just for them showing the program and architecture which is powering their LLMs. This isn't the first open-source inference framework, in fact Nvidia themselves have something similar called the Triton Inference Server. Their work is in no way mediocre though, some of it is worth looking into and we'll do that in this article.

The reason people are talking about this is because they shared some numbers, some being claims of real-world dollar values. We will try to look at their numbers conservatively, and try to see if they are enough to pave way for AI being economically sustainable. The aim of this article is to find a realistic middle ground between AI optimists and skeptics. We will look at how the hardware pays for itself, and why the skeptics may still be worth paying attention to; even if serving AI turns out to be profitable.


Seek and you will find

So what did DeepSeek do? They open-sourced their inference framework. Well, not quite. We will look at the parts they did share, and the parts which they have still kept secret.

And why did they do this? Mark Maunder, CEO at Defiant (a security company), thinks it's because a Department of Homeland Security order2 telling US companies to stop their use of DeepSeek products.3 I don't want to try to answer this question here, you can follow the discourse on HackerNews if you're curious.

They made two headlining claims, one economic and one regarding throughput:

  • 155 Trillion Tokens Per Day: A claim of processing 155 trillion tokens/day on a single cluster running Nvidia SM100 GPUs and Huawei Ascend 950 NPUs. A single cluster must have no less than 128 GPUs. We'll see how we got to this number.
  • $38 Revenue Per GPU Per Hour: This claim is for their revenue at off-peak pricing.

Let us see why the least number of GPUs is 128. This will also provide a window into how DeepSeek's AI models are optimized. Trying to understand a user's prompt gets divided into two tasks:

  • Prefill: In this stage, the AI goes through the whole prompt. It essentially looks at a bird's-eye view, where the tokens (most often individual letters, punctuation and tokens) look at both each other and where they fit in the whole query. This understanding is called "Attention", the building block of Transformers ('T' in ChatGPT).

    From a mathematical point of view, each token looking at each other amounts to a massive matrix-matrix multiplication (GEMM), done entirely on the compute cores of GPU. All this while, the model weights have been loaded into memory (VRAM) and are sitting idle, biding their time for the compute cores to be done. Hence, this stage is compute-bound.

    Prefill has a high Arithmetic Intensity. There is so much math to do per byte of data loaded that the speed limit is dictated purely by how fast the GPU processors can calculate (FLOPS).

  • Decode: Once the prompt is understood, it needs to generate something, and it does so one single token at a time. Since a single token enters the system, this is matrix-vector multiplication (GEMV). To predict the next token, the GPU has to sweep through all the parameters, pull off a weight from the conveyor belt that is memory (VRAM), bring it to a worker (compute core), do a bit of math on it, and then throw the weight away.

    These models run into the billions, sometimes more than a trillion parameters. The tiny bit of math here takes very little time, hence this part is bound by how fast the massive number of weights can be moved in memory. Hence, this part is memory-bound.

    Decode has an incredibly low Arithmetic Intensity. The speed limit is dictated entirely by how fast the VRAM can stream gigabytes of data across the chips.

As you can see, this looks quite inefficient, sitting around and waiting. This has real-world implications, like if a GPU is busy slowly streaming weights for Decode, and a massive new user prompt arrives, the Prefill math gets stuck behind the slow memory conveyor belt. The new user experiences a massive delay before their text starts generating (Time-to-First-Token latency).

How DeepSeek mitigates this is by splitting them completely, instead of letting both tasks run in a single GPU. They put 64 GPUs in a high-compute layout just to blast through prompts (Prefill), and 64 to 128 GPUs bound together by ultra-fast NVLink (Nvidia's high-speed inter-GPU connection) just to stream weights at maximum speed for text generation (Decode).

This tells you what the split achieves, but still doesn't tell you why the individual stages are limited to 64 or 128 GPUs. Let's try to answer that as well.

Within these stages, DeepSeek does more to enhance efficiency. In the Decode stage, it implements what's called a Mixture of Experts (MoE) parallelism. Mixture of Experts is just a fancier way of saying that a set of GPUs in the pool doing Decode loads a part of the full model (weights) instead of copying the whole thing to every card. This is known as Expert Parallelism (EP).

To make sure inter-GPU communication doesn't become the dominant overhead, a wide network of GPUs are needed which can split these "Experts". The most amount of output (tokens) is available fastest when at least 64 GPUs are present.

Now, to be able to share data fast and efficiently with these 64 Decode GPUs, 64 Prefill GPUs are required to crunch the incoming prompts. The 64 Prefill GPUs aren't arranged in a wide network like Decode, instead, they are small, tightly coupled clusters.

These tight clusters aid in Data Parallelism (DP), as in, prompts are split between these tight clusters as well. In case the user is entering prompts furiously, the latter prompts will thus not be stuck behind an already running Prefill stage.

Decode efficiency
Fig. 1: Decode throughput and interactivity.1 Note: EP=Expert Parallelism and DP=Data Parallelism.

We have thus understood why they gave us this 128 GPU number, and part of their architecture. And what we looked at, is what has been open sourced. Here's an overview of what that is, and what they've still not revealed to us:

DeepInfer architectureFig. 2: DeepInfer architecture simplified. Note: Red: closed-source. Green: open-sourced.

In addition to this, they have an impressive 96% cache-hit rate, and speculative decoding, which tries to predict tokens in a prompt ahead of time. Both of these provide efficiency gains. We shall look at these in a later article. Let's now look at the second claim on revenue.


A Pot of Gold (Or Not)

So what does $38 per GPU-hour get you? Let us first separate revenue from profit. If we assume a rental cost of $7 per GPU-hour, the GPU bill takes away $7 of those $38, leaving $31. That is a margin of roughly 82%, before paying for anything the rental doesn't cover. At $9.50 an hour, it falls to 75%. These are rental scenarios, not DeepSeek's disclosed costs.

Their Flash API charges $0.30 per million uncached input tokens and $1.20 per million output tokens at peak. Off-peak, those become $0.15 and $0.60. Cached inputs cost much less still.4 This matters because with the cache-hit rate we saw earlier, multiplying all 155 trillion tokens by the uncached price would give us a very misleading number.

There is another distinction here. The 64–128 GPU groups we looked at are building blocks of the deployment. The 155 trillion tokens belong to their whole serving cluster; we haven't established that this cluster contains just 128 GPUs. We can still apply their reported revenue per GPU-hour to a hypothetical 128-GPU setup, provided we say what we're doing.

At that rate, 128 GPUs would bring in $4,864 an hour. Keep them earning at this rate all year, and you get roughly $42.6M in revenue. That sounds impressive. But we have assumed a whole year of demand, the same serving efficiency, and we haven't yet paid for the machines. We certainly haven't arrived at $30M in company profit.

Let us now buy the hardware instead of renting it. We'll use an optimistic $5.1M upfront budget for 128 Blackwell GPUs and their supporting systems. This is a working assumption, not a quote from DeepSeek. For a sense of scale, NVIDIA's DGX B200 contains eight GPUs, so we'd need sixteen systems.6 One reseller lists each at $559,950, putting those systems alone at roughly $9M, before extra infrastructure.7 B200 is a hardware budget reference here, not a reproduction of DeepSeek's SM100 deployment.

Running them costs money as well. Sixteen of those systems have a combined maximum draw of roughly 229 kW.6 At an assumed $0.15 per kWh and a cooling and facility multiplier of 1.5, that is about $52 an hour for electricity. We'll round the total running budget up to $100 an hour for power, networking, maintenance and space. Actual bills will vary. We'll charge this every hour, including idle hours; an empty queue doesn't make the data center free.

Since we have bought the machines, we won't also subtract a GPU rental bill. That would make us pay for the same hardware twice.

Now, how would a frontier model compare? Claude Sonnet 4.6, for example, is priced at $3 per million input tokens and $15 per million output tokens.5 A higher price gives you room to pay for more computation per token. But price alone doesn't tell us how much a GPU earns. We would also need throughput, batching, caching, and the mix of input and output tokens. And Claude's weights aren't available for us to put on this cluster and measure.

For this comparison, we'll assume a frontier workload earns $500 per active cluster-hour. This is an illustrative revenue assumption, not a measured result for Claude. For the lesser-model workload, we'll use $4,864, extrapolated from DeepSeek's reported $38 per GPU-hour. By "lesser" here, I mean the cheaper serving tier; this isn't a benchmark of what either model can do. We are asking how quickly the hardware pays for itself if these revenue rates hold.


Breaking Even

Let's assume 65% utilization, or roughly 5,700 earning hours a year. We'll treat DeepSeek's rate as an active-hour rate for this exercise. Their real utilization may already be reflected in the reported average, so this is a scenario rather than a reconstruction of their accounts.

The frontier scenario brings in roughly $2.85M a year. Subtract $876,000 in annual running costs, and about $1.97M remains to pay back the machines. On our $5.1M budget, that takes roughly 31 months. Applying the same assumptions to the DeepSeek scenario leaves about $26.8M a year, giving us a payback of roughly 2.3 months.

Illustrative hardware payback versus utilization for frontier and lesser model workloads. At 65 percent utilization, the frontier scenario takes 31 months and the DeepSeek-rate scenario takes 2.3 months.
Fig. 3: Months to recover a $5.1M hardware investment. Both scenarios use 128 GPUs and $100/hour in running costs, including idle hours. Frontier revenue is assumed; lesser-model revenue extrapolates DeepSeek's claim.

The calculation is just upfront cost divided by annual revenue left after running costs. The chart changes utilization while keeping everything else fixed. If we use the roughly $9M hardware budget instead, the paybacks at 65% become about 55 months and 4 months, respectively. Training, research, financing, taxes and hardware replacement are still outside this calculation. This is simple hardware payback, not the point where an AI company becomes profitable.

The assumed revenue rate does a lot of the work here. A frontier workload that earns more than $500 an hour would recover its investment faster. A Flash deployment which cannot reproduce DeepSeek's efficiency or find enough paying demand would take longer. We haven't proven that all frontier models lose money, or that every cheap model is a gold mine.


So where does that leave us?

What we have seen is why DeepSeek's numbers deserve attention. Cheap tokens can still leave room to pay for expensive machines. And it gives us a reason to value predictable demand: subscriptions and long-term contracts can help keep utilization up while the hardware pays for itself. It doesn't tell us how much of a lab's pricing is margin, or how much is going back into training the next model.

DeepSeek gives us reason to think serving AI can pay for itself. But paying for a GPU is only part of paying for an AI company, and a profitable cluster doesn't settle whether the whole spending spree makes sense. There is still room for the skeptics here.

We will follow this up with an article trying to tie this in with the reported financials of Anthropic and see whether it all adds up. In a separate piece we will look at the parts of DeepInfer that we haven't yet, like caching, load-balancing and so on.


Footnotes

1. DeepSeek AI on GitHub. "DeepSeek V4.1 Flash Inference Deployment Q&A" Updated Oct 20, 2026. https://github.com/deepseek-ai/DeepInfer/blob/main/doc/inference_deployment_qa.md ↩

2. Department of Homeland Security. "Notice of Order Regarding Exclusion and Removal of DeepSeek Products From Federal Civilian Executive Branch Information Technology Systems and Procurements" Updated Oct 20, 2026. https://www.federalregister.gov/documents/2026/10/20/2026-21447/notice-of-order-regarding-exclusion-and-removal-of-deepseek-products-from-federal-civilian-executive ↩

3. Mark Maunder (mmaunder). "Comment on HackerNews" Posted Oct 20, 2026. https://news.ycombinator.com/item?id=50165492 ↩

4. DeepSeek API Docs. "Models & Pricing." https://api-docs.deepseek.com/quick_start/pricing/ ↩

5. Anthropic. "Claude API Pricing." https://platform.claude.com/docs/en/about-claude/pricing ↩

6. NVIDIA. "Introduction to NVIDIA DGX B200 Systems." Official system specifications for the eight-GPU Blackwell system. https://docs.nvidia.com/dgx/dgxb200-user-guide/introduction-to-dgxb200.html ↩

7. Gatewell USA. "NVIDIA DGX B200." Public reseller listing; pricing varies by configuration and purchase terms. https://gatewellusa.com/ai-compute/p/nvidia-dgx-b200 ↩