GPUs tracked45Price history8 dayssince Sep 3, 2026Price points (24h)7,968 pointsBiggest 24h dropMac Studio M4 Max 128GB-6.7%Biggest 24h riseGeForce RTX 5070 Ti+21.0%Data updated

How to Deploy Llama 3.1 8B Locally

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 card that runs it today is the Tesla V100 16GB at about $131, at roughly 112.9 tokens/s.

Llama 3.1 8B details

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

How much VRAM does Llama 3.1 8B need for local deployment?

QuantizationWeightsGBTotal at 8KGBTotal at 32KGBTotal at 128KGB
1-bit1.9est.3.96.918.9
2-bit3.7GGUF5820
3-bit4.8GGUF5.88.820.8
4-bit4.9GGUF6.59.521.5
5-bit5.7GGUF7.410.422.4
8-bit8.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. Each tier takes whichever file of that bit width the repository has, preferring unsloth dynamic quants, so the exact file name varies by model.

Which GPUs can run Llama 3.1 8B?

Xianyu
DeviceVRAMGBPriceEst. t/sSuggested context
Tesla V100 16GB16$13113 listings112.932K
GeForce RTX 2080 Ti 22GB22$3873 listings79.5128K
Instinct MI50 32GB32$4054 listings93.3128K
Radeon RX 6950 XT16$44613 listings54.332K
Radeon RX 7800 XT16$46111 listings58.632K
Tesla V100 32GB32$47611 listings112.9128K
Radeon RX 7900 XT20$63916 listings74.132K
GeForce RTX 5060 Ti 16GB16$6974 listings58.932K
Arc Pro B6024$78410 listings39.2128K
Radeon RX 7900 XTX24$86217 listings87.9128K
Radeon RX 9070 XT16$90712 listings6032K
GeForce RTX 507012$91810 listings86.332K
GeForce RTX 408016$1,1529 listings91.632K
GeForce RTX 309024$1,20415 listings117128K
Arc Pro B7032$1,4656 listings51.7128K
GeForce RTX 5070 Ti16$1,4723 listings112.432K
Radeon AI PRO R970032$1,6438 listings60128K
CMP 170HX 40GB40$1,6804 listings183.5128K
Radeon PRO W780032$1,8443 listings54.3128K
GeForce RTX 508016$1,85112 listings119.732K
CMP 170HX 64GB64$2,0898 listings176.7128K
RTX PRO 4000 Blackwell24$2,32718 listings86.3128K
Instinct MI21064$2,75112 listings142.9128K
Radeon PRO W790048$3,2715 listings79.7128K
GeForce RTX 409024$3,49416 listings125.1128K
GeForce RTX 5090 D V224$3,55414 listings161.4128K
RTX PRO 4500 Blackwell32$3,84416 listings112.4128K
GeForce RTX 4090 48GB48$3,9553 listings125.1128K
A100 40GB PCIe40$4,6024 listings183128K
Mac Studio M4 Max 128GB128$4,78813 listings56.5128K
DGX Spark 128GB128$4,83231 listings36.5128K
GeForce RTX 5090 D32$4,89213 listings206.3128K
MacBook Pro M4 Max 128GB128$5,2644 listings56.5128K
Mac Studio M5 Max 128GB128$5,8816 listings63.2128K
GeForce RTX 509032$6,51313 listings206.3128K
RTX PRO 5000 Blackwell 48GB48$6,95915 listings161.4128K
MacBook Pro M5 Max 128GB128$8,1487 listings63.2128K
RTX PRO 5000 Blackwell 72GB72$9,66517 listings161.4128K
RTX PRO 6000D84$10,11117 listings184.3128K
RTX PRO 6000 Blackwell96$18,4226 listings206.3128K
Mac Studio M3 Ultra 512GB512$19,3156 listings82.8128K
Arc Pro B6532No listings51.7128K
GeForce RTX 4080 SUPER 32GB32No listings93.9128K
Instinct MI10032No listings110.3128K
Ryzen AI Max+ 395 128GB128No listings24.7128K

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.

Deploy Llama 3.1 8B locally 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 Tesla V100 16GB: 16GB of VRAM, currently about $131, at roughly 112.9 tokens/s.

Can you run Llama 3.1 8B with Ollama?

Yes: ollama run llama3.1:8b.