Archive of AI

Source Snapshot / 2026-08-13-deepseek-v4-pro-ga-1

deepseek-ai/DeepSeek-V4-Pro · Hugging Face

Linked event: 2026-08-13 · DeepSeek-V4-Pro Launches in General Availability, Upholding Pure MIT Open-Source Release with 1M-Token Context

Publisher
Hugging Face
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 7beb2c1cad25f1c2
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Hugging Face

Search models, datasets, users... ⌘K

DeepSeek-V4-Pro

DeepSeek 155k

Text Generation

Transformers

Eval Results

8-bit precision

arxiv: 2606.19348

License: mit

Model card Files Files and versions

Copy to bucket

Use this model

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

Technical Report👁️

Introduction

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:

Hybrid Attention Architecture: We design a hybrid attention mechanism combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to dramatically improve long-context efficiency. In the 1M-token context setting, DeepSeek-V4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache compared with DeepSeek-V3.2.

Manifold-Constrained Hyper-Connections (mHC): We incorporate mHC to strengthen conventional residual connections, enhancing stability of signal propagation across layers while preserving model expressivity.

Muon Optimizer: We employ 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. The post-training features a two-stage paradigm: independent cultivation of domain-specific experts (through SFT and RL with GRPO), followed by unified model consolidation via on-policy distillation, integrating distinct proficiencies across diverse domains into a single model.

DeepSeek-V4-Pro-Max, the maximum reasoning effort mode of DeepSeek-V4-Pro, significantly advances the knowledge capabilities of open-source models, firmly establishing itself as the best open-source model available today. It achieves top-tier performance in coding benchmarks and significantly bridges the gap with leading closed-source models on reasoning and agentic tasks. Meanwhile, DeepSeek-V4-Flash-Max achieves comparable reasoning performance to the Pro version when given a larger thinking budget, though its smaller parameter scale naturally places it slightly behind on pure knowledge tasks and the most complex agentic workflows.

Model Downloads

#Total Params

#Activated Params

Context Length

DeepSeek-V4-Flash-Base

HuggingFace | ModelScope

DeepSeek-V4-Flash

FP4 + FP8 Mixed*

DeepSeek-V4-Pro-Base

*FP4 + FP8 Mixed: MoE expert parameters use FP4 precision; most other parameters use FP8.

Evaluation Results

Benchmark (Metric)

DeepSeek-V3.2-Base

Architecture

# Activated Params

# Total Params

World Knowledge

AGIEval (EM)

MMLU-Redux (EM)

MMLU-Pro (EM)

MultiLoKo (EM)

Simple-QA verified (EM)

SuperGPQA (EM)

FACTS Parametric (EM)

TriviaQA (EM)

Language & Reasoning

HellaSwag (EM)

WinoGrande (EM)

CLUEWSC (EM)

BigCodeBench (Pass@1)

HumanEval (Pass@1)

Long Context

LongBench-V2 (EM)

Instruct Model

DeepSeek-V4-Pro and DeepSeek-V4-Flash both support three reasoning effort modes:

Reasoning Mode

Characteristics

Typical Use Cases

Response Format

Fast, intuitive responses

Routine daily tasks, low-risk decisions

</think> summary

Conscious logical analysis, slower but more accurate

Complex problem-solving, planning

<think> thinking </think> summary

Push reasoning to its fullest extent

Exploring the boundary of model reasoning capability

Special system prompt + <think> thinking </think> summary

DeepSeek-V4-Pro-Max vs Frontier Models

Opus-4.6 Max

GPT-5.4 xHigh

Gemini-3.1-Pro High

K2.6 Thinking

GLM-5.1 Thinking

DS-V4-Pro Max

Knowledge & Reasoning

SimpleQA-Verified (Pass@1)

Chinese-SimpleQA (Pass@1)

GPQA Diamond (Pass@1)

HLE (Pass@1)

LiveCodeBench (Pass@1)

Codeforces (Rating)

HMMT 2026 Feb (Pass@1)

IMOAnswerBench (Pass@1)

Apex (Pass@1)

Apex Shortlist (Pass@1)

MRCR 1M (MMR)

CorpusQA 1M (ACC)

Terminal Bench 2.0 (Acc)

SWE Verified (Resolved)

SWE Pro (Resolved)

SWE Multilingual (Resolved)

BrowseComp (Pass@1)

HLE w/ tools (Pass@1)

GDPval-AA (Elo)

MCPAtlas Public (Pass@1)

Toolathlon (Pass@1)

Comparison across Modes

V4-Flash Non-Think

V4-Flash High

V4-Flash Max

V4-Pro Non-Think

MCPAtlas (Pass@1)

Chat Template

This release does not include a Jinja-format chat template. Instead, we provide a dedicated encoding folder with Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model, and how to parse the model's text output. Please refer to the encoding folder for full documentation.

A brief example:

from encoding_dsv4 import encode_messages, parse_message_from_completion_text

messages = [

{"role": "user", "content": "hello"},

{"role": "assistant", "content": "Hello! I am DeepSeek.", "reasoning_content": "thinking..."},

{"role": "user", "content": "1+1=?"}

# messages -> string

prompt = encode_messages(messages, thinking_mode="thinking")

# string -> tokens

import transformers

tokenizer = transformers.AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V4-Pro")

tokens = tokenizer.encode(prompt)

How to Run Locally

Please refer to the inference folder for detailed instructions on running DeepSeek-V4 locally, including model weight conversion and interactive chat demos.

For local deployment, we recommend setting the sampling parameters to temperature = 1.0, top_p = 1.0. For the Think Max reasoning mode, we recommend setting the context window to at least 384K tokens.

This repository and the model weights are licensed under the MIT License.

@misc{deepseekai2026deepseekv4,

title={DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence},

author={DeepSeek-AI},

year={2026},

If you have any questions, please raise an issue or contact us at service@deepseek.com.

Downloads last month 297,005

Model tree for deepseek-ai/DeepSeek-V4-Pro

Quantizations

Spaces using deepseek-ai/DeepSeek-V4-Pro 100

Collection including deepseek-ai/DeepSeek-V4-Pro

11 items • Updated Oct 17 • 961

Paper for deepseek-ai/DeepSeek-V4-Pro

Paper • 2606.19348 • Published Apr 26 • 49

Evaluation results

openai/gsm8k · Gsm8k View evaluation results leaderboard

Idavidrein/gpqa · Diamond View evaluation results leaderboard

agents-last-exam/agents-last-exam leaderboard

Overall Pass Rate View evaluation results

harness=openclaw; harness_variant=not reported; attempted=146/152; official leaderboard snapshot=2026-10-01T20:39:17.826877+00:00; values are percentages (0-100); equal-task aggregation; unattempted tasks contribute zero; pass threshold score>=0.999. This is an official leaderboard export, not an HF-verified evaluation.

Overall Score View evaluation results

Ale Cli Pass Rate View evaluation results

harness=openclaw; harness_variant=not reported; attempted=104/105; official leaderboard snapshot=2026-10-01T20:39:17.826877+00:00; values are percentages (0-100); equal-task aggregation; unattempted tasks contribute zero; pass threshold score>=0.999. This is an official leaderboard export, not an HF-verified evaluation.

Expand 15 benchmarks