RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootGet startedLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Eruo Fredoline
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
  • Suggest a feature
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. How we make money →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
  1. >
  2. Home
  3. /Learn
  4. /Courses
  5. /Local AI on macOS
  6. /Ch. 13
Local AI on macOS

13. Open WebUI on macOS

Chapter 13 of 15 · 20 min
KEY INSIGHT

Open WebUI connects to Ollama's API—Ollama must be running and accessible on port 11434 before Open WebUI can serve models.

Open WebUI (formerly Ollama WebUI) is a self-hosted web interface for local AI models. It provides a ChatGPT-style interface with none of the cloud dependency. On macOS, it runs alongside Ollama and connects to it via the local API.

Install with Docker (for the full experience) or Python:

# Python install (works on macOS with Metal available via host Ollama)
pip install open-webui

# Start open-webui
open-webui serve
# Runs on port 8080 by default

# Access at http://localhost:8080
# Create an admin account on first login

For Docker install (CPU-only Metal, see Chapter 11):

docker run -d \
  -p 8080:8080 \
  -e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
  -v open-webui:/app/backend/data \
  --name open-webui \
  ghcr.io/open-webui/open-webui:main

The Docker version connects to Ollama running on the host via host.docker.internal, but Metal will not be available in the connection because Docker's network stack does not passthrough Metal. Run Ollama on the host directly and connect the Python-based Open WebUI to it for GPU-accelerated inference.

Once running, Open WebUI gives you:

  • Web UI for model interaction
  • Model selection dropdown
  • Chat history
  • Admin panel for user management
  • API key protection
# Verify Open WebUI can reach Ollama
curl http://localhost:11434/api/tags
# Should return model list

# Check Open WebUI logs if connection fails
docker logs open-webui  # if running in Docker
# or check the terminal output from open-webui serve

Real failure mode: Open WebUI starts but shows "Ollama not connected" in the UI. This means it cannot reach the Ollama API. Check that Ollama is running: curl http://localhost:11434. If it returns a response, the issue is a network or firewall problem. If it returns connection refused, start Ollama: ollama serve.

EXERCISE

Install Open WebUI via Python, start it, create an admin account, and connect it to your Ollama installation. Load a model through the web interface and verify chat history persists after page refresh.

← Chapter 12
LM Studio on macOS
Chapter 14 →
Troubleshooting macOS AI