Self-hosted ChatGPT alternatives: open-source chat UI (2026)
Our pick
Start with LibreChat if you want a self-hosted chat interface that looks and works like ChatGPT. It is inspired by ChatGPT's design, lets you switch between models from many providers, has agents, MCP and multi-user sign-in, and is MIT licensed. The table shows its last commit and latest release, and how the other tools compare.
Best for
- A web page for Ollama and OpenAI-compatible APIs
open-webui/open-webuiA self-hosted platform built to run entirely offline. Install with pip install open-webui or run it with Docker. Its licence requires keeping the Open WebUI branding.
- Chatting with your company's apps and documents
onyx-dot-app/onyxIndexes knowledge from many workplace applications and adds chat, web search and agents. It works with self-hosted models such as Ollama and vLLM and with providers such as Anthropic, OpenAI and Gemini, and can run air-gapped.
- A desktop app with documents and agents
Mintplex-Labs/anything-llmAvailable as a desktop app for Mac, Windows and Linux. It connects local or cloud models to your documents and has built-in agents. Its Docker version adds multi-user support. It is MIT licensed.
- A ChatGPT replacement that runs offline on your computer
janhq/janDownloads for your operating system and runs models such as Llama, Gemma and Qwen from Hugging Face. It can also connect to OpenAI, Anthropic and others, and offers a local API at localhost:1337.
- Your own chat front end for any OpenAI-compatible API
huggingface/chat-uiA SvelteKit app that powers HuggingChat. It talks to OpenAI-compatible APIs, set with OPENAI_BASE_URL, and is Apache-2.0 licensed.
- A light app with local storage only
sugarforever/chat-ollamaA SvelteKit web interface for agent conversations, document knowledge bases and tools across local and hosted models. Data is stored locally in SQLite and files, with no separate database or vector service.
The repos compared
Checked on Nov 27, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| LibreChat-AI / LibreChat A ChatGPT-style web app with agents, MCP and multi-user sign-in. | 47,742 GitHub (opens in new tab) | Active Dec 1, 2026 | - | MIT | |
| open-webui / open-webui A self-hosted web interface for Ollama and OpenAI-compatible APIs. | 160,003 GitHub (opens in new tab) | Active Nov 25, 2026 | v0.13.5, Nov 25, 2026 | Custom | |
| onyx-dot-app / onyx A chat and knowledge platform that indexes your team's apps and works with any LLM. | 33,617 GitHub (opens in new tab) | Active Dec 2, 2026 | v5.1.3, Nov 16, 2026 | Custom | |
| Mintplex-Labs / anything-llm A private chat app with documents, agents and multi-user support. | 68,837 GitHub (opens in new tab) | Active Nov 24, 2026 | v1.20.0, Nov 17, 2026 | MIT | |
| janhq / jan An open-source ChatGPT replacement that runs models on your computer. | 46,329 GitHub (opens in new tab) | Active Nov 18, 2026 | v0.8.8, Oct 28, 2026 | Custom | Node.js ≥ 20.0.0; Yarn ≥ 4.5.3; Make ≥ 3.81 |
| lobehub / lobehub An AI agent platform that works inside the chats your team already uses. | 86,342 GitHub (opens in new tab) | Active Dec 2, 2026 | v2.3.6, Nov 24, 2026 | Custom | |
| huggingface / chat-ui The open-source chat interface behind HuggingChat. | 11,071 GitHub (opens in new tab) | Active Nov 30, 2026 | v0.10.0, May 11, 2026 | Apache-2.0 | |
| sugarforever / chat-ollama A web app for agent chats and document knowledge bases across local and hosted models. | 3,530 GitHub (opens in new tab) | Active Dec 1, 2026 | agent-v0.4.0, Sep 9, 2026 | Custom | |
| ThinkInAIXYZ / deepchat A local-first desktop client for AI models, tools and agents. | 6,420 GitHub (opens in new tab) | Active Nov 30, 2026 | v1.1.4, Nov 12, 2026 | Apache-2.0 |
Questions
What is the best self-hosted ChatGPT alternative?
It depends on how you want to run it. LibreChat and Open WebUI are web apps you host for a team, AnythingLLM and Jan are desktop apps, and Onyx adds search across your company's apps. The table shows each licence and last commit.
What are the alternatives to Open WebUI?
LibreChat, Onyx, AnythingLLM, Jan, LobeHub, Chat UI, ChatOllama and DeepChat all give you a chat interface for local or cloud models. Open WebUI's licence requires keeping its branding, while LibreChat, AnythingLLM and Chat UI use MIT or Apache-2.0 licences.
Which of these support MCP?
LibreChat, Jan, AnythingLLM, Onyx and DeepChat all list MCP among their features. Check each project's docs for the exact setup.
Can I use these with Ollama or local models?
Yes. Open WebUI connects to Ollama and OpenAI-compatible APIs. Onyx supports self-hosted models such as Ollama and vLLM. Jan runs models on your computer, and AnythingLLM has an optional built-in engine that runs local models on a CPU or GPU.
Do I need a server to run an open-source ChatGPT UI?
Not always. Jan and AnythingLLM have desktop downloads, and DeepChat is a desktop client. Open WebUI, LibreChat, Onyx and Chat UI are web apps that you run with Docker or on a server.
