Chat UI

Open-source HuggingChat web UI for any OpenAI-compatible LLM API, with optional MongoDB.

Active Private ChatGPT-style chat Apache-2.0

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

GitHub stars11.0k
Forks1.7k
Latest releasev0.10.0May 11, 2026
Last commitNov 23, 2026
Est. server cost—

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)

LicenseApache-2.0
TypePermissive: MIT / Apache-2.0: use, modify and sell with few obligations.
Internal business useAllowed under the license text
What to watchPermissive. 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.

Source: huggingface.co/docs/chat-ui/configuration/metrics

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).

Source: huggingface.co/docs/chat-ui/installation/docker

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.

Source: huggingface.co/docs/chat-ui/configuration/open-id

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.

Source: huggingface.co/docs/chat-ui/configuration/open-id

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.

Source: huggingface.co/docs/chat-ui/installation/docker

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

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

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.