Tool Combos

Ollama + Open WebUI: a private ChatGPT-style chat on your own computer

Ollama runs open AI models on your own computer, and Open WebUI gives them a familiar chat screen in your browser. Together they make a free, private chat app that works offline once the models are downloaded.

By AI RightFitChecked Official sources listed below

At a glance

What you getA browser chat app at localhost with saved chats, running local models
Typical cost$0 software; uses your own hardware
Skill levelBeginner with Docker or Python
Runs onYour computer

What you get

Ollama downloads and serves AI models locally. Open WebUI is an open-source web interface that connects to Ollama and adds chat history, users and settings. You open it at a local address in your browser and chat much as you would in a cloud assistant, except the model runs on your machine and your chats stay there.

It suits private notes, drafts and experiments with different open models. Local models are usually smaller than the biggest cloud models, so expect weaker answers on hard tasks, especially on modest hardware.

What it costs

Our records list Open WebUI's Community edition as free and Ollama's local use as free; Ollama also sells optional cloud plans (Pro $20 and Max $100 a month in our record) if you want bigger hosted models. The real cost is hardware: Open WebUI itself is light (its docs measured about 300 MiB of memory at idle for the slim image), but the model needs enough RAM or GPU memory to run at a usable speed.

Set it up

  1. Install Ollama from its website and download a model, for example with ollama pull followed by the model name and tag you choose. Pick a size your computer can handle.
  2. Install Open WebUI one of two ways from its quick-start guide.

Docker (recommended by Open WebUI). Replace your-secret-key with the output of openssl rand -hex 32:

docker run -d -p 3000:8080 \
  --add-host=host.docker.internal:host-gateway \
  -v open-webui:/app/backend/data \
  -e WEBUI_SECRET_KEY=your-secret-key \
  --restart always \
  ghcr.io/open-webui/open-webui:main

Then open http://localhost:3000.

Python (3.11 or 3.12; 3.13 is not supported):

python -m pip install open-webui
open-webui serve

Then open http://localhost:8080.

Common mistakes

  • Wrong port mapping. Keep the container side at 8080. The docs warn that -p 3000:3000 means the page never loads.
  • Open WebUI cannot see Ollama. In Docker it looks for Ollama at http://host.docker.internal:11434, which the --add-host flag enables, and Ollama must listen on 0.0.0.0. With the Python install it uses http://localhost:11434. You can change the address under Admin Settings, Connections.
  • Expecting the CUDA image to speed up chats. The docs say the :cuda image accelerates Open WebUI's own local models, not chat replies, which depend on Ollama.

A first job to try

After the chat page opens, pick a model in the top bar and give it a job with a clear right answer, using text you are happy to keep private:

Here are my notes from today's call. Turn them into a short email to the client
with three bullet points and one clear next step.

If replies crawl out word by word, the model is too big for your machine: download a smaller one and compare. The quickest way to find the right size is to try two sizes on the same prompt and keep the one that is fast enough to use every day.

Safety checks

  • Keep the secret key private and do not expose port 3000 to the internet unless you have set up accounts and a secure connection.
  • Check each model's licence before using its output commercially.
  • Chats live in the Docker volume or data folder, so back that up if they matter.

Sources

Related records: Ollama pricing record · Open Webui pricing record

Setup steps and facts come from the official documentation linked on each page, checked on the date shown. We have not tested every combination on every computer; cost examples are illustrative.

Editorial policy · Report a mistake