
Hugging Face Chat UI
SvelteKit chat interface for large language models that connects to any OpenAI-compatible API and powers HuggingChat.
- GitHub stars
- 11k
- Last commit
- yesterday
- Latest release
- v0.10.0
- Licence
- Apache-2.0
- Self-hosted
- Yes
- Hosted version
- Available

Chat UI is a chat interface for LLMs built as a SvelteKit application. It is the open source codebase behind HuggingChat on Hugging Face and lets you run a similar conversational front end against models you choose, whether hosted or running locally.
The current version speaks only to OpenAI-compatible APIs, configured through a base URL and a models endpoint. The README lists the Hugging Face Inference Providers router, a llama.cpp server, Ollama through its OpenAI-compatible bridge, OpenRouter and Poe as example backends. Older provider-specific integrations were removed from the main branch but remain available on a legacy branch.
Setup involves creating an .env.local file with the endpoint and key, choosing a database option, and launching the app, with an optional Docker image. The project is written in TypeScript with Tailwind CSS and is licensed under Apache-2.0, making it a base for self-hosted assistants.
Key features
- Chat front end for any OpenAI-compatible API
- Works with llama.cpp, Ollama and OpenRouter
- Hugging Face Inference Providers support
- Configured through a simple .env.local file
- Optional Docker image
- SvelteKit and Tailwind CSS codebase
Pricing: Free and open source under the Apache-2.0 license.





















