Llama Models: Model Sizes and RAM for Local AI
Meta's Llama is the most widely used open-weight model family in the world. The Llama 4 generation is multimodal MoE: Scout at 109B total / 17B active with 10M context, and Maverick at 400B total / 17B active, both of which want a 96GB+ Mac Studio rather than a laptop. The 3.x sizes remain the everyday local picks, from 1B and 3B on small machines up to 8B, 70B and 405B as memory allows. With the largest ecosystem of fine-tunes, tools, and community support, Llama is the safest default choice for local AI.
- developer
- Meta
- local models
- 12
- size range
- 1B-405B
- RAM range
- 2-320 GB
All Llama models
12 local models| Model | Size | Quant | VRAM | Min RAM | Best For | Quality | Ollama |
|---|---|---|---|---|---|---|---|
| Llama 3.2 1B Instruct | 1B | Q4_K_M | 1 GB | 2 GB | Chat | 48 | |
| Llama 3.2 3B Instruct | 3B | Q4_K_M | 2.5 GB | 4 GB | Chat | 66 | |
| Llama 3.1 8B Instruct | 8B | Q4_K_M | 6.5 GB | 12 GB | Chat, Coding | 77 | |
| Llama 3.1 8B Instruct (Q8) | 8B | Q8_0 | 8 GB | 16 GB | Chat, Coding | 79 | |
| Llama 3.1 8B Instruct (Q5) | 8B | Q5_K_M | 8 GB | 12 GB | Chat, Coding | 79 | |
| Llama 3.1 70B Instruct | 70B | Q4_K_M | 42 GB | 64 GB | Quality, Coding | 84 | |
| Llama 3.3 70B Instruct | 70B | Q4_K_M | 42 GB | 64 GB | Quality, Coding | 85 | |
| Llama 3.3 70B Instruct (Q8) | 70B | Q8_0 | 75 GB | 96 GB | Quality, Coding | 87 | |
| Llama 3.3 70B Instruct (Q6) | 70B | Q6_K | 57.9 GB | 96 GB | Quality, Coding | 86 | |
| Llama 4 Scout | 109B | Q4_K_M | 67 GB | 96 GB | Long context, Quality, Multimodal | 85 | |
| Llama 4 Maverick | 400B | Q4_K_M | 245 GB | 320 GB | Frontier quality, Long context | 87 | |
| Llama 3.1 405B Instruct | 405B | Q4_K_M | 243 GB | 320 GB | Quality, Reasoning, Coding | 87 |
Llama model sizes in GB
8 buildsEvery local Llama model at 4-bit, from 1B to 405B parameters. Load is our estimate of the memory the model takes once loaded (est.). The file size is the same quant as listed on Hugging Face, where we track it.
| Model | Params | Quant | Q4 load (est.) | File on HF | Min RAM |
|---|---|---|---|---|---|
| Llama 3.2 1B Instruct | 1B | Q4_K_M | 1 GB | - | 2 GB |
| Llama 3.2 3B Instruct | 3B | Q4_K_M | 2.5 GB | - | 4 GB |
| Llama 3.1 8B Instruct | 8B | Q4_K_M | 6.5 GB | 4.58 GB | 12 GB |
| Llama 3.1 70B Instruct | 70B | Q4_K_M | 42 GB | - | 64 GB |
| Llama 3.3 70B Instruct | 70B | Q4_K_M | 42 GB | - | 64 GB |
| Llama 4 Scout | 109B | Q4_K_M | 67 GB | 60.87 GB | 96 GB |
| Llama 4 Maverick | 400B | Q4_K_M | 245 GB | - | 320 GB |
| Llama 3.1 405B Instruct | 405B | Q4_K_M | 243 GB | - | 320 GB |
Llama 3.2 1B RAM requirements
Llama 3.2 1B loads in about 1 GB at Q4_K_M (est.) and needs at least 2 GB of RAM.
Llama 3.2 3B RAM requirements
Llama 3.2 3B loads in about 2.5 GB at Q4_K_M (est.) and needs at least 4 GB of RAM.
Llama 3.1 8B RAM requirements
Llama 3.1 8B loads in about 6.5 GB at Q4_K_M (est.) and needs at least 12 GB of RAM.
Best local Llama model by RAM
For each amount of RAM, the Llama build with the highest ModelFit quality score whose minimum RAM fits. On a tie, the larger model wins.
| RAM | Best Llama model | Quant | Load (est.) | Min RAM | Quality |
|---|---|---|---|---|---|
| 8 GB | Llama 3.2 3B Instruct | Q4_K_M | 2.5 GB | 4 GB | 66 |
| 16 GB | Llama 3.1 8B Instruct (Q8) | Q8_0 | 8 GB | 16 GB | 79 |
| 24 GB | Llama 3.1 8B Instruct (Q8) | Q8_0 | 8 GB | 16 GB | 79 |
| 32 GB | Llama 3.1 8B Instruct (Q8) | Q8_0 | 8 GB | 16 GB | 79 |
| 64 GB | Llama 3.3 70B Instruct | Q4_K_M | 42 GB | 64 GB | 85 |
| 128 GB | Llama 3.3 70B Instruct (Q8) | Q8_0 | 75 GB | 96 GB | 87 |
Key features
- Most popular open-weight model family
- Strong general reasoning and instruction following
- Llama 4 Scout: 109B MoE with 10M context
- Llama 3.x sizes from 1B to 405B for any machine
Device compatibility
Which Llama models can run on each device class, based on minimum RAM requirements.
| Model | iPhone | Air | Pro | Studio | Mini | |
|---|---|---|---|---|---|---|
| Llama 3.2 1B Instruct (1B) | Excellent | Excellent | Excellent | Excellent | Excellent | Excellent |
| Llama 3.2 3B Instruct (3B) | Excellent | Excellent | Excellent | Excellent | Excellent | Excellent |
| Llama 3.1 8B Instruct (8B) | Possible | Possible | Possible | Excellent | Possible | Possible |
| Llama 3.1 8B Instruct (Q8) (8B) | No | Possible | Possible | Excellent | Possible | Possible |
| Llama 3.1 8B Instruct (Q5) (8B) | Possible | Possible | Possible | Excellent | Possible | Possible |
| Llama 3.1 70B Instruct (70B) | No | No | Possible | Possible | Possible | No |
| Llama 3.3 70B Instruct (70B) | No | No | Possible | Possible | Possible | No |
| Llama 3.3 70B Instruct (Q8) (70B) | No | No | Possible | Possible | No | No |
| Llama 3.3 70B Instruct (Q6) (70B) | No | No | Possible | Possible | No | No |
| Llama 4 Scout (109B) | No | No | Possible | Possible | No | No |
| Llama 4 Maverick (400B) | No | No | No | Possible | No | No |
| Llama 3.1 405B Instruct (405B) | No | No | No | Possible | No | No |
RAM requirements
Largest dense Q4 model that fits each memory tier
Get told when a better model fits your MacBook Air M5 16 GB
Get one email when a new open-weight model is a better fit for this machine.
For: MacBook Air M5 16 GB
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.
Config reports
No speed test run for this family yet. Run the speed test: npx @modelfit/cli@latest bench
Share your config
Frequently asked questions
What is the best Llama model for a MacBook?
Llama 3.2 3B for MacBook Air (8GB RAM) or Llama 3.1 8B for MacBook Pro (16GB+ RAM). The 8B model is the community favorite for general-purpose local AI.
Can Llama 70B run on a Mac?
Yes, but you need at least 48GB RAM (Mac Studio or maxed-out MacBook Pro). The Q4 quantized version uses about 42GB. Expect an estimated ~10 tokens per second on an M4 Max with 128GB. The newer Llama 4 Scout is far heavier: 67GB loaded, so a 96GB or 128GB Mac Studio.
What is the difference between Llama 3.1 and 3.2?
Llama 3.2 added small sizes (1B, 3B) optimized for edge devices and mobile. Llama 3.1 covers 8B, 70B, and 405B. For most users, pick 3.2 3B for small devices or 3.1 8B for laptops.
How does Llama compare to Qwen?
Llama has stronger general reasoning and a larger community. Qwen has more size options and better multilingual support. At 7-8B, they are close in quality. Pick based on your use case.