How to Run Local AI on Windows: Ollama, LM Studio and Models That Actually Fit Your PC

Published October 21, 2026 · Last updated October 21, 2026

How to Run Local AI on Windows: Ollama, LM Studio and Models That Actually Fit Your PC
Photo by Alejandro Escamilla (Unsplash)
Some links on this page are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. This never influences our rankings or opinions.

Running AI locally on Windows is genuinely useful in 2026: no per-token costs, no cloud privacy concerns, and it works offline. This guide walks you through two solid options (Ollama for command-line users, LM Studio if you prefer a GUI), picking models that actually fit your hardware, and fixing the three problems most people hit.

Before you start: can your PC run local AI?

Practical tiers, based on what we’ve run:

Your hardwareWhat worksExample models
8 GB RAM, no GPU3B-4B models, quantizedQwen 3 4B, Gemma 3 4B, Phi-4 mini
16 GB RAM, GTX/RTX 8 GB7B-14B quantizedLlama 3.3 8B, Qwen 3 14B (Q4)
32 GB RAM, RTX 16-24 GB30B-70B quantizedQwen 3 32B, Llama 3.3 70B (Q4), GPT-OSS 20B
Mac-style unified memory doesn’t apply; skip 70B+ on 16 GB——

The rule: a Q4-quantized model needs roughly its parameter size in GB of (VRAM+RAM), plus headroom. A 70B Q4 model needs ~45 GB; don’t attempt it on a 16 GB machine, it will swap and crawl.

Option 1: Ollama (simplest, command line)

  1. Download the installer from https://ollama.com/download/windows and run it. It installs silently and starts a background server on 127.0.0.1:11434.

  2. Open PowerShell (not cmd) and pull your first model:

    ollama pull qwen3:14b

    Screenshot: PowerShell downloading a model with ollama pull

  3. Run it interactively:

    ollama run qwen3:14b

    Screenshot: Chatting with the model in PowerShell

    Type a question, press Enter, and it responds in the terminal. Use /bye to exit.

  4. Verify it’s serving the API for other apps:

    curl http://localhost:11434/api/tags

Useful commands: ollama list (installed models), ollama ps (what’s loaded), ollama rm model (free disk space).

Making Ollama use your GPU

Ollama auto-detects NVIDIA (CUDA) and AMD (ROCm on supported cards). Check ollama ps — the “PROCESSOR” column should say 100% GPU. If it says CPU:

Option 2: LM Studio (best for GUI lovers)

  1. Download from https://lmstudio.ai (Windows installer) and install.
  2. First run: use the built-in search, filter by model family (Llama, Qwen, Gemma) and RAM size, and download a model that fits (the app warns you before you waste bandwidth).
  3. Load the model in the chat tab. The right panel shows you actual tokens/second — that’s your speed reality check.
  4. To use it from other apps, open the Developer tab and start the local server. It emulates the OpenAI API on http://localhost:1234/v1, so anything that speaks OpenAI (like OpenCode) can use it.

Troubleshooting the classics

What to do next