Compare

DeepSeek-V3 vs Llama 3.1 70B

DeepSeek-V3 has 671B parameters, 9.5 times the 70.6B of Llama 3.1 70B. In BF16 the weights take 1.34 TB and 141 GB. Llama 3.1 70B needs 4.7 times as much KV cache per token (327.7 KB against 70.3 KB): GQA against MLA.

DeepSeek-V3Llama 3.1 70BRatio
Parameters671B 671,026,419,20070.6B 70,553,706,4960.11×
Active per token37.6Ball (dense)1.88×
Layers61801.31×
Hidden size (d)7,1688,1921.14×
AttentionMLA, 128 heads64 heads, 8 KV heads × 128
FFN256 experts × 2,048, top 8 + 1 sharedSwiGLU, 28,672
Vocabulary129,280128,2560.99×
Tied embeddingsnono
Max context160K128K0.80×
Weights, BF161.34 TB141 GB0.11×
Weights, 4-bit336 GB35.3 GB0.11×
KV cache per token (BF16)70.3 KB327.7 KB4.66×
KV cache at 32K tokens2.3 GB10.7 GB4.66×
FLOPs per token (4K context)95.6 GFLOPs151.8 GFLOPs1.59×

The full workings: DeepSeek-V3 · Llama 3.1 70B · change the models