ApX logoApX logo

DeepSeek-R1 671B

Active Parameters

671B

Context Length

131K

Modality

Text

Architecture

Mixture of Experts (MoE)

License

MIT License

Release Date

27 Dec 2024

Knowledge Cutoff

Jul 2024

API Pricing (per 1M)

Input: $2.00 · Output: $4.00

System Requirements

VRAM requirements for different quantization methods and context sizes

1,024 tokens

1414.90 GB VRAM

Consumer

87x RTX 4090

24GB VRAM

Datacenter

22x NVIDIA A100

80GB VRAM

Apple Silicon

18x Apple M3 Max

128GB VRAM

131,072 tokens

1960.79 GB VRAM

Consumer

128x RTX 4090

24GB VRAM

Datacenter

32x NVIDIA A100

80GB VRAM

Apple Silicon

28x Apple M3 Max

128GB VRAM

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 2k · Context: 131K · Vocab: 129.3kx 61 layersRMSNormPre-AttentionMulti-Layer Attention128Q / 128KV headsHead dim: 16+RMSNormPre-FFNSparse MoE FFN (6/64 experts)SwishIntermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#111

BenchmarkScoreRank

Professional Knowledge

MMLU Pro

0.85

12

0.524

22

Graduate-Level QA

GPQA

0.81

62

General Text

Text Arena

1398

101

Agentic Index

Artificial Analysis

0.01

118

0.25

126

Intelligence Index

Artificial Analysis

0.13

194

StackEval

Archived
ProLLM Stack Eval

0.956

5

QA Assistant

Archived
ProLLM QA Assistant

0.964

5

Coding

Archived
Aider Coding

0.71

7

Summarization

Archived
ProLLM Summarization

0.774

14

Rankings

Overall Rank

#111

Coding Rank

#102

About DeepSeek-R1 671B

DeepSeek-R1 is DeepSeek's flagship 671B Mixture-of-Experts reasoning model engineered with large-scale reinforcement learning for complex problem-solving. It generates explicit multi-step chains of thought for state-of-the-art math, coding, and scientific deduction.

Technical Specifications

Attention

Attention Structure

Multi-Layer Attention

Attention Heads

128

Key-Value Heads

128

Attention Head Dimension

-

Position Embedding

ROPE

RoPE Theta

10,000

Sliding Window Attention

No

Sliding Window Size

-

Sliding Window Ratio

-

Linear Attention

-

Linear Attention Ratio

-

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Auxiliary Parameters

-

Hidden Dimension Size

2,048

Number of Layers

61

FFN Intermediate Size (Dense)

2,048

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

129,280

Mixture of Experts

Total Expert Parameters

37.0B

Number of Experts

64

Active Experts

6

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

Dense Layers Before MoE

3

About DeepSeek-R1

DeepSeek-R1 is a model family developed for logical reasoning tasks. It incorporates a Mixture-of-Experts architecture for computational efficiency and scalability. The family utilizes Multi-Head Latent Attention and employs reinforcement learning in its training, with some variants integrating cold-start data.


Other DeepSeek-R1 Models