Ollama on Windows: Install, GPU Setup, Models and Fixes

By LLM Hardware team · Methodology ·

Updated 19 November 2026 · LLM Hardware team

Ollama on Windows installs with a native installer, and this guide covers setup from start to finish: NVIDIA and AMD GPU requirements, pulling a model that fits your VRAM, moving model storage off your C: drive, and fixing the errors the Ollama docs list. Every command and requirement here was checked against the official Ollama, NVIDIA and Microsoft documentation on November 19, 2026 [1][2][3]. If you also want LM Studio or a side by side comparison, read Run LLMs on Windows 10 and 11 Locally: Ollama and LM Studio Setup.

Current Ollama version

The latest stable Ollama release is v0.40.16, published on November 9, 2026 (checked on GitHub releases, November 19, 2026) [1]. A newer v0.40.17-rc2 is listed but marked as a pre-release, so it is not the version the installer gives you by default [1]. Ollama on Windows downloads updates automatically. To apply one, click the Ollama icon in the taskbar and choose "Restart to update" [4].

What you need before you install

The Ollama Windows docs list these system requirements [2]:

To check your Windows version, right click Start, choose Settings, select System, then About, and look under Windows specifications [5]. Note that Microsoft ended support for Windows 10 on October 14, 2025, and 22H2 is the final Windows 10 version [6]. Ollama still lists Windows 10 22H2 as supported [2].

Install Ollama on Windows

Option 1: The OllamaSetup.exe installer

The Ollama docs call the OllamaSetup.exe installer "the easiest way to install Ollama on Windows" [2]. Download it from the link in the official README (https://ollama.com/download/OllamaSetup.exe) and run it [7]. It installs in your user account without asking for Administrator rights [2].

After install, Ollama runs in the background and the ollama command works in Command Prompt, PowerShell or any other terminal [2]. The local API is served at http://localhost:11434 [2].

To install somewhere other than your home directory (for example, a second drive with more space), start the installer from a terminal with the /DIR flag [2]:

OllamaSetup.exe /DIR="d:\some\location"

Option 2: PowerShell one line install

The official README also lists a PowerShell install command for Windows [7]:

irm https://ollama.com/install.ps1 | iex

Option 3: Standalone zip (for services and embedding)

If you want to run Ollama as a service or bundle it into another app, the docs offer ollama-windows-amd64.zip, which contains only the CLI and the NVIDIA GPU libraries [2]. AMD GPU users also extract ollama-windows-amd64-rocm.zip into the same folder, and there is a separate ollama-windows-amd64-mlx.zip for MLX (CUDA) [2]. You then start the server with ollama serve [2]. If you upgrade a zip install, remove the old directories first [2].

GPU support on Windows

Ollama runs as a native Windows app with NVIDIA and AMD Radeon GPU support [2]. Here is what each path needs.

NVIDIA (CUDA)

To find your card's compute capability, look it up in NVIDIA's CUDA GPU Compute Capability table [8]. For example, NVIDIA lists the GeForce RTX 3060 at 8.6 and the GeForce RTX 4090 at 8.9 [8], both well above the 5.0 minimum.

If you have more than one NVIDIA GPU and want Ollama to use only some of them, set CUDA_VISIBLE_DEVICES to a comma separated list of GPUs. The docs say UUIDs are more reliable than numeric IDs (list them with nvidia-smi -L), and an invalid ID such as -1 forces CPU [3].

AMD (ROCm)

On Windows, Ollama needs an AMD ROCm v7 / HIP7 capable driver stack [3]. The Ollama GPU docs list exactly these AMD GPUs as supported with ROCm on Windows [3]:

FamilySupported cards (Windows, ROCm)
AMD Radeon RX7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7600 XT, 7600
AMD Radeon PROW7900, W7800, W7700, W7600, W7500

That is the whole Windows ROCm list. The longer list on the same page (RX 9000, RX 6000, Ryzen AI, Instinct and others) is the Linux list, not Windows [3]. The HSA_OVERRIDE_GFX_VERSION trick is documented under "Overrides on Linux" only [3], so don't count on it for Windows.

To limit which AMD GPUs Ollama uses, set ROCR_VISIBLE_DEVICES to a comma separated list of GPUs [3].

Vulkan (other AMD and other GPUs)

The Ollama docs say additional GPU support on Windows and Linux comes through Vulkan, and that Vulkan "is enabled by default when the backend is installed" [3]. On Windows, most GPU vendor drivers include Vulkan support and need no extra setup [3].

The Windows docs call out one case directly: some RDNA2 / Radeon RX 6000 systems, including RX 6800 class cards, may not expose ROCm v7 on current Windows AMD drivers, and Vulkan is the recommended fallback for those systems [2].

Vulkan controls [3]:

CPU fallback

If Ollama finds no usable GPU, or the model doesn't fit in VRAM, it runs some or all of the model from system memory. Ollama ships several libraries for different GPUs and CPU vector features and picks the best one for your system [9]. For CPU libraries, the docs rank cpu_avx2 fastest, then cpu_avx, with plain cpu the slowest but most compatible [9].

Check where a loaded model is running with ollama ps. The PROCESSOR column shows 100% GPU (entirely on the GPU), 100% CPU (entirely in system memory), or a split such as 48%/52% CPU/GPU (partly in each) [4].

Pull and run models

These are the core commands, checked against the Ollama CLI reference [10] and the command definitions in the Ollama source [11]. The examples use gemma4, the model the CLI reference uses; swap in any model name.

CommandWhat it does
ollama pull gemma4Download a model ("Pull a model from a registry") [10][11]
ollama run gemma4Run a model and chat with it [10][11]
ollama psList running models, with the PROCESSOR column [4][10]
ollama list (or ollama ls)List models you have downloaded [10][11]
ollama show gemma4Show information for a model [11]
ollama stop gemma4Stop a running model [10]
ollama rm gemma4Remove a model [10][11]

A few behaviors worth knowing:

(Invoke-WebRequest -method POST -Body '{"model":"gemma4", "prompt":"Why is the sky blue?", "stream": false}' -uri http://localhost:11434/api/generate ).Content | ConvertFrom-json

Choose a model size that fits your VRAM

The goal is a model that shows 100% GPU in ollama ps. To estimate VRAM, this site uses one formula:

VRAM_GB = params_billion x bytes_per_param x 1.2 + 2

where Q4 = 0.5 bytes per parameter and Q8 = 1 byte per parameter.

Model sizeQ4 mathQ4 VRAMQ8 mathQ8 VRAM
3B3 x 0.5 x 1.2 + 2 = 1.8 + 23.8 GB3 x 1 x 1.2 + 2 = 3.6 + 25.6 GB
8B8 x 0.5 x 1.2 + 2 = 4.8 + 26.8 GB8 x 1 x 1.2 + 2 = 9.6 + 211.6 GB
14B14 x 0.5 x 1.2 + 2 = 8.4 + 210.4 GB14 x 1 x 1.2 + 2 = 16.8 + 218.8 GB
32B32 x 0.5 x 1.2 + 2 = 19.2 + 221.2 GB32 x 1 x 1.2 + 2 = 38.4 + 240.4 GB
70B70 x 0.5 x 1.2 + 2 = 42 + 244 GB70 x 1 x 1.2 + 2 = 84 + 286 GB

How to read it: an 8 GB card fits an 8B model at Q4 (6.8 GB) but not at Q8 (11.6 GB). A 12 GB card fits 8B at Q8 (11.6 GB) or 14B at Q4 (10.4 GB). A 24 GB card fits 32B at Q4 (21.2 GB). A 70B model at Q4 (44 GB) won't fit on a single 24 GB card, so Ollama will split it between GPU and CPU, and ollama ps will show a CPU/GPU split [4].

Use the VRAM calculator to run the formula for other sizes.

Long context needs more memory. The formula above is a starting estimate. If you raise the context window above the 4096 token default, the K/V cache grows, and the Ollama FAQ notes that required RAM scales with OLLAMA_NUM_PARALLEL times OLLAMA_CONTEXT_LENGTH [4]. Use the KV cache calculator to size that part. Ollama can also quantize the K/V cache when Flash Attention is on: set OLLAMA_KV_CACHE_TYPE to q8_0 (about half the memory of the default f16) or q4_0 (about a quarter) [4]. The setting applies to all models, and the docs warn of some precision loss, more so with q4_0 [4].

Where Ollama stores models on Windows

By default, models live in C:\Users\%username%\.ollama\models [4]. The Windows docs list the other folders Ollama uses [2]:

Path (paste into Win+R as explorer <path>)Contents
%HOMEPATH%\.ollamaModels and configuration
%LOCALAPPDATA%\OllamaLogs (app.log, server.log, upgrade.log) and downloaded updates
%LOCALAPPDATA%\Programs\OllamaThe Ollama binaries (added to your user PATH)
%TEMP%Temporary executable files in ollama* folders

Move models to another drive with OLLAMA_MODELS

Set the OLLAMA_MODELS environment variable in your user account [2][4]:

  1. Quit Ollama by clicking its icon in the taskbar and choosing Quit [4].
  2. Open Settings (Windows 11) or Control Panel (Windows 10) and search for environment variables [2].
  3. Click Edit environment variables for your account [2].
  4. Create (or edit) a variable named OLLAMA_MODELS with the folder you want, for example D:\ollama\models [2].
  5. Click OK/Apply to save [2].
  6. Start Ollama again from the Start menu, or open a new terminal started after you saved the variable [2][4].

The same steps work for any other Ollama setting, such as OLLAMA_HOST, OLLAMA_CONTEXT_LENGTH or OLLAMA_KV_CACHE_TYPE [4].

If you uninstall Ollama (Settings, Add or remove programs) after changing OLLAMA_MODELS, the uninstaller won't delete models in your custom folder [2].

Common errors and fixes

These are the issues documented in the Ollama Windows, GPU, FAQ and troubleshooting pages.

Garbled text like ←[?25h←[?25l or "The parameter is incorrect"

Older Windows 10 builds (the docs cite 21H1) have a terminal bug that shows control characters as long strings like ←[?25h←[?25l, sometimes with the error The parameter is incorrect [9]. The fix is to update Windows [9]. Ollama's stated minimum is Windows 10 22H2 anyway [2].

Progress bar shows empty squares

Ollama uses Unicode characters for progress, and some older terminal fonts in Windows 10 show them as unknown squares. Change your terminal font [2].

The model runs on CPU instead of GPU

  1. Run ollama ps. If PROCESSOR says 100% CPU or a CPU/GPU split, the model isn't fully on the GPU [4].
  2. If you see a split, the model is too big for your VRAM. Pick a smaller size or a Q4 version using the table above.
  3. If it says 100% CPU for a small model, Ollama may not have detected your GPU. The troubleshooting page says GPU discovery can sometimes fail and that "running the latest driver will yield the best results" [9]. Confirm your card meets the requirements: NVIDIA compute capability 5.0+ with driver 551.61 or newer (570+ for compute capability 5.0 through 6.2) [2][3], or an AMD card on the Windows ROCm list [3].
  4. Check that you haven't set CUDA_VISIBLE_DEVICES, ROCR_VISIBLE_DEVICES or GGML_VK_VISIBLE_DEVICES to -1 or a wrong ID, since that forces CPU [3].

AMD Radeon RX 6000 card not using ROCm

Some RDNA2 / RX 6000 systems don't expose ROCm v7 on current Windows AMD drivers. Vulkan is on by default and is the recommended fallback [2]. Make sure your Radeon driver is Vulkan capable [2].

Crashes or errors on a laptop with integrated plus discrete graphics

If Ollama selects an unstable integrated GPU through Vulkan, set GGML_VK_VISIBLE_DEVICES to the discrete GPU's index [2][3].

GPU crashes with a specific library

If autodetection picks a library that crashes your GPU, the docs describe an experimental override: set OLLAMA_LLM_LIBRARY to one of the available libraries (for example cpu_avx2 to force CPU with AVX2) [9]. The library names are printed in server.log and vary from release to release [9].

Running out of disk space on C:

Models can take tens to hundreds of GB [2]. Move them with OLLAMA_MODELS (above), install the program elsewhere with OllamaSetup.exe /DIR="d:\some\location" [2], and delete models you don't use with ollama rm [10].

A setting you changed has no effect

After you save an environment variable, quit the tray app and relaunch it from the Start menu, or open a new terminal [2][4].

Ollama starts every time you log in

In Task Manager, open the Startup apps tab, find ollama, and click Disable [4].

Read the logs and turn on debug logging

Press Win+R and run explorer %LOCALAPPDATA%\Ollama. The newest server log is server.log; older ones are server-#.log [9]. For more detail, quit Ollama from the tray menu, then in PowerShell run [9]:

$env:OLLAMA_DEBUG="1"
& "ollama app.exe"

Next steps

Frequently Asked Questions

What is the current version of Ollama for Windows?

As of November 19, 2026, the latest stable release on GitHub is v0.40.16, published November 9, 2026. A v0.40.17-rc2 pre-release also exists. Ollama on Windows updates itself; click the taskbar icon and choose "Restart to update" to apply an update [1][4].

Does Ollama on Windows need admin rights?

No. The OllamaSetup.exe installer installs in your home directory and does not require Administrator rights [2].

Which AMD GPUs does Ollama support on Windows?

With ROCm on Windows, the Ollama docs list the Radeon RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7600 XT and 7600, and the Radeon PRO W7900, W7800, W7700, W7600 and W7500. Other AMD GPUs may work through Vulkan, which is on by default; the docs recommend Vulkan for RX 6000 systems that don't expose ROCm v7 [2][3].

What NVIDIA driver do I need for Ollama on Windows?

Driver 551.61 or newer, on a GPU with compute capability 5.0 or higher. Cards with compute capability 5.0 through 6.2 need driver 570 or newer [2][3].

Where does Ollama store models on Windows, and how do I move them?

By default in C:\Users\%username%\.ollama\models. To move them, quit Ollama, set the OLLAMA_MODELS user environment variable to a new folder, and start Ollama again [2][4].

How do I know if Ollama is using my GPU?

Run ollama ps while a model is loaded. 100% GPU means it is fully on the GPU, 100% CPU means it is in system memory, and a split like 48%/52% CPU/GPU means it is partly in each [4].

Sources

#URLExact claim it supportsDate checked
1https://github.com/ollama/ollama/releasesv0.40.16 marked "Latest", released 09 Nov (assets dated 2026-11-09); v0.40.17-rc2 marked "Pre-release", 10 Nov2026-11-19
2https://docs.ollama.com/windowsNative Windows app with NVIDIA and AMD Radeon support; requirements: Windows 10 22H2 or newer Home or Pro, NVIDIA 551.61 or newer, AMD ROCm v7 / HIP7 driver stack or Vulkan capable Radeon driver; unicode progress squares, change terminal font; RDNA2 / RX 6000 may not expose ROCm v7, Vulkan enabled by default and recommended fallback; GGML_VK_VISIBLE_DEVICES for unstable iGPU; no Administrator, installs in home directory; at least 4GB for binary; models tens to hundreds of GB; OllamaSetup.exe easiest install; /DIR flag; OLLAMA_MODELS steps and relaunch; API on http://localhost:11434 and PowerShell Invoke-WebRequest example; file locations (%LOCALAPPDATA%\Ollama logs app.log/server.log/upgrade.log, %LOCALAPPDATA%\Programs\Ollama binaries on PATH, %HOMEPATH%\.ollama models and config, %TEMP% ollama* dirs); uninstall via Add or remove programs, custom OLLAMA_MODELS not removed; standalone ollama-windows-amd64.zip, -rocm.zip, -mlx.zip, ollama serve, remove old directories on upgrade2026-11-19
3https://docs.ollama.com/gpuNVIDIA compute capability 5.0+ and driver 550+; CC 5.0 through 6.2 require driver 570+; CUDA_VISIBLE_DEVICES, UUIDs more reliable, nvidia-smi -L, -1 forces CPU; AMD ROCm v7 / HIP7 driver on Windows; Windows support table (RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7600 XT, 7600; PRO W7900, W7800, W7700, W7600, W7500); separate Linux list; HSA_OVERRIDE_GFX_VERSION under "Overrides on Linux"; ROCR_VISIBLE_DEVICES; Vulkan on Windows and Linux, enabled by default when backend installed, Windows drivers need no extra setup; GGML_VK_VISIBLE_DEVICES, =1 when Vulkan1 is discrete; OLLAMA_VULKAN=0 or GGML_VK_VISIBLE_DEVICES=-1 disables Vulkan2026-11-19
4https://docs.ollama.com/faqWindows auto updates, "Restart to update"; Windows env var steps (quit from taskbar, Settings/Control Panel, edit for your account, OLLAMA_HOST/OLLAMA_MODELS etc., OK/Apply, start from Start menu); models in C:\Users\%username%\.ollama\models; OLLAMA_MODELS to change; ollama ps PROCESSOR values 100% GPU, 100% CPU, 48%/52% CPU/GPU; default context 4096, OLLAMA_CONTEXT_LENGTH, /set parameter num_ctx; RAM scales by OLLAMA_NUM_PARALLEL * OLLAMA_CONTEXT_LENGTH; keep alive 5 minutes default and OLLAMA_KEEP_ALIVE values; OLLAMA_KV_CACHE_TYPE default f16, q8_0 about 1/2, q4_0 about 1/4, requires Flash Attention, global setting, precision loss; Task Manager Startup apps disable2026-11-19
5https://support.microsoft.com/en-us/windows/which-version-of-windows-operating-system-am-i-running-628bec99-476a-2c13-5296-9dd081cdd808Right click Start, Settings, System, About; check Windows specifications2026-11-19
6https://learn.microsoft.com/en-us/lifecycle/products/windows-10-home-and-proWindows 10 end of support October 14, 2025; 22H2 is the final version of Windows 102026-11-19
7https://github.com/ollama/ollamaWindows install: irm https://ollama.com/install.ps1 | iex or manual download https://ollama.com/download/OllamaSetup.exe2026-11-19
8https://developer.nvidia.com/cuda-gpusCompute capability table; GeForce RTX 3060 listed under 8.6, GeForce RTX 4090 under 8.92026-11-19
9https://docs.ollama.com/troubleshootingWindows logs at %LOCALAPPDATA%\Ollama, server.log and server-#.log; OLLAMA_DEBUG PowerShell steps after quitting tray app; multiple LLM libraries, picks best; cpu_avx2 fastest, cpu_avx, cpu most compatible; experimental OLLAMA_LLM_LIBRARY override, names vary by release; GPU discovery can fail, latest driver gives best results; Windows 10 21H1 terminal bug with ←[?25h←[?25l and "The parameter is incorrect", fix by updating2026-11-19
10https://docs.ollama.com/cliollama pull, run, ps, ls, rm, stop, serve examples and headings2026-11-19
11https://raw.githubusercontent.com/ollama/ollama/main/cmd/cmd.golist has alias ls ("List models"); pull "Pull a model from a registry"; run "Run a model"; show "Show information for a model"; rm "Remove a model"2026-11-19

The full sitewide methodology lives on the methodology page. Does a number here not match its source? Contact us and we will set it straight.