Share

14 min

The short version

A practical 2026 guide to running AI models on ordinary laptops: verified model sizes for 8GB, 16GB, and 32GB machines, realistic CPU and GPU speeds, Apple Silicon vs Windows trade-offs, Ollama and LM Studio setup steps, and an honest look at the quality gap to frontier models.

Summarize with AI

Editorial Disclosure & Affiliate Notice

This content is published for informational and educational purposes only. It is not intended as a substitute for professional, legal, financial, or medical advice. AIUnpacker is funded through clearly labeled sponsored articles and reviews, relevant paid link placements, and affiliate commissions where disclosed. Commercial partnerships help fund the free editorial library. Sponsored work is labeled, and a payment does not change the verdict.

  • For educational purposes only. Nothing here should be taken as a guarantee, recommendation, or professional recommendation.
  • AI-assisted editing. Drafts are produced with AI assistance and get a human pass before they go up.
  • Opinions are our own. Also, we are not affiliated with most tools we cover unless explicitly stated.
  • Information may be outdated. Verify pricing, features, and policies directly with the vendor.
  • Last reviewed: . Published .

Read more on our About page, Terms and Editorial Policy.

Yes, with honest limits. You can run genuinely powerful AI models on an ordinary laptop: a typical 16GB machine handles open models like Google’s Gemma 4 E4B and Alibaba’s Qwen3.5 9B locally, free, and fully offline. An 8GB machine copes with 3B-4B models; a 32GB machine holds 32B-class models like DeepSeek-R1-Distill-Qwen-32B. What no ordinary laptop does is match GPT-5-class frontier models on hard reasoning: the gap is real, roughly 10-20 benchmark points for small local models, though it keeps narrowing.

Ollama’s Windows release covered here is v0.40.15 (November 3, 2026). LM Studio’s changelog at the same time shows 0.4.28, and the app is free for work use.

What “powerful” means on a laptop in 2026

“Powerful” hides three separate ceilings: memory size, memory speed, and raw compute. Knowing which one you’re hitting explains almost every frustration with local AI.

A local LLM is a large language model whose weights live on your own machine. You download a model file once, run it through a tool like Ollama or LM Studio, and it generates text on your hardware: no subscription, no internet connection, and no data leaving the device.

Three terms carry the rest of this article:

  • Quantization is compression for model weights. Q4_K_M is the community default: roughly 4 bits per weight instead of 16, which cuts memory use about fourfold for a small quality cost.
  • Tokens per second (tok/s) measures generation speed. Human reading pace is around 5-8 tok/s, so anything above ~10 feels responsive and anything under ~5 feels like watching a fax machine.
  • The KV cache is the model’s working memory for the conversation so far. It grows with every token of context, and it’s the part of the memory budget everyone forgets.

How much RAM do you need to run a local AI model?

Budget about 0.6 GB per billion parameters for a Q4_K_M quantized model, then add 2-4 GB of headroom for the KV cache. That one calculation tells you your tier.

The 0.6 GB figure isn’t folklore: it matches measured files almost exactly. An analysis of quantization math puts Q4_K_M at roughly 0.57-0.61 GB per billion parameters (CodingProtocols), and real files back it up: bartowski’s Q4_K_M build of DeepSeek-R1-Distill-Qwen-32B measures 19.85 GB on Hugging Face (repo page), right where 32 × 0.6 predicts.

The headroom is the trap. The KV cache at 8K context costs about 1-2 GB for a 7-8B model, and at 32K context it climbs past 4 GB: one analysis found Llama 3.1 8B’s 4.9 GB of weights needs another ~4.3 GB just to hold 32K of context (glukhov.org; see also Sitepoint’s KV cache guide). Total memory equals weights plus cache, and context is the part that balloons.

So the tiers fall out naturally: a 4B model needs ~2.4 GB plus headroom and lives on 8GB machines; 8-9B models need ~5.5 GB plus headroom and fit 16GB comfortably; a 32B model needs ~19 GB plus headroom, which is 32GB territory.

A 7B model at Q4_K_M weighs about 4.5 GB. Give it 32K of context and the KV cache alone adds roughly 4 GB more: context, not the model, is what quietly fills your RAM.

What can 8GB, 16GB, and 32GB laptops actually run?

8GB runs 3B-4B models well (a 7B is a squeeze), 16GB is the sweet spot for 9B-14B models, and 32GB handles 32B-class models. Here’s the tier table:

Laptop RAMModels that fit (verified sizes)Expected speedRealistically usable for
8GBGemma 4 E2B, Qwen3 4B, Phi-4-mini (3.8B) at Q4_K_M; a 7B like Mistral (~6-7 GB at Q4) only with everything else closed~15-30 tok/s on 3-4B models; ~5-12 tok/s on 7B (est.)Drafting, summaries, chat, simple rewrites
16GBGemma 4 E4B (~9.6 GB even with 128K context), Qwen3.5 9B Q4 (~6.6-7.6 GB download), Qwen3 14B Q4 (~9 GB, keep context ≤8K); GPT-OSS-20B is borderline on RAM alone~45-60 tok/s on an M-series Mac for E4B-class; ~10+ tok/s CPU-onlyDaily writing and coding help, Q&A over your own documents, offline work
32GB+DeepSeek-R1-Distill-Qwen-32B Q4_K_M (19.85 GB), Qwen3-30B-A3B Q4 (~18-19 GB)30B-A3B: ~5-15 tok/s CPU, roughly 40 tok/s with a GPU/iGPU assist; dense 32B much slower on CPUReasoning-heavy work, code review, long-context analysis

A few notes on those rows:

  • 8GB: the comfortable zone is 3B-4B models at Q4_K_M. Qwen3 4B, Microsoft’s Phi-4-mini (3.8B), or Gemma 4’s mobile-oriented E2B. Guides aimed at 8GB machines converge on that pick (Micro Center’s tier guide). A 7B model loads, but with the OS taking its share you’ll want a short context window and a closed browser.
  • 16GB: Gemma 4 E4B is the everyday pick: released March 31, 2026 in E2B, E4B, 31B, and 26B A4B sizes per Google’s release notes. “E” stands for effective: E4B behaves like a ~4.5B-parameter model while storing about 8B parameters, using Per-Layer Embeddings to keep memory lean (Unsloth’s Gemma 4 guide). One hardware guide puts E4B at roughly 9.6 GB even with 128K context in llama.cpp/Ollama. The other standout is Qwen3.5 9B: multimodal, 262K context, Apache 2.0 licensed (model card), with 4-bit builds downloading at about 6.6-7.6 GB per PromptQuorum’s 16GB guide.
  • 32GB+: this is where local AI gets genuinely interesting. DeepSeek-R1-Distill-Qwen-32B at Q4_K_M is 19.85 GB and fits in 32GB RAM with room for context. The smarter speed pick, though, is a MoE (Mixture-of-Experts) model like Qwen3-30B-A3B (~18-19 GB at Q4): 30B parameters stored, but only ~3B activated per token, so it generates much faster than a dense 32B on the same hardware. Qwen’s whole 0.6B-32B dense lineup plus the MoE variants is available through Ollama’s model library.

How fast do local models run without a GPU?

Without a discrete GPU, expect roughly 5-15 tok/s for a 7B-class Q4 model from a laptop’s dual-channel DDR5: usable, but you’ll feel the wait.

Token generation is memory-bandwidth-bound: every generated token means streaming the whole model through memory once. Laptop memory has two channels and roughly 70-90 GB/s of bandwidth, so the math caps you before your CPU cores even matter. Measured results agree: a dev.to speed test recorded ~6 tok/s for a quantized 7B on an AMD Ryzen laptop, a desktop Ryzen 9 9950X manages ~11-12 tok/s on an 8B model, and PromptQuorum’s 2026 CPU-only guide lands on 8-30 tok/s for 3B-8B models depending on RAM speed.

Practical reads:

  • 3B-4B models: ~15-30 tok/s: comfortable for daily use.
  • 7B-9B models: ~5-15 tok/s: fine for summaries, annoying for back-and-forth coding.
  • The MoE trick: Qwen3-30B-A3B stays usable (~5-15 tok/s) on a CPU-only 32GB machine despite its size, because only ~3B parameters activate per token.

Those ranges are a synthesis of the benchmark spread; individual laptops vary with memory speed and thermals.

Apple Silicon vs Windows laptops for local AI

Apple’s unified memory buys you model capacity; a Windows laptop with an RTX GPU buys you per-token speed when the model fits in VRAM.

On Apple Silicon, the CPU and GPU share one pool of fast memory on the same chip: unified memory. A 16GB MacBook can hand its whole memory pool to a model; a Windows laptop with an RTX 4060 is capped at that card’s 8GB of VRAM for GPU acceleration. That’s why Macs punch above their weight on model size: comparisons of local setups consistently find Apple Silicon wins on the largest models you can load, while NVIDIA GPUs win raw tok/s on models that fit (MindStudio’s Mac vs Windows comparison; see also this r/LocalLLM technical thread).

The numbers with a published source:

  • An M4 MacBook Air (~120 GB/s of memory bandwidth, about 20% faster than the M3 in a head-to-head) ran Gemma 4 E4B at roughly 57 tok/s via Ollama in one benchmark roundup (modelfit.io).
  • An RTX 4060 8GB (~272 GB/s) turns in roughly 40-50 tok/s on 7B-9B Q4 models that fit entirely in VRAM, about 52 tok/s for a 7B in GigaGPU’s benchmark table, with Ollama-based 7B/9B tests in the same ballpark.
  • Beyond 8GB of weights you’re in partial-offload territory: 13-14B models drop to roughly 5-15 tok/s as work spills onto the CPU.
  • One community benchmark reports ~130 tok/s for Qwen3-Coder-30B-A3B on a 32GB M4 Pro under Apple’s MLX runtime. That figure comes from a single community source: treat it as an order-of-magnitude claim, though it lines up with the physics: MoE models activate few parameters per token, and MLX is fast at exactly that pattern.

The failure mode to avoid: exceeding your memory. Once a model starts swapping to disk, generation speed collapses into single digits. Leave the OS several gigabytes and pick the model size your RAM supports.

Are local models as good as ChatGPT? The honest gap

No, not on hard reasoning. Small local models score roughly 10-20 percentage points below GPT-5.6-class frontier models on reasoning and coding benchmarks (PromptQuorum’s limitations analysis). But the gap is task-dependent, and it narrows fast as you move up the size ladder.

Where things stand among verified numbers:

  • Gemma 4 31B scores 80.0% on LiveCodeBench (a huge jump from Gemma 3 27B’s 29.1%) with 87.1% MMLU and 84.3% GPQA Diamond, which still trails the top frontier models (ai.rs comparison).
  • GPT-OSS-20B, which OpenAI designed to run within 16GB of memory and describes as delivering results similar to o3-mini (announcement; model card), posted 98.3% with 100% format compliance in one community benchmark of real on-prem coding tasks: beating every cloud model in that specific test (r/LocalLLM benchmark).
  • The 2026 trade-off literature finds 7B-class models fine as everyday “cloud copilot” replacements, while 27B+ local models close much of the gap when hardware allows (PromptQuorum).

The gap that matters isn’t benchmark points, it’s failure style. Frontier models rarely hand you a confidently wrong answer on a hard multi-step problem; small local models do, regularly. Use a laptop model for drafting, summarizing, rewriting, code completion, and Q&A over your own documents; route hard reasoning to a cloud API or verify outputs carefully. That split is judgment, not a measured stat, but the benchmarks support it.

How to run AI models on your laptop: 7 steps

  1. Match a model to your RAM. Use 0.6 GB per billion parameters plus 2-4 GB headroom. 8GB → 3-4B models; 16GB → Gemma 4 E4B or Qwen3.5 9B; 32GB → Qwen3-30B-A3B or the DeepSeek 32B distill.
  2. Pick your app. LM Studio (0.4.28) if you want a point-and-click GUI: it’s been free for work since July 2025, no license form (official announcement; changelog). Ollama (v0.40.15) if you live in a terminal or want an API (release log). Both free; many people run both.
  3. Install and pull your first model. In LM Studio: search the model browser, click Download, chat. With Ollama: install it, then run ollama run gemma4:e4b: the command downloads the model and starts the chat in one step. The library also carries qwen3 (0.6b through 32b) and deepseek-r1 under the same tag convention (Ollama library; docs).
  4. Test it offline. Turn off Wi-Fi and ask for a summary of a pasted document. The first response takes a few seconds while the model reads the whole prompt, then text streams in.
  5. Tune context before anything else. If RAM is tight, drop the context window to 8K before you drop quantization: the cheapest 1-2 GB you’ll ever reclaim.
  6. If it’s slow, go smaller before you go grumpier. A fast 4B model beats a laggy 8B for most everyday tasks. On 32GB, prefer the MoE 30B-A3B over a dense 32B for speed.
  7. Wire it into your tools (optional). Ollama exposes an OpenAI-compatible API, and since January 2026 the ollama launch command sets up local models inside coding agents like Claude Code, OpenCode, and Codex, with Kimi Code CLI added in the current release (Ollama blog; releases). LM Studio offers a local server mode too.

The bottom line: what to do next

  • 8GB laptop: try Gemma 4 E2B or Qwen3 4B in LM Studio tonight. Expect a capable assistant, not a reasoning engine.
  • 16GB laptop: the sweet spot. Install Ollama, run Gemma 4 E4B or Qwen3.5 9B, and put 32GB on your next-hardware-upgrade list if local AI clicks for you.
  • 32GB machine or M-series Mac: DeepSeek-R1-Distill-Qwen-32B or Qwen3-30B-A3B give you genuinely strong offline reasoning.
  • Buying new: if local AI is the point, prioritize RAM and memory bandwidth over CPU cores. A 16GB Mac or a 32GB Windows laptop beats a core-count monster with a small GPU for this workload.

One flag: privacy is local AI’s superpower (sensitive documents never leave the machine) but “runs offline” isn’t a compliance program. If you handle regulated client data, get proper advice on your obligations.

FAQ

Can an ordinary laptop run AI models locally?

Yes. A 16GB laptop runs capable open models like Gemma 4 E4B and Qwen3.5 9B through free tools such as Ollama or LM Studio, fully offline. An 8GB machine handles 3B-4B models, and a 32GB machine runs 32B-class models like DeepSeek-R1-Distill-Qwen-32B. The constraints are memory and speed, not possibility, and no local model fully matches frontier cloud models on hard reasoning yet.

How much RAM do I need to run a local AI model?

Budget roughly 0.6 GB per billion parameters at Q4_K_M quantization, plus 2-4 GB of headroom for the KV cache. That means 8GB runs 3B-4B models, 16GB runs 9B-14B models comfortably, and 32GB runs 32B-class models like DeepSeek-R1-Distill-Qwen-32B, whose Q4_K_M file measures 19.85 GB. Context length is the hidden cost: 32K of context can add 4 GB or more on its own.

What is the best local LLM for a 16GB laptop?

Gemma 4 E4B is the everyday default: released March 31, 2026, it behaves like a ~4.5B-parameter model, supports 128K context, and needs roughly 9.6 GB even with full context. Qwen3.5 9B (multimodal, 262K context, Apache 2.0) is the stronger all-rounder for coding, with 4-bit builds downloading at about 6.6-7.6 GB. A dense Qwen3 14B at Q4 also fits if you keep context to 8K.

How do I run an AI model on my laptop for free?

Install LM Studio or Ollama: both free, no subscription. In LM Studio, search the built-in model browser, download a Q4 quantization, and chat. With Ollama, install it and run ollama run gemma4:e4b to pull and start a model in one command. Both tools expose local APIs you can point other apps at. The models are open-weight, so there is no per-token cost.

Are local models as good as ChatGPT?

Not on hard reasoning. Small 7B-class local models score roughly 10-20 percentage points below GPT-5.6-class frontier models on reasoning and coding benchmarks. Larger local models close the gap: Gemma 4 31B scores 80% on LiveCodeBench, and GPT-OSS-20B beat several cloud models in one on-prem coding benchmark. For drafting, summarizing, and routine coding, a 16GB laptop model is genuinely good; for hard analysis, frontier APIs still win.

Should I use Ollama or LM Studio?

LM Studio if you want a GUI: browse, download, and chat without a terminal, and it has been free for work since July 2025. Ollama if you want the command line, an OpenAI-compatible API, or unattended server-style use: the current version is v0.40.15, and ollama launch wires local models into coding agents like Claude Code. Many people install both; they don’t conflict.

Can I use local AI tools for commercial work?

LM Studio is explicitly free for commercial and work use since its July 2025 announcement: no license form required. Model licensing varies: Qwen3.5 9B is Apache 2.0 and commercial-friendly, while Google’s Gemma models ship under Google’s own open license with usage terms, so check each model’s license before shipping a product. The tools are free; license compliance is your responsibility.

Why is my local LLM so slow?

Almost always memory bandwidth. Token generation streams the entire model through RAM for every token, and a laptop’s dual-channel DDR5 (~70-90 GB/s) caps a 7B model at roughly 5-15 tokens per second. Fixes: use a smaller or MoE model, lower the context length, keep the model entirely in GPU VRAM if you have one, and never let the model swap to disk.

Sources

Weekly digest

Get our weekly AI digest

The latest AI tools, prompts, and insights — short, useful, every week.

No spam. Unsubscribe anytime.

AIUnpacker Editorial

Articles are written for a specific question. Sponsored work is labeled.