LlamaDenseLlama Community License

Llama 3.1 405B

Llama 3.1 405B is a dense transformer language model from the Llama family, containing 405B parameters across 126 layers. It supports up to 131K tokens of context with a hidden dimension of 16384 and 8 KV heads for efficient grouped-query a

405.0B

Parameters

128K

Max Context

Dense

Architecture

Released

Text

Modality

About Llama 3.1 405B

Llama 3.1 405B is a dense transformer language model from the Llama family, containing 405B parameters across 126 layers. It supports up to 131K tokens of context with a hidden dimension of 16384 and 8 KV heads for efficient grouped-query attention (GQA). Server/cluster class. Full precision impractical for consumer hardware.

ResearchEnterprise

Technical Specifications

Total Parameters405.0B
ArchitectureDense
Attention TypeGQA (Grouped Query Attention)
Hidden Dimensiond = 16,384
Transformer Layers126
Attention Heads128
KV Headsn_kv = 8
Head Dimensiond_head = 128
Activation FunctionSwiGLU
NormalizationRMSNorm
Position EmbeddingRoPE

System Requirements

Estimated VRAM at 10% overhead for different quantization methods and context sizes.

Quantization1K ctx128K ctx
Q4_K_M0.50 B/W
~97% of FP16
209.8Cluster / Multi-GPU
272.3Cluster / Multi-GPU
Q8_01.00 B/W
~100% of FP16
419.2Cluster / Multi-GPU
481.7Cluster / Multi-GPU
F162.00 B/W
Reference
837.8Cluster / Multi-GPU
900.4Cluster / Multi-GPU
Fits 24 GB consumer GPU
Fits 80 GB datacenter GPU
Requires cluster / multi-GPU

Other Llama Models

View All

Find the right GPU for Llama 3.1 405B

Use the interactive VRAM Calculator to see exactly how much memory you need at any quantization level, context length, and overhead setting.