DeepSeek (Architecture & Significance)
DeepSeek is a Chinese AI lab whose open-weight models reset expectations about how cheaply a frontier-class system can be trained. DeepSeek V3 (December 2024) reportedly reached GPT-4o-class quality for a training cost around $5.6 million, using two key innovations: Multi-Head Latent Attention (MLA) and a fine-grained Mixture-of-Experts design. DeepSeek R1 (January 2025) then matched OpenAI's o1 on reasoning as an open MIT-licensed model, and the line now runs through the 1.6-trillion-parameter DeepSeek V4 (April 2026).
The Chinese lab that matched frontier models for a fraction of the training cost.
Category: Flagship AI Models
Multi-Head Latent Attention (MLA): the KV-cache breakthrough
The biggest cost in serving long-context models is the KV cache — the stored keys and values for every previous token, which grows with sequence length and dominates memory at inference. MLA compresses those keys and values into a small shared latent vector and reconstructs them on the fly, shrinking KV-cache memory by roughly an order of magnitude while keeping almost all of the quality. Less memory per request means more requests on the same hardware, which is a large part of why DeepSeek can serve a frontier model so cheaply.
- Standard attention stores full key/value tensors per token — memory grows linearly with context length
- MLA stores a compressed latent representation instead, cutting KV-cache size dramatically
- Lower memory per request raises serving throughput and slashes cost per token
- Later DeepSeek models add DeepSeek Sparse Attention (DSA) to push 1M-token context economically
DeepSeekMoE: fine-grained and shared experts
DeepSeek pairs MLA with a refined Mixture-of-Experts design. Rather than a few large experts, it uses many smaller, fine-grained experts plus a handful of always-on 'shared' experts that capture common knowledge. The router sends each token to a small set of specialists while the shared experts handle the general case. V3 has about 671 billion total parameters but activates only ~37 billion per token; V4-Pro scales to roughly 1.6 trillion total with ~49 billion active.
| Model | Released | Total / active params | Notable for |
|---|---|---|---|
| DeepSeek V3 | Dec 2024 | 671B / 37B | GPT-4o-class quality at ~$5.6M training cost |
| DeepSeek R1 | Jan 2025 | 671B / 37B | Open reasoning model rivaling o1 (MIT license) |
| DeepSeek V4-Pro | Apr 2026 | 1.6T / 49B | 1M context, ~80.6% SWE-bench Verified, MIT |
The release timeline: V2 to V4
| Date | Release | What it added |
|---|---|---|
| May 2024 | DeepSeek-V2 (236B/21B) | Introduced MLA and DeepSeekMoE; its ~$0.14/1M-token API price triggered China's LLM price war |
| Dec 26, 2024 | DeepSeek-V3 (671B/37B) | The $5.6M headline run: FP8 training, auxiliary-loss-free load balancing, multi-token prediction, 14.8T tokens on 2,048 H800s |
| Jan 20, 2025 | R1 + R1-Zero + 6 distilled models | Open o1-class reasoning under MIT; a week later Nvidia shed ~$600B in a day and the DeepSeek app topped the US App Store |
| May 28, 2025 | R1-0528 | AIME 2025 jumped 70% → 87.5%; better JSON and function calling |
| Aug–Sep 2025 | V3.1 / V3.1-Terminus | Hybrid single-checkpoint thinking + non-thinking modes; agentic improvements |
| Sep 29, 2025 | V3.2-Exp | DeepSeek Sparse Attention (DSA) debut — API prices cut 50%+ overnight |
| Dec 1, 2025 | V3.2 + V3.2-Speciale | Speciale hit IMO gold-medal level (35/42) and 2nd place at the ICPC World Finals — open weights |
| Apr 24, 2026 | V4 Preview: V4-Pro (1.6T/49B) + V4-Flash (284B/13B) | 1M-token default context; at 1M tokens V4-Pro uses ~27% of V3.2's per-token FLOPs and ~10% of its KV cache |
| Jul 2026 | V4 general availability | Plus the first time-based API pricing on a major AI API: 2× rates during Beijing peak hours |
Whatever happened to R2?: DeepSeek-R2 was never released. Reporting through 2025 attributed the delay to the CEO's dissatisfaction with its performance and to failed attempts to train on Huawei Ascend chips after US export controls tightened (training reverted to Nvidia; Ascend serves inference). In the end the standalone reasoning line was simply absorbed: V3.2-Speciale and V4's built-in Thinking mode are R2 in everything but name — mirroring the industry-wide merger of reasoning models into flagships.
Why $5.6M shocked the industry — and the caveats
When DeepSeek reported training V3 for about $5.6 million, the figure was startling against the hundreds of millions widely assumed for GPT-4-class models, and the R1 release in January 2025 was credited with a sharp sell-off in AI hardware stocks. The result was real, but a few caveats keep it honest.
- The $5.6M covers the final training run only — not research, failed runs, data, or staff
- Efficiency came from genuine engineering (MLA, fine-grained MoE, FP8 training), not a single trick
- Open MIT weights mean anyone can self-host — the disruption is as much about licensing as cost
- The hosted API routes through Chinese infrastructure, which raises data-residency and compliance questions for some buyers; self-hosting the open weights avoids that
Why it matters: DeepSeek proved that frontier capability is not gated behind a single lab's budget. Its architecture ideas — MLA and fine-grained MoE — have influenced the broader field, and its open weights gave the open-source ecosystem a genuine frontier-class option.
DeepSeek R1 and the reasoning era
DeepSeek R1 was the first widely available open model to match a closed reasoning model (OpenAI's o1) on hard math and coding. Crucially, DeepSeek published how it was trained — large-scale reinforcement learning on problems with verifiable answers, using a method called GRPO — which gave the open community a recipe to build reasoning models rather than just a model to download. That transparency accelerated the whole reasoning-model wave of 2025 and 2026.
- R1-Zero — the striking result: trained with RL only, no supervised fine-tuning step, the model spontaneously developed self-verification and backtracking. It was rough (language mixing, poor readability), but it proved reasoning emerges from reward alone.
- GRPO (Group Relative Policy Optimization): critic-free RL — sample a group of answers, score them against each other, reinforce the above-average ones. Cheaper and simpler than PPO with a learned critic; now standard vocabulary across the field.
- Distillation for everyone: R1's reasoning was distilled into six dense models from 1.5B to 70B (Qwen- and Llama-based, MIT-licensed) — putting usable reasoning on laptops within a week of release.
- Peer review milestone: R1's paper made the cover of Nature in September 2025 — the first frontier LLM to pass formal peer review — and disclosed that the RL stage cost just $294K on top of the base model.
Benchmarks and key specs
| Model | Total / active | Context | Headline result | License |
|---|---|---|---|---|
| DeepSeek V3 | 671B / 37B | 128K | ~88% MMLU; GPT-4o-class for ~$5.6M | MIT |
| DeepSeek R1 | 671B / 37B | 128K | 79.8% AIME 2024, 97.3% MATH-500, 71.5% GPQA | MIT |
| DeepSeek V4-Pro | 1.6T / 49B | 1M | ~80.6% SWE-bench Verified; $0.435 / $0.87 | MIT |
Why the numbers matter: R1's figures (from DeepSeek's own paper) matched OpenAI's o1 on math and reasoning, and V4-Pro lands within fractions of a point of closed frontier models on SWE-bench Verified — at a fraction of the per-token cost. All scores are vendor-reported pending independent replication.
Frequently asked questions
Did DeepSeek really train V3 for $5.6 million? That figure covers the final training run only — not research, failed runs, data, or staff. The efficiency is real, driven by MLA, fine-grained MoE, and FP8 training, but the headline number is not the all-in cost.
Is DeepSeek open source? Yes — V3, R1, and V4 ship under the permissive MIT license, so you can download the weights and self-host or fine-tune them, including commercially.
What is Multi-Head Latent Attention (MLA)? An attention design that compresses the KV cache into a small shared latent vector, cutting memory per request by roughly an order of magnitude and making long-context serving far cheaper.
Is DeepSeek safe for sensitive data? The hosted API routes through Chinese infrastructure, which raises data-residency and compliance questions for some organizations. Self-hosting the open MIT weights avoids that concern entirely.
LumiChats lets you put DeepSeek's open models head-to-head with closed frontier models on the same prompt, so you can judge the quality-versus-cost tradeoff for yourself.