GPUs tracked29Price history3 dayssince Sep 3, 2026Price points (24h)10,787 pointsBiggest 24h dropBiggest 24h riseData updated Sep 5, 2026

How Much VRAM Does Llama 3.1 8B Need to Run Locally?

See devices that run it

Llama 3.1 8B is a dense model with 8B parameters. At Q4 it needs at least 7GB of VRAM, and 8GB is the comfortable amount for an 8K context. The cheapest device that holds it is the GeForce RTX 4080, with no used-price data yet, at roughly 91.6 tokens/s.

Llama 3.1 8B details

Launch dateJul 18, 2024
Revision
ArchitectureDense
Ollama tagllama3.1:8b
Downloads (30d)5,734,979
Min VRAM at Q47 GB · Q4_K_M · 8K
Parameters8B
Layers32
Hidden size4,096
KV heads8
Head dim128
Max context128K
VendorMeta AI

VRAM needed for Llama 3.1 8B by quantization and context

Total at 8K
QuantizationWeightsGBTotal at 8KGBTotal at 32KGBTotal at 128KGB
Q4_K_M4.9GGUF6.59.521.5
Q5_K_M5.7GGUF7.410.422.4
Q8_08.5GGUF10.313.325.3
FP1615.7est.17.720.732.7

Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 128K limit show a dash.

Which GPUs can run Llama 3.1 8B?

Q4_K_M · 8K context · sorted by eBay used price
DeviceVRAMGBUsed priceEst. t/sSuggested context
GeForce RTX 408016No listings91.632K
GeForce RTX 5070 Ti16No listings112.432K
GeForce RTX 508016No listings119.732K
Radeon RX 9070 XT16No listings6032K
Radeon RX 7900 XT20No listings74.132K
Arc Pro B6024No listings39.2128K
GeForce RTX 309024No listings117128K
GeForce RTX 409024No listings125.1128K
GeForce RTX 5090 D V224No listings161.4128K
Radeon RX 7900 XTX24No listings87.9128K
RTX PRO 4000 Blackwell24No listings86.3128K
Arc Pro B6532No listings51.7128K
Arc Pro B7032No listings51.7128K
GeForce RTX 4080 SUPER 32GB (modded)32No listings93.9128K
GeForce RTX 509032No listings206.3128K
GeForce RTX 5090 D32No listings206.3128K
Instinct MI10032No listings110.3128K
Radeon AI PRO R970032No listings60128K
Radeon PRO W780032No listings54.3128K
RTX PRO 4500 Blackwell32No listings112.4128K
A100 40GB PCIe40No listings183128K
GeForce RTX 4090 48GB (modded)48No listings125.1128K
Radeon PRO W790048No listings79.7128K
RTX PRO 5000 Blackwell 48GB48No listings161.4128K
Instinct MI21064No listings142.9128K
RTX PRO 5000 Blackwell 72GB72No listings161.4128K
Mac Studio M4 Max 128GB128No listings56.5128K
Mac Studio M3 Ultra 256GB256No listings82.8128K
Mac Studio M3 Ultra 512GB512No listings82.8128K

Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.

Run Llama 3.1 8B with Ollama, llama.cpp or vLLM

Ollama

Ollama pulls and runs it in one command; the quantization comes from the official tag.

ollama run llama3.1:8b
llama.cpp

llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.

llama-server -hf bartowski/Meta-Llama-3.1-8B-Instruct-GGUF:Q4_K_M -c 8192
vLLM

vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.

vllm serve meta-llama/Llama-3.1-8B-Instruct

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

FAQ

How much VRAM does Llama 3.1 8B need?

At Q4_K_M with an 8K context Llama 3.1 8B needs about 7GB of VRAM; 8GB leaves comfortable headroom.

What is the cheapest GPU that runs Llama 3.1 8B?

The GeForce RTX 4080: 16GB of VRAM at roughly 91.6 tokens/s. We have no used-price data for it yet.

Can you run Llama 3.1 8B with Ollama?

Yes: ollama run llama3.1:8b.