Self-Hosting OpenWebUI + Ollama (2026): CPU KVM VPS vs Cloud GPU Cost
OpenWebUI itself needs only 1 GB RAM and can proxy external APIs on KVM 1 ($5.19/mo). Running local 7B–8B Q4_K_M models via Ollama on CPU requires 16 GB DDR5 RAM (KVM 4, ~$10.39/mo with XF3PLUTARXVF) yielding ~5–9 tok/s. For 32B–70B or interactive teams, deploy hourly NVIDIA L40S/A100 on Vultr (hourly billing) or RunPod.

Hardware Spec & Verified Rate Sheet: OpenWebUI + Ollama
| Provider / Tier | Hardware & Architecture | List | Net Benefit | Code | Link |
|---|---|---|---|---|---|
Hostinger KVM 4 Recommended for OpenWebUI + Ollama | 4 vCPU AMD EPYC · 16 GB DDR5 · 200 GB NVMe · 16 TB | $12.99/mo | ~$10.39/mo (-20%) | Claim -20% | |
Proton (VPN & Privacy) WireGuard + VPS Privacy | Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/Pass | Subscription | $20 USD credit | Claim $20 |
Measured RAM, vCPU & NVMe Profile for OpenWebUI + Ollama
Memory bandwidth (DDR5 vs HBM GPU VRAM) dictates tokens/sec speed
Production Deployment Stack (OpenWebUI + Ollama)
services:
ollama:
image: ollama/ollama:latest
restart: unless-stopped
volumes:
- ollama_models:/root/.ollama
environment:
OLLAMA_KEEP_ALIVE: 15m
OLLAMA_NUM_PARALLEL: 2
deploy:
resources:
limits:
memory: 12G
open-webui:
image: ghcr.io/open-webui/open-webui:main
restart: unless-stopped
ports:
- "127.0.0.1:3080:8080"
depends_on:
- ollama
environment:
OLLAMA_BASE_URL: http://ollama:11434
WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
ENABLE_SIGNUP: "false"
volumes:
- openwebui_data:/app/backend/data
deploy:
resources:
limits:
memory: 2G
volumes:
ollama_models:
openwebui_data:mkdir -p /opt/openwebui && cd /opt/openwebui
echo "WEBUI_SECRET_KEY=$(openssl rand -hex 32)" > .env && chmod 600 .env
docker compose up -d
# Pull a compact 8B Q4_K_M model (~4.9 GB disk, ~6.5 GB RAM active):
docker compose exec ollama ollama pull llama3.1:8b-instruct-q4_K_MCritical Operational Insights
UFW Firewall, TLS & WireGuard / ProtonVPN Hardening
Set ENABLE_SIGNUP=false immediately after creating the first admin account. Never expose Ollama's port 11434 to the public internet — exposed Ollama APIs are actively scraped by automated bots.
5AA9X0DA).Claim US$20 on ProtonDeploy on Verified Infrastructure
Hostinger KVM 4
Proton VPN & Unlimited
32B–70B GPU Burst Inference: Run OpenWebUI & n8n 24/7 on Hostinger KVM and burst heavy 32B–70B inference to per-second NVIDIA GPU pods.
Frequently Asked Questions
How fast is DeepSeek-R1 8B on Hostinger KVM 4?
On 4 AMD EPYC vCPUs with DDR5 RAM, Q4_K_M 7B–8B models average 5–9 tokens/second — usable for private chat and background n8n classification, though slower than an NVIDIA GPU (60–120 tok/s).


