Skip to content
PrivateAI
← Back to Home
getting started

How to Run AI on Your Laptop With No Data Leaving Your Device

8 min readBy PrivateAI Team

Every time you type a question into ChatGPT, Claude, or Gemini, your words travel to a corporate server. That server processes your request, stores it (at least temporarily), and may use it to train future models. For most casual questions, this is fine. But for anything personal, professional, or sensitive — medical questions, legal documents, business strategy, financial planning, private journaling — you are handing your most intimate thoughts to a company.

There is another way. You can run AI models directly on your laptop, entirely offline, with zero data leaving your device. The models are free, the software is free, and in 2026, even a mid-range laptop can run models that rival what GPT-3.5 delivered two years ago.

Here is how to set it up from scratch.

What You Need

Hardware Requirements

  • Minimum: Any laptop with 8GB RAM (2020 or newer). This runs 3B-7B parameter models — good for writing, coding, and basic Q&A.
  • Recommended: 16GB RAM. This runs 7B-14B parameter models — noticeably smarter, better at reasoning and longer conversations.
  • Ideal: 32GB+ RAM or a laptop with a dedicated GPU. This runs 30B-70B parameter models — approaching GPT-4 quality for many tasks.

Mac users: Apple Silicon (M1/M2/M3/M4) is exceptionally good for local AI because the CPU and GPU share unified memory. A MacBook Air M2 with 16GB runs 7B models faster than many gaming PCs.

Windows/Linux users: Any modern CPU works, but a dedicated NVIDIA GPU with 8GB+ VRAM significantly improves speed. AMD GPUs also work but with less software support.

Software (All Free)

  1. Ollama — the easiest way to download and run AI models locally
  2. Open WebUI (optional) — a beautiful chat interface that connects to Ollama, giving you a ChatGPT-like experience in your browser

That is it. Two pieces of software, both free, both open source.

Step 1: Install Ollama

Ollama is a command-line tool that downloads, manages, and runs AI models with a single command. Think of it as the "app store" for local AI models.

Mac:

Open Terminal and run:

```

curl -fsSL https://ollama.com/install.sh | sh

```

Or download the Mac app from ollama.com — it installs with a drag and drop.

Windows:

Download the installer from ollama.com. Run it. Done.

Linux:

```

curl -fsSL https://ollama.com/install.sh | sh

```

To verify it installed correctly, open a terminal and type:

```

ollama --version

```

You should see a version number. If you do, Ollama is ready.

Step 2: Download Your First Model

Ollama provides access to dozens of models. Here are our recommendations by hardware:

8GB RAM (3B-7B models):

```

ollama pull llama3.2:3b

```

This downloads Meta's Llama 3.2 at 3 billion parameters — fast, responsive, and surprisingly capable for its size. Great for drafting, summarizing, and answering questions.

16GB RAM (7B-14B models):

```

ollama pull llama3.1:8b

```

Llama 3.1 8B is the sweet spot for most people — smart enough for serious work, fast enough for real-time conversation. For even better performance:

```

ollama pull qwen2.5:14b

```

Qwen 2.5 14B is one of the best models at this size — particularly strong at reasoning and coding.

32GB+ RAM (30B-70B models):

```

ollama pull llama3.1:70b

```

This is the big one. Llama 3.1 70B approaches GPT-4 quality on many benchmarks. It is slower to respond (expect 5-15 seconds per answer) but the quality is remarkable for a free, local model.

The download takes a few minutes depending on your internet speed. Once downloaded, the model lives on your machine permanently — no internet needed to use it.

Step 3: Start Chatting

The simplest way to use your model immediately:

```

ollama run llama3.1:8b

```

This opens an interactive chat in your terminal. Type a question, get an answer. Everything happens on your device. Disconnect from the internet if you want to verify — it keeps working.

Try:

```

>>> What are three ways to reduce my energy bill this winter?

```

The model will respond in seconds. You can have full conversations, ask follow-up questions, and even paste in documents for summarization.

To exit the chat, type /bye.

Step 4: Install Open WebUI (Optional but Recommended)

Chatting in a terminal works but is not pretty. Open WebUI gives you a polished, ChatGPT-like interface in your web browser — with conversation history, model switching, file uploads, and more.

Install with one command (requires Docker):

```

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main

```

Then open http://localhost:3000 in your browser. Create a local account (stored only on your machine), and you have a full AI chat interface connected to your Ollama models.

Do not have Docker? Download Docker Desktop from docker.com first (free for personal use), then run the command above.

Open WebUI also supports:

  • Multiple conversation threads with history
  • Switching between different models mid-conversation
  • Uploading documents for summarization (RAG)
  • System prompts for different use cases (writing assistant, code helper, etc.)
  • Dark mode (of course)

What You Can Do With Local AI

Now that you have a private AI assistant, here are practical use cases:

  • Draft emails and documents without sensitive content leaving your machine
  • Summarize PDFs and articles — paste text directly into the chat
  • Brainstorm ideas for projects, business plans, or creative writing
  • Debug code without sharing proprietary codebase with cloud AI
  • Journal with AI prompts — deeply personal reflection without privacy concerns
  • Analyze financial data — ask questions about your spending or investments privately
  • Prepare for medical appointments — research symptoms without creating a digital health profile
  • Study and learn — have the AI explain concepts at whatever level you need

Privacy Verification

How do you know nothing is leaving your device? Three ways to verify:

  1. Disconnect from the internet. Turn off Wi-Fi, unplug ethernet. If the AI still works, it is running locally.
  2. Check network activity. On Mac: open Activity Monitor → Network. On Windows: open Task Manager → Performance → Network. While chatting with the AI, network activity should be zero.
  3. Inspect the software. Both Ollama and Open WebUI are open source. Their code is publicly auditable on GitHub. Thousands of developers have verified they do not phone home.

Key Takeaways

  • Any modern laptop can run AI locally — 8GB RAM is the minimum, 16GB is the sweet spot
  • Ollama + Open WebUI gives you a ChatGPT-like experience with zero data leaving your machine
  • Setup takes about 15 minutes from scratch
  • Models are free, software is free, no subscription needed
  • Mac Apple Silicon is particularly well-suited for local AI
  • Verify privacy by disconnecting from the internet — local AI keeps working
  • Start with llama3.1:8b for the best balance of speed and intelligence

Your conversations are yours. Your documents are yours. Your questions are yours. Local AI makes that a technical guarantee, not just a promise in a terms of service.

Running AI locally is one layer of privacy. Protecting your network traffic is another. If you want to prevent your ISP from seeing what models you download or what sites you visit, pair local AI with a trustworthy VPN.

The VPN that asks for nothing

Mullvad requires no email, no name, no personal info to sign up. Pay with cash or crypto. $5/month flat, no tricks.

Learn More

Get The Private Intelligence — weekly

AI tools, privacy guides, and workflow tips for people who want to use AI powerfully without giving up their data. Join 1,000+ readers.

Affiliate Disclosure: This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no extra cost to you. We only recommend products we genuinely believe in. This helps support our work and allows us to continue providing free content.