Skip to main content
PromptQuorumBuilt for humans. Structured for AI.
Home/Local LLMs
Hardware & Performance

How Much Unified Memory for Local LLMs? 16GB vs 36GB vs 64GB vs 128GB (2026)

·10 min readBy · Founder of PromptQuorum · Discovery engine for open-weight & open-source AI

Unified memory IS your Mac's VRAM — the GPU can access nearly the entire pool, unlike a discrete GPU's fixed VRAM. 16GB: 7B models only (tight). 36GB: 13B comfortably, 32B Q4 tight. 64GB: 32B Q5 comfortably, 70B Q3 barely. 128GB: 70B Q5 — the largest mainstream model that fits comfortably on a 128GB Mac. Buy maximum memory at purchase time — cannot upgrade after. 36GB minimum recommended; 64GB should cover the model sizes in this guide for the next year or two, if model sizes keep growing as they have.

Key Takeaways

  • Unified memory = shared between CPU and GPU — all of it shared with macOS, which needs at least 8GB.
  • RTX 4070 has 12GB VRAM + 32GB RAM (separate). Mac has unified memory = one shared pool, minus at least 8GB for macOS.
  • 64GB Mac has ~56GB for LLMs after the 8GB macOS reserve.
  • Swap exists: macOS uses SSD if model exceeds free memory. Works but many times slower.
  • Model size in GB varies by quantization: Llama 3.1 8B is 16GB FP16, 5GB Q4, 8.5GB Q8.
  • Rule: Buy maximum memory — cannot upgrade after purchase. Memory upgrades are priced in fixed tiers; compare the upgrade price with a replacement Mac in Apple's configurator.

📍 In One Sentence

For Apple Silicon local LLMs: 16 GB handles 7B only (tight), 36 GB handles 13B comfortably, 64 GB handles 70B Q3 (tight) or 32B Q5 (comfortable), 128 GB handles 70B Q5 comfortably — buy maximum at purchase time as memory cannot be upgraded.

💬 In Plain Terms

Unified memory on a Mac is shared between the CPU, GPU, and AI engine — all of it is available for your model. Rule of thumb: a 7B model at Q4 needs about 5 GB; a 14B model needs about 9 GB; a 70B model at Q4 needs about 42 GB. Add 8 GB for the OS. If the model doesn't fit, it swaps to disk, which is many times slower.

Memory sizing guide for local LLMs on Mac: which models fit in 16GB, 36GB, 64GB, 128GB. Includes quantization chart (Q3, Q4, Q5, Q8), real-world overhead, and buying advice. Complete model size table: 3.8B (2.1 GB) through 405B models.

How Much Unified Memory for Local LLMs? 16GB vs 36GB vs 64GB vs 128GB (2026)

TL;DR

  • 16GB: 7B models only (tight)
  • 36GB: 13B comfortably, 32B Q4 tight
  • 64GB: 32B Q5 comfortably
  • 128GB: 70B Q5 comfortably
  • Cannot upgrade after purchase — buy maximum at purchase time

How Unified Memory Works for LLMs

Unified memory is shared between CPU and GPU — all of it shared between the model and macOS. Unlike discrete GPU (RTX 4070 has 12GB VRAM + 32GB RAM separate), Apple Silicon shares one pool. 64GB Mac = 64GB in total. Plan at least 8GB for macOS and apps, leaving ~56GB for the LLM.

Is Unified Memory the Same as VRAM?

Yes — on Apple Silicon, unified memory *is* the GPU's VRAM. There is no separate, fixed VRAM pool like on a discrete GPU. The CPU, GPU, and Neural Engine on an M-series chip read and write the same physical memory, so nearly the entire unified memory pool — not a fraction of it — is available to the GPU for running an LLM, once at least 8GB is set aside for macOS. macOS also applies a default GPU memory limit, roughly two-thirds to three-quarters of total RAM depending on size (it can be raised), so treat total minus 8GB as an upper bound, not a guarantee.

  • Discrete GPU (RTX 4070): 12GB VRAM is a hard ceiling for model weights, even if the PC has 64GB of separate system RAM.
  • Apple Silicon: the GPU can address the full unified memory pool minus at least 8GB for macOS — a 64GB Mac gives the GPU ~56GB, not a fixed 12–24GB VRAM slice.
  • This is why a 64GB Mac can run a 32B model comfortably while a 64GB PC with a 12GB GPU cannot — the PC's GPU-accessible memory is capped at its VRAM, not its total RAM.
  • "Shared memory" and "unified memory" describe the same architecture: one pool, addressable by CPU and GPU alike, with no manual VRAM allocation step.

The Master Table: Memory Tier vs Model Size

Model
Parameters
Q3_K
Q4_K_M
Q5_K_M
Q8
FP16
Phi-4 Mini3.8B2.1 GB2.5 GB2.9 GB4.0 GB7.6 GB
Mistral 7B7B3.8 GB4.5 GB5.2 GB7.5 GB14 GB
Llama 3.1 8B8B4.2 GB5.0 GB5.8 GB8.5 GB16 GB
Gemma 3 12B12B6.5 GB7.8 GB9.0 GB12.9 GB24 GB
Qwen3 32B32B16 GB20 GB23 GB35 GB66 GB
Llama 3.3 70B70B36 GB42 GB49 GB74 GB140 GB
Llama 3.1 405B405B200+ GB240 GB280 GB410 GB810 GB

Always subtract at least 8 GB for macOS when calculating fit on your Mac.

Fits / Doesn't Fit Matrix

Model + Quant
16GB
36GB
64GB
128GB
Phi-4 Mini Q4 (2.5 GB)✓ Plenty✓ Plenty✓ Plenty✓ Plenty
Llama 3.1 8B Q4 (5 GB)⚠️ Tight✓ Comfortable✓ Plenty✓ Plenty
Llama 3.1 8B Q8 (8.5 GB)✗ Won't fit✓ Comfortable✓ Plenty✓ Plenty
Gemma 3 12B Q4 (7.8 GB)✗ Won't fit✓ Comfortable✓ Plenty✓ Plenty
Qwen3 32B Q4 (20 GB)✗ Won't fit⚠️ Tight✓ Comfortable✓ Plenty
Qwen3 32B Q5 (23 GB)✗ Won't fit✗ Won't fit✓ Comfortable✓ Plenty
Llama 3.3 70B Q3 (36 GB)✗ Won't fit✗ Won't fit⚠️ Tight✓ Comfortable
Llama 3.3 70B Q4 (42 GB)✗ Won't fit✗ Won't fit⚠️ Very tight✓ Comfortable
Llama 3.3 70B Q5 (49 GB)✗ Won't fit✗ Won't fit✗ Won't fit✓ Comfortable
Llama 3.3 70B Q8 (74 GB)✗ Won't fit✗ Won't fit✗ Won't fit✓ Fits

✓ Plenty = 4+ GB free | ✓ Comfortable = 2-4 GB free | ⚠️ Tight = under 2 GB free | ✗ Won't fit = uses swap or crashes

Unified memory tiers 16GB, 36GB, 64GB, and 128GB against five model sizes: Phi-4 Mini 3.8B fits every tier, Llama 3.1 8B is tight at 16GB, Gemma 3 12B needs 36GB minimum, Qwen3 32B needs 64GB, and Llama 3.3 70B needs 128GB.
Unified memory tiers 16GB, 36GB, 64GB, and 128GB against five model sizes: Phi-4 Mini 3.8B fits every tier, Llama 3.1 8B is tight at 16GB, Gemma 3 12B needs 36GB minimum, Qwen3 32B needs 64GB, and Llama 3.3 70B needs 128GB.

What Fits in Each Memory Tier (Practical)

  1. 1
    16 GB (M5 base, MacBook Air)
    Why it matters: Llama 3.1 8B Q4 fits (5GB model + 8GB OS = 13GB) ✓ but tight. Llama 8B Q8 won't fit without swapping. Whisper small fits alongside.
  2. 2
    36 GB (M5 Pro base)
    Why it matters: Llama 3.1 8B Q8 fits comfortably. 13B-class models fit. Qwen3 32B Q4 barely fits (20GB + 8GB OS = 28GB). Multi-model: Whisper + LLaVA + TTS fit ✓
  3. 3
    64 GB (M5 Pro max)
    Why it matters: Qwen3 32B Q5 fits comfortably (23GB). Llama 70B Q3 barely fits. Multi-model stacks have plenty of room.
  4. 4
    128 GB (M5 Max)
    Why it matters: Best model for 128GB: Llama 3.3 70B Q5 (49GB) — the largest mainstream model that fits with room to spare. 70B Q8 fits (74GB) for near-lossless quality. Multi-modal: Whisper + 90B vision model + 8B LLM fit simultaneously ✓

Multi-Model Stack Memory Requirements

Stack Use Case
Memory Needed
LLM only (Llama 8B Q4)5 GB + OS = 13 GB
LLM + STT (Llama 8B + Whisper large-v3)8 GB + OS = 16 GB
LLM + STT + TTS (voice assistant)9 GB + OS = 17 GB
LLM + Vision (Llama 8B + LLaVA 7B)11 GB + OS = 19 GB
Full multimodal (LLM + Vision + STT + TTS)14 GB + OS = 22 GB
LLM + RAG (Llama 8B + embeddings + ChromaDB)8 GB + OS = 16 GB
Heavy multimodal (Llama 70B Q4 + Vision 90B)100+ GB

Stacks above 22 GB need 36GB minimum Mac. Stacks above 50 GB need 64GB minimum Mac. The heavy multimodal stack only works on 128GB M5 Max.

Context Window Adds Memory Overhead

KV cache scales with context length — the longer the context window, the more memory your model uses at runtime. This is a common gotcha that can push a tight setup into swap.

  • Llama 3.1 8B at 8K context: +0.5 GB
  • Llama 3.1 8B at 32K context: +2 GB
  • Llama 3.1 8B at 128K context: +8 GB
  • Llama 3.3 70B at 32K context: +6 GB
  • Llama 3.3 70B at 128K context: +24 GB

Buy Maximum Memory — Here's Why

  • Cannot upgrade Apple Silicon memory after purchase.
  • Model sizes are growing: 8B today → 13–32B sweet spot in 2027.
  • 16GB is already marginal for LLMs — 36GB minimum recommended.
  • Price difference: the 36GB→64GB upgrade costs extra at purchase (see Apple's current configurator for current prices) and may save buying a new Mac in 2 years if models outgrow 36GB.
  • Example: M5 Pro 36GB vs 64GB — see Apple's current configurator for current prices; replacing the whole Mac later typically costs more than choosing the larger memory tier at purchase.
  • A low-cost way to get 36GB+ unified memory: a Mac mini M5 Pro configured with 36GB has enough memory to run 13B models comfortably (see Apple's current configurator for pricing and configurations).
  • Apple refreshed the Mac mini and Mac Studio lineup on August 25, 2026, adding tiers above this guide's 128GB ceiling: Mac mini M6 (32GB max, $899), Mac mini M5 Pro (64GB max, $1,699), Mac Studio M5 Max (128GB max, $2,499), and Mac Studio M5 Ultra (256GB or 512GB, from $5,499). The 512GB configuration ships late October 2026 above $10,000. For the model sizes this guide covers (up to 70B), 64–128GB is still the practical range — 256GB+ only matters for models larger than 70B or running several large models at once.
Buying decision tree for unified memory: 36GB for a single 13B model, 64GB if you also run vision/STT/TTS alongside it or want 32B Q5, and 128GB only if you specifically need 70B Q5 models.
Buying decision tree for unified memory: 36GB for a single 13B model, 64GB if you also run vision/STT/TTS alongside it or want 32B Q5, and 128GB only if you specifically need 70B Q5 models.

Quantization Impact on Quality

Q4_K_M (4-bit): quality loss is typically small and varies by model and task. A common default.

Q5_K_M (5-bit): quality loss is typically smaller than Q4 and varies by model and task. Recommended if you have spare memory.

Q8 (8-bit): quality loss is typically very small and varies by model and task.

Q3_K (3-bit): quality loss is typically larger and varies by model and task; it can be noticeable on complex reasoning. Acceptable only for space-constrained scenarios.

Should I get 36GB or 64GB?

Get 64GB if budget allows (see Apple's current configurator for the price difference). 36GB works today but may feel tight within 12 months as models grow. 64GB should cover the model sizes in this guide for the next year or two, if model sizes keep growing as they have.

Can I upgrade memory later?

No. Apple Silicon memory is soldered and non-upgradeable. Buy maximum at purchase time.

Why is 16GB not enough?

16GB total − at least 8GB for macOS = about 8GB available for the model. Llama 8B Q4 needs 5GB, leaving no room for Whisper or other tasks. Too tight.

Do I really need 128GB?

Only if you regularly run 70B models or need simultaneous vision + LLM + STT. Otherwise, 64GB is plenty.

Is 48GB enough for local LLMs?

Yes — 48GB (available on M4 Pro and some M5 Pro configs) is a comfortable middle ground. Runs all 32B models, 70B Q3 at the edge, and full multimodal stacks. Better than 36GB, but if you can afford 64GB, the future-proofing is worth it.

How much memory for running Llama 3.3 70B locally?

Minimum 48GB (Q3 quantization, noticeable quality loss). Recommended 64GB (Q4 quantization, tight fit). Comfortable 128GB (Q5/Q8 quantization, high quality). The 64GB tier requires careful memory management; 128GB is the only worry-free option for 70B.

Do I need 128GB for local AI in 2026?

Only if you're running 70B models regularly or need simultaneous vision + LLM + STT stacks. For everyday LLM use (8B-32B models, RAG, coding assistance), 64GB M5 Pro is the sweet spot. 128GB is a 2-3× price jump for marginal benefit unless you specifically need 70B.

Is Apple Silicon unified memory the same as VRAM?

Yes. Unlike a discrete GPU with a fixed, separate VRAM pool (e.g., 12GB on an RTX 4070), Apple Silicon's GPU reads and writes the same physical memory as the CPU. The GPU can access nearly all of a Mac's unified memory — a 64GB Mac gives the GPU ~56GB after the 8GB macOS reserve, not a fixed VRAM slice.

What's the largest LLM that fits in 128GB unified memory?

Llama 3.3 70B at Q5_K_M quantization (49GB) is the largest mainstream model that fits comfortably, leaving ~70GB free for context and overhead. At Q8 (74GB) it still fits with room for macOS. A 405B model needs 240GB+ even at Q4 — beyond a 128GB Mac's unified memory, so 70B is the practical ceiling on a 128GB Mac.

How much storage does a local LLM need, separate from memory?

Memory (RAM) and disk storage are different: memory holds the model while it runs; storage holds the downloaded model file permanently. A Q4 8B model needs ~5GB of both memory and disk. A 70B Q5 model needs ~49GB of memory and ~49GB of disk — the same file. Running several models locally (e.g., 8B, 32B, 70B, plus a vision model) needs 100-150GB of free disk space, independent of your Mac's memory tier.

Can I get more than 128GB of unified memory on a Mac?

Yes. Apple's August 25, 2026 refresh added the Mac Studio M5 Ultra with 256GB and 512GB unified memory configurations, starting at $5,499. The 512GB tier ships in late October 2026 and costs well above $10,000. That's far beyond what running 70B-class models requires — the 16GB–128GB tiers in this guide cover the practical range for nearly all local LLM use. 256GB+ only matters if you're running models larger than 70B or serving multiple large models simultaneously. No independent benchmarks exist yet for the M5 Ultra.

A Note on Third-Party Facts

This article references third-party AI models, benchmarks, prices, and licenses. The AI landscape changes rapidly. Benchmark scores, license terms, model names, and API prices can shift between the time of writing and the time you read this. Before making deployment or compliance decisions based on this article, verify current figures on each provider’s official source: Hugging Face model cards for licenses and benchmarks, provider websites for API pricing, and EUR-Lex for current GDPR and EU AI Act text.

Bought your Mac with the right memory? Compare your local LLM's responses against GPT-4, Claude, Gemini, and 22 other models with PromptQuorum — verify your unified memory tier delivers cloud-comparable quality for your specific tasks.

Download the PromptQuorum Beta →

← Back to Local LLMs

MCP