# Open WebUI — Self-Hosted ChatGPT Alternative > Feature-rich open-source web UI for running local and remote LLMs. Open WebUI supports Ollama, OpenAI, Claude API with RAG, tools, multi-user, and mobile-friendly interface. ## Install Save as a script file and run: ## Quick Use ```bash # Docker (with Ollama) docker run -d -p 3000:8080 \ --add-host=host.docker.internal:host-gateway \ -v open-webui:/app/backend/data \ --name open-webui \ ghcr.io/open-webui/open-webui:main # Opens at http://localhost:3000 ``` ```bash # Or pip install pip install open-webui open-webui serve ``` ## What is Open WebUI? Open WebUI is a self-hosted, feature-rich web interface for LLMs. It provides a ChatGPT-like experience that works with local models (Ollama), cloud APIs (OpenAI, Claude), or any OpenAI-compatible endpoint. Key differentiators: built-in RAG, tool/function calling, multi-user with roles, model playground, and a mobile-responsive design. Everything runs on your infrastructure. **Answer-Ready**: Open WebUI is a self-hosted ChatGPT alternative with Ollama, OpenAI, and Claude support. Built-in RAG, tools, multi-user roles, model playground, and mobile UI. Full privacy on your infrastructure. Most popular open-source LLM frontend. 60k+ GitHub stars. **Best for**: Teams wanting a private, multi-user LLM interface. **Works with**: Ollama (local), OpenAI, Anthropic Claude, any OpenAI-compatible API. **Setup time**: Under 2 minutes. ## Core Features ### 1. Multi-Provider Support ``` # In Settings → Connections: - Ollama: http://host.docker.internal:11434 - OpenAI: sk-... (GPT-4o, GPT-4o-mini) - Anthropic: sk-ant-... (Claude Sonnet, Haiku) - Custom: Any OpenAI-compatible endpoint ``` ### 2. Built-in RAG Upload documents directly in chat: - PDF, DOCX, TXT, CSV - Web URLs (auto-scrape) - Code files - Automatic chunking and embedding ### 3. Tools & Functions ```python # Create custom tools in the UI class Calculator: def add(self, a: float, b: float) -> float: return a + b def multiply(self, a: float, b: float) -> float: return a * b ``` ### 4. Multi-User with Roles | Role | Permissions | |------|------------| | Admin | Full control, user management | | User | Chat, upload docs, use tools | | Pending | Awaiting admin approval | ### 5. Model Playground Compare models side-by-side: - Send same prompt to multiple models - Compare response quality and speed - Helpful for model selection ### 6. Mobile Responsive Full-featured mobile interface — chat, upload, switch models from phone or tablet. ## Open WebUI vs Alternatives | Feature | Open WebUI | LobeChat | Jan | AnythingLLM | |---------|-----------|---------|-----|-------------| | Multi-provider | Yes | Yes | Yes | Yes | | Built-in RAG | Yes | Plugin | Plugin | Yes | | Multi-user | Yes (roles) | No | No | Yes | | Tools/Functions | Yes | Yes | Limited | Yes | | Mobile UI | Yes | Yes | No | Limited | | Stars | 60k+ | 55k+ | 26k+ | 35k+ | ## FAQ **Q: Is it truly private?** A: Yes, everything runs on your server. Use Ollama for fully local inference with zero data leaving your network. **Q: Can I use Claude with it?** A: Yes, add your Anthropic API key in Settings → Connections. Claude Sonnet and Haiku are supported. **Q: How does RAG work?** A: Upload files in chat or via the Documents page. Open WebUI chunks, embeds, and stores them. They are automatically retrieved during relevant conversations. ## Source & Thanks > Created by [Open WebUI](https://github.com/open-webui). Licensed under MIT. > > [open-webui/open-webui](https://github.com/open-webui/open-webui) — 60k+ stars ## 快速使用 ```bash docker run -d -p 3000:8080 ghcr.io/open-webui/open-webui:main ``` 一行 Docker 启动自托管 ChatGPT 替代品。 ## 什么是 Open WebUI? 自托管的 LLM Web 界面,支持 Ollama/OpenAI/Claude,内置 RAG、工具调用、多用户和移动端。 **一句话总结**:最流行开源 LLM 前端,自托管 ChatGPT 体验,Ollama + OpenAI + Claude 多供应商,内置 RAG + 工具 + 多用户,60k+ stars。 **适合人群**:需要私有多用户 LLM 界面的团队。 ## 核心功能 ### 1. 多供应商 Ollama(本地)、OpenAI、Claude、自定义端点。 ### 2. 内置 RAG 上传 PDF/文档,自动分块嵌入检索。 ### 3. 多用户 Admin/User 角色,审批制注册。 ### 4. 移动端 完整移动界面,手机平板可用。 ## 常见问题 **Q: 真正私有?** A: 是,全部自托管,配合 Ollama 零数据外泄。 **Q: 支持 Claude?** A: 支持,设置中添加 Anthropic API key。 ## 来源与致谢 > [open-webui/open-webui](https://github.com/open-webui/open-webui) — 60k+ stars, MIT --- Source: https://tokrepo.com/en/workflows/053f9525-915e-4634-b188-78f9cb32c547 Author: Script Depot