Guide
Local LLM: How to Run a Model on Your Own Computer So No One Else Sees Your Prompts
A model running on your own laptop or desktop can answer without your words ever leaving the machine. Whether they actually stay there depends on the app you run it in and a handful of settings.
Private AI Review guide · Last reviewed
What a local LLM is, and why it is the most private option
A local LLM is an open-weight language model that you download once and run on your own computer. Your prompt goes from the app you type into, to the model in your computer's memory, and back. No vendor's server is in that path, so there is no company that receives, logs, reviews or trains on what you ask.
That is a stronger guarantee than any privacy policy can give: nobody else can read a prompt that never leaves your machine. It is why on-device inference sits at the top of the five options in Private LLM: the five ways to run one.
The guarantee has two conditions. The app must not send your text anywhere (through telemetry, cloud models, web search or sync), and the computer itself must be one only you control. The rest of this guide is about meeting both.
The main apps for running an LLM locally
Most people run local models through one of four tools. All four can work fully offline once a model is downloaded, and several now also offer optional cloud features, which is where privacy can quietly slip. The table sets out what each is and what to check; the projects change often, so confirm details against their current documentation.
| App | What it is | Source code | What to check for privacy |
|---|---|---|---|
| Ollama | Command-line tool and background server, with desktop apps for macOS and Windows; pulls models by name from its library | Open source (MIT) | It also offers cloud models that run on Ollama's servers. Turn its cloud features off to stay local-only |
| llama.cpp | The C/C++ inference engine many other apps are built on; runs GGUF model files and includes llama-server | Open source (MIT) | Nothing is sent out by the engine itself; check any front end you put on top of it |
| LM Studio | Desktop app for browsing, downloading and chatting with models, with a local API server | Closed-source app | Its privacy policy says local chats stay on your device; paid cloud models and web search send requests to its providers |
| Jan | Desktop chat app built on llama.cpp, with a local OpenAI-compatible server | Open source (Apache 2.0) | It can also connect to cloud providers such as OpenAI and Anthropic; a chat sent to one of those is not local |
Which one to start with
- You want a chat window and don't use a terminal: LM Studio or Jan. Both let you search for a model, download it and start chatting in the same app.
- You want other tools (a code editor, a notes app, a script) to use the model: Ollama runs as a server on your machine that those tools can call. Our walkthrough of configuring local LLM inference with Ollama covers its settings for sensitive work.
- You want the fewest moving parts, or an older or unusual machine: llama.cpp directly, which runs on CPUs alone as well as on GPUs and Apple silicon.
- You want to be able to read every line that touches your prompts: choose an open-source app (Ollama, llama.cpp or Jan) over a closed-source one.
- On an iPhone or iPad: apps that run models on the device exist, such as Private LLM. Check each app's privacy label and whether it offers any cloud fallback.
What hardware a local LLM needs
Memory decides which models you can run. The model's weights have to fit in your graphics card's memory (VRAM), or in system memory on a computer without a dedicated GPU, with room to spare for the conversation itself. A rough estimate of the weights is the parameter count times the bytes per parameter: about 2 bytes at 16-bit precision, 1 byte at 8-bit and about half a byte at 4-bit quantization, which is what most local apps download by default.
By that arithmetic, a 3-billion-parameter model at 4-bit needs about 2 GB for its weights, an 8-billion-parameter model about 4 to 5 GB, and a 70-billion-parameter model around 35 to 40 GB. Longer conversations and longer documents need more memory again, for the context the model keeps as it reads (the KV cache).
Macs with Apple silicon share one pool of memory between the processor and the graphics, so a Mac with plenty of memory can hold larger models than a PC graphics card with the same price tag might; see on-device AI inference on Apple silicon. On a Windows or Linux PC, an NVIDIA or AMD graphics card speeds answers up a great deal, but small models also run, more slowly, on the processor alone.
As a rule of thumb from one of the apps, Jan's system requirements suggest 8 GB of memory for 3B models, 16 GB for 7B and 32 GB for 13B on a Mac. Most apps show whether a model will fit before you download it; for exact sizes, read the file sizes on the model's download page.
Choosing and verifying a model
Local apps run open-weight models: families such as Llama (Meta), Gemma (Google), Qwen (Alibaba), Mistral and OpenAI's gpt-oss, each published in several sizes. Bigger is usually better at reasoning and writing, and slower; the right size is the largest that fits comfortably in your memory and answers fast enough for you. Test two or three on your own tasks rather than relying on a leaderboard, since results vary by task and by quantization.
Two things to check before you rely on one. First, the license: open-weight does not always mean free for any use, and each family sets its own terms, so read the license on the model's official page if you will use it for work. Second, where the file came from: download from the publisher's official page, Hugging Face organization or your app's built-in library, and compare checksums where they are published. Supply chain integrity for AI model artifacts with SLSA explains why that matters.
Whether a local model is good enough to replace a hosted assistant depends on the work. Matching ChatGPT capability without exposing your prompts looks at where open-weight models hold up and where they don't.
Settings that keep a local LLM local
A local model only keeps prompts private if nothing around it sends them out. Go through these before you put anything sensitive into it.
- Cloud models: in Ollama, cloud models run on Ollama's servers, not yours. To make it local-only, set OLLAMA_NO_CLOUD=1 or add "disable_ollama_cloud": true to ~/.ollama/server.json, as its FAQ explains, then restart it. In LM Studio and Jan, only pick models marked as local, and remove any cloud provider keys you don't need.
- Web search and connectors: features that search the web or read your email or documents send text to outside services. Leave them off unless you have read where the text goes.
- Network exposure: Ollama listens only on 127.0.0.1 port 11434 by default, so only your own computer can reach it, and its API has no password. Don't change OLLAMA_HOST or turn on an app's "serve on local network" option unless you mean to share the model, and never expose it to the internet.
- Browser extensions and other apps: anything on your computer that can call the local server can read the answers it returns. Only allow the extensions and tools you trust.
- Chat history: conversations are saved as files on your disk. Turn on full-disk encryption (FileVault on macOS, BitLocker on Windows), and check that the app's data folder is not being synced to a cloud drive or included in cloud backups you don't control.
- Telemetry and updates: check each app's settings and privacy policy for analytics and crash reporting. Update checks and model downloads do reach the internet; a firewall that blocks the app's outbound traffic after setup is the strictest option, at the cost of updates.
- The rest of the machine: the operating system, keyboard and clipboard tools, and screen-recording features can see what you type. Running AI conversations with zero telemetry exposure on consumer hardware covers those.
What a local LLM does not protect against
Running locally takes the AI vendor out of the picture. It does not protect against malware on your computer, someone with access to your unlocked machine, or a work laptop that your employer's IT team manages and monitors. On a managed device, assume your administrators can see what the device can see.
It also stops at one person and one machine. If a team needs to share a model, it becomes a server, with the accounts, logging and retention decisions that come with one: that is the self-hosted LLM guide. If you need a model larger than your hardware can run, the private LLM guide compares the options that keep a cloud-hosted model's operator from reading prompts, including confidential computing.
Frequently asked questions
Does a local LLM work without internet?
Yes, once the app and model are downloaded. Answers are generated entirely on your computer. You need a connection only to download models and updates, or if you turn on cloud models, web search or other online features.
Is a local LLM completely private?
It is private from AI vendors, because your prompts never reach one. It is only as private as your computer, though: chat history is stored on your disk, and cloud features, synced folders, extensions or malware can still expose it. The settings in this guide close those gaps.
Is running an LLM locally free?
The open-source apps (Ollama, llama.cpp and Jan) cost nothing, and many open-weight models can be downloaded at no charge. Check each model's license before using it for work, and each app's terms for its paid or cloud features. The real cost is hardware: memory and, for speed, a capable graphics card or Apple silicon.
Can a local LLM be as good as ChatGPT?
For many everyday tasks, such as drafting, summarizing and answering questions about a document you paste in, a well-chosen local model can be good enough. The largest hosted models still tend to do better on hard reasoning and long, complex work, and the biggest open-weight models need more memory than most personal computers have. Test on your own tasks.
What is the difference between a local LLM and a self-hosted LLM?
A local LLM runs on your own laptop or desktop, usually for one person. A self-hosted LLM runs on servers an organization controls and is shared by a team. See the self-hosted LLM guide for that setup.


