Parameters
405B
Context Length
128K
Modality
Text
Architecture
Dense
KV Cache Rate
504 KB/tok
License
Llama 3.1 Community License Agreement
Release Date
23 Jul 2024
Knowledge Cutoff
Dec 2023
API Pricing (per 1M)
Input: $4.00 · Output: $4.00
Precision
Context
Workload Memory: 760.81 GB
FP16 · 8K context
Base Weights: 754.37 GB
KV Cache: 3.94 GB
Runtime & Graphs: 2.50 GB
8x NVIDIA H200 141GB
760.8 / 1015.2 GB usable · TP 8
Determine requirements for your specific workload:
Upgrade to Pro
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.40.1
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#160
| Benchmark | Score | Rank |
|---|---|---|
Professional Knowledge | 0.733 | 40 |
Graduate-Level QA | 0.507 | 102 |
General Text | 1336 | 155 |
Intelligence Index | 0.07 | 277 |
General Knowledge Reference | 0.873 | 8 |
StackEval Archived | 0.8 | 14 |
QA Assistant Archived | 0.884 | 16 |
Overall Rank
#160
Coding Rank
-
Llama 3.1 405B is Meta's flagship dense open foundation model pretrained on over 15T tokens across 16,000 GPUs. It delivers state-of-the-art steerability, synthetic data generation, and complex multi-step reasoning over a 128K context window.
Attention
Attention Structure
Grouped-Query Attention
Attention Heads
128
Key-Value Heads
8
Position Embedding
ROPE
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Base Precision
FP16
Hidden Dimension Size
16,384
Number of Layers
126
Llama 3.1 is Meta's advanced large language model family, building upon Llama 3. It features an optimized decoder-only transformer architecture, available in 8B, 70B, and 405B parameter versions. Significant enhancements include an expanded 128K token context window and improved multilingual capabilities across eight languages, refined through data and post-training procedures.