⚡
SelfHostStackOpen-Source Directory

Why Migrate Away from OpenAI ChatGPT Plus & Claude Pro?

Commercial cloud AI services log user conversations, apply arbitrary rate limits, and impose monthly subscription fees. Self-hosting Open WebUI paired with local LLMs (Ollama/vLLM) or private API keys gives you complete conversational privacy, custom system prompts, multi-model switching, document RAG, and image generation on your own dedicated server.

Top 2 Recommended Open-Source Replacements

Tested, self-contained, and production-ready. Click any tool to inspect verified docker-compose configurations, hardware sizing, and deployment guides.

Open WebUI

MIT⭐ 70.0k+

Feature-rich, extensible self-hosted AI interface with native Ollama, OpenAI, and RAG support.

Min RAM2 GB
Min CPU2 vCPU
GitHub Repo ↗

✅ Advantages

  • Polished UI identical to or better than ChatGPT Plus
  • Seamless multi-modal support (vision, voice, documents)
  • Zero vendor lock-in for backend model providers

⚠️ Trade-offs / Limitations

  • Local LLM inference requires GPU VPS for fast tokens/sec (or use cloud API backend)
  • Vector embeddings for huge document libraries consume additional RAM

Core Features

▸Supports local models via Ollama and remote APIs (OpenAI, Anthropic, OpenRouter)
▸Native Retrieval-Augmented Generation (RAG) with local document vector search
▸Voice transcription (Whisper) and Text-to-Speech integration
▸Multi-user management, role-based access control, and usage quotas
▸Web search integration via SearXNG, Google, or Brave Search
📄 docker-compose.yml
Production Ready
version: '3.8'
services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    container_name: open-webui
    restart: always
    ports:
      - "3000:8080"
    environment:
      - OLLAMA_BASE_URL=http://ollama:11434
      - WEBUI_SECRET_KEY=generate_random_secure_key_here
    volumes:
      - open-webui-data:/app/backend/data
    depends_on:
      - ollama
  ollama:
    image: ollama/ollama:latest
    container_name: ollama
    restart: always
    ports:
      - "11434:11434"
    volumes:
      - ollama-data:/root/.ollama
volumes:
  open-webui-data:
  ollama-data:

🚀 5-Minute Deployment Guide

  1. 1Provision an AI-ready VPS or GPU server (e.g. Hetzner CX32, DigitalOcean 8GB Droplet, or Vultr GPU).
  2. 2Install Docker and NVIDIA Container Toolkit (if using GPU).
  3. 3Create docker-compose.yml with Ollama + Open WebUI services.
  4. 4Run `docker compose up -d` to launch the stack.
  5. 5Access Open WebUI on port 3000 and pull your desired models (e.g. `ollama run llama3.2:3b` or `deepseek-r1:7b`).
  6. 6Configure API keys for OpenAI / Anthropic / Groq if hybrid cloud routing is desired.

Recommended Cloud VPS for Open WebUI

Compare all VPS hosts →
Hetzner Cloud€7.59/mo

CX32 (4 vCPU, 8GB RAM, 80GB NVMe)

Excellent budget CPU inference for 1B-3B quantized models.

Deploy on Hetzner →
DigitalOcean$48.00/mo

Premium Intel (2 vCPU, 8GB RAM, 100GB SSD)

Includes $200 free credit for new accounts.

Claim $200 DO Credit →
Vultr$30.00 - $60.00/mo

Cloud GPU (1x A16 / RTX 4000 Ada)

Hardware accelerated token generation for 7B-70B models.

Deploy on Vultr →

LibreChat

MIT⭐ 22.0k+

Every AI in one platform: open-source ChatGPT clone supporting all major model providers and plugins.

Min RAM1 GB
Min CPU1 vCPU
GitHub Repo ↗

✅ Advantages

  • Extremely low base RAM footprint
  • Supports code execution sandboxing
  • Clean OpenAI-standard user experience

⚠️ Trade-offs / Limitations

  • Initial configuration file (librechat.yaml) has many options to configure
  • Requires external MongoDB database container

Core Features

▸Unified chat UI for OpenAI, Anthropic, Gemini, Mistral, Ollama, and AWS Bedrock
▸Artifacts, Code Interpreter, and DALL-E image generation
▸Forking conversations, branch editing, and custom presets
▸Full search across all message archives via Meilisearch
📄 docker-compose.yml
Production Ready
version: '3.8'
services:
  librechat:
    image: ghcr.io/danny-avila/librechat-dev:latest
    container_name: LibreChat
    ports:
      - "3080:3080"
    restart: always
    environment:
      - HOST=0.0.0.0
      - MONGO_URI=mongodb://mongodb:27017/LibreChat
    depends_on:
      - mongodb
    volumes:
      - ./librechat.yaml:/app/librechat.yaml
      - librechat-images:/app/client/public/images
  mongodb:
    image: mongo:latest
    container_name: chat-mongodb
    restart: always
    volumes:
      - mongodb-data:/data/db
volumes:
  librechat-images:
  mongodb-data:

🚀 5-Minute Deployment Guide

  1. 1Install Docker and git on your VPS.
  2. 2Clone LibreChat repository or create standard docker-compose.yml with MongoDB and Meilisearch.
  3. 3Configure librechat.yaml with your custom AI models, system prompts, and multi-user auth.
  4. 4Run `docker compose up -d` to start the services.
  5. 5Open the web interface on port 3080 and create your administrator account.

Recommended Cloud VPS for LibreChat

Compare all VPS hosts →
Hetzner Cloud€3.79/mo

CX22 (2 vCPU, 4GB RAM, 40GB NVMe)

Great low-cost host for running multi-model proxy.

Deploy on Hetzner →
DigitalOcean$12.00/mo

Basic Droplet (1 vCPU, 2GB RAM, 50GB SSD)

Fast worldwide setup with 1-click Docker support.

Claim $200 DO Credit →
Vultr$12.00/mo

High Frequency (1 vCPU, 2GB RAM, 64GB NVMe)

Low latency API gateway routing.

Deploy on Vultr →

Quick Specification Matrix

ToolLicenseMin RAMMin CPUGitHub RepoPrimary Advantage
OpenAI ChatGPT Plus & Claude Pro (Proprietary)Proprietary ClosedManaged CloudManaged CloudN/ATurnkey onboarding with vendor lock-in & paywalls
Open WebUIMIT2 GB2 vCPUopen-webui/open-webuiPolished UI identical to or better than ChatGPT Plus
LibreChatMIT1 GB1 vCPUdanny-avila/LibreChatExtremely low base RAM footprint
Starter Stack Pack — $29

Skip the setup: get the production-ready stack

Don't stitch together configs from five different READMEs. Get all 5 production-hardened Docker Compose stacks — Postgres, Redis, SSL auto-renewal, and backup scripts — ready to deploy in minutes.

⚡n8nVisual workflow automation
📊UmamiPrivacy-first web analytics
🛡️Uptime KumaUptime monitoring & alerts
🔐VaultwardenBitwarden-compatible vault
☁️NextcloudDropbox/Drive replacement
Get the Stack Pack — $29 →

One-time purchase · Instant download · Production-ready

esc
↑↓ navigate↵ open