ApX logoApX logo
CalculatorCoursesPricing

DeepSeek-V3 671B

Closed Source
Open Weights

Parameters

671B

Context Length

131K

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

69 KB/tok

License

DeepSeek Model License

Release Date

27 Dec 2024

Knowledge Cutoff

Jul 2024

API Pricing (per 1M)

Input: $1.14 · Output: $4.56

Hardware & System Requirements

Precision

Context

Workload Memory: 640.76 GB

vLLM

INT8 · 8K context · 1 user

Base Weights: 624.92 GB

KV Cache: 13.34 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

8x NVIDIA H200 141GB

vLLM

640.8 / 1015.2 GB · TP 8

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

FP8 Block-Scaled

CUDA

13.0

PyTorch

2.14.0

Transformers

≥ 4.40.1

ArchitecturePrecisionKernel

Hopper

Native FP8

FlashAttention-3

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 7.2k · Context: 131K · Vocab: 129.3kx 61 layersRMSNormPre-AttentionMulti-Layer Attention128Q / 128KV headsHead dim: 56+RMSNormPre-FFNSparse MoE FFNSwish9/257 experts + 1 shared · Intermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#159

BenchmarkScoreRank

0.439

#27

Software Engineering

SWE-bench Verified

0.42

#32

Professional Knowledge

MMLU Pro

0.759

#36

Graduate-Level QA

GPQA

0.684

#87

Agentic Index

Artificial Analysis

0.8

#121

0.23

#127

General Text

Text Arena

1395.11

#129

Intelligence Index

Artificial Analysis

0.10

#264

StackEval

Archived
ProLLM Stack Eval

0.976

#2

General Knowledge

Reference
MMLU

0.885

#5

QA Assistant

Archived
ProLLM QA Assistant

0.953

#9

Coding

Archived
Aider Coding

0.55

#11

Summarization

Archived
ProLLM Summarization

0.806

#11

Rankings

Overall Rank

#159

Coding Rank

#128

About DeepSeek-V3 671B

DeepSeek-V3 is a 671B-parameter Mixture-of-Experts foundation model activating 37B parameters per token for efficient general language processing. Utilizing Multi-Head Latent Attention and Multi-Token Prediction, it excels across coding, math, and 128K long contexts.

Specifications

Attention

Attention Structure

Multi-Layer Attention

Attention Heads

128

Key-Value Heads

128

Position Embedding

ROPE

RoPE Theta

10,000

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Base Precision

FP8_BLOCK

Hidden Dimension Size

7,168

Number of Layers

61

FFN Intermediate Size (Dense)

2,048

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

129,280

Mixture of Experts

Active Parameters

37.0B

Number of Experts

257

Active Experts

9

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

Dense Layers Before MoE

3

About DeepSeek-V3

DeepSeek-V3 is a Mixture-of-Experts (MoE) language model comprising 671B parameters with 37B activated per token. Its architecture incorporates Multi-head Latent Attention and DeepSeekMoE for efficient inference and training. Innovations include an auxiliary-loss-free load balancing strategy and a multi-token prediction objective, trained on 14.8T tokens.


Other DeepSeek-V3 Models