Local LLM Hardware: Which Models Fit Your VRAM and RAM

Guide · Local AI · Last updated · How we research

On this page
  1. Calculator
  2. How the calculator works
  3. Official Ollama tag sizes (checked 2026-11-12)
  4. What those sizes mean on common hosts
  5. LM Studio's published requirements
  6. Sources

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 / 1e9

parameters 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:

The custom path is labelled as an estimate in the result.

What "fits" means here

Ollama's FAQ documents how ollama ps reports placement:

The calculator applies those rules to the weight-size figure above:

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:

bash
ollama ps

Or, 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):

VRAMRecommended context
less than 24 GiB4k
24–48 GiB32k
48 GiB or more256k

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.

TagOfficial sizePublished context on the library page
llama3.2:1b1.3GB(see tags page)
llama3.2 / llama3.2:3b2.0GB128K
llama3.1 / llama3.1:8b4.9GB128K
llama3.1:70b43GB(see tags page)
llama3.1:405b243GB(see tags page)
qwen2.5:3b1.9GB
qwen2.5 / qwen2.5:7b4.7GB
qwen2.5:14b9.0GB
qwen2.5:32b20GB
qwen2.5:72b47GB
qwen3:1.7b1.4GB
qwen3:4b2.5GB
qwen3 / qwen3:8b5.2GB
qwen3:14b9.3GB
qwen3:32b20GB
qwen3:30b (MoE default)19GB
qwen3:235b142GB
gemma3:1b-it-q8_01.1GB
gemma3 / gemma3:4b3.4GB
gemma3:12b8.2GB
gemma3:27b17GB
gemma2:2b1.6GB
gemma2 / gemma2:9b5.4GB
gemma2:27b16GB
mistral / mistral:7b4.4GB32K
phi4 / phi4:14b9.1GB16K

The same models at other quantizations (official tags):

TagOfficial size
llama3.2:3b-instruct-q8_03.4GB
llama3.2:3b-instruct-fp166.4GB
llama3.1:8b-instruct-q8_08.5GB
llama3.1:8b-instruct-fp1616GB
llama3.1:70b-instruct-q8_075GB
llama3.1:70b-instruct-fp16141GB
qwen2.5:7b-instruct-q8_08.1GB
qwen2.5:7b-instruct-fp1615GB
qwen3:8b-q8_08.9GB
qwen3:8b-fp1616GB
gemma3:4b-it-q8_05.0GB
gemma3:4b-it-fp168.6GB
mistral:7b-instruct-q8_07.7GB
mistral:7b-instruct-fp1614GB
phi4:14b-q8_016GB
phi4:14b-fp1629GB

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 haveDefault 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 VRAMEverything 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 RAMThe 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 VRAMOfficial 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+ VRAMOfficial 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):

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

Related guides