ApX logoApX logo
CalculatorCoursesPricing

DeepSeek V4.1 Flash

Open Source
Open Weights

Parameters

552B

Context Length

1.05M

Modality

Multimodal

Architecture

Mixture of Experts

KV Cache Rate

80 KB/tok

License

MIT License

Release Date

10 Sept 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.30 · Output: $1.20

Hardware & System Requirements

Precision

Context

Workload Memory: 1031.31 GB

vLLM

FP16 · 8K context · 1 user

Base Weights: 1028.18 GB

KV Cache: 0.63 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

16x NVIDIA H100 80GB

vLLM

1031.3 / 1152.0 GB · TP 8 · PP 2

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.6.0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 5.1k · Context: 1.05M · Vocab: 129.3kx 40 layersRMSNormPre-AttentionCompressed Sparse Attention 264Q / 1KV heads · SW: 128Head dim: 512+RMSNormPre-FFNSparse MoE FFNSwiGLU6/384 experts + 1 shared · Intermediate: 2.3k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#19

BenchmarkScoreRank

Agentic Coding

LiveBench Agentic
max

0.77

#1

max

0.81

#8

LiveBench Average

LiveBench Average
max

0.81

#9

max

0.79

#16

max

0.93

#20

Web Development

WebDev Arena
max

1658.55

#21

Graduate-Level QA

GPQA

0.909

#21

max

0.80

#23

max

0.87

#29

Agent Arena

Agent Arena
max

1107.97

#29

General Text

Text Arena
max

1474.37

#40

Intelligence Index

Artificial Analysis
max

0.32

high

0.29

Standard

0.18

#85

#110

#196

Rankings

Overall Rank

#19

Coding Rank

#44

About DeepSeek V4.1 Flash

DeepSeek-V4.1-Flash is a multimodal Mixture-of-Experts model with 552B total parameters, activating 8B during prefill and 16B during decoding. It utilizes a Causal Encoder-Decoder architecture with SWA Bounded Replay to significantly reduce KV cache memory across long context windows up to one million tokens.

Specifications

Attention

Attention Structure

Compressed Sparse Attention 2

Attention Heads

64

Key-Value Heads

1

Attention Head Dimension

512

Position Embedding

ROPE

RoPE Theta

10,000

Sliding Window Attention

Yes

Sliding Window Size

128

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

5,120

Number of Layers

40

Multi-Token Prediction Heads

3

Tokenizer

Vocabulary Size

129,280

Mixture of Experts

Active Parameters

16.0B

Number of Experts

384

Active Experts

6

Shared Experts

1

FFN Intermediate Size (per Expert)

2,304

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
DeepSeek V4.1 Flash Size, VRAM & Hardware Requirements