RIPPERAUSSIE
AI Research

The Efficiency Race: How DeepSeek Made Frontier AI Cheap

How DeepSeek and labs like Moonshot, Qwen and OpenAI cut the cost of training and running large models, and what it means for anyone renting GPUs.

Updated · Independent guide

Short on VRAM? Rent a GPU by the hour on Runpod and shut it down when you are done.Try Runpod →

For a few years the story of AI was simple: bigger models, bigger clusters, bigger bills. Then a Chinese lab working under US export controls, with access to deliberately cut-down Nvidia chips, started shipping open models that sat close to the frontier at a fraction of the price. The most interesting AI race of the last two years has not been about who has the most GPUs. It has been about who wastes the fewest.

The moment the industry noticed

DeepSeek-V3, released at the end of 2024, reported that its final training run took about 2.8 million H800 GPU hours, roughly US$5.6 million at rental prices. That figure excludes research, failed experiments and staff, so it is not the full cost of building the model. It was still an order of magnitude below what people assumed a model of that quality needed. A few weeks later the R1 reasoning model, trained largely with reinforcement learning on top of V3, briefly wiped hundreds of billions of dollars off Nvidia's market value.

The headline number got the attention. The engineering underneath is what actually changed the field.

Trick one: only wake up the experts you need

V3 has 671 billion parameters, but only about 37 billion are used for any given token. It is a mixture of experts (MoE) model: a small router picks a handful of specialised sub-networks for each token and the rest sit idle. You get the knowledge capacity of a huge model with the per-token compute of a much smaller one.

MoE was not new. DeepSeek's contribution was making it work well at scale: many small, fine-grained experts, a few shared experts that every token uses, and a load-balancing method that keeps experts evenly busy without the auxiliary loss term that usually drags down quality.

The ratio has only become more extreme since. Moonshot's Kimi K2 has around a trillion parameters with 32 billion active. Alibaba's Qwen3-Next activates about 3 billion of its 80 billion. DeepSeek-V4-Pro, released in April 2026, is 1.6 trillion total with 49 billion active, and V4-Flash is 284 billion total with just 13 billion active.

Trick two: shrink the memory that long conversations eat

When a model reads a long prompt it keeps a KV cache, a running memory of every earlier token. On long contexts this cache, not the model weights, is often what fills the GPU. DeepSeek attacked it in stages:

Other labs went after the same problem from different angles. Qwen3-Next and MiniMax mix cheap linear-attention layers with a few full-attention layers, so most of the network's memory cost stays flat however long the input gets.

Trick three: do the maths in fewer bits

Training normally uses 16-bit numbers. V3 was one of the first frontier-scale models trained largely in FP8, with careful scaling so the precision loss did not wreck training. Halving the bits roughly halves memory traffic and lets the tensor cores run faster.

Inference has gone further. OpenAI's open-weight gpt-oss models ship their MoE weights in a 4-bit format (MXFP4), which is why the 120-billion-parameter version fits on a single 80GB GPU. Kimi K2 Thinking used quantisation-aware training so its 4-bit release loses little quality. Four-bit weights are no longer a hobbyist compromise. Labs now design for them.

Trick four: squeeze the hardware you already have

In February 2025 DeepSeek spent an "open source week" releasing its plumbing: FlashMLA (fast attention kernels for Hopper GPUs), DeepEP (communication between experts spread across machines), DeepGEMM (FP8 matrix multiplication), DualPipe (overlapping compute and communication so GPUs are not left waiting) and the 3FS distributed file system. None of it is glamorous. All of it is about keeping expensive silicon busy instead of idle.

V4 also marked a shift in hardware: DeepSeek optimised it for domestic Chinese chips such as Huawei's Ascend for inference, and has said V4-Pro prices could fall further once Huawei's Ascend 950 supernodes ship at scale.

What it all adds up to

At launch, DeepSeek listed V4-Flash at about US$0.14 per million input tokens and $0.28 per million output tokens, with V4-Pro at $1.74 and $3.48. DeepSeek's own paper says V4-Pro trails the best closed models by roughly three to six months. That is close behind the frontier, under an MIT licence, with downloadable weights, at a fraction of the price.

Two caveats are worth keeping in mind. First, published training costs leave out the research and failed runs behind them, so "trained for $5.6 million" should not be read as "anyone can do this for $5.6 million". Second, efficiency has not reduced total demand for compute. Cheaper tokens have mostly meant people use far more of them.

Why this matters if you rent GPUs

For builders, these gains change what is realistic on rented hardware:

Figures in this article are as reported by the labs at release and may have changed since. Prices and model versions move quickly, so check the current provider docs before you budget a project.

Want to try these efficient open models yourself?

I use Runpod to spin up high-VRAM GPUs for a few hours when a model is too big to run locally, then shut them down once the test is done.

Try Runpod with my referral link →

Referral disclosure: this is a referral link. Any credits or rewards are subject to Runpod's current referral terms. How the Runpod referral bonus works.