Table of Contents
You probably assume a large language model (LLM) has to run in the cloud. In fact, running AI entirely inside your own PC — a "local LLM" — is now a realistic option. Your data never leaves the machine, there are no API fees, and it works without internet. Small models are only a few gigabytes, so even an ordinary laptop can run them.
This article lays out, for beginners, what a local LLM is, its upsides and downsides, the specs you need, how to get started (from installing Ollama with the official steps to confirming it works), how to choose a model, and when to use it versus the cloud.
Nothing sent to the cloud, nothing billed
— your data stays on the machine; install once, use all you want
Privacy
Your input is never sent to an outside server — safe even for confidential data.
Zero cost
No API fees. Install once and it's free no matter how often you use it.
Offline
Works with no internet — on a plane or out and about, no problem.
1. What Is a Local LLM?
A local LLM means running an AI model like ChatGPT or Claude directly on your own PC (or phone) instead of in the cloud. The AI you normally use sends your input to a far-off server, processes it there, and returns the answer — but a local LLM does all that processing on the machine in front of you.
Think of it like "music streaming vs. downloading." Cloud AI is like streaming over the network every time you want to listen; a local LLM is like downloading the track to your device so you can play it offline, anytime. Once you put a model — a file of a few gigabytes — onto your PC, you can run it with no internet and no fees.
💡 In one line: a local LLM is "AI that runs entirely on your PC, with nothing sent to the network." It's strong on privacy and cost — but not as smart as the top-tier cloud AI. Grasping that trade-off is step one.
2. Why Local? Upsides and Downsides
Local LLMs have three big draws: privacy, cost, and offline use. Because input never leaves your machine, confidential data is easier to handle, and there are no API fees. Since there's no per-request charge, the gap grows the more you run the same job thousands of times.
There are downsides too. Let's be honest about them.
- Data never leaves your machine (privacy)
- Unlimited use with no extra fees
- Runs with no internet
- Freely customize models and settings
- Not as smart as the top-tier cloud AI
- Needs a reasonably capable PC
- A bit of upfront setup
- No up-to-date knowledge (only up to its training cutoff)
In short: "a step behind the cutting edge on smarts, but a clear winner on privacy, cost, and offline." For uses where you can accept that trade-off, a local LLM is a powerful option.
3. PC Specs You Need, and Quantization
"Will it run on my PC?" is probably your biggest question. The keys are memory (RAM, or VRAM on a GPU) and quantization.
Quantization is a compression technique that lowers the numeric precision of a model in exchange for a much smaller size. The standard format for local use is GGUF, and Q4_K_M is the go-to balance point. You can check how much it shrinks on Ollama's tag list: Llama 3.1 8B is 16 GB at 16-bit (fp16) but 4.9 GB at Q4_K_M — roughly 30% of the size. The Q4_K_M build is also what you get with ollama run llama3.1:8b (llama3.1 tag list, as of September 30, 2026). Hugging Face lists 207,667 models in GGUF format (Hugging Face's GGUF filter, same date).
So how big are they in practice? Here are the download sizes from Ollama's model library, smallest first.
| Ollama tag | Size | Input | Max context |
|---|---|---|---|
llama3.2:3b |
2.0 GB | Text | 128K |
gemma4:e2b |
4.6–7.5 GB | Text, Image, Audio* | 128K |
llama3.1:8b |
4.9 GB | Text | 128K |
gemma4:e4b |
6.6–9.5 GB | Text, Image, Audio* | 128K |
gemma4:12b |
7.7–8.0 GB | Text, Image | 256K |
gemma4:26b |
16–19 GB | Text, Image | 256K |
muse-glimmer |
18 GB | Text, Image | 128K |
qwen3.8:27b |
18 GB | Text, Image | 256K |
gemma4:31b |
19–20 GB | Text, Image | 256K |
llama3.1:70b |
43 GB | Text | 128K |
*Source: the tag pages in Ollama's model library (as of September 30, 2026). Size ranges are shown as the library lists them. Audio: the table on the gemma4 page lists it for E2B and E4B only (the tag list itself shows Text, Image). The muse-glimmer row comes from the muse-glimmer tag list (as of October 5, 2026).
Two tips for reading the table:
- You need more memory than the file size: the table shows file sizes. While running, memory for the conversation history (context) comes on top. Ollama's default context is 4,096 tokens, and the longer you set it, the more memory it uses (Ollama FAQ).
- Check whether it fits on the GPU with
ollama ps: if the PROCESSOR column says "100% GPU", the whole model is on the GPU; "100% CPU" means it is running in system memory. A split such as "48%/52% CPU/GPU" means part of it spilled over (same FAQ). The part that runs on the CPU tends to be slower, so that is your cue to step down one tag size.
On Apple Silicon Macs, the CPU and GPU share the same memory (unified memory), so a Mac with plenty of memory can run larger tags on the GPU more easily. The OS and hardware requirements, per each tool's official pages, are as follows.
| Ollama | LM Studio | |
|---|---|---|
| Mac | macOS 14 Sonoma or later; Apple M series (CPU and GPU) or x86 (CPU only) | Apple Silicon (M1–M4), macOS 14.0 or later; 16 GB+ RAM recommended (8 GB may work with smaller models) |
| Windows | Windows 10 22H2 or later (Home or Pro); drivers: NVIDIA 551.61 or newer, AMD with ROCm v7 or Vulkan support | x64 (AVX2 required) and ARM (Snapdragon X Elite); 16 GB+ RAM and 4 GB+ dedicated VRAM recommended |
| Linux | Install script, plus manual install instructions | x64 and ARM64, Ubuntu 20.04 or later (shipped as an AppImage) |
| Disk | Windows: at least 4 GB for the app; models can add up to tens or hundreds of GB | — |
Sources: Ollama's macOS and Windows docs, and LM Studio's system requirements (all as of September 30, 2026).
The NPU (a dedicated AI component) in recent laptops is not yet used by Ollama. For what an NPU does, see What Is an NPU, and Does Your PC Need One?
For a first try, the tags near the top of the table (around 2–5 GB) are plenty.
By contrast, with tools like Claude Code and Codex that run the model on a server, PC performance only affects how fast local commands run and how much memory is free. The time the AI spends thinking does not change (Claude Code and Codex: PC specs you need).
4. How to Start — Picking a Tool and Your First Run
If you want to go deeper with Ollama, see our complete Ollama guide (commands, API, customization).
Pick one of two go-to tools depending on your style.
LM Studio (for beginners)
A polished desktop app. Pick a model from the list, download it, and start chatting. No programming needed — it looks and feels like ChatGPT. If you're just getting your feet wet, start here.
Ollama (for developers)
A lightweight command-line tool. A single line, ollama run gemma4, takes you from downloading the model to chatting with it. It also has an API, which suits anyone who wants to wire it into their own app.
Both are free and run on Windows, Mac, and Linux. There are others too — Jan, Open WebUI, llama.cpp. If you prefer clicking to typing, install LM Studio and download one small model — that's the fastest way in. If the command line doesn't scare you, the Ollama steps below get you running in minutes.
Running your first model with Ollama
Here we follow the steps in Ollama's official README and docs, from installation to checking that it works (as of September 30, 2026). For the full command list and finer details, see the commands section of our Ollama guide; here we stick to the four things you need the first time.
1. Install. On macOS and Linux, run this line in a terminal:
curl -fsSL https://ollama.com/install.sh | sh
On Windows, run this line in PowerShell:
irm https://ollama.com/install.ps1 | iex
If you'd rather not pipe a script from the internet straight into your shell, the official manual downloads work too (Ollama.dmg for Mac, OllamaSetup.exe for Windows, and the manual install steps for Linux). For Docker, there's the official ollama/ollama image (Ollama README).
2. Run a model. Like the first example in the README, let's run Gemma 4. If the model isn't on your machine yet, it's downloaded first, then the chat starts.
ollama run gemma4
The default gemma4 tag is 6.6–9.5 GB. If memory is tight, name a smaller tag instead, such as ollama run gemma4:e2b or ollama run llama3.2 (2.0 GB).
3. Check that it's running. In another terminal, run the command below to see the loaded model and its PROCESSOR column (GPU or CPU). As noted in section 3, "100% GPU" is what you want.
ollama ps
4. Clean up. ollama stop gemma4 unloads it from memory, and ollama rm gemma4 deletes it when you no longer need it. Models live in ~/.ollama/models on macOS, /usr/share/ollama/.ollama/models on Linux, and C:\Users\%username%\.ollama\models on Windows; you can change this with the OLLAMA_MODELS environment variable (Ollama FAQ).
⚠️ Models tagged ":cloud" don't run on your machine: Ollama also offers cloud models such as gemma4:cloud. These run in Ollama's cloud and require signing in (Ollama's cloud docs). Ollama says it processes prompts and responses to answer your requests and doesn't use them for training. Even so, if your goal is to keep data on your own machine, check that the tag doesn't end in :cloud before you use it.
5. How to Choose a Model (Examples as of September 2026)
Models turn over quickly, so it pays to learn the criteria before the names: (1) does it fit in your memory (the table in section 3), (2) do you need image or audio input, (3) is it strong at what you need, such as your language or code, and (4) is it still being updated? You can check names, sizes, and update dates in Ollama's model library. Representative examples as of September 30, 2026:
Llama 3.1 (8B)
The most-pulled model in Ollama's library, with 120 million pulls in total. At 4.9 GB it runs on mid-range PCs. Note that it was last updated a year ago. For low-memory PCs, go with Llama 3.2, which comes only in 1B (1.3 GB) and 3B (2.0 GB).
Meta Muse Glimmer (30B)
One of Meta's open-weight models: a small one for local PCs, released in August 2026. A 30B dense model distilled from Muse Spark, it reads text and images and answers in text. Context is 128K and the license is Apache 2.0 (Meta's documentation). Ollama's default tag, muse-glimmer, is the Q4_K_M build at 18 GB (tag list, as of October 5, 2026). Meta says its own Q4_K_M GGUF (about 17 GB) fits under 24 GB of VRAM (Get the model). Llama 3.1 is still distributed and is enough for a small PC, but this is Meta's small open model. On October 15, an 816B-parameter large version, Muse Spark Open, was also released, but its weights are about 537 GB even at 4-bit, so it can't run on a personal PC. Ollama only offers it as a cloud-hosted tag (muse-spark-open:cloud) (as of October 18, 2026).
Google Gemma 4
The model Ollama's README uses as its first example. It comes in five sizes — E2B, E4B, 12B, 26B, and 31B — and all of them can read images. Only the small E2B and E4B support audio.
Alibaba Qwen3.8
Advertised as improved for coding and long, multi-step agentic work. Ollama carries only one size, 27B (18 GB, 256K context, image input), so it suits PCs with memory to spare.
DeepSeek, Mistral, etc.
DeepSeek-R1 comes in many steps from 1.5B to 671B and is a reasoning model that thinks before answering. Mistral comes in a single 7B size. Pick by use case and memory.
The trick is to go step by step: try one smaller tag, confirm with ollama ps that it's on the GPU, and move up one size only if it falls short. Just as with our cloud AI comparison, the only way to know if a model fits your use is to try it.
6. Local vs. Cloud: When to Use Which
For a deeper look at the differences, performance gap, and how to choose between local and cloud, see our article on the local LLM vs cloud LLM comparison.
Local and cloud aren't an either/or — the smart move is to split them by role.
- Local is a fit for: handling confidential data, high-volume or repetitive tasks, offline environments, and routine work where you want to keep costs down.
- Cloud is a fit for: hard problems that need top accuracy, research that needs up-to-date information, and heavy coding — where the top-tier models like ChatGPT, Claude, and Gemini shine.
For example, "do drafts, classification, and summaries locally for free, and send only the final polish or the hard parts to the cloud" works well. Keep in mind that "free" refers to API fees: you still pay for electricity and hardware. If your volume is small, the cloud can come out cheaper — which one wins flips with how much you use it.
Summary
Three takeaways on local LLMs.
- What it is: running an AI model on your own PC. Data never leaves, with no API fees and no offline limits.
- How to start: LM Studio for beginners, Ollama for developers (install with the official script, run
ollama run, and check withollama psthat it's on the GPU). Begin with a small tag of around 2–5 GB. Quantization (Q4_K_M) shrinks a model to about 30% of its fp16 size. - When to use: the cloud is smarter. Use local for confidential, high-volume, and offline work, and the cloud for hard problems — combining both is best.
Start by installing LM Studio and running one small model. The experience of "AI talking entirely inside your own PC" is more refreshing than you'd expect. If you want to understand the mechanics, see how LLMs work too.
FAQ
Q. Will it run on an ordinary laptop?
A. Small models will. In Ollama's library, llama3.2:3b is 2.0 GB and llama3.1:8b is 4.9 GB (as of September 30, 2026), and memory for the context comes on top of that while running. LM Studio officially recommends 16 GB of RAM or more. Start with a small tag, check with ollama ps that it's on the GPU, and then move up in size.
Q. Is a local LLM smarter than ChatGPT?
A. At peak accuracy, the top-tier cloud AIs (the higher-end ChatGPT and Claude models) are ahead. A local LLM's strength isn't raw smarts but privacy, cost, and offline use. For the right purpose, it's plenty practical.
Q. Is it completely free?
A. The tools and the open models are free, and there are no API fees. All you pay is electricity and, if needed, the upfront cost of a PC or GPU. The more you use it, the cheaper each run becomes. Note, though, that Ollama models tagged :cloud run in Ollama's cloud, which is a different thing from running locally on your own machine.
Q. How much quality is lost to quantization?
A. The file shrinks to about 30% of its fp16 size (16 GB → 4.9 GB for Llama 3.1 8B). How much quality drops depends on the model and the task, so start with Q4_K_M (the build llama3.1:8b gives you) and, if in doubt, compare its answers with the same model's q8_0 build (8.5 GB for Llama 3.1 8B).