Local LLM Setup on Windows: Complete Step-by-Step Guide (Ollama, LM Studio, GPT4All) 2026
You use Windows and want to run local AI models. Which tool to choose? How to configure GPU? What about storage?
📜 Table of Contents
- Three Tools Compared
- 1. Ollama for Windows (recommended for beginners)
- 2. LM Studio (best Windows experience)
- 3. GPT4All (smallest footprint)
- Which One
- Step One: Configuring Ollama
- Step Two: GPU Acceleration on Windows
- NVIDIA (simplest)
- AMD
- No discrete GPU
- Step Three: Windows-Specific Optimisation
- 1. Move models off the C: drive
- 2. Startup behaviour
- 3. LAN access
- Step Four: VS Code Integration
- Windows vs Mac vs Linux
- Windows-Specific Questions
- Summary
- Related
📖 Keep reading
Windows users carry a reflexive assumption that running local AI is a Linux job. In 2026 the opposite is true: the Windows local-AI toolchain is mature, and the graphical experience is better than Linux's.
This walks through setting up a complete local LLM environment on Windows from zero.
Three Tools Compared
1. Ollama for Windows (recommended for beginners)
ollama.com/download · 176K GitHub stars
Ollama shipped a native Windows build in late 2025 — no WSL required.
- Go to ollama.com/download and click the Windows download.
- Run OllamaSetup.exe, click Next through the installer.
- Open a terminal and verify with
ollama --version.
ollama pull qwen2.5:7b
ollama run qwen2.5:7b
Background service: the installer registers Ollama as a Windows service that starts at boot; the tray icon shows it running.
API: http://localhost:11434, OpenAI-compatible.
2. LM Studio (best Windows experience)
lmstudio.ai
A desktop application built for Windows and Mac, with a complete GUI and the ability to browse and download models straight from Hugging Face.
- Go to lmstudio.ai → Download for Windows.
- Installer is about 200MB; run it.
- On launch it detects your GPU (NVIDIA CUDA or AMD ROCm).
To use it: click Search in the left panel, search a model name like qwen2.5, pick a GGUF build, click Download, then Load Model and start chatting.
Built in: a local inference server with an OpenAI-compatible API, model switching, parameter controls, and automatic GPU detection.
Strength: no commands to memorise, pure mouse work — the friendliest option for Windows newcomers.
3. GPT4All (smallest footprint)
77K stars · gpt4all.io
The installer is about 100MB, the lightest of the three. Download the Windows build, install, and it pulls a default model automatically.
It includes a local knowledge base (upload documents and it does RAG automatically), works fully offline, and supports CPU inference with no GPU at all.
Which One
You are on Windows
├─ prefer the command line / need API access → Ollama
├─ prefer a GUI / mouse only → LM Studio
├─ just want to chat / low-end machine → GPT4All
└─ want coding assistance → Ollama + VS Code Continue
Step One: Configuring Ollama
The Windows installer is about 150MB. After installing, verify:
ollama --version
# something like: ollama version 0.30.5
Choose models by RAM:
# 8GB RAM
ollama pull qwen2.5:7b # ~4.5GB, good quality
# 16GB RAM
ollama pull qwen2.5:14b # ~9GB, very good
# 32GB RAM
ollama pull llama3.1:8b
ollama pull qwen2.5:32b # ~18GB, top quality
Run a conversation with ollama run qwen2.5:7b. Exit with /bye or Ctrl+D.
Step Two: GPU Acceleration on Windows
NVIDIA (simplest)
Ollama detects CUDA automatically, nothing to configure. To confirm the GPU is being used, run a model and ask it about its GPU, or check the log at %LOCALAPPDATA%\ollama\server.log.
Supported: RTX 20/30/40/50 series, GTX 16 series with 4GB+ VRAM.
| GPU | 7B model | 14B model |
|---|---|---|
| RTX 3060 12GB | 25–35 tok/s | 15–20 tok/s |
| RTX 4060 8GB | 20–30 tok/s | 12–18 tok/s |
| RTX 4090 24GB | 50–70 tok/s | 30–45 tok/s |
| CPU only (i7-13700) | 5–8 tok/s | 3–5 tok/s |
Source: llama.cpp benchmarks, FP16 inference. Actual speeds depend on drivers, load, and quantisation.
AMD
Ollama supports ROCm acceleration: download the ROCm build from ollama.com, install the AMD ROCm driver from rocm.docs.amd.com, and Ollama picks it up.
No discrete GPU
CPU mode works. Around 5–8 tok/s, a second or two of latency per reply, entirely usable — Ollama falls back to CPU with no configuration.
Step Three: Windows-Specific Optimisation
1. Move models off the C: drive
Ollama downloads to C: by default. If space is tight, set the environment variable before downloading:
setx OLLAMA_MODELS D:\ollama\models
Restart the terminal for it to take effect, then pull models again.
2. Startup behaviour
The installer already registers Ollama as an auto-start service. To control it manually:
sc query ollama
net start ollama
net stop ollama
3. LAN access
setx OLLAMA_HOST 0.0.0.0
Restart the service, then reach it from other devices at http://your-ip:11434.
⚠️ Home or office LAN only. Ollama has no authentication — never expose it to the public internet.
Step Four: VS Code Integration
Install the Continue extension from the VS Code marketplace, then edit %USERPROFILE%\.continue\config.json:
{
"models": [
{
"title": "Ollama Local",
"provider": "ollama",
"model": "qwen2.5-coder:7b"
}
],
"tabAutocompleteModel": {
"title": "Qwen Coder 7B",
"provider": "ollama",
"model": "qwen2.5-coder:7b"
}
}
Tab completion runs at about 0.5–1 second per suggestion — slower than cloud, but free and with your code never leaving the machine.
Windows vs Mac vs Linux
| Dimension | Windows | Mac (Apple Silicon) | Linux |
|---|---|---|---|
| Install difficulty | Easiest | Easy | Moderate |
| GPU acceleration | CUDA / ROCm | Metal (automatic) | CUDA / ROCm |
| 8GB RAM performance | 5–8 tok/s | 8–12 tok/s | 5–8 tok/s |
| Tool choice | Widest (Ollama, LM Studio, GPT4All) | Wide (Ollama) | Wide (Ollama, llama.cpp) |
| GUI | LM Studio is best | Ollama plus Enchanted | Open WebUI |
| Fits | All Windows users | Mac developers | Servers, Linux users |
Windows wins on tool variety, Mac is faster thanks to unified memory, Linux has the natural advantage on servers.
Windows-Specific Questions
Out of space while downloading a model?
Point OLLAMA_MODELS at another drive and download again.
Ollama runs but is slow?
Check whether GPU acceleration is active. CPU mode at 5–8 tok/s is normal; below 3 tok/s suggests something else is consuming resources.
Antivirus flags it?
Ollama is open source and Windows Defender occasionally false-positives. Add an exclusion.
How do I reach Windows Ollama from WSL?
WSL2 can reach it at http://host.docker.internal:11434.
Summary
Tools: Ollama (CLI) / LM Studio (GUI) / GPT4All (light)
Models: Qwen2.5:7b (8GB RAM) / Qwen2.5:14b (16GB RAM)
Acceleration: NVIDIA CUDA automatic / AMD ROCm optional / CPU works
Integration: VS Code + Continue / API / Open WebUI
Cost: zero (a computer you own plus free models)
Related
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.