ApX logoApX logo

DeepSeek V4.1 Flash

Active Parameters

552B

Context Length

1.05M

Modality

Text

Architecture

Mixture of Experts (MoE)

License

MIT License

Release Date

10 Sept 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.30 · Output: $1.20

System Requirements

VRAM requirements for different quantization methods and context sizes

1,024 tokens

1160.79 GB VRAM

Consumer

69x RTX 4090

24GB VRAM

Datacenter

18x NVIDIA A100

80GB VRAM

Apple Silicon

14x Apple M3 Max

128GB VRAM

1,048,576 tokens

1250.89 GB VRAM

Consumer

75x RTX 4090

24GB VRAM

Datacenter

19x NVIDIA A100

80GB VRAM

Apple Silicon

16x Apple M3 Max

128GB VRAM

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 FFN (6/384 experts)SwiGLUIntermediate: 2.3k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#8

BenchmarkScoreRank

Agentic Coding

LiveBench Agentic
max

0.77

🥇

1

max

0.81

5

LiveBench Average

LiveBench Average
max

0.81

5

max

0.79

11

Web Development

WebDev Arena
max

1620

12

max

0.93

13

max

0.80

14

max

0.87

22

Intelligence Index

Artificial Analysis
max

0.40

35

Rankings

Overall Rank

#8

Coding Rank

#18

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.

Technical 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

Sliding Window Ratio

-

Linear Attention

No

Linear Attention Ratio

-

Normalization

RMS Normalization

Activation Function

SwigLU

Dimensions

Hidden Dimension Size

5,120

Number of Layers

40

FFN Intermediate Size (Dense)

-

Multi-Token Prediction Heads

3

Tokenizer

Vocabulary Size

129,280

Mixture of Experts

Total Expert Parameters

16.0B

Number of Experts

384

Active Experts

6

Shared Experts

1

FFN Intermediate Size (per Expert)

2,304

Dense Layers Before MoE

-

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