English
Get started

← All templates · AI and agents

Deploy Open WebUI in one click

A chat interface for OpenAI-compatible AI models

A self-hosted alternative to ChatGPT.

What is Open WebUI?

Open WebUI is a free, self-hosted AI chat interface that people run as their own ChatGPT. It connects to OpenAI, Claude, OpenRouter or a local Ollama, and puts all their models in one picker. One chat can ask several models at once. Upload a file or build a Knowledge base, and the answers draw on your documents. Web search, hands-free voice calls and image generation are built in.

People run it to keep their chats and files on a server they control, and to give a family or a team the same models with no per-seat price, while roles and groups decide who can use what. The catch is that Open WebUI brings no model of its own: you pay a provider for API use, or run the models on your own hardware.

Hosting Open WebUI on Pethost

  1. You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
  2. New project opens at Open WebUI, and you click Create project.
  3. In a minute or two Open WebUI is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
  4. It is a project like any other: you or your agent can change it, roll it back or restore it.

Questions about Open WebUI

Is Open WebUI open source?

Not by the OSI's definition since version 0.6.6. Its code is public and free to use, but an install with over 50 users in 30 days may remove the Open WebUI branding only with written permission or an enterprise licence.

Can Open WebUI use Claude?

Yes. Add https://api.anthropic.com/v1 and an Anthropic API key as an OpenAI connection, and Open WebUI lists the Claude models itself. Streaming and tool calling work; prompt caching and extended thinking need a pipe function or a proxy.

Does Open WebUI need Ollama?

No. Ollama is one way to run local models, and any OpenAI-compatible API, such as OpenAI or OpenRouter, works without it. This template runs no Ollama and starts with its connection turned off.

Can I import my ChatGPT chats into Open WebUI?

Yes. In Settings > Data Controls, Import Chats reads conversations exported from ChatGPT and converts them automatically. Export Chats saves all your chats as one JSON file.

Is there an Open WebUI mobile app?

It installs from the browser: every Open WebUI instance is a Progressive Web App. On an iPhone, open its address in Safari, tap Share, then Add to Home Screen; on Android, use Install app in Chrome's menu.

How much memory and disk does Open WebUI need?

Open WebUI is light: about 300 MB of memory, more once it reads your documents; chats take little disk. On Pethost the Starter plan is enough for it, with room for other apps beside it.

Open WebUI Docker Compose file

The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.

Containers: open-webui (ghcr.io/open-webui/open-webui:0.12-slim).

Volumes, in the nightly backup: data.

services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:0.12-slim
    restart: unless-stopped
    environment:
      WEBUI_URL: ${WEBUI_URL}
      WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
      ENABLE_OLLAMA_API: "false"
    volumes:
      - data:/app/backend/data
    healthcheck:
      test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8080/health || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 6
      start_period: 180s

volumes:
  data:

More in AI and agents