Hugging Face Chat UI
The open-source codebase behind HuggingChat, ready to self-host.
Overview
Chat UI is the SvelteKit app that powers HuggingChat, released so anyone can host their own instance. It connects to OpenAI-compatible endpoints, local servers and Hugging Face inference with your own credentials.
- Web search
- Multi-model config
- Assistants
- Tool use
Our verdict
What we like
- Battle-tested at HuggingChat scale
- Flexible endpoint config
Watch out for
- Requires MongoDB and config work
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in Hugging Face Chat UI
Grade B
Your key is stored by the service (usually encrypted) and requests may route through its servers.
- Key storage18/40
Key is held by the vendor, so you rely on their security.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice8/10
4 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Hugging Face Chat UI FAQ
- Does Hugging Face Chat UI support bring your own key?
- Yes. Hugging Face Chat UI accepts your own API key from OpenAI, Ollama, LM Studio and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does Hugging Face Chat UI store my API key?
- On the vendor's servers, and requests may be routed through them. Its BYOK Tools Key Safety Score is 76/100.
- Is Hugging Face Chat UI free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is Hugging Face Chat UI open source?
- Yes. The source code is at https://github.com/huggingface/chat-ui. It can also be self-hosted.
- Can Hugging Face Chat UI run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does Hugging Face Chat UI support?
- Web, Self-hosted.
Community reviews
No reviews yet.
Alternatives to Hugging Face Chat UI
All chat clients →Open WebUI
Chat Clients
Feature-rich self-hosted AI interface for Ollama and any OpenAI-style API.
big-AGI
Chat Clients
Power-user AI workspace with model beaming and personas.
LibreChat
Chat Clients
Self-hosted, ChatGPT-style workspace for every model your org uses.
LobeChat (LobeHub)
Chat Clients
Modern open-source AI chat with agents, plugins and dozens of providers.
Chatbox
Chat Clients
Cross-platform desktop and mobile AI client for your own keys and local models.
NextChat
Chat Clients
One-click deployable, lightweight ChatGPT-style web app.