Family · Meta
Llama 3: every size compared
7 Llama 3 models, from Llama 3.2 1B (1.24B) to Llama 3.1 405B (406B). The weights go from 2.5 GB to 812 GB in BF16, 618 MB to 203 GB at 4-bit.
| Model | Params | Layers | d | Heads / KV | FFN | Context | BF16 | 8-bit | 4-bit | KV / token |
|---|---|---|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | 1.24B | 16 | 2,048 | 32 / 8 | 8,192 | 128K | 2.5 GB | 1.2 GB | 618 MB | 32.8 KB |
| Llama 3.2 3B | 3.21B | 28 | 3,072 | 24 / 8 | 8,192 | 128K | 6.4 GB | 3.2 GB | 1.6 GB | 114.7 KB |
| Llama 3 8B | 8.03B | 32 | 4,096 | 32 / 8 | 14,336 | 8K | 16.1 GB | 8.0 GB | 4.0 GB | 131.1 KB |
| Llama 3.1 8B | 8.03B | 32 | 4,096 | 32 / 8 | 14,336 | 128K | 16.1 GB | 8.0 GB | 4.0 GB | 131.1 KB |
| Llama 3.1 70B | 70.6B | 80 | 8,192 | 64 / 8 | 28,672 | 128K | 141 GB | 70.6 GB | 35.3 GB | 327.7 KB |
| Llama 3.3 70B | 70.6B | 80 | 8,192 | 64 / 8 | 28,672 | 128K | 141 GB | 70.6 GB | 35.3 GB | 327.7 KB |
| Llama 3.1 405B | 406B | 126 | 16,384 | 128 / 8 | 53,248 | 128K | 812 GB | 406 GB | 203 GB | 516.1 KB |
Weights at 2, 1 and 0.5 bytes per parameter; KV cache in BF16 for one sequence. Each model's page has the full tensor list and the parameter count worked out.
What changes with size
- Every size shares one tokenizer: a vocabulary of 128,256 tokens.
- The smaller ones tie the output head to the embedding (Llama 3.2 1B, Llama 3.2 3B), which saves V × d parameters where the vocabulary is a big share of the model.
- All keep 8 KV heads, so the KV cache grows only with depth: 32.8 KB per token for the smallest, 516.1 KB for the largest.
Which size fits your GPU
The biggest Llama 3 model whose 4-bit weights and an 8K-token KV cache fit:
- 8 GB: up to Llama 3.1 8B at 4-bit
- 12 GB: up to Llama 3.1 8B at 4-bit
- 16 GB: up to Llama 3.1 8B at 4-bit
- 24 GB: up to Llama 3.1 8B at 4-bit
- 48 GB: up to Llama 3.3 70B at 4-bit
- 80 GB: up to Llama 3.3 70B at 4-bit
Comparisons
Llama 3.1 8B vs Qwen2.5 7B · Llama 3.1 8B vs Mistral 7B v0.3 · Llama 3.1 8B vs Qwen3 8B · Gemma 2 9B vs Llama 3.1 8B · Llama 2 7B vs Llama 3.1 8B · OLMo 2 7B vs Llama 3.1 8B · Llama 3.1 70B vs Qwen2.5 72B · Mixtral 8x7B vs Llama 3.1 70B · DeepSeek-V3 vs Llama 3.1 70B · Llama 3.2 3B vs Phi-3 Mini · Llama 3.2 1B vs SmolLM2 1.7B · Llama 4 Scout (17B-16E) vs Llama 3.3 70B · Llama 3.3 70B vs Qwen2.5 72B
Other families: Llama 4 · Qwen2.5 · Qwen3 · Gemma 2 · Gemma 3 · Mistral · Phi · DeepSeek · DeepSeek-R1 distills · gpt-oss · SmolLM · OLMo 2 · Granite · Falcon3