Say you're about to paste a customer contract into a chat window to get a summary, and you hesitate. Where does this text go? Who keeps it, and for how long? Running the model on your own machine makes the first answer easy: nowhere, if it's set up right. The other questions take a bit more work.
This post covers what a local LLM actually protects, the setup details that undo it without anyone noticing, what it costs in hardware and quality, and a sensible way for a team to start.
What "local" actually means
A local LLM runs on hardware you control: a laptop, an office workstation, an internal server or a private cloud account. Tools like Ollama, llama.cpp and LM Studio (the common names as of November 2026) download open-weight models and run them right there. The prompt, the documents you retrieve and the answer don't have to reach any model vendor.
Ollama puts it plainly in its FAQ: "Ollama runs locally. We don't see your prompts or data when you run locally" (Ollama FAQ, checked November 2026). That changes your risk picture. Fewer outside processors touch the data, there's no vendor retention policy to read, and no vendor training policy to worry about.
For a team, that clarity lowers the barrier to trying things. People are far more willing to summarize internal tickets, search engineering notes or ask questions about a private codebase when they know the data stays inside.
Where data still gets out
"Local" describes where inference runs. Privacy describes the whole workflow, and four gaps show up again and again:
- Cloud features inside local tools. As of November 2026, Ollama also offers cloud-hosted models. For those, Ollama says it processes prompts and responses to run the service and doesn't store, log or train on them. That may be fine for you, but the request does leave your machine. If you want a hard line, Ollama documents a local-only mode: set
OLLAMA_NO_CLOUD=1, ordisable_ollama_cloudin~/.ollama/server.json, then restart (Ollama FAQ). - An API open to the network. Ollama binds to
127.0.0.1:11434by default, so only your own machine can call it. SettingOLLAMA_HOST=0.0.0.0so the team can share it also exposes it to everything that can reach that machine. Put access control in front before you do that. - Output that travels. If the local model summarizes customer details and someone pastes the summary into a public ticket or a hosted chat app, the data left anyway. OWASP ranks sensitive information disclosure second in its 2025 Top 10 for LLM applications, and the entry spends much of its time on what models reveal in their output (OWASP LLM02:2025).
- Logs and caches. Chat histories, retrieval indexes and debug logs now hold copies of sensitive text. They need the same access rules and retention as the source data.
Before you call a setup private, trace one sensitive document end to end: where it's read from, where the prompt goes, where the answer shows up, and where it gets logged or copied. Every arrow that crosses your boundary should be a decision someone made on purpose.
What it costs in hardware and quality
Going local swaps per-token API bills for hardware, setup time and upkeep. Two published numbers give a feel for the range. OpenAI's open-weight gpt-oss-20b is built to run within 16 GB of memory, while gpt-oss-120b needs a single 80 GB GPU such as an NVIDIA H100 (openai/gpt-oss, checked November 2026). A laptop with 16 GB of memory or more can handle the first one. The second is server territory.
Quantized models store their weights at lower precision, which cuts memory further at some cost in quality. How much quality depends on the model and the task, so measure it on yours. Watch the context window too. Ollama picks a default based on GPU memory: 4k tokens under 24 GiB of VRAM, 32k between 24 and 48 GiB, and 256k at 48 GiB or more (Ollama docs, checked November 2026). On a typical laptop, a long contract may not fit in 4k tokens, so raise OLLAMA_CONTEXT_LENGTH or split the document before you blame the model.
Then there's quality. Model size still matters. The biggest hosted models don't fit on a laptop, and you'd feel that gap most on long reasoning chains, multi-step coding and tool use. A smaller model can be perfectly good at rewriting text, extracting fields, classifying messages and answering narrow questions from documents you hand it. The only reliable way to know which side a job falls on is to test it with your own tasks.
A sensible way to start
Pick a job where the privacy risk is real, the quality bar is easy to judge and the win is visible. Good first candidates:
- Search over internal docs or runbooks, with every answer linking to the page it came from.
- Summaries of private meeting notes or incident timelines.
- Q&A over a codebase that isn't allowed to leave the company.
- Field extraction or tagging on support messages that contain personal data.
Keep a small evaluation set: a few dozen real questions with answers your team agrees are right. Run each candidate model against it, write down where it fails, and decide which outputs need a human check. Rerun the set whenever you change the model or its settings.
Retrieval often matters more than model size here. A small model that gets the right three paragraphs can beat a big one answering from memory. The hard parts of a private RAG setup are freshness, permissions (nobody should retrieve a document they couldn't open directly), chunk quality and showing citations. There's more in RAG Basics.
Local, hosted, or both
Most teams end up with both, plus a routing rule. Hosted models take work where quality and managed tooling matter most and the data is cleared to leave. Local models take data that can't leave, offline use and free experimenting. Write the rule down on one page, organized by data class.
Bring security in early and keep the conversation practical: name the data classes, pick the allowed environments, set retention, decide which logs are safe. OWASP's LLM02 guidance includes least-privilege access and scrubbing sensitive data before it reaches a model, which fits that list well. Then make the approved path easier than the risky one. If the safe workflow is painful, people will route around it, and a local model nobody uses protects nothing.
Try this week
- Trace one sensitive document through your current AI setup and mark every point where it leaves your boundary.
- If you run Ollama, check whether cloud models are enabled and what
OLLAMA_HOSTis set to. - Pick one internal task and write 20 test questions with answers the team agrees on.
- Run a local model and your current hosted model on the same set and compare.
- Draft a one-page routing rule: which data classes may go to which kind of model.