Open WebUI
Self-hosted web chat interface for language models, here paired with a local Ollama server that runs open-weight models on the CPU. Chats, users and uploaded documents stay on the server.
Resources by load level
What the app itself needs at each level, next to what we recommend for a server that runs only this app.
| Level | What it means | App requirements | Recommended |
|---|---|---|---|
| LightEstimate | Model up to 3B params at Q4_K_M (≤2.0 GB file, e.g. llama3.2:3b), 4096-token context, 1 request at a time; up to 2 users; up to 0.5 GB of uploaded documents. | 3 vCPU · 5.75 GiB RAM · 18.472 GiB disk | 3.72 vCPU · 8.4 GiB RAM · 30.673 GiB disk |
| MediumEstimate | Model up to 8B params at Q4_K_M (≤4.9 GB file, e.g. qwen2.5:7b, llama3.1:8b), 4096-token context, 1 request at a time; up to 5 users; up to 2 GB of uploaded documents. | 5.5 vCPU · 11.25 GiB RAM · 27.173 GiB disk | 6.72 vCPU · 15 GiB RAM · 40.679 GiB disk |
| HeavyEstimate | Model up to 15B params at Q4_K_M (≤9.0 GB file, e.g. qwen2.5:14b), 4096-token context, 1 request at a time; up to 10 users; up to 5 GB of uploaded documents. | 10 vCPU · 22.25 GiB RAM · 42.991 GiB disk | 12.12 vCPU · 28.2 GiB RAM · 58.87 GiB disk |
Recommended = app requirements + system baseline + safety headroom, under sizing policy 2026.10.0. Options stay at their defaults. “Estimate” means the sources give no number for that case, so it is worked out from them by the method stated under Components. How the numbers are built
Need a server for this? Look for at least 3.72 vCPU / 8.4 GiB RAM
Based on the Recommended figure for Light load above, which includes system baseline and safety headroom.
ANAROQ is in development and doesn't sell servers. These are some options for renting a server, in no particular order.
- View plans at Contabo (opens in a new tab)
- View plans at DigitalOcean (opens in a new tab)
- View plans at Hostinger (opens in a new tab)
- View plans at Vultr (opens in a new tab)
Regular links, not affiliate links. ANAROQ earns nothing from them. Providers are not ranked. How ANAROQ may earn from links
Ready-to-run files
Support level Run-tested
Compose template verified by a run on the current profile version.
Components
What each component needs at each load level, before baseline and headroom.
| Component | Light | Medium | Heavy | Sources |
|---|---|---|---|---|
| Open WebUI (app) | 1 / 2 / 7.9 | 1 / 2 / 13.9 | 2 / 4 / 25.9 | [5][9][10][12][23] |
| Ollama (model-runtime) | 2 / 3.75 / 10.572 | 4.5 / 9.25 / 13.273 | 8 / 18.25 / 17.091 | [13][14][18][19][20][21][22][23] |
How the estimates are worked out
- Open WebUI · Light: RAM: the docs say 1 GB is very low with RAG/embeddings and to aim for 2 GB or more; 2 GB taken as 2 GiB (rounded up). vCPU: one Uvicorn worker (UVICORN_WORKERS default 1), one process, so 1 vCPU. Disk: image 5.9 GiB (compressed 1.541 + unpacked 4.36 GiB, both kept by the containerd image store) + data 2 GiB = 0.5 GB uploads × 4 (original file + chunk text with 100-char overlap per 1,000 chars + 384-dim float32 vector = 1,536 B per chunk, ≈3.64×, rounded up to 4×).
- Open WebUI · Medium: RAM and vCPU as light: the documented 2 GB target (taken as 2 GiB) and one Uvicorn worker; model inference runs in Ollama, not here. Disk: image 5.9 GiB + data 8 GiB = 2 GB uploads × 4 (same chunk-and-vector method as light).
- Open WebUI · Heavy: vCPU and RAM: the reservation in the docs' Compose resource example for concurrent load (cpus 2.0, memory 4G), 4G taken as 4 GiB. Disk: image 5.9 GiB + data 20 GiB = 5 GB uploads × 4 (same chunk-and-vector method as light).
- Ollama · Light: RAM: README gives 8 GB for 7B models; scaled by parameters, 8 × 3.21/7 = 3.67 GB, taken as GiB and rounded up to 3.75. vCPU: Ollama uses one thread per physical core (num_thread); per-token compute scales with parameters, so 8 threads (docs example) at 14.8B × 3.21/14.8 = 1.74, rounded up to 2. Disk: image 8.709 GiB (compressed 3.52 + unpacked 5.189) + model 2.0 GB = 1.863 GiB.
- Ollama · Medium: RAM: README gives 8 GB for 7B; scaled to 8.03B, 8 × 8.03/7 = 9.18 GB, taken as GiB and rounded up to 9.25. vCPU: 8 threads (num_thread docs example) at 14.8B × 8.03/14.8 = 4.34, rounded up to 4.5. Disk: image 8.709 GiB + model 4.9 GB = 4.564 GiB.
- Ollama · Heavy: RAM: README gives 16 GB for 13B; scaled to 14.8B, 16 × 14.8/13 = 18.22 GB, taken as GiB and rounded up to 18.25. vCPU: 8 threads, the num_thread docs example (one thread per physical core). Disk: image 8.709 GiB + model 9.0 GB = 8.382 GiB.
extra-model· Ollama: Disk: 4.9 GB model file (llama3.1:8b) = 4.564 GiB. No RAM or vCPU added: per the FAQ, when memory is insufficient new requests are queued and idle models are unloaded to make room.
Options that change resources
Ports
Public ports are meant to be reached from outside the stack, usually through a reverse proxy; internal ones stay on the stack's own network.
User and permissions (UID/GID)
The user each container's process runs as, and the paths it writes to. A bind mount for one of these paths must be writable by that UID:GID.
| Component | UID:GID | User | Starts as root | Writes to | Sources |
|---|---|---|---|---|---|
| Open WebUI | 0:0 | root | No | /app/backend/data | [11][24] |
| OllamaDerived | 0:0 | root | No | /root/.ollama | [15][28] |
- Open WebUI: The image is built with UID=0 and GID=0 and runs USER 0:0, so start.sh and Uvicorn run as root and never drop privileges; upstream says non-root builds are untested. Data (webui.db, uploads/, vector_db/, cache/) is written to /app/backend/data.
- Ollama: The final image stage sets no USER, so Docker runs /bin/ollama serve as root (uid 0) without any step-down. Models and keys are written to /root/.ollama, the volume in the Ollama Docker docs.
Permission denied on a mount? Get the exact check and chown for this app
Storage growth
How much each component's data grows per month at each load level, on top of the disk in the profile. A value marked Assumption is ANAROQ's stated assumption, not a figure from the sources; the notes say what it rests on.
| Component | Light | Medium | Heavy | Sources |
|---|---|---|---|---|
| Open WebUIAssumption | 0.167 | 0.667 | 1.667 | [11] |
| OllamaDerived | 0 | 0 | 0 | [15][19][21][22] |
What the growth figures rest on
- Open WebUI: Upstream gives no growth rate. Assumes the preset's on-disk data (0.5 GB uploads × 4 = 2 GiB) fills over 12 months: 2 / 12 = 0.167. Chat history in webui.db is small next to it.
- Open WebUI: Same 12-month assumption: 2 GB uploads × 4 = 8 GiB on disk, 8 / 12 = 0.667.
- Open WebUI: Same 12-month assumption: 5 GB uploads × 4 = 20 GiB on disk, 20 / 12 = 1.667.
- Ollama: Each level keeps a fixed model set, already counted in the preset disk; /root/.ollama grows only when another model is pulled.
- Ollama: Fixed model set, already in the preset disk; no growth unless another model is pulled.
Upgrade and rollback
How to move to a new version safely, and how to go back if it fails.
Back up first
Back up the whole open-webui data volume (/app/backend/data) before every update, e.g. as a tar archive from a throwaway container; database migrations are hard to undo. [11][25]
Upgrade steps
- Read the release notes of every version between yours and the target for breaking changes and database migrations. [25][26]
- Set the new pinned tag ghcr.io/open-webui/open-webui:vX.Y.Z in the Compose file, then run docker compose pull and docker compose up -d. Data in the volume is kept. [25]
- Keep WEBUI_SECRET_KEY unchanged across the update; a new key signs every user out. [10][25]
- Check the container logs for the new version and for migration errors, load the UI and clear the browser cache (Ctrl+F5) if it looks broken. [25]
- Update Ollama the same way, by raising its pinned ollama/ollama tag; downloaded models stay in the /root/.ollama volume. [15][29]DerivedOllama publishes no separate upgrade guide; this follows from the pinned-tag Compose setup and the documented model volume.
Roll back
Pin the previous image tag and run docker compose up -d. If the new version ran a database migration, that does not undo it: restore the volume backup taken before the update. [25]
Known breaking changes
- In 0.12.0: Database schema migration. ENABLE_PLUGINS=false now turns off every plugin kind, including OpenAPI, MCP and Open Terminal servers; Milvus collections are rewritten on first start. [26]
- In 0.10.0: Database migrations; downgrading after the migration is not supported. [26]
- In 0.9.0: Async backend: custom Tools, Functions and Pipelines may need migrating to the new async signatures (0.9.0 plugin migration guide). [26]
- In 0.8.0: New chat message table migration that can take a long time on large chat histories; let it finish without interruption. [26]
Limits
- CPU only: no GPU is used, Ollama runs its CPU-only Docker setup. Generation speed (tokens/sec) depends on CPU cores and memory speed and grows slower as the model gets larger. [15][18]
- Models larger than the heavy level (over ~15B parameters or 9 GB at Q4_K_M, e.g. 32B or 70B) are not supported by this profile; the README already asks 32 GB RAM for 33B models. [14][22]
- One request per model at a time (OLLAMA_NUM_PARALLEL default 1) with a 4096-token context; other users wait in a queue. Raising either multiplies the RAM needed and is not covered by these figures. [16]
- The default database is SQLite in the data volume; keep it on local disk, not NFS/SMB. For many users or growing deployments the docs recommend PostgreSQL, which this profile does not include. [9]
Security
- The Ollama API on port 11434 has no authentication. Never publish it; keep it on the internal Docker network and let only Open WebUI reach it. [16][17]
- The first account created becomes the administrator. Create it right after the first start, before the URL is shared; sign-up then turns off and new accounts wait for approval. [8]
- Keep WEBUI_SECRET_KEY stable and secret: it signs login tokens and encrypts stored secrets. Serve port 8080 only through an HTTPS reverse proxy. [6][10]
Backup
- Back up the open-webui volume (/app/backend/data): webui.db (users, chats, settings), uploads/ and vector_db/. Copy webui.db as the docs describe (SQLite WAL), not via the admin Database download, which can miss recent writes. [11]
- The ollama volume (/root/.ollama) holds only downloaded models; it does not need backup, since models can be pulled again from the Ollama library. [15][21]
Latest release
- This profile was checked against
Open WebUI 0.11.4
A newer release exists than the one this profile was checked against.
- Checked on
- 13 Oct 2026
- State
- Checked within the last 90 days
- Where releases are published
- GitHub Releases
Version
- Profile status
- Published
- Checked against release
- Open WebUI 0.11.4
- Profile version
- 1.2.0
- Figures verified
- 10 Oct 2026
- Catalog release
- 2026.10.10
- Sizing policy
- 2026.10.0
- Compose file
- Verified on 12 Oct 2026
Project and alternatives
- Official site
- openwebui.com
- Source code
- github.com/open-webui/open-webui
Sources
- open-webui v0.11.4 Dockerfile: HEALTHCHECK curl /health with Docker's defaults (30s interval, 3 retries, no start period) (Official repository · read 12 Oct 2026)
- Docker Engine v28.0.4 daemon/commit.go merge(): unset healthcheck fields of a container come from the image (Official repository · read 12 Oct 2026)
- open-webui v0.11.4 backend/open_webui/main.py (GET /health) (Official repository · read 11 Oct 2026)
- open-webui on PyPI: current release 0.11.4 (uploaded 2026-09-21) (Official repository · read 10 Oct 2026)
- GHCR manifest of ghcr.io/open-webui/open-webui:v0.11.4 (linux/amd64): 1,653,857,031 B compressed; layers decompressed and counted: 4,680,733,696 B (Measurement · read 10 Oct 2026)
- Open WebUI docker-compose.yaml (open-webui + ollama, volumes, ports) (Official Compose · read 10 Oct 2026)
- Open WebUI README: Docker install, port 8080, /app/backend/data volume (Official repository · read 10 Oct 2026)
- Open WebUI Quick Start: image sizes, first account is the administrator (Official docs · read 10 Oct 2026)
- Open WebUI: Optimization, Performance & RAM Usage (Official docs · read 10 Oct 2026)
- Open WebUI environment variables (UVICORN_WORKERS, CHUNK_SIZE, CHUNK_OVERLAP, RAG_EMBEDDING_MODEL) (Official docs · read 10 Oct 2026)
- Open WebUI: Backing Up Your Instance (data directory layout) (Official docs · read 10 Oct 2026)
- sentence-transformers/all-MiniLM-L6-v2 model card: 384-dimensional vectors (Official docs · read 10 Oct 2026)
- Docker Hub tag ollama/ollama:0.40.2 (linux/amd64): 3,779,377,170 B compressed; layers decompressed and counted: 5,570,913,280 B (Measurement · read 10 Oct 2026)
- Ollama README (v0.12.0): at least 8 GB RAM for 7B models, 16 GB for 13B, 32 GB for 33B (Official repository · read 10 Oct 2026)
- Ollama Docker: CPU-only run command, /root/.ollama volume, port 11434 (Official docs · read 10 Oct 2026)
- Ollama FAQ: 4096-token default context, keep-alive, OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS (Official docs · read 10 Oct 2026)
- Ollama API authentication: the local API on port 11434 requires none (Official docs · read 10 Oct 2026)
- Ollama Modelfile docs (v0.1.30): num_thread, recommended = number of physical CPU cores (example 8) (Official repository · read 10 Oct 2026)
- Ollama library llama3.2:3b: 3.21B parameters, Q4_K_M, 2.0 GB (Official docs · read 10 Oct 2026)
- Ollama library qwen2.5:7b: 7.62B parameters, Q4_K_M, 4.7 GB (Official docs · read 10 Oct 2026)
- Ollama library llama3.1:8b: 8.03B parameters, Q4_K_M, 4.9 GB (Official docs · read 10 Oct 2026)
- Ollama library qwen2.5:14b: 14.8B parameters, Q4_K_M, 9.0 GB (Official docs · read 10 Oct 2026)
- Docker: containerd image store is the default on fresh Engine 29+ installs and keeps images compressed and uncompressed (Official docs · read 10 Oct 2026)
- open-webui v0.11.4 Dockerfile: ARG UID=0 / GID=0 (non-root untested), USER $UID:$GID, /app/backend/data owned by $UID:$GID (Official repository · read 13 Oct 2026)
- Open WebUI: Updating Open WebUI (pinned tags, compose pull/up, rolling back, one-way migrations, backup & restore) (Official docs · read 13 Oct 2026)
- Open WebUI CHANGELOG.md (0.12.0 of 2026-10-10 is the newest release) (Release notes · read 13 Oct 2026)
- PyPI JSON API for open-webui: latest version 0.12.0 (uploaded 2026-10-10) (Official repository · read 13 Oct 2026)
- Ollama v0.40.2 Dockerfile: final stage FROM ubuntu:24.04 with no USER instruction, ENTRYPOINT /bin/ollama serve (Official repository · read 13 Oct 2026)
- Docker Hub tags of ollama/ollama (0.40.3 newest stable on 2026-10-13) (Official repository · read 13 Oct 2026)