Local and Self-Hosted AI
Pinned versions: Ollama v0.40.16 (published 2026-11-10 03:21 JST). Open WebUI v0.13.3 (published 2026-11-09 08:48 JST). LM Studio desktop 0.4.28 (download page, checked 2026-11-12). Last checked: 2026-11-12.
Local AI means running an open language model on hardware you control — a mini PC, a desktop GPU, or a Proxmox VM — instead of sending every prompt to a hosted API. On HomelabWise that stack is Ollama or LM Studio for the model, and Open WebUI when you want a browser chat UI on top of Ollama.
This hub links four pages. Each one is a full guide, not a copy of the others.
The four guides
- Ollama and Open WebUI with Docker Compose — official
docker runand Compose, NVIDIA and CPU-only, updates, volume backups, and documented errors (Application startup complete,Model not foundvs DNS,WEBUI_SECRET_KEY, GPU placement withollama ps). - Local LLM hardware and VRAM/RAM calculator — official Ollama tag sizes (for example
llama3.2:3bat 2.0GB,llama3.1:8bat 4.9GB,llama3.1:70bat 43GB), a client-side calculator, the packed-weight formula, and Ollama's 4k / 32k / 256k context tiers. - Ollama vs LM Studio — an official-source comparison: ports 11434 vs 1234, Docker vs AppImage / llmster, macOS Apple Silicon and AVX2 limits, when to pick each.
- Ollama on Proxmox with GPU passthrough — official Proxmox VE 9.2 PCI(e) passthrough (IOMMU, VFIO, q35/OVMF) so a discrete GPU is visible inside the VM, then the official Ollama Docker GPU path.
What the stack is
Ollama is the model server. The official Docker image is ollama/ollama, port 11434, volume /root/.ollama. CPU-only and NVIDIA (--gpus=all, after the NVIDIA Container Toolkit) are documented; AMD uses ollama/ollama:rocm. Models are pulled from the Ollama library.
Open WebUI is the browser UI. Official image ghcr.io/open-webui/open-webui (pin :v0.13.3 or follow :main), host port 3000 → container 8080, volume /app/backend/data, required WEBUI_SECRET_KEY. By default it looks for Ollama at http://host.docker.internal:11434. Open WebUI's FAQ states it does not send your data to external services by default; if you connect an external provider, prompts go there as needed.
LM Studio is a desktop app (download 0.4.28) with a built-in chat UI and an OpenAI-compatible API on port 1234 in the official examples. It can run entirely offline after you download models. System requirements: Apple Silicon and macOS 14+ on the Mac side (Intel Macs not supported); 16GB+ RAM recommended; 4GB dedicated VRAM recommended on Windows; Linux AppImage, Ubuntu 20.04+. The headless server path is llmster.
Hardware, briefly
Fit is driven by the published model file plus context, not by a single "minimum GPU" from Ollama. Official default tags that often fit in 8 GB (weights only) include llama3.2:3b (2.0GB) and llama3.1:8b (4.9GB). llama3.1:70b is 43GB. On a typical Intel N100 there is no NVIDIA device for Ollama's Docker GPU path, so plan for CPU-only and the box's RAM ceiling (16 GB is the usual N100 maximum). Proxmox VMs need the RAM (and, for NVIDIA, a passed-through GPU) inside the VM. The GPU passthrough guide covers that host and VM setup. Passing Intel graphics into Docker for media transcode is covered in Jellyfin on an N100; that is a different device path from Ollama's --gpus=all.
Use the calculator before you pull a 40 GB+ tag. For wall power, measure the box and use the power cost calculator.
Backups
Open WebUI chats live in the open-webui Docker volume; Ollama models live in ollama (/root/.ollama). Official Open WebUI backup and restore commands are in the Docker guide. Put those volume archives on a 3-2-1 plan with the rest of the lab, and write the restore order in Lab Lifeboat.
Sources
- Ollama v0.40.16: https://github.com/ollama/ollama/releases/tag/v0.40.16 (checked 2026-11-12)
- Open WebUI v0.13.3: https://github.com/open-webui/open-webui/releases/tag/v0.13.3 (checked 2026-11-12)
- Ollama Docker and library: https://docs.ollama.com/docker , https://ollama.com/library (checked 2026-11-12)
- Open WebUI quick start and FAQ (data stays local by default): https://docs.openwebui.com/getting-started/quick-start/ , https://docs.openwebui.com/faq (checked 2026-11-12)
- LM Studio download and system requirements: https://lmstudio.ai/download , https://lmstudio.ai/docs/app/system-requirements (checked 2026-11-12)

