What computer do I need to run an AI model?
A plain-English guide to RAM, VRAM and quantization, so you can tell in ten seconds whether an open-source model will run on your laptop, Mac or graphics card.
The one rule: the model has to fit in memory
A language model is a huge list of numbers (parameters). To run it, all of them must be loaded into memory. On a PC with a graphics card that is ideally the card's own memory (VRAM); without a card the model runs from normal RAM on the processor, which works but is several times slower. Apple Silicon Macs share one pool of unified memory between processor and graphics, which is why a Mac with lots of memory can run surprisingly large models.
Quantization: making models smaller
Models are published with 16 bits per number. Quantization stores each number with fewer bits, for example 4 instead of 16. The file becomes about four times smaller and the quality drops only a little. The names below (Q8_0, Q4_K_M…) are the GGUF formats used by llama.cpp, Ollama and LM Studio.
| Format | Bits per weight (approx.) | What it means |
|---|---|---|
| BF16 / FP16 | 16 | Full precision, as published. Best quality, biggest. |
| Q8_0 | 8.5 | 8-bit. Practically the same quality as full precision. |
| Q6_K | 6.6 | 6-bit. Very close to full quality. |
| Q5_K_M | 5.7 | 5-bit. Small quality loss, good balance. |
| Q4_K_M | 4.85 | 4-bit. The usual default for running at home; noticeable but small loss. |
How we estimate the memory
Memory ≈ parameters × bits per weight ÷ 8 × 1.1 + context cache.
Example: Qwen3.5 9B has 9.65B parameters. At Q4_K_M: 9.65 × 4.85 ÷ 8 ≈ 5.9 GB of weights, plus about 10% overhead and about 0.5 GB for an 8K-token conversation (the “KV cache”) ≈ 6.9 GB.
We use a fixed cache allowance (0.5 GB under 10B parameters, 1 GB up to 40B, 2 GB up to 150B, 4 GB above). Real use depends on the architecture and on how long your conversation is: very long documents (100K+ tokens) can need many extra gigabytes. Treat every number on these pages as a rough estimate, not a guarantee.
Mixture-of-experts models
Models like gpt-oss, Qwen3.6 35B-A3B or Gemma 4 26B A4B are “mixture of experts”: they store many parameters but only use a few (the “active” ones, e.g. A3B = 3B active) for each word. You still need memory for all parameters, but the speed is closer to that of a small model. That makes them a great fit for Macs with lots of unified memory, and llama.cpp can keep the experts in normal RAM while the GPU handles the rest.
How much memory each device can use
The operating system and other apps need memory too, so we count only part of it as usable for the model:
| Device | Usable for the model |
|---|---|
| Phone or Raspberry Pi (8 GB) | about 3 GB |
| Laptop/PC, 8 GB RAM | about 5 GB |
| Laptop/PC, 16 GB RAM | about 11 GB |
| PC, 32 GB RAM | about 24 GB |
| PC, 64 GB RAM | about 50 GB |
| PC/server, 128 GB RAM | about 100 GB |
| Server, 256 GB RAM | about 210 GB |
| Server, 512 GB RAM | about 430 GB |
| 8 GB GPU (e.g. RTX 4060) | about 7.5 GB |
| 12 GB GPU (e.g. RTX 3060 12 GB) | about 11.5 GB |
| 16 GB GPU (e.g. RTX 4070 Ti Super) | about 15.5 GB |
| 24 GB GPU (e.g. RTX 4090) | about 23.5 GB |
| 32 GB GPU (e.g. RTX 5090) | about 31.5 GB |
| Mac, 16 GB | about 11 GB |
| Mac, 32 GB | about 23 GB |
| Mac, 64 GB | about 47 GB |
| Mac, 128 GB | about 96 GB |
| Mac, 192 GB | about 144 GB |
| Mac, 256 GB | about 192 GB |
| Mac, 512 GB | about 384 GB |
| 1x 80 GB data-center GPU (H100) | about 76 GB |
| 2x 80 GB GPUs | about 152 GB |
| 4x 80 GB GPUs | about 304 GB |
| 8x 80 GB GPUs | about 608 GB |
| 8x H200 (141 GB each) | about 1070 GB |
Graphics cards are examples of cards with that much VRAM. Mac figures assume macOS keeps about a quarter of memory for itself; it can be adjusted, but leaving headroom is safer.
Pick your hardware
See exactly which models fit on your graphics card, Mac or laptop:
Graphics cards
- RTX 4060 (8 GB VRAM)
- RTX 3070 (8 GB VRAM)
- RTX 3080 10 GB
- RTX 3090 (24 GB VRAM)
- RTX 3060 12 GB
- RTX 4070 (12 GB VRAM)
- RTX 5070 (12 GB VRAM)
- RTX 4060 Ti 16 GB
- RTX 5060 Ti 16 GB
- RTX 4070 Ti Super (16 GB VRAM)
- RTX 4080 / 4080 Super (16 GB VRAM)
- RTX 5080 (16 GB VRAM)
- RTX 4090 (24 GB VRAM)
- Radeon RX 7900 XTX (24 GB VRAM)
- RTX 5090 (32 GB VRAM)
- 2x RTX 3090 (48 GB)
Macs (Apple Silicon)
- Mac with 16 GB unified memory
- Mac with 24 GB unified memory
- Mac with 32 GB unified memory
- Mac with 48 GB unified memory
- Mac with 64 GB unified memory
- Mac with 128 GB unified memory
- Mac Studio with 256 GB unified memory
- Mac Studio with 512 GB unified memory
No graphics card
Which models fit where (at Q4)
| Phone & laptop | LFM3 1.7B, Qwen3.5 2B, SmolLM3 3B, Llama 3.2 3B Instruct, Granite 4.1 3B |
|---|---|
| Laptop (16 GB) | Phi-4-mini Instruct, Nemotron 3 Nano 4B, Qwen3 4B Instruct 2507, Qwen3.5 4B, Gemma 4 E2B, Olmo 3 7B Instruct, Gemma 4 E4B, Llama 3.1 8B Instruct, Ministral 3 8B, Qwen3.5 9B, Gemma 4 12B, Ministral 3 14B |
| 24 GB GPU / 32 GB Mac | gpt-oss-20b, Mistral Small 3.2 24B, Gemma 4 26B A4B, Qwen3.8 27B, Qwen3.5 27B, Gemma 4 31B, Nemotron 3 Nano 30B-A3B |
| Workstation / big Mac | Qwen3.6 35B-A3B, Qwen3.5 35B-A3B, gpt-oss-120b, Nemotron 3 Super 120B-A12B, Qwen3.5 122B-A10B, Qwen3.8 Flash-Next, Step 3.5 Flash |
| Server / multi-GPU | Hy3, MiMo V2.5, GLM-5.3 Flash, MiniMax M3, DeepSeek V4.1 Flash, DeepSeek V3.2, GLM-5.3, Mistral Large 4, Kimi K3 |
Quick buying advice
- Just trying it out: any laptop with 16 GB RAM runs the small models (2–9B) well enough to chat.
- Best value for a PC: a used or new graphics card with 16–24 GB VRAM runs most 14–35B models at Q4 at good speed.
- Big models at home: a Mac with 64–128 GB unified memory runs large mixture-of-experts models such as gpt-oss-120b that no single gaming card can hold.
- The biggest models (DeepSeek, GLM, Kimi, Mistral Large) need data-center GPUs; most people use them through an API or a cloud service instead.