GPUs tracked45Price history8 dayssince Sep 3, 2026Price points (24h)7,968 pointsBiggest 24h dropBiggest 24h riseData 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 $659, 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?

AmazonJP
DeviceVRAMGBPriceEst. t/sSuggested context
Tesla V100 16GB16$6594 listings112.932K
Radeon RX 9070 XT16$8848 listings6032K
GeForce RTX 5060 Ti 16GB16$9249 listings58.932K
GeForce RTX 507012$95610 listings86.332K
Radeon RX 7800 XT16$96610 listings58.632K
Tesla V100 32GB32$1,1413 listings112.9128K
Arc Pro B6024$1,1643 listings39.2128K
Radeon RX 7900 XT20$1,2449 listings74.132K
Radeon RX 6950 XT16$1,4044 listings54.332K
GeForce RTX 5070 Ti16$1,57610 listings112.432K
Radeon RX 7900 XTX24$1,7389 listings87.9128K
GeForce RTX 508016$1,8684 listings119.732K
Arc Pro B7032$2,0743 listings51.7128K
GeForce RTX 408016$2,1878 listings91.632K
Radeon AI PRO R970032$2,2446 listings60128K
GeForce RTX 309024$2,5209 listings117128K
Ryzen AI Max+ 395 128GB128$3,9136 listings24.7128K
RTX PRO 4000 Blackwell24$3,9565 listings86.3128K
GeForce RTX 409024$4,9059 listings125.1128K
GeForce RTX 509032$7,4899 listings206.3128K
DGX Spark 128GB128$8,2233 listings36.5128K
GeForce RTX 2080 Ti 22GB22No listings79.5128K
GeForce RTX 5090 D V224No listings161.4128K
Arc Pro B6532No listings51.7128K
GeForce RTX 4080 SUPER 32GB32No listings93.9128K
GeForce RTX 5090 D32No listings206.3128K
Instinct MI10032No listings110.3128K
Instinct MI50 32GB32No listings93.3128K
Radeon PRO W780032No listings54.3128K
RTX PRO 4500 Blackwell32No listings112.4128K
A100 40GB PCIe40No listings183128K
CMP 170HX 40GB40No listings183.5128K
GeForce RTX 4090 48GB48No listings125.1128K
Radeon PRO W790048No listings79.7128K
RTX PRO 5000 Blackwell 48GB48No listings161.4128K
CMP 170HX 64GB64No listings176.7128K
Instinct MI21064No listings142.9128K
RTX PRO 5000 Blackwell 72GB72No listings161.4128K
RTX PRO 6000D84No listings184.3128K
RTX PRO 6000 Blackwell96No listings206.3128K
Mac Studio M4 Max 128GB128No listings56.5128K
Mac Studio M5 Max 128GB128No listings63.2128K
MacBook Pro M4 Max 128GB128No listings56.5128K
MacBook Pro M5 Max 128GB128No listings63.2128K
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.

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 $659, at roughly 112.9 tokens/s.

Can you run Llama 3.1 8B with Ollama?

Yes: ollama run llama3.1:8b.