Llama · 8.0B Dense
Llama 3.1 8B VRAM Requirements & GPU Calculator
Lightweight 8B workhorse compatible with virtually any modern 8GB+ GPU. Needs roughly 6.5 GB VRAM at Q4_K_M (8K context).
1. Configure Model & Hardware
100% Client-Side
2. VRAM & Speed Estimate
VRAM Needed
-- GB
Usable VRAM
-- GB
Est. Speed
-- tok/s
ollama run qwen3:32b
Need more VRAM for local LLMs?
Rent an on-demand cloud GPU by the hour or compare local hardware upgrades.
Llama 3.1 8B VRAM by Quantization (8K Context)
| Quant | Precision | Weights | KV Cache | Total VRAM |
|---|---|---|---|---|
| FP16 | FP16 (16-bit) | 16.5 GB | 1.00 GB | 18.5 GB |
| Q8_0 | Q8_0 (8-bit) | 8.8 GB | 1.00 GB | 10.5 GB |
| Q6_K | Q6_K (6-bit) | 6.8 GB | 1.00 GB | 8.4 GB |
| Q5_K_M | Q5_K_M (5-bit) | 5.9 GB | 1.00 GB | 7.4 GB |
| Q4_K_M | Q4_K_M (4-bit) | 5.0 GB | 1.00 GB | 6.5 GB |
| IQ4_XS | IQ4_XS (4-bit compact) | 4.4 GB | 1.00 GB | 5.9 GB |
| Q3_K_M | Q3_K_M (3-bit) | 4.0 GB | 1.00 GB | 5.5 GB |
| Q2_K | Q2_K (2-bit) | 3.1 GB | 1.00 GB | 4.6 GB |
Which GPUs & Macs Can Run Llama 3.1 8B at Q4_K_M?
| GPU / Mac | Usable VRAM | Status (Q4_K_M) | Est. Speed |
|---|---|---|---|
| NVIDIA RTX 5090 (32GB) | 31.2 GB | Fits | ~259.6 tok/s |
| NVIDIA RTX 5080 (16GB) | 15.3 GB | Fits | ~139.1 tok/s |
| NVIDIA RTX 4090 (24GB) | 23.2 GB | Fits | ~146.0 tok/s |
| NVIDIA RTX 4080 Super (16GB) | 15.3 GB | Fits | ~106.6 tok/s |
| NVIDIA RTX 4060 Ti (16GB) | 15.3 GB | Fits | ~41.7 tok/s |
| NVIDIA RTX 3090 (24GB) | 23.2 GB | Fits | ~135.6 tok/s |
| NVIDIA RTX 3060 (12GB) | 11.4 GB | Fits | ~52.2 tok/s |
| Apple M4 Pro (48GB Unified) | 36 GB | Fits | ~37.4 tok/s |
| Apple M4 Max (64GB Unified) | 48 GB | Fits | ~74.7 tok/s |
| Apple M4 Max (128GB Unified) | 96 GB | Fits | ~74.7 tok/s |
| Apple M4 (24GB Unified) | 18 GB | Fits | ~16.4 tok/s |
| Apple M3 Ultra (192GB Unified) | 144 GB | Fits | ~109.5 tok/s |
| NVIDIA RTX PRO 6000 (96GB) | 94.5 GB | Fits | ~259.6 tok/s |
| NVIDIA H100 (80GB SXM) | 78.5 GB | Fits | ~485.3 tok/s |