Open WebUI 2026:15分钟跑起你自己的私有ChatGPT
想要ChatGPT的体验,但用自己的模型、自己的数据——不订阅、不上传。Open WebUI一条Docker命令搞定。
Open WebUI: The Self-Hosted ChatGPT Interface
Open WebUI (147,533 GitHub stars, permissively licensed) is the most popular self-hosted AI chat interface in existence. It connects to Ollama, OpenAI-compatible APIs, and local models, and provides the full ChatGPT-style experience - chat UI, file uploads, image support, model switching, multi-user accounts, and even a knowledge base (RAG) feature. One docker compose command and your team has a private AI workspace.
The 15-Minute Setup
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway \n -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
Open http://localhost:3000, create the admin account, and connect your models: point it at Ollama (it auto-detects local models) or add an OpenAI-compatible API key. That is the whole setup - no database to configure, no reverse proxy required for local use.
Why Teams and Power Users Love It
- Privacy. Conversations stay on your hardware. For businesses handling sensitive data, this is the difference between usable and unusable.
- Multi-user. Real accounts, admin roles, and per-user settings - free ChatGPT for your whole team on one box.
- RAG built in. Upload documents into collections and chat over them; each collection is a mini knowledge base.
- Model routing. Define which models users can see and set a default; power users can compare models side by side.
- Voice and images. Voice input and multimodal model support are included.
Hardware Reality
The interface itself runs on any small VPS. The models are the cost: an 8B model runs on 8-16GB RAM (CPU works, GPU is better); 70B-class models want 48GB+ or quantized CPU inference with patience. Start with a 7-14B model on one GPU and scale as usage grows.
FAQ
Is Open WebUI free? Yes - open source; you pay only for the hardware it runs on.
Can it use cloud APIs too? Yes - it connects to OpenAI, Anthropic, and any OpenAI-compatible endpoint alongside local models.
Is it secure for a company? It has auth and admin controls; for serious deployments put it behind a reverse proxy with HTTPS and SSO.
Open WebUI vs LibreChat vs LobeChat? All are solid self-hosted chat UIs; Open WebUI has the largest community and best Ollama integration.
