canirunmodel

Home / Models / Llama 3.1 8B

Can I run Llama 3.1 8B?

Llama 3.1 8B is a 8B-parameter dense model from Meta. At 4-bit (Q4_K_M), it needs about 6.5 GB of memory with an 8K context, so the smallest setup that holds it is an RTX 3060 12 GB.

Can I run on with of system RAM, at ?
8K

Turn on JavaScript to run the check. The tables below work without it.

Memory needed at each precision

PrecisionWeightsTotal, 8K contextTotal, 32K contextSmallest setup that holds itReleased
16-bit (BF16) 16 GB 18 GB 21 GB MacBook Air M4 24 GB Yes
8-bit (Q8_0) 8.5 GB 10 GB 13 GB RTX 3060 12 GB Yes
6-bit (Q6_K) 6.6 GB 8.2 GB 11 GB RTX 3060 12 GB Yes
5-bit (Q5_K_M) 5.7 GB 7.4 GB 10 GB RTX 3060 12 GB Yes
4-bit (Q4_K_M) 4.8 GB 6.5 GB 9.6 GB RTX 3060 12 GB Yes
3-bit (Q3_K_M) 3.9 GB 5.5 GB 8.7 GB RTX 3060 12 GB Yes
2-bit (Q2_K) 3.0 GB 4.6 GB 7.8 GB RTX 3060 12 GB Yes
1.6-bit (IQ1_S) 1.6 GB 3.2 GB 6.3 GB RTX 3060 12 GB Yes

About Llama 3.1 8B

Made by
Meta
Released
2024-07
Parameters
8B total (dense)
Context window
128K tokens
License
Llama 3.1 Community License
Weights
Hugging Face

Common questions

Can I run Llama 3.1 8B on a single GPU?

Yes. At 4-bit (Q4_K_M) it needs about 6.5 GB, which fits on a single RTX 3060 12 GB.

Can I run Llama 3.1 8B on a Mac?

Yes. 16-bit (BF16) fits on a MacBook Air M4 24 GB, which lets the GPU use about 18 GB. Expect roughly 4 tokens/s.

Is there a GGUF or Ollama version of Llama 3.1 8B?

Yes. Community GGUF builds run in llama.cpp, Ollama and LM Studio.

How fast does Llama 3.1 8B run?

On an RTX 3060 12 GB, a rough estimate is 40 tokens/s for a single user, based on memory bandwidth and 8B active parameters. Batching many users raises total throughput.

Need it running for real?

We set up open-weights models on your own cloud account or servers: picking the model and precision, sizing the hardware, serving it with vLLM or SGLang, and wiring it into your coding agents and apps.

Email hello@canirunmodel.com with the model you want and what it should do.

Other models

Kimi K3.1 Pro, Qwen3.8 2.4T-A95B (Qwen3.8-Max), DeepSeek V4 Pro, Amazon Ergo, Kimi K2, Mistral Large 4, DeepSeek V4.1 Flash, GLM-5.3, DeepSeek V3.1, Nemotron 3 Ultra 550B-A55B, MiniMax M3.1 Flash, Llama 3.1 405B, Llama 4 Maverick, GLM-4.5, GLM-5.3-Flash, Qwen3 235B-A22B, Command A+, Qwen3.8-Flash-Next, Mistral Medium 3.5, Nemotron 3.5 Super VL 120B-A12B, Mistral Small 4, gpt-oss-120b, Llama 4 Scout, GLM-4.5-Air, Nemotron 3.5 Bolt 74B-A9B, Llama 3.3 70B, Qwen3.6 35B-A3B, Qwen3 32B, Gemma 4 31B, Qwen3 30B-A3B, Nemotron 3.5 Lightning 30B-A3B, Gemma 3 27B, Qwen3.8 27B, Gemma 4 26B A4B, Mistral Small 3.1 24B, gpt-oss-20b, Phi-4 14B, Gemma 4 12B