NLP Lineage

26 December 2024 · Scale and data

DeepSeek-V3

DeepSeek-V3 Technical Report

DeepSeek-AI

Date
26 December 2024
What the date marks
Model release
Kind
Model
Organisation
DeepSeek
Access
MIT code, DeepSeek model licence
Other dates
arXiv 2024-12-27
Threads
In the guided tour
Chapter 8. The weights get out
Learning phases
6. Local models and deployment; 8. Training from scratch

A milestone: 3 later milestones descend directly from it, and its descendants reach 4 of the 10 threads. How levels are decided

Drafted with Claude from the paper on 15 October 2026; reviewed by Zeeshan Arif. Read from arxiv.org (arXiv version 2 (February 2025) of the DeepSeek-V3 Technical Report).

What it changed

It showed that an openly released model could reach the level of leading closed models such as GPT-4o, with a final training run that its authors put at about 2.8 million GPU hours, or about $5.6 million at rented prices.

The problem before it

Open models, such as Llama 3.1, were improving but still trailed the best closed models. Training a model at that level was very expensive.

Mixture-of-experts models save compute, because each token uses only a few of many “expert” sub-networks. But they bring their own problems. The work must be spread evenly across experts. The usual fix, an extra “auxiliary” loss that rewards balance, can hurt quality. And when experts sit on many machines, sending tokens between them is slow.

DeepSeek’s earlier models, DeepSeekMoE and DeepSeek-V2, had already introduced the two architectures that V3 keeps.

The idea

The mechanism. DeepSeek-V3 is a Transformer with 671 billion parameters, of which 37 billion are used for each token. It combines known parts with several new ones:

It was trained on 14.8 trillion tokens, with more maths, code and languages other than English and Chinese than before. The context was then extended from 4K to 32K and then 128K tokens. After that came supervised fine-tuning and reinforcement learning with GRPO. The fine-tuning data includes reasoning examples generated by a DeepSeek-R1 model, adjusted to keep answers from getting too long.

The notation. The output of a mixture-of-experts layer is h'_t = u_t + Σ_shared FFN_i(u_t) + Σ_routed g_(i,t) FFN_i(u_t), the input plus the shared experts plus the chosen routed experts, each weighted by its gate value g. An expert is chosen if its score s_(i,t) + b_i is among the top 8. The bias b_i affects only the choice, not the weight g.

What it showed

Reported in the paper. It is a technical report from DeepSeek, not a peer-reviewed paper. The comparisons were run by DeepSeek.

Limits, and what came later

The limits come from the paper:

Later work built on it directly. DeepSeek-R1 was trained from the DeepSeek-V3 base model. DeepSeek-V3.2 continued the same line, and DeepSeek-V4 continued DeepSeek’s mixture-of-experts design.

What to know first

How to read it

The report is 53 pages. The main text is 35.

  1. Read section 1 and Table 1 for the overview and the cost.
  2. Read section 2: MLA, the mixture-of-experts layer with its load balancing, and multi-token prediction, with Figures 2 and 3.
  3. Skim section 3 unless the engineering interests you. Section 3.3 explains FP8 training.
  4. Read sections 4.1 and 4.2 for the data and model settings.
  5. Read section 5.3 with Tables 6 and 7, then section 6 for the limits.

Expect about 3 hours for the parts above (an estimate).

In brief, from the research data

Before it

Frontier training was assumed to cost hundreds of millions of dollars.

The problem

Export controls limited Chinese labs to slower H800 GPUs, so efficiency was forced rather than chosen.

What it introduced

671B parameters with 37B active, combining latent attention and fine-grained MoE, trained in 2.788M GPU-hours.

Why it matters

Frontier-class results at a reported 5.576 million dollars for the final run. Note that figure excludes all prior research and failed runs.

What modern models inherit

The efficiency-first frontier model, and a permanent argument about training costs.

What came next

R1 was built on this base a month later and reset expectations about open reasoning.

To understand it

Learn

  • Mixture-of-experts: total versus active parameters
  • Multi-head latent attention
  • What a final-run training cost does and does not include

Helpful first

Sparse MoE routing and grouped-query attention.

Before and after

The milestones it descends from, and the milestones that descend from it. Work developed alongside it is not counted. Weak links are left out unless you include them.

Before: where it came from

DeepSeek-V3 has 59 documented ancestors across 12 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 23 turning points among them.

DeepSeek-V3 has 59 documented ancestors across 12 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

DeepSeek-V3 has 66 recorded ancestors, including indirect ones, across 12 chapters, reaching back to Recurrent networks in 1990. Showing its direct parents and the 24 turning points among them.

DeepSeek-V3 has 66 recorded ancestors, including indirect ones, across 12 chapters, reaching back to Recurrent networks in 1990. Showing all of them.

  1. 2024DeepSeek-V3This milestone.
  2. 2024Llama 3.1 405BDeepSeek-V3 was influenced by thisChapter 8. The weights get out
  3. 2024GPT-4oDeepSeek-V3 was influenced by thisChapter 11. Seeing and hearing
  4. 2024DeepSeek-V2 / MLADeepSeek-V3 built directly on thisChapter 9. Making it run anywhere
  5. 2024Llama 3Llama 3.1 405B built directly on thisChapter 8. The weights get out
  6. 2024GRPODeepSeek-V3 built directly on thisChapter 12. Thinking longer
  7. 2024DeepSeekMoEDeepSeek-V3 built directly on thisChapter 8. The weights get out
  8. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  9. 2023GPT-4VGPT-4o built directly on thisChapter 11. Seeing and hearing
  10. 2023Llama 2 Turning pointDeepSeek LLM was influenced by this
    Llama 3 built directly on this
    Chapter 8. The weights get out
  11. 2023Position interpolationLlama 3.1 405B was influenced by thisChapter 10. Reading more than you remember
  12. 2023DPOLlama 3.1 405B built directly on thisChapter 6. Teaching models what people want
  13. 2023Grouped-query attention Turning pointDeepSeek-V2 / MLA was influenced by this
    Llama 3.1 405B built directly on this
    Chapter 9. Making it run anywhere
  14. 2023GPT-4 Turning pointGPT-4o built directly on thisChapter 7. The assistant goes public
  15. 2023LLaMA Turning pointPosition interpolation built directly on thisChapter 8. The weights get out
  16. 2022GPT-3.5 Turning pointGPT-4 succeeded thisChapter 7. The assistant goes public
  17. 2022Chinchilla Turning pointLlama 3.1 405B was influenced by thisChapter 5. Scale becomes a science
  18. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  19. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  20. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  21. 2021RoPE Turning pointDeepSeek-V2 / MLA built directly on thisChapter 10. Reading more than you remember
  22. 2021Switch TransformerDeepSeekMoE was influenced by thisChapter 5. Scale becomes a science
  23. 2020RLHF for summarisation Turning pointInstructGPT built directly on this
    DPO built directly on this
    Chapter 6. Teaching models what people want
  24. 2020GShard Turning pointDeepSeekMoE built directly on thisChapter 5. Scale becomes a science
  25. 2020GPT-3 Turning pointInstructGPT built directly on thisChapter 5. Scale becomes a science
  26. 2020Scaling laws Turning pointChinchilla built directly on this
    GPT-4 built directly on this
    DeepSeek LLM built directly on this
    Chapter 5. Scale becomes a science
  27. 2019Multi-query attentionDeepSeek-V2 / MLA was influenced by thisChapter 9. Making it run anywhere
  28. 2019T5 Turning pointSwitch Transformer built directly on thisChapter 4. Pretrain once, use everywhere
  29. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  30. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  31. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  32. 2019GPT-2 Turning pointT5 was influenced by this
    Scaling laws was influenced by this
    GPT-3 built directly on this
    Chapter 4. Pretrain once, use everywhere
  33. 2019WebTextGPT-2 was influenced by thisChapter 4. Pretrain once, use everywhere
  34. 2019Transformer-XLRoPE was influenced by thisChapter 4. Pretrain once, use everywhere
  35. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  36. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  37. 2018GPT-1BERT was influenced by this
    GPT-2 built directly on this
    Chapter 4. Pretrain once, use everywhere
  38. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  39. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  40. 2017Mixed precisionDeepSeek-V3 was influenced by thisChapter 9. Making it run anywhere
  41. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  42. 2017Transformer Turning pointRoPE built directly on this
    Multi-query attention built directly on this
    Chapter 3. Attention, then only attention
  43. 2017RLHF originRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  44. 2017Sparse MoE Turning pointDeepSeekMoE was influenced by thisChapter 3. Attention, then only attention
  45. 2016Layer normTransformer built directly on thisChapter 3. Attention, then only attention
  46. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  47. 2015LM pretraining Turning pointBERT was influenced by thisChapter 2. Words become vectors
  48. 2015BPE tokenizationLLaMA built directly on thisChapter 2. Words become vectors
  49. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  50. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  51. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  52. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  53. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  54. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  55. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  56. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  57. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  58. 1997LSTM Turning pointSparse MoE built directly on thisChapter 1. Language as probability
  59. 1991Mixture of expertsSparse MoE built directly on thisChapter 1. Language as probability
  60. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability
  1. 2024DeepSeek-V3This milestone.
  2. 2024Llama 3.1 405BDeepSeek-V3 was influenced by thisChapter 8. The weights get out
  3. 2024GPT-4oDeepSeek-V3 was influenced by thisChapter 11. Seeing and hearing
  4. 2024DeepSeek-V2 / MLADeepSeek-V3 built directly on thisChapter 9. Making it run anywhere
  5. 2024Llama 3Llama 3.1 405B built directly on thisChapter 8. The weights get out
  6. 2024GRPODeepSeek-V3 built directly on thisChapter 12. Thinking longer
  7. 2024DeepSeekMoEDeepSeek-V3 built directly on thisChapter 8. The weights get out
  8. 2024DeepSeek LLMGRPO built directly on thisChapter 8. The weights get out
  9. 2023GPT-4VGPT-4o built directly on thisChapter 11. Seeing and hearing
  10. 2023Llama 2 Turning pointDeepSeek LLM was influenced by this
    Llama 3 built directly on this
    Chapter 8. The weights get out
  11. 2023Position interpolationLlama 3.1 405B was influenced by thisChapter 10. Reading more than you remember
  12. 2023Process supervisionGRPO was influenced by this (indirect influence)Chapter 12. Thinking longer
  13. 2023DPOLlama 3.1 405B built directly on thisChapter 6. Teaching models what people want
  14. 2023Grouped-query attention Turning pointDeepSeek-V2 / MLA was influenced by this
    Llama 3.1 405B built directly on this
    Chapter 9. Making it run anywhere
  15. 2023GPT-4 Turning pointGPT-4o built directly on thisChapter 7. The assistant goes public
  16. 2023LLaMA Turning pointPosition interpolation built directly on thisChapter 8. The weights get out
  17. 2022GPT-3.5 Turning pointGPT-4 succeeded thisChapter 7. The assistant goes public
  18. 2022WhisperGPT-4o was influenced by this (indirect influence)Chapter 11. Seeing and hearing
  19. 2022Chinchilla Turning pointLlama 3.1 405B was influenced by thisChapter 5. Scale becomes a science
  20. 2022STaRProcess supervision was influenced by this (indirect influence)Chapter 12. Thinking longer
  21. 2022InstructGPT Turning pointGRPO was influenced by thisChapter 6. Teaching models what people want
  22. 2022Chain of thought Turning pointProcess supervision built directly on thisChapter 12. Thinking longer
  23. 2021GopherChinchilla built directly on thisChapter 5. Scale becomes a science
  24. 2021FLANInstructGPT was influenced by thisChapter 6. Teaching models what people want
  25. 2021RoPE Turning pointDeepSeek-V2 / MLA built directly on thisChapter 10. Reading more than you remember
  26. 2021CLIPGPT-4V was influenced by this (indirect influence)Chapter 11. Seeing and hearing
  27. 2021Switch TransformerDeepSeekMoE was influenced by thisChapter 5. Scale becomes a science
  28. 2020Vision TransformerCLIP built directly on thisChapter 11. Seeing and hearing
  29. 2020RLHF for summarisation Turning pointInstructGPT built directly on this
    DPO built directly on this
    Chapter 6. Teaching models what people want
  30. 2020GShard Turning pointDeepSeekMoE built directly on thisChapter 5. Scale becomes a science
  31. 2020GPT-3 Turning pointInstructGPT built directly on thisChapter 5. Scale becomes a science
  32. 2020Scaling laws Turning pointChinchilla built directly on this
    GPT-4 built directly on this
    DeepSeek LLM built directly on this
    Chapter 5. Scale becomes a science
  33. 2019Multi-query attentionDeepSeek-V2 / MLA was influenced by thisChapter 9. Making it run anywhere
  34. 2019T5 Turning pointSwitch Transformer built directly on thisChapter 4. Pretrain once, use everywhere
  35. 2019C4 Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  36. 2019RLHF for LMsRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  37. 2019Sparse Transformer Turning pointGPT-3 built directly on thisChapter 4. Pretrain once, use everywhere
  38. 2019GPT-2 Turning pointT5 was influenced by this
    Scaling laws was influenced by this
    GPT-3 built directly on this
    Chapter 4. Pretrain once, use everywhere
  39. 2019WebTextGPT-2 was influenced by this
    C4 was influenced by this (indirect influence)
    Chapter 4. Pretrain once, use everywhere
  40. 2019Transformer-XLRoPE was influenced by thisChapter 4. Pretrain once, use everywhere
  41. 2018BERT Turning pointT5 was influenced by thisChapter 4. Pretrain once, use everywhere
  42. 2018SentencePieceT5 built directly on thisChapter 4. Pretrain once, use everywhere
  43. 2018GPT-1BERT was influenced by this
    GPT-2 built directly on this
    Chapter 4. Pretrain once, use everywhere
  44. 2018ELMoBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  45. 2018ULMFiTBERT was influenced by thisChapter 4. Pretrain once, use everywhere
  46. 2017Mixed precisionDeepSeek-V3 was influenced by thisChapter 9. Making it run anywhere
  47. 2017CoVeELMo was influenced by thisChapter 3. Attention, then only attention
  48. 2017Transformer Turning pointRoPE built directly on this
    Multi-query attention built directly on this
    Whisper built directly on this
    Chapter 3. Attention, then only attention
  49. 2017RLHF originRLHF for summarisation built directly on thisChapter 6. Teaching models what people want
  50. 2017ConvS2STransformer was influenced by this (indirect influence)Chapter 3. Attention, then only attention
  51. 2017Sparse MoE Turning pointDeepSeekMoE was influenced by thisChapter 3. Attention, then only attention
  52. 2016Layer normTransformer built directly on thisChapter 3. Attention, then only attention
  53. 2015Residual connectionsTransformer was influenced by thisChapter 3. Attention, then only attention
  54. 2015LM pretraining Turning pointBERT was influenced by thisChapter 2. Words become vectors
  55. 2015BPE tokenizationLLaMA built directly on thisChapter 2. Words become vectors
  56. 2015Luong attentionTransformer was influenced by thisChapter 3. Attention, then only attention
  57. 2014AdamTransformer was influenced by thisChapter 2. Words become vectors
  58. 2014GloVeELMo built directly on thisChapter 2. Words become vectors
  59. 2014Seq2seq Turning pointTransformer built directly on thisChapter 2. Words become vectors
  60. 2014Attention Turning pointTransformer built directly on thisChapter 3. Attention, then only attention
  61. 2014GRU / encoder-decoderAttention built directly on thisChapter 2. Words become vectors
  62. 2013word2vecELMo was influenced by thisChapter 2. Words become vectors
  63. 2011NLP from scratchELMo was influenced by thisChapter 1. Language as probability
  64. 2003Neural LMNLP from scratch was influenced by this
    word2vec was influenced by this
    Chapter 1. Language as probability
  65. 1997LSTM Turning pointSparse MoE built directly on thisChapter 1. Language as probability
  66. 1991Mixture of expertsSparse MoE built directly on thisChapter 1. Language as probability
  67. 1990Recurrent networksLSTM was influenced by thisChapter 1. Language as probability

After: what it led to

DeepSeek-V3 has 6 documented descendants across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

DeepSeek-V3 has 6 documented descendants across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing all of them.

DeepSeek-V3 has 11 recorded descendants, including indirect ones, across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing its direct descendants.

DeepSeek-V3 has 11 recorded descendants, including indirect ones, across 3 chapters, reaching forward to Qwen3.8 in 2026. Showing all of them.

  1. 2024DeepSeek-V3This milestone.
  2. 2025DeepSeek-R1built directly on DeepSeek-V3Chapter 12. Thinking longer
  3. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  4. 2025DeepSeek-V3.2built directly on DeepSeek-V3Chapter 10. Reading more than you remember
  5. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  6. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  7. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out
  1. 2024DeepSeek-V3This milestone.
  2. 2025DeepSeek-R1built directly on DeepSeek-V3Chapter 12. Thinking longer
  3. 2025Qwen3was influenced by DeepSeek-R1Chapter 8. The weights get out
  4. 2025Kimi K2was influenced by DeepSeek-V3 (indirect influence)Chapter 8. The weights get out
  5. 2025gpt-osswas influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  6. 2025GLM-4.5was influenced by DeepSeek-R1 (indirect influence)Chapter 8. The weights get out
  7. 2025DeepSeek-V3.2built directly on DeepSeek-V3Chapter 10. Reading more than you remember
  8. 2026Qwen3.5built directly on Qwen3Chapter 8. The weights get out
  9. 2026DeepSeek-V4was influenced by DeepSeek-V3Chapter 8. The weights get out
  10. 2026GLM-5.2built directly on GLM-4.5Chapter 8. The weights get out
  11. 2026Kimi K3built directly on Kimi K2Chapter 8. The weights get out
  12. 2026Qwen3.8built directly on Qwen3.5Chapter 8. The weights get out

Direct links and their sources

Where it came from

Built directly on

Influenced by

What it led to

Built on directly by

Influenced

Terms