Best Small LLMs to Run Locally: Models, RAM Needs and Quality Compared

Best small LLMs to run locally compared by size, RAM needs and quality: Llama 3.2 3B, Qwen3 8B, Phi-4 Mini, Gemma 3 and DeepSeek R1 distill, with RAM-tier picks

By Galactic News Editorial · Published 2026-11-19T04:39:47+00:00 · Updated 2026-11-19T04:39:47+00:00

Best small LLMs to run locally compared by RAM needs and quality

Best Small LLMs to Run Locally: Models, RAM Needs and Quality Compared

The best small LLMs to run locally are Llama 3.2 3B for most people, Qwen3 8B for the strongest all-round quality on 16 GB machines, and Phi-4 Mini for the best reasoning on low-RAM hardware. Small models have improved fast. A 3B or 4B model from the current generation beats a 7B model from two years ago. The trick is matching the model to your RAM. This guide compares the leading small models by size, RAM needs, license, and strengths, so you can pick the right one for your machine.

How to Read RAM Needs for Local Models

Model size at Q4 quantization is the number that matters. Q4 is the sweet spot for quality per unit of memory. A good rule of thumb is 0.6 to 0.7 GB of RAM per billion parameters at Q4, plus 1 to 3 GB of overhead for context and the KV cache. That means a 3B model needs about 4 GB of RAM, a 7B or 8B model needs about 8 GB, and a 14B model needs about 16 GB. If you have a GPU, the constraint is VRAM instead. GPU memory is worth roughly three to five times CPU RAM for usefulness, because offloaded layers generate tokens several times faster.

Context length also eats memory. A long context window needs a bigger KV cache. A 128k context on a 7B model can add several gigabytes. If a model fits but feels slow, shorten the context. If it still struggles, drop to a smaller quantization or a smaller model. The model card on the Ollama library lists each size variant and its download size, so check before you pull.

Best Small LLMs Local: The Full Comparison

ModelParametersSize at Q4Min RAMLicenseBest for
Llama 3.2 3B3B2.0 GB4 GBLlama CommunityBest overall starter
Phi-4 Mini 3.8B3.8B2.5 GB4 GBMITReasoning and coding on low RAM
Gemma 3 4B4B2.6 GB4 GBGemma TermsMultimodal, vision input
Qwen3 8B8B5.0 GB8 GBApache 2.0Best 8B all-rounder
Llama 3.1 8B8B4.7 GB8 GBLlama CommunityReliable general chat
Gemma 3 12B12B7.3 GB12 GBGemma TermsWriting and multimodal
Qwen3 14B14B9 GB16 GBApache 2.0Best 14B all-rounder
Phi-4 14B14B9 GB16 GBMITReasoning at 14B
DeepSeek R1 Distill 7B7B4.7 GB8 GBMITStep-by-step reasoning

Sizes and RAM figures come from model cards and current sizing guides. Treat them as planning numbers, not guarantees. Your available RAM depends on what else is running. Close the browser before loading a model that barely fits.

Llama 3.2 3B: The Best Starting Point

Llama 3.2 3B is the best small LLM for most beginners. It downloads in about 2 GB at Q4 and runs on 4 GB of RAM. It handles everyday chat, summarization, and instruction following well for its size. It supports a 128k context window. It runs on a laptop, a MacBook, or even a phone. Meta ships it under the Llama Community License, which is not a standard open-source license and includes usage restrictions above a monthly active user threshold. For personal use, that rarely matters. Install it with one command: ollama run llama3.2:3b. If you only try one local model, try this one.

Qwen3 8B: The Strongest 8B All-Rounder

Qwen3 8B is the strongest general model in the 8B class. It needs about 5 GB at Q4 and runs comfortably on 8 GB machines. It scores 57.3% on HumanEval, a coding benchmark, and matches or beats Llama 3.1 8B on MMLU, a broad knowledge benchmark, according to current beginner guides. It supports 29 or more languages natively, which makes it the best pick for multilingual use. Alibaba ships Qwen under Apache 2.0, a fully permissive license. The Qwen family spans sizes from 0.6B to 32B, so you can move up or down without changing tooling. If you have 16 GB of RAM and want the smartest model that fits easily, Qwen3 8B is the pick. The larger Qwen3 14B, at about 9 GB, is the best all-rounder if you have 16 GB to spare.

Phi-4 Mini: Big Reasoning in a Small Package

Phi-4 Mini is Microsoft's 3.8B model, and it punches above its size on reasoning. It scores a reported 68% on MMLU and 70% on HumanEval at just 2.5 GB of RAM, according to current beginner guides. That makes it the best choice for low-RAM machines that still need solid reasoning and coding. It runs on 4 GB of RAM and fits on older laptops. Phi ships under the MIT license, the most permissive of the major model families, with no real restrictions on commercial use. The larger Phi-4 14B, at about 9 GB, is excellent for reasoning with a shorter 16k context. Pick Phi-4 Mini when RAM is tight and quality matters more than speed.

Gemma 3: Vision and Writing at Small Sizes

Gemma 3 is Google's small-model family, and its standout feature is vision. The 4B and 12B variants accept images as well as text. Gemma 3 4B runs in about 2.6 GB at Q4 and fits on 4 GB machines. Gemma 3 12B needs about 7.3 GB and is a strong multimodal option for 8 GB machines, though you should close other apps first. Both support a 128k context window. Gemma ships under Google's Gemma Terms, which are more restrictive than Apache or MIT. Pick Gemma 3 4B for fast, vision-capable chat on a small machine. Pick Gemma 3 12B for writing quality and image understanding on a 16 GB machine.

DeepSeek R1 Distill 7B: Reasoning on a Budget

DeepSeek R1 distill models bring step-by-step reasoning to small hardware. The 7B distill needs about 4.7 GB at Q4 and runs on 8 GB machines. It shows its working as it reasons through math and logic problems. That makes it slower than a direct-answer model, but more reliable on hard questions. It ships under the MIT license. Pick it for math, logic puzzles, and problems where showing the steps matters. Pick a faster model for everyday chat, where the reasoning trace just adds waiting time.

Pick by RAM Tier

Match the model to the machine you actually have, not the one you wish you had. These picks come from current sizing guides based on running the models on real hardware.

On Apple Silicon, unified memory changes the math. A Mac with 16 GB of unified memory can run larger models than a Windows laptop with 16 GB of system RAM, because the GPU and CPU share the same pool. On a discrete-GPU desktop, VRAM is the limit. A card with 8 GB of VRAM runs 7B and 8B models well. A card with 12 GB or more opens up 12B and 14B models at good speed.

Bottom Line

The best small LLM to run locally depends on your RAM. Start with Llama 3.2 3B on 4 GB machines. Move to Qwen3 8B on 8 GB machines. Use Qwen3 14B or Phi-4 14B on 16 GB machines. Pick Phi-4 Mini when reasoning matters on low RAM, Gemma 3 when you need vision, and DeepSeek R1 distill when you need step-by-step reasoning. All of these run with one Ollama command and no cloud account. Download one, try it on your real work, and only then try a bigger model.