How much RAM does a local LLM need? Measured.
LM Studio recommends 16 GB of RAM for LM Studio on macOS, per lmstudio.ai (read 2026-10-20). 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.
Sources and the date they were read
- LM Studio (macOS)16 GB recommended
- LM Studio (Windows)16 GB recommended
The same figures with their sources and quoted lines
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.
- llama3.2:1b1.3 GB
- qwen3:1.7b1.4 GB
- gemma3:4b3.4 GB
- mistral:7b4.4 GB
- llama3.1:8b4.9 GB
- gemma3:12b8.2 GB
- deepseek-r1:14b9 GB
- phi4:14b9.1 GB
- qwen3:14b9.3 GB
- gpt-oss:20b14 GB
- gemma3:27b17 GB
- deepseek-r1:32b20 GB
- llama3.1:70b43 GB
- gpt-oss:120b65 GB
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.
- Answers arrive far slower than they started
- The machine freezes when the model loads
- 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.
8 GB more costs about $240
$240
8 GB more, median
Median of 10 Apple stores, in US dollars at the ECB rates.
$200
Lowest: the United States
$200 for 8 GB, $25 per extra GB.
$267
Highest: the United Kingdom
£200 for 8 GB, $33 per extra GB.
Every step and its Apple pages, read 2026-11-06: all 10 stores.
Start your 14 days.
Free, macOS 14 or later. See a sample report.