How much RAM does a local LLM need?
A local model has to fit in memory. Ollama lists the file size of each model, and LM Studio states a RAM recommendation for its app. Context and cache come on top of the file.
What the vendors say
- LM Studio (macOS): min not stated, recommended 16 GB. LM Studio
Quoted text
16GB+ RAM recommended. You may still be able to use LM Studio on 8GB Macs, but stick to smaller models and modest context sizes.
- LM Studio (Windows): min not stated, recommended 16 GB. LM Studio
Quoted text
RAM: LLMs can consume a lot of RAM. At least 16GB of RAM is recommended.
Show the sizes as a table, with the quoted lines
| Model | File size | Source |
|---|---|---|
| llama3.2:1b | 1.3 GB | OllamaQuoted textllama3.2:1b baf6a787fdff • 1.3GB |
| qwen3:1.7b | 1.4 GB | OllamaQuoted textqwen3:1.7b 8f68893c685c • 1.4GB |
| gemma3:4b | 3.4 GB | OllamaQuoted textgemma3:4b latest 68ceab7e468a • 3.4GB |
| mistral:7b | 4.4 GB | OllamaQuoted textmistral:7b latest 6577803aa9a0 • 4.4GB |
| llama3.1:8b | 4.9 GB | OllamaQuoted textllama3.1:8b latest 46e0c10c039e • 4.9GB |
| gemma3:12b | 8.2 GB | OllamaQuoted textgemma3:12b b92b218582c5 • 8.2GB |
| deepseek-r1:14b | 9 GB | OllamaQuoted textdeepseek-r1:14b c333b7232bdb • 9.0GB |
| phi4:14b | 9.1 GB | OllamaQuoted textphi4:14b latest ac896e5b8b34 • 9.1GB |
| qwen3:14b | 9.3 GB | OllamaQuoted textqwen3:14b bdbd181c33f2 • 9.3GB |
| gpt-oss:20b | 14 GB | OllamaQuoted textgpt-oss:20b latest f38aa0c53da5 • 14GB |
| gemma3:27b | 17 GB | OllamaQuoted textgemma3:27b 6be2e2ba6843 • 17GB |
| deepseek-r1:32b | 20 GB | OllamaQuoted textdeepseek-r1:32b edba8017331d • 20GB |
| llama3.1:70b | 43 GB | OllamaQuoted textllama3.1:70b 711a9e8463af • 43GB |
| gpt-oss:120b | 65 GB | OllamaQuoted textgpt-oss:120b 714d86958b6e • 65GB |
What it does with memory
A local model loads its weights into memory, and a longer conversation adds context on top. On Apple silicon the weights share unified memory with every other app.
Signs it is short
- 1
Answers arrive far slower than they started
- 2
The machine freezes when the model loads
- 3
Swap grows during generation
The file size is a floor. Compare it with the memory you have left after your other apps. How to read memory pressure.
What more RAM costs
- €22016 GB to 24 GBApple NL, MacBook Air 13-inch. €27,50 per extra GB.
- $20016 GB to 24 GBApple US, MacBook Air 13-inch. $25 per extra GB.
Sources, read 2026-10-20: Apple NL: 16 GB page and 24 GB page; Apple US: 16 GB page and 24 GB page. All steps.
Try these figures in the calculator.
Open the calculator with this workloadThen measure it for real: get SizeMyLaptop and see your own memory pressure over a working fortnight.