Local LLM Hardware: Which Models Fit Your VRAM and RAM
On this page
Versions/date: Ollama v0.40.16 and official library file sizes checked 2026-11-12 from https://ollama.com/library. Context-length VRAM tiers from https://docs.ollama.com/context-length. LM Studio system requirements from https://lmstudio.ai/docs/app/system-requirements (LM Studio desktop download 0.4.28 on 2026-11-12). Last checked: 2026-11-12.
Use this page to match a published Ollama model tag to the memory you have, or to estimate weight memory from parameter count and bits per weight. The calculator runs only in your browser. It sends nothing and stores nothing.
For the Docker install, see Ollama and Open WebUI with Docker Compose. To choose a desktop app versus that stack, see Ollama vs LM Studio.
Calculator
The live calculator needs JavaScript. It runs only in your browser and sends nothing. Without JavaScript, use the official size table and the formula below by hand. Example defaults in the form are 8 GB VRAM and 16 GB system RAM — replace them with your figures.
How the calculator works
The tool uses one of two memory figures, then compares that figure to the VRAM and RAM you type.
Official tag (default, preferred)
Memory used for the comparison = the published file size of that Ollama tag, as shown on the model's tags page on ollama.com on 2026-11-12 (for example llama3.1:8b is 4.9GB, and that default tag matches llama3.1:8b-instruct-q4_K_M at 4.9GB). These labels are GB as Ollama prints them. This is not an estimate.
Custom estimate
When you choose "Custom estimate":
weight_GB = (parameters × bits_per_weight) / 8 / 1e9parameters is the full weight count (an "8B" model is 8 × 10^9). The result is in decimal GB (10^9 bytes), because official Ollama fp16 tags follow that scale: llama3.1:8b-instruct-fp16 is published as 16GB, and 8 × 10^9 × 16 / 8 = 16 × 10^9 bytes.
This is packed-weight math only. It does not include:
- extra metadata and scale factors that official quantized tags carry (so official sizes are usually a little higher:
llama3.1:8b-instruct-q4_K_Mis 4.9GB, while 8 × 10^9 × 4 / 8 / 10^9 = 4.0 GB) - context / KV-cache memory, which grows with context length
- the OS, Docker, Open WebUI or LM Studio themselves
The custom path is labelled as an estimate in the result.
What "fits" means here
Ollama's FAQ documents how ollama ps reports placement:
100% GPU— the model was loaded entirely into the GPU100% CPU— loaded entirely in system memory- a split such as
48%/52% CPU/GPU— loaded partly on the GPU and partly in system memory
The calculator applies those rules to the weight-size figure above:
- If VRAM > 0 and size ≤ VRAM: the weights fit in the VRAM you entered, so a run can show
100% GPU. - If VRAM > 0 and size > VRAM but size ≤ VRAM + RAM: the weights do not fit in VRAM alone; Ollama can split them to system memory.
- If VRAM is 0: treat the host as CPU-only and compare size to RAM (
100% CPU). - If size > VRAM + RAM (or > RAM when VRAM is 0): the weights do not fit in the figures you entered.
That comparison is only the weight file or the packed-weight estimate. Context uses additional memory. After a model is loaded, check the real allocation:
ollama psOr, in Docker: docker exec ollama ollama ps. The official columns include SIZE, PROCESSOR and CONTEXT. SIZE is the loaded allocation, not only the on-disk file.
Official context-length recommendations
From Ollama's context-length page, recommendations by VRAM (published in GiB):
| VRAM | Recommended context |
|---|---|
| less than 24 GiB | 4k |
| 24–48 GiB | 32k |
| 48 GiB or more | 256k |
The calculator repeats the row that matches the VRAM you entered. It does not invent a KV-cache formula on top of those tiers.
Official Ollama tag sizes (checked 2026-11-12)
Default tags usually match the published q4_K_M (or, for some small models, q8_0) instruct tag. Sizes are copied from https://ollama.com/library on 2026-11-12.
| Tag | Official size | Published context on the library page |
|---|---|---|
llama3.2:1b | 1.3GB | (see tags page) |
llama3.2 / llama3.2:3b | 2.0GB | 128K |
llama3.1 / llama3.1:8b | 4.9GB | 128K |
llama3.1:70b | 43GB | (see tags page) |
llama3.1:405b | 243GB | (see tags page) |
qwen2.5:3b | 1.9GB | |
qwen2.5 / qwen2.5:7b | 4.7GB | |
qwen2.5:14b | 9.0GB | |
qwen2.5:32b | 20GB | |
qwen2.5:72b | 47GB | |
qwen3:1.7b | 1.4GB | |
qwen3:4b | 2.5GB | |
qwen3 / qwen3:8b | 5.2GB | |
qwen3:14b | 9.3GB | |
qwen3:32b | 20GB | |
qwen3:30b (MoE default) | 19GB | |
qwen3:235b | 142GB | |
gemma3:1b-it-q8_0 | 1.1GB | |
gemma3 / gemma3:4b | 3.4GB | |
gemma3:12b | 8.2GB | |
gemma3:27b | 17GB | |
gemma2:2b | 1.6GB | |
gemma2 / gemma2:9b | 5.4GB | |
gemma2:27b | 16GB | |
mistral / mistral:7b | 4.4GB | 32K |
phi4 / phi4:14b | 9.1GB | 16K |
The same models at other quantizations (official tags):
| Tag | Official size |
|---|---|
llama3.2:3b-instruct-q8_0 | 3.4GB |
llama3.2:3b-instruct-fp16 | 6.4GB |
llama3.1:8b-instruct-q8_0 | 8.5GB |
llama3.1:8b-instruct-fp16 | 16GB |
llama3.1:70b-instruct-q8_0 | 75GB |
llama3.1:70b-instruct-fp16 | 141GB |
qwen2.5:7b-instruct-q8_0 | 8.1GB |
qwen2.5:7b-instruct-fp16 | 15GB |
qwen3:8b-q8_0 | 8.9GB |
qwen3:8b-fp16 | 16GB |
gemma3:4b-it-q8_0 | 5.0GB |
gemma3:4b-it-fp16 | 8.6GB |
mistral:7b-instruct-q8_0 | 7.7GB |
mistral:7b-instruct-fp16 | 14GB |
phi4:14b-q8_0 | 16GB |
phi4:14b-fp16 | 29GB |
Library pages can change when a default tag is retargeted. Recheck the tag page before you buy a GPU or fill a disk.
What those sizes mean on common hosts
These comparisons use the official default-tag sizes above, plus Ollama's placement rules. They are not speed ratings.
| Memory you have | Default tags whose official size fits entirely in that memory (weights only) |
|---|---|
| 8 GB VRAM (or 8 GB RAM, CPU-only) | llama3.2:1b 1.3GB, llama3.2:3b 2.0GB, qwen2.5:3b 1.9GB, qwen2.5:7b 4.7GB, qwen3:4b 2.5GB, qwen3:8b 5.2GB, gemma3:4b 3.4GB, gemma2:9b 5.4GB, mistral:7b 4.4GB, llama3.1:8b 4.9GB. Tight or over 8 GB: gemma3:12b 8.2GB, phi4 9.1GB, qwen2.5:14b 9.0GB. |
| 12 GB VRAM | Everything in the 8 GB list, plus phi4 9.1GB, qwen2.5:14b 9.0GB, qwen3:14b 9.3GB, gemma3:12b 8.2GB. Still over 12 GB: gemma3:27b 17GB, qwen2.5:32b 20GB, llama3.1:70b 43GB. |
| 16 GB VRAM or 16 GB unified / system RAM | The 12 GB list, plus gemma2:27b 16GB. gemma3:27b 17GB is just over 16 GB and would need a split or more memory. LM Studio recommends 16GB+ RAM (and says 8GB Macs should stick to smaller models and modest context). |
| 24 GB VRAM | Official default context recommendation moves to 32k. Weights: gemma3:27b 17GB and qwen2.5:32b / qwen3:32b 20GB fit; llama3.1:70b 43GB does not (it can split if system RAM covers the rest). |
| 48 GB+ VRAM | Official default context recommendation is 256k. llama3.1:70b 43GB fits in 48 GB as weights; qwen2.5:72b 47GB is close; llama3.1:405b 243GB does not. |
On a typical Intel N100 mini PC there is no NVIDIA GPU for Ollama's Docker NVIDIA path, so models run in system memory (100% CPU). Intel lists a 16 GB memory maximum on the N100; treat 16 GB RAM as the usual ceiling on those boxes. See N100 vs N150, N100 vs N305 vs ThinkCentre Tiny and best mini PC for Jellyfin. For a broader RAM/CPU worksheet for Immich, Jellyfin and the rest of a lab, use the homelab hardware sizing calculator.
Ollama NVIDIA support: compute capability 5.0+, driver 550+ (or 570+ for compute 5.0–6.2). The card list is on Ollama's hardware support page. Passing a GPU into Docker on Linux is also the pattern used for Jellyfin Quick Sync and Jellyfin on an N100, with a different device (/dev/dri for Intel encode, --gpus=all for NVIDIA in Ollama).
If the box is a Proxmox VM, CPU-only Ollama needs enough RAM in the VM for the tag you want; the NVIDIA or official AMD path needs the GPU visible inside the VM. See Ollama on Proxmox with GPU passthrough.
A GPU that stays powered for long sessions will show up on your electricity bill. There is no official Ollama watt figure to plug in; use your PSU or a meter, then the power cost calculator.
LM Studio's published requirements
From LM Studio's system requirements (checked 2026-11-12):
- macOS: Apple Silicon only (M1/M2/M3/M4); macOS 14.0 or newer; 16GB+ RAM recommended. "You may still be able to use LM Studio on 8GB Macs, but stick to smaller models and modest context sizes." Intel Macs are not supported.
- Windows: x64 (AVX2 required) and ARM (Snapdragon X Elite). At least 16GB of RAM recommended; at least 4GB of dedicated VRAM recommended.
- Linux: x64 and ARM64, distributed as an AppImage. Ubuntu 20.04 or newer is required. The page states that Ubuntu versions newer than 22 "are not well tested" (LM Studio's wording). AVX2 on x64 by default.
Those are app requirements, not a model-by-model VRAM table. For a given GGUF or MLX file, use the official file size the same way as an Ollama tag, and leave headroom for context.
Sources
- Ollama library tag sizes: https://ollama.com/library (and each model's
/tagspage), checked 2026-11-12 - Ollama context length: https://docs.ollama.com/context-length (checked 2026-11-12)
- Ollama FAQ,
ollama ps: https://docs.ollama.com/faq (checked 2026-11-12) - Ollama hardware support: https://docs.ollama.com/gpu (checked 2026-11-12)
- LM Studio system requirements: https://lmstudio.ai/docs/app/system-requirements (checked 2026-11-12)
- LM Studio download (0.4.28): https://lmstudio.ai/download (checked 2026-11-12)

