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.
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-serverand 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:
| Ollama | Open WebUI | |
|---|---|---|
| What it is | A model runner | A chat interface |
| Main job | Downloads and runs models, exposes an API | Gives people a browser-based chat with history, files and settings |
| Interface | Command line, simple desktop app and API | Full web app |
| Users | One machine | Many users with accounts and permissions |
| Runs models itself? | Yes | No: 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:8b3. 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:main4. 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:8080makes it available on port 3000. Change the left number if 3000 is taken. - Data: the
-v open-webui:/app/backend/datavolume 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:11434so 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, thenopen-webui serve), which serves on port 8080.
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 examplehttp://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
To use Open WebUI as a private assistant for a team:
- Run it on a server with enough resources, or next to a GPU server running the models.
- Put it behind HTTPS with a reverse proxy, and don't expose it to the internet without proper authentication.
- Disable open sign-up after creating accounts, or connect single sign-on, so only your team can join.
- Set roles and model access: for example, everyone gets the local models, a small group gets paid cloud models.
- Back up the data volume regularly.
- 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:
| Tool | Type | Best for |
|---|---|---|
| AnythingLLM | Desktop app and server | Document chat and agents with minimal setup |
| LibreChat | Self-hosted web app | Teams using many cloud providers in one interface |
| LM Studio | Desktop app | Running and chatting with models on one computer |
| Jan | Desktop app | A simple, offline ChatGPT-like app |
| LobeChat | Self-hosted web app | A polished interface with plugins and many providers |
| SillyTavern | Self-hosted web app | Character 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-hostoption is set, or setOLLAMA_BASE_URLcorrectly. - Ollama only listening on localhost: if Open WebUI runs on another machine, configure Ollama to listen on the network (for example with the
OLLAMA_HOSTsetting) 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:8080to 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.