Chat UI
Open-source HuggingChat web UI for any OpenAI-compatible LLM API, with optional MongoDB.
Quick answer
Chat UI is an open-source HuggingChat web UI for any OpenAI-compatible LLM API, with optional MongoDB, listed under Private ChatGPT-style chat. A typical small-business use: private ChatGPT-style UI for a team, backed by your own Ollama or llama.cpp server. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Nov 23, 2026.
What is Chat UI?
Chat UI is the SvelteKit app that powers HuggingChat (hf.co/chat). Point it at any OpenAI-compatible endpoint (Hugging Face Inference Providers router, llama.cpp server, Ollama, OpenRouter, and others) via OPENAI_BASE_URL and OPENAI_API_KEY. Chat history lives in MongoDB (bundled in the chat-ui-db image, or your own). Optional OpenID Connect login, MCP tools and a local Omni LLM router are documented. It does not run models itself.
Where it fits in a 10–200 person business
- Private ChatGPT-style UI for a team, backed by your own Ollama or llama.cpp server
- HuggingChat-like front end on Hugging Face Inference Providers or OpenRouter
- Chat portal with OpenID login and optional MCP tool calling
These use cases are our editorial suggestions, not claims made by the project.
Can a business use Chat UI? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep license and notices. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does Chat UI phone home?
| Telemetry (usage data sent to the vendor) | Not documented Prometheus metrics can be enabled with METRICS_ENABLED=true (off by default). No product phone-home telemetry page was found for the self-hosted binary. |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Yes, by default Calls the configured OPENAI_BASE_URL (and optional MCP servers). Hugging Face router is only used if you set it. How to turn it off: Point OPENAI_BASE_URL at a local OpenAI-compatible runtime (Ollama, llama.cpp). |
| Single sign-on (OIDC / SAML / LDAP) | Free By protocol: OIDC free. OpenID Connect is configured with OPENID_* env vars in the open-source app; SAML/LDAP are not documented. |
| Audit log | Not documented |
| Role-based access control (RBAC) | Basic free, more in paid plan Access can be restricted with ALLOWED_USER_EMAILS / ALLOWED_USER_DOMAINS after OpenID login; richer role-based admin was not documented. |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does Chat UI need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.
GPU: No. The UI only talks to an OpenAI-compatible API; any GPU belongs to that model runtime.
No official CPU/RAM/disk figures are published for the Chat UI container itself.
How much does it cost to host Chat UI per month?
The project publishes no RAM figure we could verify, so we do not estimate a cost.
How to deploy Chat UI
Method: Docker
docker run -p 3000:3000 \
-e OPENAI_BASE_URL=https://router.huggingface.co/v1 \
-e OPENAI_API_KEY=hf_*** \
-v chat-ui-data:/data \
ghcr.io/huggingface/chat-ui-db From the official instructions: huggingface.co/docs/chat-ui/installation/docker. Always check the source for the current version before you run it.
Known gotchas when self-hosting Chat UI
- Chat UI only speaks OpenAI-compatible APIs via OPENAI_BASE_URL. Legacy MODELS provider configs and GGUF discovery are removed; use llama.cpp --server, Ollama's OpenAI bridge, or similar. source
- Without MONGODB_URL the app falls back to an embedded MongoDB under ./db (or /data in the chat-ui-db image). Persist that volume or point MONGODB_URL at an external MongoDB 6/7. source
- Messages are sent to whatever endpoint you set in OPENAI_BASE_URL. HuggingChat's hosted privacy policy covers Hugging Face routing; a self-hosted instance follows your chosen provider's terms. source
Alternatives in Private ChatGPT-style chat
- Open WebUI Feature-rich self-hosted chat UI for Ollama and OpenAI-compatible APIs. Compare Chat UI vs Open WebUI
- NextChat Lightweight ChatGPT-style web app you can run with one Docker command. Compare Chat UI vs NextChat
- LobeHub (LobeChat) Polished multi-model chat and agent workspace with plugins and knowledge bases. Compare Chat UI vs LobeHub (LobeChat)
- Cherry Studio Desktop AI client for cloud and local models with agents, knowledge bases and MCP tools. Compare Chat UI vs Cherry Studio
- LibreChat Multi-provider ChatGPT-style interface with agents, file search and user management. Compare Chat UI vs LibreChat
- Jan Offline desktop ChatGPT alternative that runs models on each employee's computer. Compare Chat UI vs Jan
- Chatbox Cross-platform desktop AI client for OpenAI, Claude, Gemini, Ollama and more, with local-first chat storage. Compare Chat UI vs Chatbox
- big-AGI Self-hosted multi-model AI workspace with chat, personas and a team-friendly web UI. Compare big-AGI vs Chat UI
- DeepChat Local-first desktop AI agent client with MCP, Skills and messaging-app remote control, under Apache 2.0. Compare Chat UI vs DeepChat
- Bionic Self-hosted AI workspace with agents, RAG, teams, SSO and audit trails, built in Rust. Compare Bionic vs Chat UI
Chat UI FAQ
How much RAM does Chat UI need?
Chat UI does not publish an official RAM figure, so we do not state one.
Does Chat UI need a GPU?
No. The UI only talks to an OpenAI-compatible API; any GPU belongs to that model runtime.
How much does it cost to self-host Chat UI?
The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.
Is Chat UI free for commercial use?
Chat UI is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep license and notices. This is a summary, not legal advice.
What are common problems when self-hosting Chat UI?
Chat UI only speaks OpenAI-compatible APIs via OPENAI_BASE_URL. Legacy MODELS provider configs and GGUF discovery are removed; use llama.cpp --server, Ollama's OpenAI bridge, or similar. Without MONGODB_URL the app falls back to an embedded MongoDB under ./db (or /data in the chat-ui-db image). Persist that volume or point MONGODB_URL at an external MongoDB 6/7. Messages are sent to whatever endpoint you set in OPENAI_BASE_URL. HuggingChat's hosted privacy policy covers Hugging Face routing; a self-hosted instance follows your chosen provider's terms.
Is Chat UI still maintained?
Yes, it is actively developed. Last commit: Nov 23, 2026. Latest release: v0.10.0 (May 11, 2026). Checked Nov 23, 2026.
How do I install Chat UI?
The official method is Docker. The exact commands are in the "How to deploy" section above and in the official instructions: https://huggingface.co/docs/chat-ui/installation/docker
What are self-hosted alternatives to Chat UI?
Other apps in Private ChatGPT-style chat: Open WebUI, NextChat, LobeHub (LobeChat), Cherry Studio, LibreChat, Jan, Chatbox, big-AGI, DeepChat, Bionic.
Sources
- GitHub repository: github.com/huggingface/chat-ui
- Official documentation, Hardware requirements, Deploy instructions: huggingface.co/docs/chat-ui/installation/docker
- License text: github.com/huggingface/chat-ui/blob/main/LICENSE
- Gotcha 1, Gotcha 2: github.com/huggingface/chat-ui#readme
- Gotcha 3: github.com/huggingface/chat-ui/blob/main/PRIVACY.md
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-11-06. Spotted something out of date? Tell us.