Type something to search...
DeepSeek-V4-Pro: Highly Efficient Million-Token Context Language Model

DeepSeek-V4-Pro: Highly Efficient Million-Token Context Language Model

Introduction

DeepSeek-V4-Pro is a preview of the DeepSeek-V4 family released in 2026. It offers a 1.6 T‑parameter total size (49 B active) with a 1 M‑token context, using hybrid attention and the Muon optimizer.

Architecture

  • Hybrid attention (CSA + HCA).
    This combines Compressed Sparse Attention, which prunes attention to the most important token‑pair patterns, with Heavily Compressed Attention, which reduces the per‑layer KV table size. Together they cut active FLOPs to ~27 % of a standard dense transformer while keeping only 10 % of the KV cache, enabling a full 1 M‑token context on a single RTX 4090.

  • Manifold‑Constrained Hyper‑Connections (mHC).
    Traditional residual connections are augmented with learned hyper‑parameters that enforce the weight manifold after each block. The result is improved gradient flow and up to 1.3× faster convergence in the final RL distillation stage.

  • Muon optimizer.
    Uses a combination of adaptive learning rates and a decoupled weight decay mechanism. Empirically it reduces training loss by ~0.8 % compared with AdamW on the same token budget.

  • Mixture‑of‑Experts (49 B active).
    The model splits its 1.6 T total parameters into 256 experts, with a routing network that activates only 13 B per token. This yields strong reasoning capabilities while staying within single‑GPU memory limits.

Benchmark highlights

  • AGIEval (EM) 83.1 – strong general language understanding.
  • MMLU‑Pro (EM) 90.1 – multi‑domain factual knowledge, especially in the 1 M‑token window.
  • LiveCodeBench (Pass@1) 93.5 – excels at coding benchmarks, outperforming larger dense models.
  • LongBench‑V2 (EM) 51.5 – demonstrates competence across all 19 long‑context tasks.
  • NIAH @ 1 M tokens 99.0 – the model can retrieve a specific fact buried in a 1 M‑token passage with near‑perfect accuracy.

Additional benchmark insights

DeepSeek‑V4‑Pro benefits from Tool‑Integrated Reasoning (TIR): in the “Think Max” mode it can invoke Python, run external APIs, and incorporate the results before the final answer. This yields a ~5 % BLEU improvement on summarisation tasks that include code generation. Moreover, on multilingual MMLU the score is 88.4, outperforming many open‑source assistants.

Model (Diagram)

Model variants table (expanded)

VariantTotal ParamsActivated ParamsContextPrecisionTypical Use
DeepSeek-V4-Pro-Flash284 B13 B1 M tokensFP4 + FP8Fast inference, chat assistants
DeepSeek-V4-Pro-Base1.6 T49 B1 M tokensFP8Research, long‑form generation
DeepSeek-V4-Flash-Chat300 B (simulated)30 B1 M tokensFP8Low‑latency Q&A

Usage – practical guide

# Install the model via Hugging Face Hub
pip install transformers[torch] peft

# Load in Think mode (recommended for reasoning)
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
import torch

tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V4-Pro")
model = AutoModelForCausalLM.from_pretrained(
    "deepseek-ai/DeepSeek-V4-Pro",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

messages = [
    {"role": "user", "content": "Explain the difference between CSA and HCA attention."}
]
messages.append({"role": "assistant", "content": "", "reasoning_content": "thinking ..."})
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, enable_thinking=True)

output = model.generate(tokenizer(prompt, return_tensors="pt").input_ids, **GenerationConfig(
    temperature=1.0,
    top_p=1.0,
    max_new_tokens=1024,
    pad_token_id=tokenizer.pad_token_id
))
print(tokenizer.decode(output[0], skip_special_tokens=True))

For Think Max mode you need a context size of at least 384 K tokens, so increase max_position_embeddings accordingly and set attention_dropout=0.0.

License

The model and model card are released under the MIT License. The code for the inference server is GPL‑3.0. Check the LICENSE file for full details.

Citation

@misc{deepseekai2026.deepseekv4,
  title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence},
  author={DeepSeek‑AI},
  year={2026}
}

Contact

For questions, open an issue on the GitHub repo or email service@deepseek.com.

Tags :
  • AI
  • DeepSeek
  • Mixture of Experts
  • LLM
  • Benchmark
Share :

Related Posts

ChatGPT: Beware of These Malicious Chrome Extensions

ChatGPT: Beware of These Malicious Chrome Extensions

Are your ChatGPT secrets truly secure? The massive hype surrounding ChatGPT has led to the birth of thousands of Chrome extensions promising to enhance user experience. However, a recent study h

Read More
Agentic AI Smartphones: The Next Frontier for Enterprise

Agentic AI Smartphones: The Next Frontier for Enterprise

The rise of the "doer" AI The recent launch of the ZTE Nubia M153 prototype, powered by ByteDance's Doubao model, marks a decisive turning point. We are moving from passive voice assistants to "

Read More
Kimi K2.6: 1T parameters, Moonshot's agentic coding and vision model

Kimi K2.6: 1T parameters, Moonshot's agentic coding and vision model

From K2 to K2.6: Moonshot's multimodal agent model Moonshot AI's Kimi K2.6 is a major step forward in combining three challenging capabilities into a single open-weight model: **massive-scal

Read More
MiMo-V2.5-Pro: 1.02T parameters, MIT-licensed agent powerhouse

MiMo-V2.5-Pro: 1.02T parameters, MIT-licensed agent powerhouse

From V2-Pro to V2.5-Pro: the long-context breakthrough XiaoMi's MiMo family has rapidly positioned itself among the top open-weight models. MiMo-V2.5-Pro is the latest iteration — a 1.02 tri

Read More
Chroma Context-1: the 20B agentic search model that edits its own context

Chroma Context-1: the 20B agentic search model that edits its own context

What is Chroma Context-1? Chroma Context-1 is a 20B Mixture of Experts model built specifically for agentic search — retrieval tasks that require multiple hops, query decomposition, and self

Read More
Claude Opus 4.5: The Next Generation of AI

Claude Opus 4.5: The Next Generation of AI

Introduction to Claude Opus 4.5 Claude Opus 4.5, released on November 25, 2025, represents a significant leap forward in AI technology. This latest version brings a host of new features and impr

Read More
Claude Opus 4.7: Anthropic's software engineering flagship gets sharper

Claude Opus 4.7: Anthropic's software engineering flagship gets sharper

What is Claude Opus 4.7 On April 16, 2026, Anthropic released Claude Opus 4.7 — a targeted upgrade to its flagship model focused on one theme: rigor in long-running software engineering work

Read More
Cohere Transcribe: a 2B ASR model that tops the English leaderboard

Cohere Transcribe: a 2B ASR model that tops the English leaderboard

What is Cohere Transcribe? Cohere Transcribe 03-2026 is an automatic speech recognition (ASR) model released by Cohere Labs. With 2B parameters, it ranks **#1 on the English ASR leaderboard*

Read More
Gemma 4 31B: Google's multimodal model with 256K context and thinking mode

Gemma 4 31B: Google's multimodal model with 256K context and thinking mode

What is Gemma 4 31B? Gemma 4 31B (instruction-tuned variant: gemma-4-31B-it) is Google's latest open-weights multimodal model with 30.7 billion parameters. It processes text, images, and v

Read More
GLM-5.1: 754B parameters — Z.ai's agentic engineering flagship

GLM-5.1: 754B parameters — Z.ai's agentic engineering flagship

From GLM-5 to GLM-5.1: the agentic leap Less than two weeks after releasing GLM-5, Z.ai (formerly ZhipuAI) ships GLM-5.1 — a 754B-parameter Mixture of Experts model that does not just iterat

Read More
GLM-5: 744B parameters, 40B active — ZhipuAI's open-source frontier model

GLM-5: 744B parameters, 40B active — ZhipuAI's open-source frontier model

What is GLM-5? GLM-5 is a large language model released by ZhipuAI (智谱AI). It has 744 billion total parameters with only 40 billion active at inference — the same Mixture of Experts

Read More
Google Snapseed: A New Photo Experience Arrives on iPhone

Google Snapseed: A New Photo Experience Arrives on iPhone

Introduction: Google surprises mobile photographers Google has just made a major move in the iOS ecosystem by launching a dedicated camera app, directly linked to its famous Snapseed editing suit

Read More
LFM2.5-VL-450M: Liquid AI's 450M vision model that runs in a browser

LFM2.5-VL-450M: Liquid AI's 450M vision model that runs in a browser

What is LFM2.5-VL-450M Most vision-language models compete on scale — billions of parameters, hundreds of GPU-hours for inference. Liquid AI takes the opposite approach. LFM2.5-VL-450M is a

Read More
MiniMax-M2.7: a 229B model that engineers itself

MiniMax-M2.7: a 229B model that engineers itself

What is MiniMax-M2.7 MiniMax-M2.7 is a 229B-parameter dense model from MiniMax, a Beijing-based AI lab. Unlike most frontier models that iterate through human-supervised training cycles, M2.

Read More
Mistral Small 4: One Unified Model to Rule Reasoning, Code, and Vision

Mistral Small 4: One Unified Model to Rule Reasoning, Code, and Vision

For years, the AI model landscape has operated along a familiar tension: large models that are capable but expensive to run, versus small models that are fast but frustratingly limited. Mistral AI's

Read More
Mistral's Devstral 2: The Return of Sovereign Code AI

Mistral's Devstral 2: The Return of Sovereign Code AI

The European Counter-Strike in Code AI With the release of Devstral 2 and its lightweight counterpart Devstral Small 2, Mistral AI is effectively reclaiming territory in a sector recently domina

Read More
Nemotron Cascade 2: NVIDIA's 30B model that won the math and coding Olympics

Nemotron Cascade 2: NVIDIA's 30B model that won the math and coding Olympics

What is Nemotron Cascade 2? Nemotron Cascade 2 (30B-A3B) is an open model released by NVIDIA on March 19, 2026. Its headline number is deceptive: 30 billion total parameters, but only **3 bi

Read More
NVIDIA Nemotron-3 Super: a 120B MoE model that runs on a single GPU

NVIDIA Nemotron-3 Super: a 120B MoE model that runs on a single GPU

On March 11, 2026, NVIDIA released Nemotron-3 Super — a model that sits at an unusual intersection: 120 billion total parameters, only 12 billion active during inference, deployable on a single G

Read More
Qianfan-OCR: Baidu's 4B model that beats Gemini on document parsing

Qianfan-OCR: Baidu's 4B model that beats Gemini on document parsing

What is Qianfan-OCR? Qianfan-OCR is a document understanding model released by Baidu. It converts images of documents — PDFs, scans, photos, screenshots — directly into structured Markdown,

Read More
Qwen3.5-27B Distilled by Claude 4.6 Opus: A Local Reasoning Powerhouse

Qwen3.5-27B Distilled by Claude 4.6 Opus: A Local Reasoning Powerhouse

What is this model? Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled is an open-source 28B language model published by Jackrong on Hugging Face. The idea is

Read More
Project Ava: Razer Traps an AI in a Connected Jar

Project Ava: Razer Traps an AI in a Connected Jar

AI steps out of the screen with Razer Beyond RGB mice and keyboards, Razer is exploring new horizons with Project Ava. This concept, introduced as an "AI companion in a jar," aims to humaniz

Read More
Technology (definition)

Technology (definition)

Technology and ecology: a sustainable alliance At Reeboot, we firmly believe that technology and ecology can go hand in hand. Our mission is to provide high-performance products while adopting a

Read More
The Asus ROG Strix SCAR 18 Monster, VPN and Health: Today's Tech News

The Asus ROG Strix SCAR 18 Monster, VPN and Health: Today's Tech News

Introduction: a concentration of innovations and vigilance The world of technology never stops, and this morning, the news offers us a fascinating mix of raw performance, digital geopolitics, and

Read More
Ubuntu 26.04 LTS: Rust coreutils, Wayland-only, and kernel 7.0

Ubuntu 26.04 LTS: Rust coreutils, Wayland-only, and kernel 7.0

Ubuntu 26.04 LTS: Resolute Raccoon Ubuntu 26.04 LTS, codenamed Resolute Raccoon, ships on April 23, 2026. The codename honors Steve Langasek, a former Debian and Ubuntu release manager who p

Read More
Voxtral-4B: Mistral's open-weights TTS model that speaks 9 languages in real time

Voxtral-4B: Mistral's open-weights TTS model that speaks 9 languages in real time

What is Voxtral-4B? Voxtral-4B-TTS-2603 is a text-to-speech model released by Mistral AI in March 2026. It converts text to realistic speech in 9 languages, with 20 built-in preset voices an

Read More
Windows 11: Your Android Apps Now in Full Screen on PC

Windows 11: Your Android Apps Now in Full Screen on PC

Breaking the barriers between mobile and PC Microsoft is taking another major step in unifying its operating systems. Thanks to an update to the "Phone Link" tool, users can now project their An

Read More