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

1081.17 GB VRAM

Consumer

63x RTX 4090

24GB VRAM

Datacenter

17x NVIDIA A100

80GB VRAM

Apple Silicon

13x Apple M3 Max

128GB VRAM

1,048,576 tokens

1165.09 GB VRAM

Consumer

69x RTX 4090

24GB VRAM

Datacenter

18x NVIDIA A100

80GB VRAM

Apple Silicon

15x 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

#13

BenchmarkScoreRank

Agentic Coding

LiveBench Agentic
max

0.77

🥇

1

max

0.81

7

LiveBench Average

LiveBench Average
max

0.81

7

max

0.79

14

max

0.80

18

max

0.93

18

Agent Arena

Agent Arena
max

0.04

18

Web Development

WebDev Arena
max

1620

20

Graduate-Level QA

GPQA

0.909

21

max

0.87

28

General Text

Text Arena
max

1473

35

Intelligence Index

Artificial Analysis
max

0.40

Standard

0.25

53

128

Rankings

Overall Rank

#13

Coding Rank

#22

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

Auxiliary Parameters

-

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