Best private AI chat stacks you can self-host — Nov 2026
For a shared browser chat on a model you already run with Ollama, open Open WebUI and create the admin account before anyone else can reach port 3000.
Scoreboard
Best private AI chat stacks you can self-host — Nov 2026 4 tools
-
2
LibreChat
6.7 /10
-
1
Open WebUI
8.8 /10
-
3
LobeHub Compose
6.2 /10
-
1
Open WebUI
Default for a quick self-hosted team chat in the browser on top of models you already run locally.
Score 8.8 /10 -
2
LibreChat
Choose when you want a ChatGPT-style UI with history, plugins, and flexible backend endpoints.
Score 6.7 /10 -
3
LobeHub Compose
For teams wanting a richer agent workspace with files and search, if you accept a heavier compose stack.
Score 6.2 /10 -
4
Hugging Face Chat UI
Lightweight option when your main path is Hugging Face–style hosted models and a simple chat shell.
Score 5.6 /10
What should you use?
For a shared browser chat on a model you already run with Ollama, open Open WebUI and create the admin account before anyone else can reach port 3000. Signup on that install closes itself after the first account, and the quick start is one container plus the Ollama you already have. Open LibreChat when one login must cover Anthropic, Google, Bedrock, and a local model, and you will actually run its Compose file. LobeHub’s Compose stack is the one to open when you already want PostgreSQL and file storage, after you point it at your model instead of pasting the cloud key the start page asks for. Hugging Face Chat UI is a single image with MongoDB inside, and it is the wrong default until the model URL is yours and login is on.
This board ranks self-hosted chat windows. It is not the Open WebUI install note (the lockdown commands) and not AnythingLLM (a folder of files with citations). Find the job on the map. The second name is what to open when the first install is the wrong shape.

The second name is a different install, not a second copy of the same chat.
Scoreboard (2026-11-16)
Who scored: Forgebench editorial desk (editorial scores for the criteria below, from each project’s published install and security docs as of 16 November 2026 — not an independent lab benchmark, and not an install test).
Criteria (weights):
- A model on your machine (30%) — the documented path points at Ollama or another local URL, and the shortest published install does not send the chat to a vendor router.
- The transcript lives on hardware you run (25%) — a named database or volume in the install doc, not only a browser session.
- A door you can close (25%) — a documented first admin, or a setting that stops strangers, and that control is on (or closes itself) in the default install.
- How much you must keep running (20%) — services the recommended install starts. Fewer extra databases score higher. The model runtime is not counted twice.
Each score is the weighted sum of four editorial marks (0–10), rounded to one decimal. Marks are listed as local model / transcript store / door / services.
| Rank | Option | Marks | Score /10 | What the page actually says |
|---|---|---|---|---|
| 1 | Open WebUI | 9 / 9 / 8 / 9 | 8.8 | Quick start: one container, ghcr.io/open-webui/open-webui:main, port map 3000:8080, volume open-webui:/app/backend/data for chats, users, and settings. With no OLLAMA_BASE_URL, the image looks for Ollama at http://host.docker.internal:11434, then port 12434. Hardening: signup stays open only until the first user, who becomes the administrator, then signup turns off. A later account’s default role is pending. ENABLE_ADMIN_CHAT_ACCESS defaults to true. From v0.6.6 (19 April 2025) the license forbids removing the Open WebUI name and logo unless you have 50 or fewer users in 30 days, written permission as a contributor, or an enterprise license. Code through v0.6.5 stays BSD-3-Clause. |
| 2 | LibreChat | 7 / 8 / 7 / 4 | 6.7 | Docker doc: the default Compose file starts MongoDB, Meilisearch, and the RAG API with PostgreSQL/pgvector, plus the API. The admin panel starts only after ADMIN_PANEL_SESSION_SECRET is set. Login is http://localhost:3080. In a single-tenant install the first account is the admin, and there is no default password. The first-chat page says email registration is on (ALLOW_REGISTRATION=true). Ollama is a custom endpoint: apiKey is a required placeholder, and the Docker example uses http://host.docker.internal:11434/v1/. The endpoint name must start with ollama to use Ollama’s own model list. The Compose file on the repository runs mongod --noauth and does not publish port 27017. The RAG page says MongoDB stores users, conversations, messages, and settings. GitHub license: MIT. |
| 3 | LobeHub Compose | 6 / 9 / 6 / 3 | 6.2 | Architecture page: PostgreSQL stores conversations, agents, files, and user data. S3-compatible storage holds file uploads and knowledge-base documents. The README’s recommended Compose starts PostgreSQL, Redis, RustFS, SearXNG, and the agent gateway. The example env uses port 3210. An empty AUTH_ALLOWED_EMAILS allows every registration; AUTH_DISABLE_EMAIL_PASSWORD=1 is SSO-only. ENABLED_OLLAMA defaults to 1. The Ollama guide sets OLLAMA_PROXY_URL. The self-hosting start page still lists an OpenAI, Anthropic, or Google key as required before you deploy, and it lists a no-authentication mode for single-user use. GitHub license: LobeHub Community License (Apache 2.0, plus a clause that commercial distribution of a modified build needs a commercial license). |
| 4 | Hugging Face Chat UI | 5 / 7 / 3 / 8 | 5.6 | Docker page: ghcr.io/huggingface/chat-ui-db publishes port 3000, mounts chat-ui-data:/data, and the example sets OPENAI_BASE_URL to https://router.huggingface.co/v1 with an API key. The local npm page lists Ollama as http://127.0.0.1:11434/v1. OpenID page: by default each user gets an ID from the browser session. AUTOMATIC_LOGIN=true forces login on every route. ALLOWED_USER_EMAILS is documented with OpenID, not as a password on the default install. GitHub license: Apache 2.0. The repo is the code behind HuggingChat. |
Why this order: criterion 1 is the heaviest, and Open WebUI is the only row whose quick start looks for an Ollama on the host without a cloud key. The door mark stays an 8 because that same quick start publishes port 3000 before the admin account exists, and WEBUI_AUTH=False is a documented switch that removes login. LibreChat is next because MongoDB is a real transcript store and the first account is the admin, while registration stays open and the default Compose is four extra services. LobeHub’s storage mark is the highest on the board, and it still lands third: the start page asks for a vendor key, and the recommended install is the heaviest. Chat UI’s service mark is high (one image, MongoDB included) and does not outweigh a default with no password whose Docker example calls the Hugging Face router.
One job that does not belong on this board. Asking questions about a folder, with a citation back to the passage, is AnythingLLM. A shared chat window without that folder is the row above.
Before anyone else can open the port
The figure names the hole in each default. The move after you see it is the part the figure does not draw.

Close the hole while the only route to the port is an SSH tunnel. A setting you flip after the team has the URL is late.
- Open WebUI is reachable and you have not created an account yet. Stop. The hardening page says signup is open until the first user, and that user is the administrator. Bind the published port to
127.0.0.1, or use an SSH tunnel, then create the account yourself. The install note has the bind and theWEBUI_SECRET_KEY. Do not copy the quick start’s single-user example:WEBUI_AUTH=Falseremoves the login page, and that same section says you cannot switch between single-user mode and multi-account mode afterwards. If you already started a volume that way, keep it only for a machine nobody else can open, or throw the volume away and start again with authentication on. - LibreChat’s sign-up form is still on the login page. Create your admin account, then set
ALLOW_REGISTRATION=false. The authentication page tells you to do that before other people can register; the shipped default does not do it for you. The Ollama page says the daemon listens on127.0.0.1unless you setOLLAMA_HOST=0.0.0.0, and that the API has no authentication: anyone who can reach port 11434 can pull and delete models. Prefer the Docker network address the container actually uses, and do not publish 11434. The Compose file’s MongoDB service usesmongod --noauthand does not publish 27017. Leave it that way. The admin panel, once you set its session secret, publishes port 3000, which is the same host port as the Open WebUI quick start. Run one of them on another port. - LobeHub followed the start page and you pasted a cloud key. Take the key out and set
OLLAMA_PROXY_URLto your Ollama, then check the model picker is not still on the vendor. Before the server is reachable, setAUTH_ALLOWED_EMAILSto the addresses that may log in. An empty value, per the example env, lets anyone register. The security section’s no-authentication mode is described as single-user only. Do not use it on a host other people can open. The one-container Ollama example (lobehub/lobehubandOLLAMA_PROXY_URL) is a different page from the Compose stack this row scores. The page that names PostgreSQL as the store for conversations is the Compose deploy. - Chat UI is still using the Docker example’s base URL. Change
OPENAI_BASE_URLbefore the first real prompt. The npm install page’shttp://127.0.0.1:11434/v1is the machine running npm, not the inside of thechat-ui-dbcontainer.localhostin that container is the container. Turn onAUTOMATIC_LOGIN=truewith an OpenID provider before the port is public. A browser-session ID is not an account, andALLOWED_USER_EMAILSis documented on the OpenID page, so it does not protect an install that never configured OpenID.
Where the prompt actually goes
A chat database on your disk does not keep the prompt on your disk. The model URL does that. The figure is the check. The notes under it are the cases the hostname test misses.

“This machine” includes a LAN address only when you meant to serve the model there. Ollama’s own API still has no password.
- The Open WebUI model picker shows a cloud connection someone added to test. The window is still your container. The prompt is not. Admins can also open every user’s chats:
ENABLE_ADMIN_CHAT_ACCESSdefaults to true on the hardening page. A private install is not private from the admin account. Signing out does not invalidate that session’s token unless you run Redis; the token lasts until it expires, and the defaultJWT_EXPIRES_INis4w. Setting it to-1disables expiry. The same page says SQLCipher is not supported. Encrypt the disk the volume sits on if you need encryption at rest. - LibreChat file search is on, and you have not picked an embedding provider. The RAG page’s default provider is OpenAI, and the default Docker image is the lite image. The Ollama section tells you to switch to the full image, set
EMBEDDINGS_PROVIDER=ollama, and pullnomic-embed-text. Until you do that, a file you upload for search is set up to be embedded by OpenAI. MongoDB holds the chat. The embedding call is a separate hop. Meilisearch is in the Compose file for conversation search; search itself stays off untilSEARCH=trueand a master key. Do not publish port 7700. The Meilisearch doc says a public search port can expose that data. - LobeHub’s PostgreSQL is local and the model is not. The architecture page puts conversations in PostgreSQL and file uploads in S3-compatible storage. A backup of the database alone misses the object store. RustFS in the recommended Compose is that store, on your machine, only if you did not point
S3_ENDPOINTat a hosted bucket. Redis is listed as optional on the architecture page and is included in the recommended Compose. Back up the database and the object store, or accept that uploaded files are gone when the volume is. - Chat UI’s volume is mounted and the base URL is still the router.
chat-ui-data:/datakeeps the MongoDB files. It does not rewriteOPENAI_BASE_URL. The Docker quick start’s value ishttps://router.huggingface.co/v1.
Watch-outs
- Stripping the Open WebUI name breaks the license you are probably on. The license page, effective with v0.6.6, says branding stays visible unless you are under the 50-user exception, you have written permission as a contributor, or you bought an enterprise license. Through v0.6.5 the code remains BSD-3-Clause.
- Shipping a modified LobeHub build to customers is a different license from running the unmodified app. The GitHub LICENSE allows commercial use without modifying the source. Distributing a derivative commercially needs a commercial license from the producer.
- LibreChat’s default MongoDB image needs AVX. On a CPU or virtual machine without it, the Docker doc says MongoDB crashes, and the documented fix is an override to
mongo:4.4.18. That older image is still the--noauthservice. The fix is the CPU feature, not a database password. - Two “private” windows on one host fight over port 3000. Open WebUI’s quick start and LibreChat’s admin panel both use it. Move one.
- The history can be sensitive even when the model is local. Treat the volume the way you would treat the meeting. The meeting-notes guide is the pass for that text. Context length and who can reach Ollama are the Ollama note.
- Pages move. If a default above no longer matches the project’s doc, the doc wins. This board did not install the four stacks.
Changelog
- 2026-11-16 — First edition. Four self-hosted chat windows scored from published docs: Open WebUI quick start, hardening, and license pages; LibreChat Docker, authentication, Ollama, and RAG pages, plus the default Compose file and the GitHub license; LobeHub README, self-hosting start and architecture pages, Ollama guide, example env, and GitHub LICENSE; Hugging Face Chat UI Docker, local-install, and OpenID pages, plus the GitHub license. No install test. Separate from the Open WebUI tool note and the AnythingLLM note.
Share