DeepSeek R1: the open Chinese model that matches o1 and shakes Wall Street
Until a few weeks ago, few people outside the artificial intelligence world knew DeepSeek, a Chinese company founded in 2023 and funded by the investment fund High-Flyer. On January 20 it released DeepSeek-R1, a reasoning model in the style of OpenAI's o1, but with one big difference: its weights are open and distributed under the permissive MIT license, which allows anyone to use, modify and commercialize it freely. A week later, its mobile app was the most downloaded on the US App Store and financial markets were living through a black Monday.
DeepSeek-R1, an open-weights reasoning model. Illustration: The Joy Robot.
On par with o1
According to the results published by DeepSeek, R1 performs practically the same as the December version of OpenAI o1, the most advanced reasoning model available: it scores 79.8% on the AIME 2024 math exam (versus o1's 79.2%), 97.3% on MATH-500 and ranks in the 96th percentile on Codeforces. It falls somewhat behind on PhD-level science questions (GPQA Diamond).
DeepSeek-R1's results compared with OpenAI's o1 and other models on different benchmarks. Source: DeepSeek.
How did they do it?
- Efficient architecture: R1 is based on DeepSeek-V3, a mixture-of-experts (MoE) model with 671 billion parameters, of which only 37 billion are activated for each token. That way it uses much less compute per answer.
- Pure reinforcement learning: with an experimental version, R1-Zero, DeepSeek showed that a model can learn to reason with reinforcement learning alone, without human-written examples. Behaviors like checking its own answers or reconsidering an approach “emerged” on their own.
- Distilled models: DeepSeek also released six smaller models, from 1.5 to 70 billion parameters, based on Qwen and Llama and trained on R1's answers. The 32-billion one beats o1-mini on several benchmarks.
The figure that drew the most attention was the cost. According to the DeepSeek-V3 technical report, the final training of the base model used about 2.8 million H800 GPU hours, equivalent to about 5.6 million dollars. That's a fraction of what the big US companies are believed to spend, although the figure doesn't include research, earlier experiments or the cost of the hardware.
Much cheaper
R1's API price is 0.55 dollars per million input tokens and 2.19 dollars per million output tokens, versus o1's 15 and 60 dollars, respectively. And since the weights are open, anyone can run it on their own hardware for free.
API price per million output tokens. Chart: The Joy Robot. The full model needs a server with a lot of memory, but the distilled versions run on an ordinary computer. For example, with Ollama installed, this command is all you need to try the 7-billion-parameter version:
|
| Terminal |
$ ollama run deepseek-r1:7b |
|
|
NVIDIA's black Monday
If a top-tier model can be trained with much less compute, are the huge chip investments the big tech companies are making really necessary? That question set off panic on Wall Street on Monday, January 27. NVIDIA's stock fell about 17% and the company lost some 589 billion dollars in market value, the biggest single-day loss for a company in the history of US markets. Other companies tied to artificial intelligence and energy also fell sharply.
Our take
DeepSeek-R1 shows that the lead of the big US companies isn't as wide as it seemed, and that efficiency can partly make up for the lack of access to the most powerful chips, restricted by US sanctions. For the open source community it's great news: a top-tier reasoning model, under the MIT license, that anyone can study, fine-tune and run locally. But there are important caveats. DeepSeek's app and API store data on servers in China and censor topics that are politically sensitive for the Chinese government, so it's worth thinking twice before using them with sensitive information. Running the model on our own hardware avoids that problem. As for the market's reaction, we think it was overblown: if AI gets cheaper, it will most likely be used much more, and that will still need chips.
|
|
|