- Download the official installer from
ollama.com/download, run it, and Ollama runs in the background - Requires Windows 10 22H2 or newer (or Windows 11) and 8 GB RAM minimum; NVIDIA/AMD GPUs are auto-detected for acceleration
- Run models with
ollama run <model>from Command Prompt or PowerShell—no additional configuration needed - Models install to
%USERPROFILE%\.ollama\modelsby default; change viaOLLAMA_MODELSenvironment variable
Ollama on Windows is a native application that runs large language models locally without Docker or WSL2. The Windows installer sets up Ollama as a background app that starts when you sign in and supports NVIDIA and AMD Radeon GPUs. Once it is installed, you can run models such as Llama 3.3 70B or Mistral 7B from the command line.
System Requirements for Ollama on Windows
Ollama requires Windows 10 22H2 or newer (Home or Pro) or Windows 11. The minimum hardware specifications are:
| Component | Minimum | Recommended |
|---|---|---|
| Operating System | Windows 10 22H2 or newer | Windows 11 |
| RAM | 8 GB | 16 GB or more |
| Disk Space | 10 GB free | 50+ GB for multiple models |
| GPU (optional) | NVIDIA GTX 1050 or AMD equivalent | NVIDIA RTX 3060 12GB or better |
GPU acceleration works with NVIDIA GPUs (compute capability 5.0 or newer) and AMD Radeon GPUs (through ROCm v7, or through Vulkan, which is enabled by default). The installer includes the necessary GPU libraries; you do not need to install CUDA separately. Without a GPU, Ollama falls back to CPU inference, which is much slower but works for smaller models.
Model size determines actual RAM or VRAM requirements. For example, Mistral 7B needs approximately 4.5 GB VRAM at 4-bit quantization, while Llama 3.3 70B requires around 40 GB. Check the VRAM calculator to estimate requirements for any model before downloading.
Installing Ollama on Windows
The official Windows installer is a single executable that handles all dependencies:
- Download
OllamaSetup.exefrom ollama.com/download - Run the installer and click Install. No administrator rights are needed: by default Ollama installs into your home directory, with the program files in
%LOCALAPPDATA%\Programs\Ollama(Ollama Windows docs) - When the installer finishes, Ollama starts and keeps running in the background
After installation, open Command Prompt or PowerShell and verify with:
ollama --version
You should see output like ollama version 0.x.x. Ollama runs in the background—you will see an Ollama icon in the system tray when it is active.
GPU Support and Detection
Ollama automatically detects and uses available GPUs on Windows. To confirm GPU acceleration is working:
ollama run llama3.3:70b "test"
While the model loads, watch Task Manager (Performance tab). If GPU utilization appears under GPU 0 or GPU 1, acceleration is active. The first run downloads the model (5-40 GB depending on size) to %USERPROFILE%\.ollama\models, which can take several minutes on slower connections.
NVIDIA users with RTX 3060 or newer GPUs get the best performance due to 12+ GB VRAM and Ampere/Ada architecture optimizations. Other GPUs can use Ollama’s Vulkan backend, which is enabled by default; on Windows most GPU vendors’ drivers, Intel’s included, already ship with Vulkan support (Ollama GPU docs).
If Ollama does not detect your GPU, check that your GPU drivers are current (Ollama’s Windows requirements: NVIDIA driver 551.61 or newer; for AMD, a ROCm v7 / HIP7-capable driver, or any Vulkan-capable Radeon driver). Ollama’s error messages usually indicate whether the GPU was skipped due to insufficient VRAM or missing drivers.
Running Your First Model
The ollama run command downloads, loads, and starts an interactive session with a model:
ollama run phi4
This downloads Microsoft’s Phi-4 (approximately 9 GB VRAM at 4-bit quantization) and opens a chat prompt. Type your question, press Enter, and the model responds locally. Exit with /bye or Ctrl+C.
Common models to try on Windows hardware:
| Model | VRAM (4-bit) | Best For |
|---|---|---|
| Mistral 7B | ~4.5 GB | General tasks, fast responses |
| Llama 3.1 8B | ~5 GB | Balanced quality and speed |
| Phi-4 | ~9 GB | Reasoning, compact size |
| Llama 3.3 70B | ~40 GB | High-end GPUs, best quality |
Browse available models at Ollama models list and list the models you have already pulled with ollama list.
Configuration and Environment Variables
Ollama reads configuration from Windows environment variables. Set them as user variables: open Settings (Windows 11) or Control Panel (Windows 10), search for environment variables and choose Edit environment variables for your account, or run setx VARIABLE_NAME value in PowerShell. Setting $env:VARIABLE_NAME only changes the current PowerShell window, so the tray app never sees it.
Key variables:
- OLLAMA_MODELS: Directory for model storage (default:
%USERPROFILE%\.ollama\models). Change this if your C: drive has limited space. - OLLAMA_HOST: Server address (default:
127.0.0.1:11434). Set to0.0.0.0:11434to accept network connections. - OLLAMA_NUM_PARALLEL: Number of concurrent requests (default: 1). Increase if serving multiple clients.
- OLLAMA_MAX_LOADED_MODELS: Maximum number of models loaded at once (default: 3 × the number of GPUs, or 3 for CPU inference). Lower it if models do not fit in VRAM together.
After changing environment variables, quit Ollama from its system tray icon and start it again from the Start menu.
To move models to a different drive, set OLLAMA_MODELS, then quit and restart Ollama. Ollama does not move existing models for you: copy them to the new folder or pull them again.
Performance Tuning
Inference speed depends on VRAM, model size, and quantization level. A model that fits entirely in VRAM runs much faster than one that spills over into system RAM.
Multi-GPU setups work automatically—Ollama spreads model layers across detected GPUs. For example, two RTX 3090s (24 GB each) can run Llama 3.3 70B at acceptable speed, while a single 3090 would offload layers to system RAM and crawl.
If performance is slower than expected:
- Run
ollama pswhile a model is loaded—the PROCESSOR column shows whether it is 100% on the GPU or split between CPU and GPU because it does not fit in VRAM - Try a smaller quantization tag (for example
ollama pull mistral:7b-instruct-q4_K_Mif you pulled aq8_0orfp16tag; Ollama’s default tags are usually 4-bit already) - Close other GPU applications (browsers with hardware acceleration, games, video editors)
- Update GPU drivers to at least the version Ollama requires (NVIDIA 551.61 or newer on Windows)
For hardware upgrades, consult the best GPUs for local LLMs guide to compare price-to-performance across NVIDIA and AMD options.
Integrating with Applications
Ollama exposes a REST API on localhost:11434 compatible with OpenAI’s API structure. Applications that support OpenAI-compatible endpoints can point to Ollama with minimal changes.
Example curl command to generate text:
curl http://localhost:11434/api/generate -d '{
"model": "mistral",
"prompt": "Explain Docker in one sentence"
}'
Popular integrations include Open WebUI (web interface), Continue.dev (VS Code extension), and LangChain (Python). Ollama must be running for API calls to work—by default it starts when you sign in.
Frequently Asked Questions
Does Ollama require WSL2 or Docker on Windows?
No. Ollama for Windows is a native application that runs without virtualization or containers.
Can I use Ollama offline after downloading models?
Yes. Once a model is pulled with ollama pull <model>, it is stored locally and runs without internet access. The only network requirement is the initial download—models range from about 1-2 GB (1B-3B models) to around 40 GB (70B models at 4-bit) and more for larger ones. After downloading, disconnect from the network and Ollama continues to function normally.
How much does it cost to run Ollama models compared to APIs?
Ollama is free—you pay only for hardware and electricity. Compare this to API costs: Claude Sonnet 5 charges $2.00 per million input tokens, so 10 million tokens (roughly 7.5 million words) costs $20. A self-hosted setup breaks even quickly if you process significant volume. Use the self-hosting vs API calculator to estimate your break-even point based on expected usage.
Which models work best on consumer GPUs?
For GPUs with 8-12 GB VRAM (RTX 3060, 4060 Ti), Mistral 7B (~4.5 GB at 4-bit), Llama 3.1 8B (~5 GB), and Phi-4 (~9 GB) provide strong quality-to-performance ratios. If you have 16-24 GB (RTX 3090, 4090), Mistral NeMo 12B (~7.5 GB) and even Llama 3.3 70B (~40 GB with aggressive quantization or offloading) become viable. See VRAM requirements by model for a complete list.
Can Ollama use both NVIDIA and AMD GPUs simultaneously?
No. Ollama uses either CUDA (NVIDIA) or ROCm (AMD) depending on what it detects first, but it cannot mix GPU backends in one session. If you have both NVIDIA and AMD GPUs, Ollama prioritizes NVIDIA. Multi-GPU support works only when all GPUs use the same driver stack—two NVIDIA cards or two AMD cards, not one of each.
How do I uninstall Ollama from Windows?
Open Settings → Apps → Installed Apps, find Ollama, and click Uninstall. The uninstaller shows a Remove models checkbox for %USERPROFILE%\.ollama\models, ticked by default: leave it ticked to delete the models, or untick it to keep them. If you moved your models with OLLAMA_MODELS, check that folder separately. If the uninstall stalls because Ollama is still running, quit it from its tray icon (or end ollama app.exe and ollama.exe in Task Manager) and retry.
Next Steps
After installing Ollama on Windows, explore the full model library at Ollama complete guide to understand how model selection, quantization, and context windows affect quality. For production workloads, calculate ongoing API costs versus self-hosting with the API cost calculator to determine whether local inference or cloud APIs better fit your budget and scale requirements.
