A desktop displays Ollama analyzing a locked PDF locally, with security graphics blocking connections to cloud services and the internet.
Running an AI model on your own PC has become the go-to answer for anyone uneasy about pasting tax returns, source code, or client contracts into a cloud chatbot. There is just one catch: clicking an app icon that says "local AI" does not automatically guarantee your prompt stays inside your PC case. As NeoTeo highlighted in an examination of local AI privacy practices, the software name on your taskbar no longer tells you where inference actually happens when the same application can route requests either to your GPU or to a remote datacenter.

That ambiguity matters most in tools like Ollama, which helped popularize desktop model hosting on Windows, macOS, and Linux before adding cloud-hosted models alongside local downloads. If you want confidential PDFs, internal memos, or proprietary Windows scripts to stay strictly on your own machine, you have to understand three separate boundaries: where the model executes, what metadata the software still handles, and why keeping data off the internet still will not stop an AI model from confidently inventing nonsense.

A desktop displays Ollama analyzing a locked PDF locally, with security graphics blocking connections to cloud services and the internet. What Local Inference Actually Changes—and What It Doesn't​

At its core, local inference shifts computation from a vendor's remote cluster to your personal PC or self-managed workstation. After a model is downloaded, requests pass locally—in Ollama's case, through a server listening on 127.0.0.1 port 11434 by default rather than an external inference endpoint. That architectural shift eliminates the need to transmit your prompts and attached documents across the internet to get an answer.

However, "local" describes where the model generates tokens, not an automatic blanket of invisibility across your entire operating system or application stack. An app that supports hybrid workflows can present local and remote models side by side in the very same interface. Even when inference itself stays offline, surrounding software layers—account sign-ins, update checks, diagnostic telemetry, third-party coding agents, or simple endpoint misconfigurations—still define your real privacy posture.

Section takeaway: Local inference removes a remote AI provider from your prompt path only when you verify that a locally stored model, not a cloud-tagged endpoint, is handling the request.

Inside Ollama's Split Policy: Local Content, Metadata, and Cloud Models​

Ollama's own documentation draws a sharp line between local execution and its cloud-model option, which the company introduced in preview on September 19, 2025, for running massive models on datacenter-grade hardware that would never fit on a typical desktop PC. According to Ollama's Privacy Policy (last updated March 2026) and its official Cloud FAQ, those two paths carry distinct data-handling terms.

Data or processing dimensionLocal processing through OllamaOllama cloud models
Where inference runsOn your own device (127.0.0.1:11434 by default)On remote servers via ollama.com compute (requires sign-in)
Prompts and responsesOllama states it does not collect, store, transmit, or access local contentOllama states a zero data retention (ZDR) policy: content is processed transiently to fulfill requests, not stored or logged, and never used for training
Device and usage metadataOllama states it may collect limited metadata (such as app version and request counts), excluding prompt and response contentPolicy covers account, payment, communications, and automatically collected device, IP/location, browser, diagnostic, and usage data

A careful reading of Ollama's March 2026 Privacy Policy shows why precision matters here. First, all retention and non-training commitments for cloud models are Ollama's stated policy terms—not an independently audited technical guarantee—and the policy notes that personal data may be transferred to and processed in the United States. Second, even if you never touch a cloud model, "local" does not mean zero telemetry of any kind. Ollama's automatically collected data list includes technical device and browser characteristics, IP address and general location, operating system, language preferences, referring URLs, device name, country, cookies, diagnostic metadata, and model-download metadata, alongside account details if you register.

Section takeaway: Ollama's policy separates prompt content from service metadata, and separates local execution from transient cloud processing—meaning you should never treat "runs locally" as shorthand for "collects nothing at all".

How to Lock Down Ollama to Local-Only Mode on Windows​

Because Ollama serves both local weights and :cloud or -cloud models through the same application and localhost:11434 API, relying on habit is a risky security strategy. One careless dropdown click—or a coding assistant calling a remote model tag—can send data off your PC if you are signed in. Fortunately, Ollama's source code (v0.16.2 and later) and Local FAQ document two explicit kill switches to enforce local-only operation.

Method 1: Edit Ollama's server.json Configuration File​

Ollama's server configuration loader checks the current user's home directory for a .ollama folder containing server.json. On Windows, that resolves under your user profile folder (C:\Users\<username>\.ollama\server.json or %USERPROFILE%\.ollama\server.json).

  1. Create or open server.json inside your .ollama directory.
  2. Add the following JSON setting (note that turning off the Cloud toggle in Ollama's desktop app settings writes this same configuration):
Code:
{
  "disable_ollama_cloud": true
}
  1. Completely quit and restart Ollama so the server reloads the configuration.

Method 2: Set the OLLAMA_NO_CLOUD Environment Variable on Windows​

If you prefer an OS-level safeguard that works regardless of profile file edits, Ollama's Local FAQ documents setting OLLAMA_NO_CLOUD=1 using Windows' built-in environment variable editor:

  1. Quit Ollama completely by clicking its icon in the Windows taskbar and closing it.
  2. Open Settings on Windows 11 (or Control Panel on Windows 10) and search for environment variables.
  3. Select Edit environment variables for your account.
  4. Create a new user variable named OLLAMA_NO_CLOUD and set its value to 1.
  5. Click OK or Apply to save your changes, then launch Ollama again from the Windows Start menu.

Verify the Lock—and Understand the Trade-Offs​

After restarting, inspect Ollama's startup log: the official Local FAQ states you should see the line Ollama cloud disabled: true. If any script or agent subsequently tries to query a :cloud model, Ollama blocks it with an error rather than silently routing your prompt out to the internet.

There are two critical caveats to keep in mind:

  • Web search stops working too: Ollama explicitly notes that disabling cloud features turns off both cloud models and Ollama's built-in web search capability.
  • Guard your loopback port: Leave OLLAMA_HOST at its 127.0.0.1:11434 default unless you intentionally deploy an authenticating reverse proxy or VPN. Ollama's local API has no built-in authentication, so binding it to 0.0.0.0 exposes your local models—and any signed-in cloud credits—to the wider network.

Section takeaway: Either disable_ollama_cloud in server.json or OLLAMA_NO_CLOUD=1 in Windows environment variables forces Ollama into verifiable local-only mode, at the intentional cost of losing cloud models and web search.

Putting It Into Practice: Analyzing a PDF Locally on Windows 11​

To see what a genuine local document workflow looks like on a Windows PC, YouTube educator Kevin Stratvert published a step-by-step Windows 11 walkthrough on November 5, 2026, demonstrating local chat, PDF analysis, and file creation without an account or paid subscription.

His setup highlights the exact pitfall privacy-minded Windows users need to watch out for:

  1. Skip the cloud account prompt: During installation on Windows 11, Stratvert chose No thanks, I'll use Ollama locally when prompted to create an account.
  2. Check the model icon before typing: Even after skipping account creation, Ollama initially selected a cloud model in his setup. Opening the model selector revealed two distinct icons—a cloud icon indicating remote execution that requires an account, and a download icon indicating models that download and run directly on your PC.
  3. Start with a right-sized local model: Stratvert selected Alibaba's Qwen 3.5 4B, a compact model suited to typical Windows PCs, noting that larger alternatives like Gemma 4 or Qwen 3 8B handle harder tasks but demand substantially more RAM and compute.
  4. Query the PDF locally: Starting a fresh chat, he verified the local model was active, dragged a customer-feedback PDF directly into the Ollama window, and asked it to identify the top three complaints and suggest fixes. Once the initial model download finished, the workflow could operate offline.

Stratvert also demonstrated connecting Ollama to OpenCode so the local model could generate actual HTML files inside a local Windows project folder. That step is a helpful reminder for power users: whenever you attach external coding tools or agents to a local model, you should still inspect which folders and shell permissions those tools hold on your machine.

Section takeaway: Dragging a PDF into Ollama on Windows 11 keeps document analysis on your PC only after you verify a downloadable local model is active instead of a cloud-icon entry.

Local Execution Still Can't Fix Hallucinations—or Physical Access​

Privacy and accuracy are two completely different engineering problems. Keeping a model trapped inside your workstation guarantees that no external AI vendor reads your document, yet it does nothing to stop the model from misreading the text or fabricating facts.

A vivid example comes from WIRED's reporting on a local-AI test conducted on a borrowed Box AI workstation. The reporter loaded more than 3,000 pages of public federal court PDFs from Kadrey v. Meta and Musk v. OpenAI—totaling over 40 million tokens, which Qwen (Qwen 3.8 Flash-Next) estimated was roughly 150 times larger than it could hold in memory at once. Instructed not to touch the internet, the model had to chew through the filings in batches.

Things went sideways almost immediately. Instead of using a standard PDF reader, the model tried to code its own PDF reader from scratch, forcing the reporter to intervene. Worse, it then hallucinated that it was working for someone named "Laura Elliott," whom it falsely identified as the CEO of OpenAI—a name that appeared nowhere in the court records and had no connection to the workstation's owner. Only after deleting the session and restarting did a subsequent run produce 25 usable quotes from the filings.

Just as telling was the reporter's operational precaution: because the demo Box machine eventually had to be shipped back, nothing genuinely confidential was ever placed on it. That anecdote is not a statistical benchmark proving local models are less reliable than cloud models; rather, it is a blunt reminder that owning the inference stack means owning both the quality control and the physical device security.

Section takeaway: Local AI protects transmission boundaries, not truth—you still have to verify critical outputs against source PDFs and protect the disks, backups, and user accounts storing your data.

The Bottom Line for Windows Users​

Local AI on Windows has matured to the point where querying a sensitive PDF or drafting code offline takes minutes rather than an engineering degree. If your goal is genuine on-device privacy with Ollama, treat it like any other network-capable Windows service: decline unnecessary cloud sign-ins, verify the download icon on your chosen model, lock down OLLAMA_NO_CLOUD=1 or disable_ollama_cloud if you never want remote fallback, keep the daemon bound to 127.0.0.1, and double-check every answer the model hands back against the original file.

 

References

  1. Local AI privacy: what stays on your device in practice - NeoTeo NeoTeo 2026-12-02T19:56:22+00:00
  2. Cloud models · Ollama Blog ollama.com
  3. ollama.com docs.ollama.com