ApX logoApX logo
CalculatorCoursesPricing

DeepSeek-V4-Flash

Open Source
Open Weights

Parameters

284B

Context Length

1.05M

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

86 KB/tok

License

MIT License

Release Date

24 Apr 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.30 · Output: $1.20

Hardware & System Requirements

Precision

Context

Workload Memory: 532.16 GB

vLLM

FP16 · 8K context · 1 user

Base Weights: 528.99 GB

KV Cache: 0.67 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

8x NVIDIA H100 80GB

vLLM

532.2 / 576.0 GB · TP 8

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.57.1

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashMLA

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 4.1k · Context: 1.05M · Vocab: 129.3kx 43 layersRMSNormPre-AttentionDeepSeek Sparse Attention64Q / 1KV heads · SW: 128Head dim: 512+RMSNormPre-FFNSparse MoE FFNSwish6/256 experts + 1 shared · Intermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#65

BenchmarkScoreRank

Professional Knowledge

MMLU Pro

0.864

#7

0.843

#11

0.79

#13

0.87

#30

Graduate-Level QA

GPQA

0.874

#35

0.74

#36

Agentic Index

Artificial Analysis
max

0.41

#39

LiveBench Average

LiveBench Average

0.74

#39

Agentic Coding

LiveBench Agentic

0.47

#45

0.87

#46

0.75

#49

max

0.56

high

0.52

#74

#84

Web Development

WebDev Arena
high

1430.97

#85

General Text

Text Arena

1435.59

#92

Intelligence Index

Artificial Analysis

0.19

#193

Rankings

Overall Rank

#65

Coding Rank

#62

About DeepSeek-V4-Flash

DeepSeek-V4-Flash is DeepSeek's fast, efficient, and economical MoE model in the V4 series, with 284B total parameters and 13B activated per token. Shares the same hybrid CSA+HCA attention architecture and 1M context support as V4-Pro. DeepSeek-V4-Flash-Max achieves comparable reasoning performance to V4-Pro when given a larger thinking budget. Strong on agentic and coding tasks (SWE-Bench Verified 79.0%, Terminal-Bench 2.0 56.9%), with smaller parameter scale enabling faster response times. Supports Non-think, Think High, and Think Max reasoning modes. Available via API as deepseek-v4-flash. Released open-source under MIT license on April 24, 2026.

Specifications

Attention

Attention Structure

DeepSeek Sparse Attention

Attention Heads

64

Key-Value Heads

1

Attention Head Dimension

512

Position Embedding

Absolute Position Embedding

RoPE Theta

10,000

Sliding Window Attention

Yes

Sliding Window Size

128

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Base Precision

FP16

Hidden Dimension Size

4,096

Number of Layers

43

FFN Intermediate Size (Dense)

2,048

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

129,280

Mixture of Experts

Active Parameters

13.0B

Number of Experts

256

Active Experts

6

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

About DeepSeek V4

DeepSeek-V4 is DeepSeek's latest generation of highly efficient Mixture-of-Experts language models, featuring a novel hybrid attention architecture combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) that dramatically improves long-context efficiency. Pre-trained on 32T+ tokens with a comprehensive post-training pipeline including domain-specific expert cultivation and unified model consolidation. Both V4-Pro and V4-Flash support 1M context length as standard, with three reasoning effort modes (Non-think, Think High, Think Max). Released open-source under MIT license on April 24, 2026.


Other DeepSeek V4 Models