What Is a Local LLM?
A local LLM is a large language model that runs entirely on your own hardware — a laptop, workstation, or on-premises server — instead of a remote cloud API. You download the model weights once, and every inference (every answer) is computed on-device. Because nothing is sent to a third party, your prompts and data never leave your machine, and the model works even with no internet connection.
"Local AI" and "local LLM" are used interchangeably to describe this on-device pattern. It is the opposite of using ChatGPT, Claude, or Gemini through a hosted API, where your text travels to a provider's servers, is processed there, and may be retained or logged. With a local model you trade some convenience and top-end capability for full control, privacy, and predictable cost. The shift is being accelerated by AI PCs: IDC and Canalys both project that roughly half of all PCs shipped in 2026 will be "AI PCs" with a dedicated neural processing unit (NPU) built for exactly this kind of on-device inference (IDC, 2025).
A local LLM = open-weight model + your hardware + a runtime (like Ollama). The result is a private, offline AI assistant you fully own — with no usage fees and no data leaving your control.
Local LLM vs Cloud LLM vs On-Prem vs Air-Gapped
A local LLM runs on a single device; an on-prem LLM runs on servers inside your network; an air-gapped LLM runs on hardware with no network connection at all; and a cloud LLM runs on someone else's servers and is accessed over the internet. They sit on a spectrum from most convenient (cloud) to most controlled (air-gapped). The table below shows the trade-offs that matter most.
| Dimension | Cloud LLM | Local LLM | On-Prem LLM | Air-Gapped LLM |
|---|---|---|---|---|
| Runs on | Provider's servers | Your laptop / PC | Your data-center servers | Disconnected hardware |
| Data leaves you? | Yes | No | No | No (no network) |
| Works offline? | No | Yes | On your network | Yes |
| Cost model | Per-token / subscription | One-time HW + optional license | Hardware + ops | Hardware + ops |
| Top-end capability | Highest (frontier models) | Good (open models) | Good–high | Good–high |
| Best for | Quick experiments, scale | Privacy, dev, individuals | Team / enterprise control | Defense, SCIF, CMMC |
Local, on-prem, and air-gapped are all "self-hosted" patterns — the difference is scope and network isolation. See private LLM, air-gapped AI, and on-premise deployment for the enterprise variants. Most teams end up running sensitive work locally and routing the rest to a cloud model, which is what hybrid AI is.
Why Run an LLM Locally?
People run LLMs locally for five concrete reasons: privacy, cost control, compliance, latency, and offline capability. Each one becomes more compelling the more you use AI on sensitive data or at high volume. Together they explain why local AI moved from a hobbyist niche to a mainstream enterprise requirement.
Privacy & Data Control
Your prompts, documents, and outputs never leave your device, so there is no third-party logging, no training on your data, and no exposure surface. Keeping inference on hardware you control is the defining property of private AI. This directly counters "shadow AI" risk — IBM's 2025 Cost of a Data Breach report found breaches involving ungoverned AI tools cost an average of about $4.6M (IBM, 2025).
Predictable, Lower Cost
Cloud LLMs bill per token, so cost scales forever with usage. A local LLM has a one-time hardware (and optional license) cost, then runs at zero marginal cost per query. For teams running AI all day, the math flips toward local quickly — AirgapAI, for example, is a one-time $697 per-seat perpetual license with no subscription.
Compliance & Sovereignty
Regulated industries cannot send PII, PHI, or classified IP to an external API. Running locally keeps data inside your boundary, which is how organizations satisfy HIPAA, CMMC, ITAR, and data residency rules. Gartner projects that through 2026, organizations operationalizing AI governance will see materially better outcomes than those that do not (Gartner, 2025).
Low Latency & Offline Use
With no network round-trip, a local model responds instantly and keeps working on a plane, in a field site, in a SCIF, or anywhere connectivity is poor or prohibited. On-device NPUs in modern AI PCs make this fast enough for real work, which is why IDC expects roughly half of 2026 PC shipments to be NPU-equipped AI PCs.
What Hardware Do You Need to Run a Local LLM?
To run a local LLM you mainly need enough memory (RAM or GPU VRAM) to hold the model. A useful rule of thumb: a 4-bit quantized model needs roughly its parameter count in gigabytes — so a 7B-8B model fits in about 6–8GB, a 13B model in roughly 10–12GB, and a 70B model in 40–48GB. If the model fits in GPU VRAM it runs fastest; if it spills into system RAM, it still works but slower. CPU-only inference is viable for small models; an NPU or GPU makes everything faster.
| Model size | Memory (4-bit) | Realistic hardware | What it's good for |
|---|---|---|---|
| 1B–3B | ~1–3 GB | Any modern laptop, phone, NPU | Autocomplete, simple chat, edge |
| 7B–8B | ~6–8 GB | 16GB RAM laptop, 8GB GPU, AI PC NPU | Everyday assistant, RAG, drafting |
| 13B–14B | ~10–12 GB | 32GB RAM, 12–16GB GPU | Stronger reasoning, longer docs |
| 30B–34B | ~20–24 GB | 24GB GPU (e.g. RTX 4090), 64GB RAM | Advanced reasoning, code |
| 70B+ | ~40–48 GB | 2x 24GB GPUs or 64–128GB unified RAM | Near-frontier quality, on-prem |
Memory figures assume 4-bit quantization (the most common local format). Higher precision (8-bit, FP16) needs proportionally more. NPUs — like the one in Intel Core Ultra laptops — accelerate small/medium models efficiently without a discrete GPU. For the arithmetic behind those numbers, see what LLM parameters mean for hardware, and for server-class capacity planning the on-prem AI hardware sizing guide.
For a reference architecture and the full hardware requirements for running a local LLM, see the deployment sizing page.
You do not need a server rack. A modern AI PC laptop with an Intel NPU runs a capable 7B–8B model entirely on-device. AirgapAI is built for exactly this hardware via Intel's OpenVINO — a turnkey local AI assistant with 2,800+ built-in workflows that runs offline on a standard laptop. See private AI appliances for purpose-built options.
Best Local LLMs in 2026
The best local LLMs in 2026 are Qwen3, Llama 3.x, Gemma 3, Mistral Small, the DeepSeek-R1 distills and Phi-4 — all open-weight, all free to download, each shipping in sizes from roughly 3B to 70B parameters. Which one is best depends on your memory budget, so the ranked table below is grouped by hardware tier.
All six families run on the same runtimes (Ollama, LM Studio, llama.cpp, vLLM), so switching between them costs one download rather than a rebuild. Anything below roughly 3B parameters is usually described as one of the small language models, which trade some capability for the ability to run almost anywhere. A hardware-tiered shortlist of the best open-source LLMs is kept in the LLM selection guide. Here is the orientation by family, then the ranked table. For the packaged platforms and appliances that wrap these models, see the best local AI tools for enterprise.
- Llama (Meta) — the most widely deployed open-weight family; strong general reasoning and a huge ecosystem of fine-tunes. Sizes from ~1B to 70B+.
- Qwen (Alibaba) — consistently tops open-model leaderboards for reasoning, multilingual, and coding; available in many sizes including very small variants.
- Gemma (Google) — efficient, lightweight models designed to run well on laptops and even phones; a great default for low-resource hardware.
- Mistral — fast, capable European models (including mixture-of-experts variants) with permissive licensing and strong instruction-following.
- DeepSeek — strong reasoning and code performance; distilled smaller variants run locally while retaining much of the larger model's capability.
- Phi (Microsoft) — small models trained for mathematics and structured reasoning that punch well above their parameter count; MIT-licensed and comfortable on a laptop.
Best Local LLMs in 2026, Ranked by Hardware Tier
The right answer depends on the memory you have, so the ranking below is grouped by hardware rather than given as one list. Within each tier the models are ordered best-first, and the highlighted row is the one to download if you only try one. Every model listed is open-weight and free to download.
8 GB laptop
An everyday laptop with integrated graphics, an NPU, or 16 GB of system RAM. These models answer fast, fit alongside your other applications, and are the right starting point if you have never run a model locally.
| Model | Parameters | Size (4-bit) | Minimum VRAM or RAM | Strengths | Runtime |
|---|---|---|---|---|---|
| Gemma 3 4B | 4B | ~2.6 GB | 8 GB RAM or NPU | Efficient chat and summarizing; strongest quality-per-gigabyte at this size | Ollama, LM Studio |
| Llama 3.2 3B | 3B | ~2.0 GB | 8 GB RAM | Drafting, rewriting, autocomplete; the widest tooling support of any small model | Ollama, LM Studio, llama.cpp |
| Qwen3 4B | 4B | ~2.5 GB | 8 GB RAM | Multilingual chat and tool calling at laptop scale | Ollama, llama.cpp |
16 to 24 GB workstation
A workstation or an 8 to 24 GB GPU. This is the band where a local model becomes a genuine daily assistant: good enough for retrieval over your own documents, long enough context for real files.
| Model | Parameters | Size (4-bit) | Minimum VRAM or RAM | Strengths | Runtime |
|---|---|---|---|---|---|
| Qwen3 8B | 8B | ~5.2 GB | 8 GB VRAM or 16 GB RAM | Reasoning, multilingual work and tool use; the strongest all-rounder at 8B | Ollama, vLLM |
| Llama 3.1 8B | 8B | ~4.9 GB | 8 GB VRAM or 16 GB RAM | General assistant and RAG; the largest ecosystem of fine-tunes to build on | Ollama, LM Studio, vLLM |
| Gemma 3 12B | 12B | ~7.3 GB | 12 GB VRAM or 24 GB RAM | Long-context document reading; handles images on the multimodal build | Ollama, LM Studio |
| Phi-4 14B | 14B | ~9 GB | 12 GB VRAM or 24 GB RAM | Mathematics and structured reasoning well above its parameter count | Ollama, llama.cpp |
| Mistral Small 3.1 24B | 24B | ~14 GB | 24 GB VRAM or 32 GB RAM | Fast general chat under a permissive license; low latency for its size | Ollama, vLLM |
48 GB and up server
One or two data-center GPUs, or a workstation with unified memory. This is the tier a team shares rather than an individual runs, and where local quality gets close to the hosted frontier.
| Model | Parameters | Size (4-bit) | Minimum VRAM or RAM | Strengths | Runtime |
|---|---|---|---|---|---|
| Qwen3 32B | 32B | ~20 GB | 24 to 32 GB VRAM | The strongest open reasoning that still fits one GPU | vLLM, Ollama |
| Qwen3 30B-A3B | 30B total, 3B active | ~18 GB | 24 GB VRAM | Mixture-of-experts: near-32B answers at roughly 8B speed | vLLM, llama.cpp |
| Gemma 3 27B | 27B | ~17 GB | 24 GB VRAM | Long-context analysis over large document sets | vLLM, Ollama |
| Llama 3.3 70B | 70B | ~40 GB | 48 GB VRAM (2 x 24 GB) | Near-frontier general quality without leaving your own rack | vLLM, TGI |
| DeepSeek-R1-Distill-Llama-70B | 70B | ~40 GB | 48 GB VRAM | Step-by-step reasoning and code, distilled from a much larger model | vLLM |
Sizes are approximate 4-bit (Q4_K_M) GGUF builds; check the model card for the exact file you download, and allow roughly 2–4 GB of headroom for the context window. This table is reviewed monthly — last reviewed September 2026.
Enterprise platforms like AirgapAI let you run these same open models (Llama, Gemma, Qwen, Mistral) locally without wiring up the toolchain yourself — useful when you want a governed, supported deployment rather than a DIY setup. For where custom weights and model lineage fit in, see fine-tuning and model provenance.
Local AI Models: Which to Run in 2026
Local AI models are open-weight models you download once and run on your own hardware. Six families cover almost every deployment in 2026 — Llama, Qwen, Gemma, Mistral, DeepSeek and Phi — and each publishes several sizes under a different license. Pick the family by license and task, then the size by the memory you have.
The table above ranks specific models by the hardware they fit. This one answers the question that decides whether you can actually deploy them: what each family permits, how large it goes, and what it is best at. License terms are the part teams discover late, usually during a procurement review, so it is worth settling first.
| Model family | Parameter sizes | Memory (4-bit) | License | Best use |
|---|---|---|---|---|
| Llama (Meta) | 1B to 70B+ | ~2 GB to ~40 GB | Llama Community License — commercial use permitted, with a separate agreement required above 700 million monthly active users and an attribution requirement | A general assistant you intend to fine-tune, because the ecosystem of derivatives is the largest |
| Qwen (Alibaba) | 0.6B to 235B (dense and mixture-of-experts) | ~0.5 GB to 130 GB+ | Apache 2.0 on the Qwen3 open releases; some earlier Qwen2.5 sizes ship under a Qwen-specific license | Reasoning, multilingual work and tool calling, and the widest choice of sizes per tier |
| Gemma (Google) | 1B to 27B | ~1 GB to ~17 GB | Gemma Terms of Use — commercial use permitted, subject to a prohibited-use policy that travels with the weights | Laptops, NPUs and edge devices, where quality per gigabyte matters more than headroom |
| Mistral | 7B to 24B and larger mixture-of-experts builds | ~4 GB to ~14 GB | Apache 2.0 on the open releases; several larger models are research-licensed only | Low-latency general chat where a permissive license is a procurement requirement |
| DeepSeek | 1.5B to 70B distilled variants | ~1 GB to ~40 GB | MIT on the R1 releases; a distilled variant also carries the license of the model it was distilled from | Step-by-step reasoning and code generation on modest hardware |
| Phi (Microsoft) | 3.8B to 14B | ~2 GB to ~9 GB | MIT | Mathematics, structured output and reasoning well above the parameter count |
License terms change between releases and sometimes between sizes in the same family. Confirm the license on the model card for the exact build you download before it reaches production.
Three rules keep the choice simple. Match the size to memory first, because a model that does not fit runs at a fraction of the speed. Prefer the newest release in a family over a larger older one: a current 8B model generally beats a two-generation-old 13B. And standardize on one family per deployment where you can, so prompts, evaluations and fine-tunes carry across machines. Sizing arithmetic for a shared deployment is in the AI hardware sizing guide, and the trade-off between small and large models is covered on SLM vs LLM.
AirgapAI ships with Llama, Gemma, Qwen and Mistral builds already packaged and validated, so a governed rollout does not start with a license review per laptop. For more information visit the Supported LLM Models and Bring Your Own page.
The Runtime Layer for a Local Model
A downloaded model needs a runtime to serve it, and four cover almost every deployment: Ollama for a one-command CLI, LM Studio for a point-and-click desktop app, llama.cpp for embedded and low-level control, and AirgapAI as a packaged offline application for regulated teams. Install commands, picking a first model and adding your own documents are covered end to end in the dedicated guide to how to run an LLM locally, and the packaged platforms that wrap these runtimes are ranked in the best local AI tools for enterprise roundup.
Self-Hosted LLM: What Changes When One Model Serves a Team
A self-hosted LLM is the same open-weight model moved off one laptop onto hardware a whole team queries. The model does not change; everything around it does. You add a serving engine that batches concurrent requests, authentication and logging per user, and a memory budget sized for conversations in flight rather than for the weights alone.
Most local AI programs start as one person running Ollama and end as a service several dozen people depend on. Four things shift on that journey, and each one is a decision rather than a setting.
The serving stack replaces the desktop runtime
Ollama and LM Studio are built for one user at a time: a second request waits for the first to finish. A shared deployment moves to a serving engine such as vLLM or Text Generation Inference, which batches concurrent requests continuously and keeps the GPU busy instead of idle between prompts. The same open weights run underneath — what changes is the scheduler in front of them.
Memory is budgeted for concurrency, not just for the model
On a laptop the only memory question is whether the weights fit. On a shared server the key-value cache for every in-flight conversation is added on top, and it scales with concurrent sessions multiplied by context length. A 32B model that fits comfortably in 24 GB for one user needs materially more headroom before thirty people share it.
Access control becomes a first-class requirement
A single-user model needs no authentication. A shared one needs identity: single sign-on or per-user API keys, group-scoped retrieval so a document only reaches people entitled to see it, rate limits per team, and prompt and response logs retained on infrastructure you control. This is the work that turns a working model into something audit can approve.
Model versions have to be pinned and rolled forward deliberately
Individuals upgrade a model whenever they like. A team cannot: prompts, evaluations and retrieval settings are tuned against a specific build, so the serving layer pins a version, a new one is evaluated beside it, and the switch happens once for everybody. Keeping a rollback build on disk costs a few gigabytes and saves a bad week.
None of this changes the privacy argument for running the model yourself — prompts and documents still stay inside your perimeter, which is the whole point of a private LLM. It changes the engineering around it. The build-out itself, from hardware selection through serving and governance, is covered step by step in how to deploy an LLM on-premise. For more information visit the Local LLM Hardware Requirements and Deployment Sizing page.
Sharing one server is not the only way to serve a team. AirgapAI puts a full local assistant on each user's Intel NPU laptop for a one-time $697 perpetual license per seat, so there is no serving stack, no queue and no shared attack surface — and it keeps working with the network unplugged. Where a shared machine is the better fit, the private AI appliance options are purpose-built for it.