Local LLM Setup on Windows: Complete Step-by-Step Guide (Ollama, LM Studio, GPT4All) 2026

🖥 Hardware 2026-07-14 6 min read

You use Windows and want to run local AI models. Which tool to choose? How to configure GPU? What about storage?

📜 Table of Contents

📖 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.

  1. Go to ollama.com/download and click the Windows download.
  2. Run OllamaSetup.exe, click Next through the installer.
  3. 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.

  1. Go to lmstudio.ai → Download for Windows.
  2. Installer is about 200MB; run it.
  3. 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.

GPU7B model14B model
RTX 3060 12GB25–35 tok/s15–20 tok/s
RTX 4060 8GB20–30 tok/s12–18 tok/s
RTX 4090 24GB50–70 tok/s30–45 tok/s
CPU only (i7-13700)5–8 tok/s3–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

DimensionWindowsMac (Apple Silicon)Linux
Install difficultyEasiestEasyModerate
GPU accelerationCUDA / ROCmMetal (automatic)CUDA / ROCm
8GB RAM performance5–8 tok/s8–12 tok/s5–8 tok/s
Tool choiceWidest (Ollama, LM Studio, GPT4All)Wide (Ollama)Wide (Ollama, llama.cpp)
GUILM Studio is bestOllama plus EnchantedOpen WebUI
FitsAll Windows usersMac developersServers, 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

Related Articles
2026-08-02
Fine-Tuning With LoRA 2026: Train a Custom Model on One GPU - Complete Guide
2026-08-29
Memory prices are going crazy—can you buy just one stick? Tested: DDR5 single stick loses 8%, X3D users only 2%
2026-07-13
Intel Nova Lake Leaked! 52 Cores at 700W, Z990 with TB5, Set to Battle Zen 6 in 2027
2026-11-02
Stop making USB boot drives, Microsoft lets Windows 11 learn to reinstall itself
2026-10-31
NVIDIA releases RTX 50 series patch to fix video stuttering and black screen issues
2026-08-27
Intel's LPE cores + AMD's Zen 6LP: two teams go their separate ways in the x86 low-power battlefield

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.

💬 Comments (0)

No comments yet. Be the first!

Login to comment