Seedlabs
Source research

DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence

DeepSeek-AI, Anyi Xu, Bangcai Lin, Bing Xue, Bingxuan Wang, Bingzheng Xu et al. · 2026 · 918 citationsRead the paper

All 100 authors

Bochao Wu, Bowei Zhang, C Y Lin, Chen Dong, Chenchen Ling, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chengyu Hou, Chenhao Xu, Chenze Shao, Chong Ruan, Conner Sun, Damai Dai, Daya Guo, D Yang, Deli Chen, Donghao Li, Dongjie Ji, Erhang Li, Fang Wei, Fangyun Lin, Fangzhou Yuan, Feiyu Xia, Fucong Dai, Hao Guangbo, Guanting Chen, Guoai Cao, Guolai Meng, Guowei Li, Han Yu, Han Zhang, Hanwei Xu, Hao Li, Haofen Liang, Haoling Zhang, Luo Haoming, Haoran Wei, Haotian Yuan, Haowei Zhang, Haowen Luo, Haoyu Chen, Haozhe Ji, Hengqing Zhang, Honghui Ding, Hongxuan Tang, Huanqi Cao, Huazuo Gao, Hui Qu, Hui Zeng, J Yang, JQ Zhu, Jia Luo, Jia Song, J. Yu, J W Huang, Jialu Cai, Jian Liang, 周姜廷, J P Ye, Jiashi Li, Jiaxin Xu, J Hu, Jie Yang, Jin Chen, Jin Yan, Jingchang Chen, Jingli Zhou, Jingting Xiang, Jingyang Yuan, Jingyuan Cheng, Jingzi Zhou, Jinhua Zhu, Jiping Yu, Joseph Sun, Jun Ran, Junguang Jiang, Junjie Qiu, Junlong Li, Junmin Zheng, Junxiao Song, Kai Dong, Kaige Gao, Kang Guan, Kexing Zhou, Kezhao Huang, Kuai Yu, Lean Wang, Lecong Zhang, Lei Wang, L. Xia, Li Zhang, L Zhao, Lihua Guo

We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models -- DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) -- both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: (1) a hybrid attention architecture that combines Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to improve long-context efficiency; (2) Manifold-Constrained Hyper-Connections (mHC) that enhance conventional residual connections; (3) and the Muon optimizer for faster convergence and greater training stability. We pre-train both models on more than 32T diverse and high-quality tokens, followed by a comprehensive post-training pipeline that unlocks and further enhances their capabilities. DeepSeek-V4-Pro-Max, the maximum reasoning effort mode of DeepSeek-V4-Pro, redefines the state-of-the-art for open models, outperforming its predecessors in core tasks. Meanwhile, DeepSeek-V4 series are highly efficient in long-context scenarios. In the one-million-token context setting, DeepSeek-V4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache compared with DeepSeek-V3.2. This enables us to routinely support one-million-token contexts, thereby making long-horizon tasks and further test-time scaling more feasible. The model checkpoints are available at https://huggingface.co/collections/deepseek-ai/deepseek-v4.

What the full text shows

Working prototype
  • DeepSeek-V4-Pro requires significantly fewer resources for 1M-token context inference compared to DeepSeek-V3.2. — 27% of single-token inference FLOPs and 10% of KV cache (1M-token context setting)
  • DeepSeek-V4-Pro-Max outperforms existing open-source baselines on world knowledge tasks. — 20 absolute percentage points higher on SimpleQA-Verified (Pass@1 metric)
  • DeepSeek-V4-Pro-Max achieves high performance in competitive coding. — 3206 Codeforces Rating (14 Division 1 contests)
  • DeepSeek-V4-Pro-Base shows superior long-context understanding over predecessors. — 51.5% on LongBench-V2 (EM) vs 40.2% for V3.2-Base (1-shot evaluation)
  • DeepSeek-V4-Flash-Base outperforms the larger DeepSeek-V3.2-Base on most evaluations despite fewer parameters. — 13B activated params vs 37B activated params (Base model comparison)
Setup
Pre-trained on >32T tokens; models include V4-Pro (1.6T total/49B activated params) and V4-Flash (284B total/13B activated params).
How
The models use a Mixture-of-Experts (MoE) architecture with a hybrid attention system (Compressed Sparse Attention and Heavily Compressed Attention), Manifold-Constrained Hyper-Connections, and the Muon optimizer. Post-training replaced mixed RL with On-Policy Distillation and utilized a Generative Reward Model (GRM) for hard-to-verify tasks.
Limitations
Architecture is relatively complex due to the retention of multiple validated components. · Underlying principles of Anticipatory Routing and SwiGLU Clamping are insufficiently understood. · Long-context deployment latency remains an area for improvement.

Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it