Dev tools

Open WebUI: A Private ChatGPT for Your Local Models

Open WebUI gives local AI models a ChatGPT-style interface you host yourself. Docker and Ollama setup, features, licence and Open WebUI alternatives.

By OmniAI Editorial · Nov 20, 2026 · 8 min read

Open WebUI is a free, self-hosted web interface that gives your own AI models a ChatGPT-style chat experience. You run it on your computer or a server, connect it to local models through Ollama or to any OpenAI-compatible API, and get chat history, model switching, document chat, web search and multiple user accounts, all in your browser and under your control. It's the most popular way to turn a local model into something a whole household or team can use.

This guide explains what Open WebUI is, Open WebUI vs Ollama, a step-by-step Open WebUI Ollama setup with Docker, the main features, licensing, security tips for teams, and how it compares with Open WebUI alternatives such as AnythingLLM, LibreChat and LM Studio.

What Is Open WebUI?

Open WebUI is an open-source project that provides a polished chat interface for language models. It runs as a web application, usually in a Docker container, and you open it in a browser. Key points:

  • Works with local and cloud models: Ollama for local models, plus any OpenAI-compatible API, which covers OpenAI itself, many hosted providers, and local servers like llama.cpp's llama-server and vLLM.
  • Self-hosted: your chats and documents stay on your machine or server.
  • Multi-user: each person gets an account; the first account created becomes the administrator.
  • Extensible: tools, functions and pipelines let you add custom behaviour.

It's popular with people who already run models locally and want a friendlier interface than the command line, and with teams that want a private internal chat assistant.

Open WebUI vs Ollama

Open WebUI vs Ollama is a common question, but they do different jobs and are usually used together:

OllamaOpen WebUI
What it isA model runnerA chat interface
Main jobDownloads and runs models, exposes an APIGives people a browser-based chat with history, files and settings
InterfaceCommand line, simple desktop app and APIFull web app
UsersOne machineMany users with accounts and permissions
Runs models itself?YesNo: it connects to Ollama or other APIs

Think of Ollama as the engine and Open WebUI as the dashboard. Our guide on how to run an LLM locally covers getting Ollama going first.

Open WebUI Ollama Setup With Docker

Here's a simple Open WebUI Ollama setup, using the commands from the project's README.

1. Install Docker (Docker Desktop on Windows and macOS, Docker Engine on Linux).

2. Install Ollama and pull a model:

ollama pull qwen3:8b

3. Start Open WebUI, connecting to Ollama on the same machine:

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

4. Open your browser at http://localhost:3000 and create the first account, which becomes the admin.

5. Choose a model from the dropdown and start chatting.

Notes:

  • Port: Open WebUI listens on port 8080 inside the container; -p 3000:8080 makes it available on port 3000. Change the left number if 3000 is taken.
  • Data: the -v open-webui:/app/backend/data volume keeps your chats, settings and uploaded files when the container is updated. Don't skip it.
  • Ollama on another machine: add -e OLLAMA_BASE_URL=http://your-server:11434 so Open WebUI can find it.
  • All in one: the project also publishes an image with Ollama bundled (ghcr.io/open-webui/open-webui:ollama), which you can run with GPU access in one container.
  • Without Docker: you can install it with Python (pip install open-webui, then open-webui serve), which serves on port 8080.
A light browser window with ink lines and an ink arrow to an orange box with ink lines, which sends two ink arrows to two grey boxes with circles on the right.
Open WebUI sits between your browser and the model servers, such as Ollama or an OpenAI-compatible API.

Key Open WebUI Features

  • Chat with history, folders and search, like ChatGPT.
  • Switch models per chat, or compare several models side by side.
  • Chat with documents (RAG): upload files or build knowledge collections, and the model answers using them.
  • Web search: connect a search provider so the model can look things up; the project lists more than 15 supported providers, including self-hosted SearXNG.
  • Voice: speech-to-text input and text-to-speech output.
  • Image generation through connected image models.
  • Tools and functions: add Python-based tools, custom filters and workflows.
  • User management: roles, groups and permissions, so admins control which models and features each person can use.
  • Model presets: save a model with a system prompt and settings as a custom "model" for a specific job.

Connecting Other Models and APIs

Open WebUI isn't tied to Ollama. In the admin settings you can add connections to:

  • OpenAI and other providers with an OpenAI-compatible API, using an API key.
  • Local servers such as llama.cpp's llama-server, LM Studio's server or vLLM, using their base URL (for example http://localhost:8000/v1). Our comparison of vLLM vs Ollama explains when each engine makes sense.
  • Several backends at once, so one interface shows local and cloud models together.

This makes Open WebUI a handy front end for a team: cheap local models for everyday questions, and a stronger cloud model for hard ones, with admins controlling who can use which.

Open WebUI for Teams

Three person outlines stacked on the left, two light and one grey, each joined by an ink line to a grey browser window on the right with ink lines and one orange line.
One Open WebUI server can give a whole team private access to the same models.

To use Open WebUI as a private assistant for a team:

  1. Run it on a server with enough resources, or next to a GPU server running the models.
  2. Put it behind HTTPS with a reverse proxy, and don't expose it to the internet without proper authentication.
  3. Disable open sign-up after creating accounts, or connect single sign-on, so only your team can join.
  4. Set roles and model access: for example, everyone gets the local models, a small group gets paid cloud models.
  5. Back up the data volume regularly.
  6. Update deliberately: the project moves fast; read release notes and back up before upgrading.

Open WebUI Licence

Open WebUI started under a standard open-source licence but moved to its own "Open WebUI License" in 2025. It's based on the permissive BSD-3 style, with an extra branding condition: you may not remove or replace the "Open WebUI" name and logo. According to the licence, that branding requirement doesn't apply to:

  • deployments with 50 or fewer end users in any rolling 30-day period,
  • cases with written permission from the copyright holder,
  • organisations with an enterprise licence.

For personal use and most small teams, it's free to use as is. If you plan to rebrand it for a product or a large organisation, read the licence carefully.

Open WebUI Alternatives

Popular Open WebUI alternatives, depending on what you need:

ToolTypeBest for
AnythingLLMDesktop app and serverDocument chat and agents with minimal setup
LibreChatSelf-hosted web appTeams using many cloud providers in one interface
LM StudioDesktop appRunning and chatting with models on one computer
JanDesktop appA simple, offline ChatGPT-like app
LobeChatSelf-hosted web appA polished interface with plugins and many providers
SillyTavernSelf-hosted web appCharacter and role-play chats

Open WebUI vs AnythingLLM

Open WebUI vs AnythingLLM is the most common comparison:

  • Open WebUI is a general-purpose chat platform with strong multi-user features, many model connections, and a large community. Document chat is one feature among many.
  • AnythingLLM is built around workspaces of documents: you drop in files, and it handles chunking, embeddings and retrieval with little configuration. It also has a desktop app that needs no Docker.

Choose Open WebUI for a team chat interface that connects many models; choose AnythingLLM if chatting with your documents is the main goal and you want the simplest setup. Both connect to Ollama, so you can try them side by side. Our Ollama vs LM Studio comparison helps if you're choosing the model runner too.

Common Open WebUI Problems

  • "No models available": Open WebUI can't reach Ollama. Check that Ollama is running, that the Docker --add-host option is set, or set OLLAMA_BASE_URL correctly.
  • Ollama only listening on localhost: if Open WebUI runs on another machine, configure Ollama to listen on the network (for example with the OLLAMA_HOST setting) and protect that port.
  • Lost chats after an update: the data volume wasn't mounted. Always use -v open-webui:/app/backend/data.
  • Slow responses: the model is too large for your hardware. Try a smaller or more quantised model.
  • Port already in use: change -p 3000:8080 to another host port.

FAQ

What is Open WebUI?

Open WebUI is a free, self-hosted web interface for AI models. It gives local models (through Ollama) and OpenAI-compatible APIs a ChatGPT-style chat with history, document chat, web search and multi-user accounts.

Is Open WebUI the same as Ollama?

No. Ollama runs models and provides an API; Open WebUI is a chat interface that connects to Ollama or other model APIs. Most people use them together.

Is Open WebUI free?

Yes, it's free to self-host. Its licence requires keeping the Open WebUI branding, except for deployments with 50 or fewer users in a rolling 30-day period, with written permission, or under an enterprise licence.

What port does Open WebUI use?

Open WebUI listens on port 8080 inside its container. The usual Docker command maps it to port 3000 on your computer, so you open http://localhost:3000.

Can Open WebUI work offline?

Yes. With local models through Ollama, everything runs on your own hardware without an internet connection, apart from features you choose to connect, such as web search or cloud APIs.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog