Free | No tracking | Every fact with a source|German and English

Your own ChatGPT with Ollama and Open WebUI

Run a language model locally on Windows - with the Ollama app, suitable models for 8 to 24 GB, context length, command line, and Open WebUI for documents and multiple users. Without data leaving your PC.

Ollama downloads and runs language models on your PC and has shipped its own chat app on Windows since 2025. For getting started, that’s enough: install it, choose a model, start typing. Open WebUI comes in when you want more - a browser interface like ChatGPT, with document collections, custom assistants, and multiple users, for example for your family. By the end of this guide, you’ll be chatting with a model that runs completely on your own computer. Time needed: about 15 minutes for Ollama, another 15 for Open WebUI.

What you need

  • Windows 10 (from version 22H2) or Windows 11
  • A graphics card with at least 8 GB of memory. It also works without one, but much more slowly.
  • NVIDIA: current driver, according to Ollama at least version 551.61
  • AMD: officially supported are the Radeon RX 7600 to 7900 XTX and the PRO-W7000 series. Other Radeon cards (for example RX 6000) often run through Vulkan, which Ollama includes itself.
  • 10 to 30 GB of free space, depending on the model
  • For Open WebUI additionally: an internet connection on first start

Tip: How much VRAM a model needs and why is explained in VRAM explained. For your card, the calculator shows it.

1. Install Ollama

  1. On ollama.com/download/windows, download the file OllamaSetup.exe.
  2. Start it with a double-click. You don’t need administrator rights - Ollama installs itself in your user folder.
  3. After installation, Ollama runs in the background. You can recognize it by the llama icon at the bottom right in the taskbar.
  4. The Ollama app opens. If it doesn’t, start “Ollama” from the Start menu.

From now on, Ollama works as a small server on your PC at the address http://localhost:11434. Other programs like Open WebUI will later access it through that address too.

2. The first model in the Ollama app

  1. In the app, choose a model from the list in the input field at the bottom, for example gemma4 or qwen3.5.
  2. Write your first message. The first time, Ollama downloads the model - depending on size and internet speed, that takes a few minutes.
  3. After that, the model responds directly on your PC.

The app can do more: you can drag text files and PDFs into the window and ask questions about them, and image-understanding models (like Gemma 4 or Qwen3.5) can also describe images.

Important: The model list also includes cloud models (marked with cloud). These run on Ollama’s servers, not on your PC. For true local use, only choose models without that suffix - more on that below under privacy.

3. Which model for which graphics card?

These models are current, speak German well, and are under the free Apache-2.0 license, so they can also be used commercially. The assignment to card size is our estimate based on download size - the exact requirement is shown by the calculator.

VRAMModel (name in Ollama)Download
8 GBgemma4:e4b (Gemma 4)about 7–10 GB
8 GBqwen3.5:4babout 3–4 GB
8 GBministral-3:8b (Mistral)about 6 GB
12–16 GBgemma4:12b (Gemma 4 12B)about 8 GB
12–16 GBqwen3.5:9b (Qwen3.5 9B)about 7–8 GB
16 GBgpt-oss:20b (gpt-oss-20b)about 14 GB
24 GBgemma4:26b (Gemma 4 26B, MoE)about 16–19 GB
24 GBqwen3.5:27b (Qwen3.5 27B)about 17–20 GB
24 GBmistral-small3.2:24b (Mistral Small 3.2)about 15 GB

You can find all available models on ollama.com/library. The part after the colon (for example :9b) chooses the size.

4. The most important commands

You can also control Ollama from the Command Prompt (Windows key, type cmd). That’s useful for checking what’s running.

CommandWhat it does
ollama run qwen3.5:9bStart model and chat in the console (/bye ends it)
ollama pull gemma4:12bDownload model only
ollama lsshow downloaded models
ollama psshow loaded models - with GPU share and context length
ollama stop qwen3.5:9bunload model from memory
ollama rm gemma4:12bdelete model
ollama --versionshow installed version

Is the model running on the graphics card? ollama ps shows for example 100% GPU in the PROCESSOR column - that’s what you want. If it says 100% CPU or a split like 48%/52% CPU/GPU, the model is too large for your VRAM, and responses will be noticeably slower. In that case, choose a smaller model or a shorter context.

5. Context length: how much the model remembers

Context length determines how much text a model can keep in view at once - your chat history plus attached documents. Ollama chooses the default based on your VRAM:

VRAMDefault context
under 24 GB4,000 tokens (about 3,000 words)
24 to 48 GB32,000 tokens
from 48 GB256,000 tokens

For long documents, under 24 GB this is often not enough - then the model “forgets” the beginning. You change the value in the Ollama app under Settings with the slider for context length. But more context needs more VRAM. The context calculator figures out exactly how much.

6. Optional: store models on another drive

Ollama stores models under C:\Users\<dein Name>\.ollama\models. If your C: drive is tight:

  1. Windows key, type “Environment variables” and open Edit environment variables for this account.
  2. Click New: name OLLAMA_MODELS, value for example D:\Ollama\models.
  3. Quit Ollama (right-click the llama icon → Quit) and restart it.

You can move models that have already been downloaded into the new folder beforehand.

7. Add Open WebUI

Open WebUI is a browser interface that connects to Ollama. It’s worth using if you want document collections, custom assistants with fixed instructions, or multiple user accounts. The easiest way to install it is with the uv tool - it takes care of the right Python version automatically.

  1. Open PowerShell (Windows key, type “PowerShell”).
  2. Install uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. Close PowerShell and open it again. Then start Open WebUI:
$env:DATA_DIR="C:\open-webui\data"; uvx --python 3.12 open-webui@latest serve
  1. The first start takes a few minutes. Then open http://localhost:8080 in your browser.
  2. Create an account. The first account is automatically an administrator, after that registration is closed. The account stays on your PC.
  3. Open WebUI finds Ollama automatically. Choose the model at the top left.

For the next start, just run step 3 again. The DATA_DIR setting ensures that your chats and settings stay permanently in C:\open-webui\data. Because of @latest, Open WebUI gets the newest version every time it starts.

Other ways: With Python 3.11 or 3.12 installed, you can also use pip install open-webui and open-webui serve (Python 3.13 is not supported). If you use Docker Desktop, you’ll find the right command in the Open WebUI documentation - the Docker commands are meant to run there in the WSL terminal, not in PowerShell.

8. What Open WebUI can do

  • Chat with documents: Type # in the chat and choose an uploaded document. You can create permanent collections under Workspace → Knowledge. Important: increase the context length to at least 8,192 tokens for this (Admin Settings → Models → Advanced Parameters), otherwise too little of the document will fit. A more detailed explanation is in Chat with your own documents.
  • Custom assistants: Under Workspace → Models you combine a model with fixed instructions (system prompt) and knowledge, for example “proofreader” or “recipe helper.” Tips for writing prompts are in How to ask language models good questions.
  • Multiple users: In the admin settings under Authentication you can allow new registrations. You must approve new accounts as an admin.
  • Web search: can be enabled, but needs a search provider. Most of them (for example Brave or Tavily) require an API key and receive your search queries - so this is no longer purely local.

9. Keep everything up to date

  • Ollama downloads updates itself. Click the llama icon and choose Restart to update when an update is available. Ollama ships almost daily in a new version - staying up to date is worth it because new models often need a new version.
  • Open WebUI with uv updates itself through @latest each time it starts. For the pip installation: pip install -U open-webui.

10. Privacy: Does everything really stay on the PC?

  • Ollama: For local models, Ollama says it does not see any of your inputs. The exception is cloud models (suffix cloud), which run on Ollama’s servers. If you want to rule that out completely, set the environment variable OLLAMA_NO_CLOUD to 1 as in step 6. The update check still connects to the internet.
  • Open WebUI according to the documentation does not send data to third-party services by default. It does check for new versions and downloads models for documents and speech recognition from Hugging Face the first time. After that, it also works without internet.
  • Open WebUI license: Since version 0.6.6 (April 2025), the name “Open WebUI” may not be removed from the interface, except for at most 50 users in 30 days. For private use, nothing changes.

What to keep in mind when handling personal data is explained under Privacy with local AI.

Common problems

ProblemSolution
Responses are very slowCheck ollama ps. If part of it runs on the CPU, the model or context is too large - choose a smaller model.
Model “forgets” the beginning of a long textIncrease context length in the settings (see step 5).
Graphics card is not being usedUpdate the graphics driver, restart the PC. On AMD, check whether the card is supported.
ollama is not found in Command PromptReopen Command Prompt after installation.
Open WebUI shows no modelsIs Ollama running? The llama icon must be visible in the taskbar. Under Admin Settings → Connections, http://localhost:11434 must be entered.
uvx is not foundClose PowerShell after installing uv and open it again.
localhost:8080 does not loadThe first start of Open WebUI takes a few minutes - wait until “Uvicorn running” appears in PowerShell.

What next?

Sources

As of: Oct 26, 2026