Why DeepSeek-V2 Raises the Bar for Open-Source MoE Models
Terminator Open Source By What The Future Newsroom · May 10, 2024 · 4 min read

Why DeepSeek-V2 Raises the Bar for Open-Source MoE Models

DeepSeek-V2 is an open-source Mixture-of-Experts language model from Chinese AI startup DeepSeek, built with 236 billion parameters and a 128,000-token context length. Its main claim is efficiency: lower training cost, a smaller key-value cache, faster generation throughput, and strong Chinese-language performance compared with other open-source models.

DeepSeek-V2 arrives with a clear technical pitch: make a very large language model cheaper to train, lighter to run, and still competitive on performance. The Chinese AI startup DeepSeek has released the model as an open-source Mixture-of-Experts system, positioning it as a flagship model for developers and researchers who want high capability without relying only on closed commercial systems.

“The story is mainly a technical model release, with only a mild lean toward more capable and efficient open-source AI systems.”Why it scores Terminator

The model is especially notable because it combines scale with efficiency. DeepSeek-V2 has 236 billion parameters, supports a context length of 128,000 tokens, and uses architecture choices designed to reduce memory pressure and improve inference speed.

A Large Model Built Around Efficiency

DeepSeek-V2 is based on the Transformer architecture, but its most important changes are in the attention module and feed-forward network. The model uses two techniques called Multi-Head Latent Attention (MLA) and DeepSeekMoE.

MLA is designed to compress keys and values together. In practical terms, that means the model stores essential information in a more compact form, reducing memory use and helping processing speed. For large language models, this matters because memory can become one of the major bottlenecks during inference, especially with long context windows.

DeepSeekMoE approaches the problem from another direction. Instead of treating every task as something that must pass through one huge dense model, it divides complex work into smaller subtasks handled by specialized experts. The goal is to reduce redundancy while keeping the benefits of a large overall model.

Compared with DeepSeek 67B, the source article says DeepSeek-V2 saves 42.5 percent in training costs, reduces the key-value cache by 93.3 percent, and increases maximum generation throughput by 5.76 times. Those figures explain why the model is not only being presented as bigger or stronger, but also as more practical to deploy.

Why Mixture-of-Experts Matters

A Mixture-of-Experts model is built around selective use of capacity. The full model can be very large, but only part of it is activated for a given task. That is why DeepSeek-V2 Chat can be discussed in terms of 21 billion activated parameters, even though DeepSeek-V2 has 236 billion parameters in total.

This distinction is central to the model’s appeal. Developers often care about both quality and cost. A model that activates only the most relevant expert components can aim for strong output while avoiding the expense of running every part of the system for every request.

The source describes DeepSeek-V2 as seeking an optimal balance between high performance, lower training cost, and efficient inference. That balance is the larger story. Open-source AI models are not only competing on benchmark scores; they are also competing on whether teams can afford to train, run, and integrate them.

Strong Chinese Performance, With Clear Limits

DeepSeek-V2 was trained on a corpus of 8.1 trillion tokens, with an emphasis on high-quality Chinese data. As a result, its strongest area is performance on Chinese benchmarks.

DeepSeek has also created two chat versions using Supervised Finetuning (SFT) and Reinforcement Learning (RL): DeepSeek-V2 Chat (SFT) and DeepSeek-V2 Chat (RL). According to benchmark results published by DeepSeek-AI, DeepSeek-V2 Chat reaches top performance among open-source models with only 21 billion activated parameters.

The source states that DeepSeek-V2 Chat beats Mixtral 8x22B and LLaMA 3-70B in some benchmarks. It also says the RL version performs especially well at understanding Chinese, reaching performance on par with GPT-4 in that area.

That does not mean the model is ahead everywhere. The source article notes that DeepSeek-V2 still trails larger models such as Ernie 4.0 and the GPT-4 models in reasoning ability. It also shares limitations common to large language models, including hallucinations and a lack of recent information in its training data.

Open Source Access and Low API Pricing

DeepSeek is a relatively young startup, founded in 2023, but it already offers multiple large language models for different use cases. DeepSeek-V2 continues that strategy by being open source and available for free local use.

For teams that do not want to run the model locally, DeepSeek also offers a programming interface for product integration. The pricing cited in the source is aggressive: DeepSeek's chat API charges $0.14 per million input tokens and $0.28 per million output tokens.

The comparison in the source is Claude 3 Haiku, described there as the next cheapest commercial language model, at $0.25 per million input tokens and $1.25 per million output tokens. That pricing gap is important because API cost can shape whether developers use a model for experiments, internal tools, or production features.

  • Local use: DeepSeek-V2 is open source and available for free local deployment.
  • Hosted integration: DeepSeek provides an API for teams that do not want to manage extensive computing power.
  • Public access: DeepSeek-V2 is available on Hugging Face and can be tested at chat.deepseek.com after registration by email or Google account.

What Comes Next for DeepSeek

DeepSeek says it plans to keep investing in large open-source models as it works toward artificial general intelligence (AGI). The source also states that future iterations are expected to continue improving cost efficiency and performance through the MoE architecture.

The next model named in the source is DeepSeek-V3. DeepSeek is likely to focus on higher-quality data in English and other languages for that release, with the aim of competing more directly with models such as Claude 3 and GPT-4 globally.

For now, DeepSeek-V2’s significance is straightforward. It shows how open-source model builders are trying to compete not just with scale, but with efficiency, access, and price. Its strongest current story is Chinese-language performance, but its broader impact may come from showing how MoE design can make large models more usable for more teams.

← Back to the wire

Read next