---
title: "What Hardware Do You Need to Run AI Models Locally? 3 Numbers"
url: "https://learnaitodayonline.com/what-hardware-do-you-need-to-run-ai-models-locally/"
description: "What hardware do you need to run AI models locally? VRAM, RAM and disk decide it. Here's a sizing guide for 8GB, 16GB, 24GB+ and Apple Silicon."
author: "Robert Waithaka"
published: "2026-08-25"
updated: "2026-08-30"
last_reviewed: "2026-08-22"
categories: ["Apps"]
tags: ["tool-guide", "level-intermediate"]
site: "Learn Artificial Intelligence"
approx_tokens: 3238
---

# What Hardware Do You Need to Run AI Models Locally? 3 Numbers

What hardware do you need to run AI models locally? The honest answer: less than you think for small models, and more than you hope for big ones. Three numbers decide everything — VRAM, system RAM and disk — and a small, quantized model can run on hardware you already own. This guide gives you a sizing table, a tier-by-tier breakdown and a testing method, with estimates clearly marked where you should verify them yourself.

## What Hardware Do You Need to Run AI Models Locally?

Local AI is a memory game. A model's size is measured in parameters — the adjustable "knobs" inside it — and the memory needed is roughly the parameter count times the bytes per parameter at your chosen precision. A 7-billion-parameter model at 4-bit precision needs about 3.5 GB of memory for its weights alone, plus more for context and software. That is why a laptop with 16 GB can run useful models today, and why "how much VRAM to run Llama?" has a different answer for every model, quant and machine.

## The Only Three Numbers That Matter: VRAM, RAM, Disk

| Number | What it does | Why it matters |
| --- | --- | --- |
| VRAM (GPU memory) | Holds the model while it runs | The single biggest speed factor; models that fit in VRAM run fast |
| System RAM | Holds what doesn't fit in VRAM | When the model "offloads" to RAM, speed drops sharply |
| Disk (NVMe) | Stores model files | Loading a 40 GB model file is painful on slow storage |

_Table: the three numbers that matter, per Microsoft Learn and Galante (Medium). NVMe storage is "non-negotiable" in the hardware reporting._

A practical rule from the field: 24 GB of VRAM is the sweet spot for running competent 30–70B models with decent quantization; Apple Silicon with 64 GB+ of unified memory can run much larger models because the GPU can access all system RAM.

## Model Size × Quantization → Memory Needed

| Model | Parameters | Quantized size (Q4) | Minimum memory | Source |
| --- | --- | --- | --- | --- |
| Phi-4-mini | 3.8B | ~2.5 GB | 4 GB | iproyal comparison (Aug 2026) |
| Qwen 3 8B | 8.2B | ~4.5 GB | 8 GB | iproyal comparison |
| Gemma 4 12B | 12B | ~7.5 GB | 16 GB | iproyal comparison |
| Mistral Small 3 | 24B | ~14 GB | 16 GB | iproyal comparison |
| Qwen 35B MoE | 35B | ~20 GB | ~20 GB | Hoke guide (May 2026) |
| Llama 70B-class | 70B | ~40 GB | ~40 GB | Hoke guide |
| Llama 4 Scout | 109B (MoE) | ~60 GB | ~60 GB | iproyal comparison |
| gpt-oss-120b | 120B | ~65–70 GB | ~65–70 GB | Hoke guide |

_Table: model size × quantization → memory needed, using published 2026 estimates that include overhead. Different guides agree closely (Hoke: 7B 4–5 GB, 13B 7–8 GB, 35B ~20 GB, 70B ~40 GB, 120B ~65–70 GB). Context length, the KV cache and the runtime add more. The brief for this post says it plainly: verify numbers against the model card and your own machine rather than trusting tables online._

![What hardware do you need to run AI models locally — model size and precision versus memory needed](https://cdn.sanity.io/images/gfihpee1/production/2e49c41d781587f81e447ef2cf4282b3ac689b1a-1398x816.png)

_Figure: published Q4 memory estimates from the Hoke guide (May 2026), consistent with the model-specific sizes in the iproyal comparison (Aug 2026). Context, KV cache and software add more; verify with the model card._

Quantization is what makes local AI feasible: reducing precision from 16 bits to 4 bits per parameter roughly quarters the memory needed, with a modest quality trade-off. Tools like llama.cpp and Ollama handle quantized models automatically, which is why "can my laptop run local AI?" is increasingly answered "yes, for small models".

## GPU vs CPU-Only vs Apple Silicon Unified Memory

![Where the model lives: VRAM, system RAM and unified memory](https://cdn.sanity.io/images/gfihpee1/production/3c184a7cc4097f053bd82a8f5677b2c496ab6c9b-1246x619.png)

_Figure: GPUs run models fastest but are limited by VRAM; Apple Silicon's unified memory lets the GPU use all system RAM; disk only stores files. Sources: Galante (Medium); Microsoft Learn._

| Option | Strength | Limit |
| --- | --- | --- |
| NVIDIA/AMD GPU | Fastest inference; 24 GB runs 30–70B at Q4 | VRAM is expensive and fixed |
| CPU-only / integrated graphics | Runs small models (Phi-class 3.3B) on any machine | Slow; big models impractical |
| Apple Silicon unified memory | 64 GB+ runs up to ~120B at Q4 | Apple ecosystem only; RAM is the cost |

_Table: GPU vs CPU-only vs Apple Silicon, from the hardware reporting in the supplied materials._

There is one number that matters more than raw compute for local inference: memory bandwidth. Every token the model generates requires reading the weights out of memory, so the bus speed sets your ceiling on tokens per second. That is why a 2026 buyer's guide ranks machines by bandwidth, not clock speed, and why a lower-compute card with more bandwidth often wins on inference.

![Memory bandwidth decides local inference speed](https://cdn.sanity.io/images/gfihpee1/production/6c09b30cffee98fc417bb469ec5c81916f03a7d7-1384x800.png)

_Figure: memory bandwidth by platform — the spec that sets the ceiling on tokens per second. Sources: Frontier Lab buyer's guide (June 2026); kingy.ai hardware guide (Aug 2026)._

## What "Offloading" Means and Why It Slows Things Down

When a model is too big for VRAM, the software splits it: some layers live in VRAM, the rest in system RAM, and data shuttles between them on every step. This "offloading" is why a 70B model can technically run on a 16 GB laptop but feel glacial. The reporting is consistent: memory bandwidth is the bottleneck, not the model's intelligence. If you are CPU-only, expect small models and patience; if you want speed, fit the model in VRAM.

## Realistic Expectations by Tier

![What you can run at each hardware tier (estimate)](https://cdn.sanity.io/images/gfihpee1/production/c8b8685a18a3df97d7eaffe24c9c541da7058f99-1235x793.png)

_Figure: model sizes that fit at each tier at Q4 precision, based on the model references in the supplied materials. Tokens per second depend on your specific hardware — measure your own._

| Tier | What fits (Q4 estimate) | Community price / example | Realistic use |
| --- | --- | --- | --- |
| CPU-only / integrated graphics | 3.3–4B class (Phi-4-mini) | Anything you already own; $351 mini PCs run 35B MoE models slowly | Summarisation, classification, offline experiments |
| 8 GB VRAM | 7–8B class (Qwen 3 8B) | Laptop GPUs (e.g. RTX 4060): ~30–40 tok/s on an 8B model (community) | Chat, drafting, simple coding help |
| 12–16 GB VRAM | 13B class; 35B MoE with tricks | RTX 4070 12GB: 35B MoE at 58–62 tok/s (Hoke) | Better quality, RAG over personal documents |
| 24 GB VRAM | 27–32B class (Qwen3.8-27B) | Used RTX 3090 (~$900 card, ~$2.5k system): 27B at ~37 tok/s (kingy.ai) | Strong quality; the reported sweet spot |
| 32 GB VRAM | 27B at very high speed | RTX 5090: ~150–200 tok/s reported (r/LocalLLM) | Speed-focused setups |
| Apple 64–128 GB unified | up to ~120B class | Mac Mini M4 Pro 64GB ~11–12 tok/s (DEV); M5 Max 128GB ~34 tok/s (kingy.ai) | Large models on one machine |

_Table: tier expectations with published 2026 prices and reported speeds — each speed belongs to an exact setup, not a promise. Measure yours with the test below._

**Real-world speeds reported in 2026 (community and independent tests)**

| Setup | Model and quant | Reported speed | Source |
| --- | --- | --- | --- |
| RTX 3090 24 GB | Qwen3.8-27B Q4_K_M, llama.cpp | 37.4 tok/s (60.3 with draft) | kingy.ai (Aug 2026) |
| RTX 5090 32 GB | Qwen3.8-27B, NInfer | ~150–200 tok/s | r/LocalLLM |
| RTX 4070 12 GB | Qwen3-35B-A3B MoE | 58–62 tok/s | Hoke guide (May 2026) |
| GTX 1060 6 GB | 35B MoE, optimised | ~17 tok/s | Hoke guide |
| Strix Halo (Ryzen AI Max+ 395) | Qwen3.6-35B-A3B MoE | 45–50 tok/s | Frontier Lab (June 2026) |
| Laptop RTX 4060 8 GB | Qwen3 8B Q5_K_M | 30–40 tok/s | r/LocalLLM |
| Mac Mini M4 Pro 64 GB | 13–30B class | ~11–12 tok/s | DEV community guide |
| MacBook Pro M5 Max 128 GB | DeepSeek custom (~81 GB) | 34.1 tok/s mean | kingy.ai |

_Table: reported tokens-per-second for specific setups, so you can calibrate expectations. Different backends, quants and contexts change these numbers — the speed bands used by the kingy.ai guide: 20+ tok/s comfortable, 8–20 usable, 2–8 slow, below 2 not interactive._

## Buying Advice, and When Not to Buy

![The cost comparison: local electricity vs cloud per-seat bills](https://cdn.sanity.io/images/gfihpee1/production/cf86b36808fc2003a834f82193effaa4b599003c-1538x544.png)

_Figure: a real local rig costs AUD 50–100/month in electricity, while cloud AI can cost $500–2,000 per engineer per month once usage scales. Sources: LinkedIn real-world report; Uber CTO via Spiceworks._

- **Buy when** you run high-volume, repetitive workloads, need privacy, or want zero per-use cost. A rig for 70B+ models costs upwards of $3,000, and a 24 GB card is the reported sweet spot.
- **Don't buy when** your use is occasional. Cloud is cheaper at low volume — one H100 rental costs about $2/hour, and ownership only wins after 12,500–15,000 hours of use.
- **Before buying**, check what you already own: integrated graphics can run a 3.3B model today, and an 8 GB card handles 7–8B class models at Q4.
- **GPU sourcing warning:** enterprise-grade GPUs can take 36–52 weeks to arrive, so plan ahead if you commit.
- **Community value picks (2026):** a used RTX 3090 at roughly $900 remains the most-recommended way to get 24 GB of VRAM; $351 mini PCs can run a 35B MoE model for experiments; Strix Halo mini PCs ($1,800–3,000) offer 96–128 GB of unified memory at a fraction of Apple or NVIDIA prices.
- **Buy memory now:** on Strix Halo, DGX Spark and Apple machines the RAM is soldered — there is no upgrade path, and the 2026 DRAM crunch pushed prices up and big configurations out of stock.
- **Dedicated appliances:** the DGX Spark ($4,699) is a CUDA dev box more than a speed machine (273 GB/s); the Framework Desktop 128GB (~$3,978) is the open/repairable route; the M5 Max MacBook Pro 128GB ($6,699) is the portable large-model option.

## Testing What You Already Own

1. Install a runner: start with [Ollama](https://learnaitodayonline.com/ollama-download-install-run-local-ai-models/) — one command gets you a model.
1. Pick a small quantized model (7–8B, Q4) and watch memory usage while it responds.
1. Measure tokens per second on a fixed prompt, then try a larger model and compare.
1. If it feels too slow, check whether the model is offloading to RAM (task manager shows the tell).
1. Repeat with [LM Studio](https://learnaitodayonline.com/lm-studio-download-run-local-ai-models/), [llama.cpp](https://learnaitodayonline.com/llama-cpp-run-local-ai-models/) or [Jan](https://learnaitodayonline.com/jan-ai-studio/) and keep the one that fits your workflow.

## Where to Go Next

If you are still deciding whether local makes sense for you, our [local AI vs cloud AI guide](https://learnaitodayonline.com/local-ai-vs-cloud-ai/) walks through the five-way trade-off with cost maths and a decision flowchart. The [AI glossary](https://learnaitodayonline.com/ai-glossary-essential-terms/) covers the terms (parameters, quantization, VRAM), and our [ChatGPT vs Claude vs Gemini comparison](https://learnaitodayonline.com/chatgpt-vs-claude-vs-gemini/) is the reference for the cloud side. The one rule to remember: the numbers in any online sizing table — including this one — are starting points, not gospel. Your hardware, your model card and your stopwatch are the final authority.

---

## Sources

- [Choose between cloud-based and local AI models (Microsoft Learn, 2025)](https://learn.microsoft.com/en-us/windows/ai/cloud-ai)

[Ollama documentation — hardware requirements and GPU support](https://docs.ollama.com/)

[Hugging Face — running LLM inference locally with Transformers](https://huggingface.co/docs/transformers/en/llm_tutorial)

[llama.cpp — build options and supported backends](https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md)

- [We did the math on AI's energy footprint (MIT Technology Review, 2025)](https://www.technologyreview.com/2025/05/20/1116327/ai-energy-usage-climate-footprint-big-tech/)

_Last reviewed: 22 August 2026. Model memory footprints change with each release; verify before buying. Re-checked quarterly._
