# Is local AI private? What Ollama, LM Studio and llama.cpp send, and how to check your own machine

> None of the three sent anything out while handling a prompt. LM Studio still checks for updates and Ollama contacts ollama.com. Here's how to check and lock down yours.

Published 2026-11-29 · https://smarterthanus.ai/local-ai-network-traffic-ollama-lm-studio-llama-cpp/

## TL;DR

- In a 24 November 2026 test on a Mac, Ollama, LM Studio and llama.cpp made **0** outside connections while handling a prompt (LM Studio was tested with an embedding model only).
- LM Studio contacted **2** outside addresses (Cloudflare, serving lmstudio.ai) at launch (an update check); Ollama contacted **1**, ollama.com, when its window came up.
- All three listen only on **127.0.0.1** by default; the risk starts when you change that or switch on cloud features.
- Ollama has a local-only switch (`OLLAMA_NO_CLOUD=1`), llama.cpp has `--offline`, and LM Studio's chat and local server work offline once the model is downloaded.

Your prompts stay on your machine. In a traffic test run on 24 November 2026, Ollama, LM Studio and llama.cpp made **zero** outside connections while handling a prompt (LM Studio was tested with an embedding model only). That doesn't make them silent: LM Studio checks for updates, and Ollama contacted ollama.com at the moment it checked whether the user was signed in. Your setup can also leak in ways the test never looked at, through cloud models, web search, or a server you opened to the network by mistake. Below is what was seen, what each vendor says it collects, and the commands to check and lock down your own machine in about ten minutes.

## What the test saw

[Kingy AI](https://kingy.ai/blog/is-local-ai-private/) ran all three on a MacBook Pro (M4 Pro, 24 GB, macOS 26.3): Ollama 0.40.17 and llama.cpp build 12359 with the same Qwen3-4B file, and LM Studio 0.4.28 with an embedding model. A script read each app's open connections with `lsof` four times a second, and `nettop` checked the traffic counts.

| App | Prompt run watched | Outside addresses during the prompt run | At launch or window open | Where to |
|---|---|---|---|---|
| Ollama | 8.1 s, plus 60 s idle before and after | **0** | **1** address, when the app window came to the front | ollama.com (encrypted); the sign-in check got "401, not signed in" |
| LM Studio | 0.2 s, plus 30 s before and after | **0** | **2** addresses, about 3–4 s after `lms server start` | Cloudflare addresses serving lmstudio.ai, which looks like the update check |
| llama.cpp | 3.5 s, plus 30 s after | **0** | **0** (about 35 s watched in all) | nothing |

The counts are distinct outside addresses: Kingy counted each address once, however many times an app connected to it.

Read the result for what it is: one Mac, one day, one short prompt per app. A connection shorter than a quarter of a second could slip between samples. Traffic handed to a separate system process wouldn't show, and encrypted connections show where data went, not what was in it. Windows, Linux, LM Studio chat models, sign-in and Ollama's cloud models weren't tested. It's a good snapshot, not an audit.

## What each vendor says it collects

The test matches what the vendors write, and their documents fill in what a packet count can't.

| | Prompts and chats | What does go out | Updates |
|---|---|---|---|
| **Ollama** | "We don't see your prompts or data when you run locally" ([FAQ](https://docs.ollama.com/faq)) | "limited device and usage metadata (such as app version and request counts)", diagnostic metadata, model download metadata ([privacy policy](https://ollama.com/privacy), March 2026) | macOS and Windows download updates automatically |
| **LM Studio** | Stay on your device; the app "does not include telemetry" ([privacy policy](https://lmstudio.ai/app-privacy), 19 Oct 2026) | Update checks send app version and OS (and your IP, via the CDN); model search sends "anonymized search queries" | In-app updater on macOS and Windows checks for new versions |
| **llama.cpp** | Open source, runs what you start | Only what you ask for: `-hf` downloads from Hugging Face, `--connect` opens a peer-to-peer tunnel (off by default) | You update it yourself |

The line worth noticing is Ollama's **request counts**. The policy doesn't say whether the local app reports them. It's metadata, not content, but it's the one item in the three documents that touches how much you use a model.

Both apps have cloud features too. Ollama's cloud models run on Ollama's servers, which "process your prompts and responses" but don't store them, per the FAQ, and its web search is a cloud feature too. LM Studio's paid cloud features are processed "transiently", per its policy. Either way, using them means your prompt leaves the machine.

## The bigger risk: who can reach your server

What goes out is only half of it. The other half is what can get in. All three listen only on the machine itself by default:

- **Ollama:** `127.0.0.1:11434`, changed with `OLLAMA_HOST`.
- **LM Studio:** `127.0.0.1` for `lms server start`, changed with `--bind`. The "Serve on Local Network" switch in the server settings opens it to your network.
- **llama.cpp:** `127.0.0.1:9931`, changed with `--host`. There's no API key unless you set `--api-key`.

Tutorials often tell you to set `0.0.0.0` so a phone or another PC can connect. That puts your model, and anything it can do, in front of every device on the network, with no password unless you add one. On café or office Wi-Fi, that's a lot of devices.

One more for llama.cpp: by default its server [accepts browser requests from any website](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md#cors), so a page open in your browser could send prompts to it. The README calls that fine while the server is read-only. It switches to localhost-only once you turn on its file tools (`--tools` or `--agent`). Adding `--cors-origins localhost` costs you nothing.

## Check your own machine

Start the app, load a model, send a prompt, then run these. They list only connections that are open right now, so run them a few times, including straight after launch.

**macOS** (outside connections, then what's listening):

```bash
sudo lsof -nP -i | grep -iE 'llama|lm'
sudo lsof -nP -iTCP -sTCP:LISTEN | grep -iE 'llama|lm'
```

**Linux:**

```bash
sudo ss -tunp | grep -iE 'llama|lm'
sudo ss -tlnp | grep -iE 'llama|lm'
```

**Windows** (PowerShell as administrator):

```powershell
Get-NetTCPConnection -State Established | Where-Object { (Get-Process -Id $_.OwningProcess).ProcessName -match 'llama|lm' }
Get-NetTCPConnection -State Listen | Where-Object { (Get-Process -Id $_.OwningProcess).ProcessName -match 'llama|lm' }
```

The `lm` filter will catch some unrelated processes; ignore those. In the listening list, `127.0.0.1` or `::1` is what you want. `*`, `0.0.0.0` or `::` means the server is open to your network. In the connection list, any remote address that isn't `127.0.0.1` is going out. Look it up, or watch it with an outbound firewall that asks before each new connection, such as [LuLu](https://objective-see.org/products/lulu.html) on macOS or [OpenSnitch](https://github.com/evilsocket/opensnitch) on Linux. Both are free and open source.

## Lock it down, app by app

**Ollama.** Turn on local-only mode. Create `~/.ollama/server.json` with this and restart Ollama:

```json
{ "disable_ollama_cloud": true }
```

Or set `OLLAMA_NO_CLOUD=1` in the service's environment. On Linux, run `sudo systemctl edit ollama`, add `Environment="OLLAMA_NO_CLOUD=1"` under `[Service]`, then run `sudo systemctl daemon-reload` and restart the service. The log should then say `Ollama cloud disabled: true`. You lose cloud models and web search. Updates still download automatically on macOS and Windows; the FAQ doesn't document an off switch, so block ollama.com in your firewall if that matters to you. Stay signed out unless you use a cloud feature, and leave `OLLAMA_HOST` alone.

**LM Studio.** Download your models, then go offline. Chat, chat with documents and the local server [all work without a connection](https://lmstudio.ai/docs/app/offline); only model search, downloads, runtime downloads and updates need the internet. You can also sideload models you got elsewhere. Keep "Serve on Local Network" off, and turn on "Require Authentication" if you ever switch it on.

**llama.cpp.** It's the quietest of the three, and you can make it say so:

```bash
llama-server -m ./model.gguf --offline --host 127.0.0.1 --cors-origins localhost
```

`--offline` forces the cache and prevents network access, so a stray `-hf` won't download anything. If you have to serve on the network, add `--api-key` and don't use `--tools`. The README warns against enabling them "in untrusted environments".

Picking a runner for the model itself rather than for privacy? Our guide to [running Qwen3.8-Flash-Next locally](https://smarterthanus.ai/run-qwen3-8-flash-next-locally-gguf/) covers which GGUF fits your memory, and the [Raspberry Pi 5 setup](https://smarterthanus.ai/copilot-cli-offline-raspberry-pi-5-ai-hat-2/) shows a fully offline coding assistant from end to end.

## Sources

- [Ollama FAQ](https://docs.ollama.com/faq)
- [Ollama Privacy Policy (March 2026)](https://ollama.com/privacy)
- [LM Studio Desktop App Privacy Policy (19 October 2026)](https://lmstudio.ai/app-privacy)
- [LM Studio docs: Offline operation](https://lmstudio.ai/docs/app/offline)
- [LM Studio docs: lms server start](https://lmstudio.ai/docs/cli/serve/server-start)
- [LM Studio docs: Server settings](https://lmstudio.ai/docs/developer/core/server/settings)
- [llama.cpp server README](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md)
- [Kingy AI: Is local AI private? We watched Ollama and LM Studio's traffic](https://kingy.ai/blog/is-local-ai-private/)
