Open WebUI
Open-source, self-hostable AI platform interface connecting to Ollama and OpenAI-compatible endpoints with offline support.
pip install open-webuiAt a Glance & Reviews
Community Discussions (8)
- Docker 部署 Open WebUI + Ollama 完整教程(Windows / Linux 通用)—— 打造自己的本地OpenAI 2026-04-25 · 2 pts
- OSS Alternative to Open WebUI – ChatGPT-Like UI, API and CLI 2025-11-03 · 101 pts
- Open WebUI changed license from BSD-3 to Open WebUI license with CLA 2025-05-06 · 73 pts
- 90.9K star!Open WebUI一键部署AI聊天界面,这个开源项目让大模型交互更简单! 2025-04-23 · 9 pts
About Open WebUI
Open WebUI is a self-hosted artificial intelligence platform that provides a unified web interface for local and cloud models, allowing individuals and organizations to use large models within their own hardware and data boundaries. It solves the problem of scattered daily tools across a team: according to the official documentation, people use one chat service for writing, another application for generating images, yet another tool for searching documents, and keep prompts scattered in spreadsheets where no one can find them, whereas Open WebUI brings conversations, knowledge, tools, and models into a single place. Once deployed, the interface, accounts, and data remain inside an environment under your own control, models can be connected on demand to local runners or cloud services, its official positioning includes a self-hosted setup capable of running completely offline, and the documentation site also provides a dedicated comparison page against common cloud chat services that emphasizes model sources, data storage, and customizability as the main trade-offs.
Chat is its core foundation. The same interface can connect to Ollama, OpenAI, Anthropic, or any OpenAI-compatible API service, local and cloud models can be used side by side, and you can switch models mid-conversation while preserving context. The chat capabilities listed in the documentation include: having two models answer side by side simultaneously for comparison, uploading documents, images, and code files for model analysis, letting models search the web and cite sources in real time, running Python code directly in the browser or through its terminal environment, continuing to type and queue messages while a model is still responding, remembering facts about the user across conversations, organizing chats with folders, tags, and pins, speech-to-text, text-to-speech, and hands-free voice and video calls, generating and editing images via backends such as GPT-Image, Gemini, and ComfyUI, automated tasks that run prompts on a schedule, and letting models maintain structured task lists for multi-step work. For people who primarily use it as a unified team chat portal, these are the features they actually encounter every day.
Knowledge and retrieval-augmented generation make up the second major pillar. Users can upload files to build knowledge bases that models query when answering, with technical details in the documentation noting support for 13 vector databases—ChromaDB and PGVector are officially maintained, while others such as Qdrant, Milvus, and Elasticsearch are non-core integrations—and retrieval uses hybrid keyword and vector search paired with cross-encoder reranking. For document content extraction, 8 engines are available, including Tika, Docling, Azure, and Mistral OCR, and models can also search and read through knowledge bases autonomously in an agentic manner. Alongside vector retrieval, it offers a full-document injection mode that places the entire text of a document directly into the context for precision, suitable for shorter materials that should not be chunked. Knowledge bases include file browsing and online preview with permissions controllable by user and group, so once internal policies, manuals, and project materials are attached, Q&A citations stay grounded in your own files.
At the model and agent level, its approach is to wrap a configuration layer around a base model: bundling a system prompt, available tools, attached knowledge, and parameters into a model preset produces a purpose-built assistant, such as a meeting-minutes assistant following a company template or a code-review assistant loaded with coding standards. Presets support automatic injection of dynamic variables like the current user's name and date, can force-enable specific tools for a given model, restrict a model to specific users or groups, or configure global default capabilities and parameters. Model controls allow users inside a chat to pick options such as reasoning effort from administrator-approved parameter presets, and every saved configuration keeps a version history so any previous version can be reactivated. This wrapper does not train the model; instead, it changes the combination of prompts, tools, and knowledge, making it more reliable than verbal conventions when rolling out a standardized workflow across a team.
Collaboration and extensibility account for a large share of the Community Edition. The Notes feature provides a rich-text and Markdown editor where you can highlight text for in-place rewriting by a model, attach notes to any conversation as full context, and allow models to search and update notes autonomously. Channels are persistent shared spaces where people and models converse in a single timeline—using mentions to call in one model to draft and another model to critique—with support for threads, pins, emoji reactions, and access controls covering public, private, group-based, and direct messages. The extension system spans several layers: Python tools and functions that run inside chats with a built-in code editor, version history, and dedicated tool search when tool counts grow; Model Context Protocol services connected via native streamable HTTP; automatic tool discovery from any OpenAPI-compatible endpoint; Markdown-written skill manuals that teach models how to handle tasks, complete with file and version management; and slash-command prompt templates with typed input variables. Meanwhile, the terminal feature connects the model to a real computing environment where it can write code, execute it, inspect output, debug, and iterate, as well as manage files, install packages, run services, and preview web projects directly in the interface, with isolation options for either containers or running directly on the host machine.
Team and enterprise administration capabilities have their own dedicated section in the documentation. Built as multi-user from the ground up, the system lets administrators define roles, user groups, and permissions down to individual resources; on the authentication side, it supports single sign-on, OIDC, LDAP, automated SCIM 2.0 provisioning, and two-factor authentication, along with API keys for scripts and bots. Administrators get a usage analytics dashboard tracking message volume, token consumption, and cost breakdowns, a model arena with blind side-by-side comparisons and rating-based leaderboards for evaluating models, site-wide announcement banners, global default UI settings, and notification hooks triggered upon user registration or completion of long-running tasks. Deployment options include Docker and Compose, Kubernetes and Helm, direct pip installation, and bare-metal execution; architecturally, it runs as a stateless application paired with a shared database and storage plus Redis for multi-instance coordination, enabling horizontal scaling behind a load balancer, object storage integration with S3, GCS, and Azure Blob, observability export via OpenTelemetry to your own monitoring stack, and air-gapped deployment support.
Getting started follows two tracks depending on scale. The shortest path for individual trial is installing via pip and running the startup command—the official instructions specify installing the open-webui package and running open-webui serve, or launching directly via uvx with a newer Python version—then opening the interface on local port 8080, registering the first account as administrator, and following the provider connection guides to link Ollama, OpenAI, or Anthropic before starting to chat. Organizational deployments typically use Docker or Helm instead, beginning with a small pilot group to configure single sign-on, group permissions, and an allowlist of models before rolling out more broadly. Either way, Open WebUI does not ship with models bundled; inference connects either to local runners like Ollama on the machine or to cloud APIs, so hardware sizing is driven primarily by the local model side.
Typical use cases fall into three categories. The first is setting up a unified model portal on a personal computer or intranet server for yourself or an entire staff so common models are managed centrally and individuals do not have to maintain separate accounts and API keys. The second is turning internal documents into knowledge bases for traceable Q&A paired with permission controls so different groups see different materials, fitting teams with extensive policies, manuals, and support documentation. The third is processing materials exclusively with local models in offline or regulated environments so data never leaves the intranet and audit and access logs remain inside your own systems. All three scenarios share a common prerequisite: someone must be willing to take on the operational work of deployment and upgrades, which in return buys autonomy over data and model choice.
On pricing, no public price list is published: the Community Edition is free to use on your own infrastructure with no user cap, as explicitly stated on the official documentation's comparison page, while an Enterprise Edition exists without public pricing and requires contacting sales, so no price figures appear on the website and none are stated here. Actual costs come from two sources: the operating cost of your own servers or computers, and the API usage fees charged by connected cloud model providers, whereas local models incur hardware and electricity costs. Regarding licensing, one clause explicitly highlighted in the official documentation warrants attention: Open WebUI uses a BSD-style license with an additional condition stating that when a deployment exceeds 50 end users within any rolling 30-day period, its branding may not be removed or replaced unless you hold an Enterprise license—a hard constraint for any team planning to white-label the service for external users, though internal self-use is unaffected.
Compared with cloud subscription chat services, Open WebUI differs in that the interface and data are self-hosted by the user, model sources are not locked to a single vendor, local and cloud models can be switched within the same workspace depending on the task, and knowledge, tools, and permissions can all be customized under your own rules. Compared with other self-hosted chat interfaces, it leans more toward a full platform: beyond chat, it includes channels, notes, automation, a terminal, and comprehensive administrative evaluation tools, offering a broader feature surface at the cost of higher mental overhead for deployment and maintenance. Someone who only needs a simple window to talk to a local model will leave many of its modules unused, whereas organizations that need to give a group of people a lasting unified entry point while keeping control over data and model sources are the audience it truly fits.