Light tier

Llama 3.1 8B

Meta · Llama

Meta's 8B workhorse with a massive 128K context window. Punches well above its weight class for everyday coding and chat tasks, runs comfortably on any consumer GPU with 6 GB VRAM, and delivers near-70B quality on many benchmarks.

Params

8B

License

Llama 3.1 Community

Context

128K

Min VRAM

5 GB

Min RAM

8 GB

Tier

Light

Run locally with Ollama

terminal
ollama run llama3.1:8b

Once running, Ollama exposes an OpenAI-compatible endpoint at localhost:11434/v1.

Will it run on my hardware?

Llama 3.1 8B needs about 5 GB of fast memory at Q4. Here is what in our hardware database clears that bar.

Runs at full speed · 12

NVIDIA RTX 5090 32GB32 GB VRAM~$2,999Amazon
NVIDIA RTX 5080 16GB16 GB VRAM~$1,250Amazon
NVIDIA RTX 5070 Ti 16GB16 GB VRAM~$999Amazon
NVIDIA RTX 4060 Ti 16GB16 GB VRAM~$424Amazon
NVIDIA RTX 4070 Super 12GB12 GB VRAM~$734Amazon
NVIDIA RTX 4080 Super 16GB16 GB VRAM~$1,000Amazon
NVIDIA RTX 4090 24GB24 GB VRAM~$2,755Amazon
AMD RX 7900 XTX 24GB24 GB VRAM~$1,339Amazon
Apple Mac mini M4 (16 GB)16 GB unified$799Amazon
Apple Mac mini M4 Pro (24 GB)24 GB unified$1,599Amazon
Apple Mac mini M4 Pro (48 GB)48 GB unified$2,099Amazon
Apple Mac Studio M4 Max (64 GB)64 GB unified$2,899Amazon

Runs, but slower on shared memory · 3

MINISFORUM AI X1 Pro32 GB DDR5 (shared)~$699Amazon
Corsair Vengeance 64 GB DDR5 Kit64 GB DDR5~$1,150Amazon
G.Skill Trident Z5 128 GB DDR5128 GB DDR5~$2,200Amazon

Hardware links are affiliate links. We earn a small commission if you buy through them — at no extra cost to you. Disclosure

Specifications

Parameters8B
Context window128K
LicenseLlama 3.1 Community
Min VRAM (Q4)5 GB
Min RAM8 GB
Recommended tierLight
Best forcodingchatanalysis

Variants on Ollama

Ollama serves the Q4_K_M quantization by default. Higher-precision tags exist for users with more memory.

Llama 3.1 8B

default · Q4_K_M
ollama run llama3.1:8b
higher precision · q8_0 (generic tag)
ollama pull llama3.1:q8_0
full precision · fp16 (generic tag)
ollama pull llama3.1:fp16

Exact quantization tags vary per model — run ollama show llama3.1 or check the tags page for the full list.

Popularity trend (illustrative)

Illustrative adoption trend, not actual download counts. We do not publish a download number for any model because we have no honest source for it.

Similar models