AI chat

Self-hosted ChatGPT alternatives

2 open-source or source-available apps you can run on your own server instead of ChatGPT. The install method for each one is taken from its own docs.
Short answer: self-host Open WebUI or LibreChat instead of ChatGPT. The software is free to run and you pay for the server; source-available ones have limits in their license. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    Open WebUI

    Self-hosted AI chat interface for Ollama and OpenAI-compatible APIs

    Self-hosted chat UI for Ollama and OpenAI-compatible APIs.

    Source-available (Open WebUI License (BSD-3 + branding)) · ★ 154k · Docker

    Run the ghcr.io/open-webui/open-webui image with a volume for /app/backend/data and a secret key; the container serves on port 8080. A compose file, pip and Helm are also documented. Install docs.

  2. 2
    LibreChat

    Open-source ChatGPT-style UI for many AI providers

    ChatGPT-style web UI for many AI providers, self-hosted.

    Open source (MIT) · ★ 45k · Docker Compose

    Clone the LibreChat repo, copy .env.example to .env and start the compose stack, which runs MongoDB, Meilisearch and a RAG API with PostgreSQL. The default port is 3080. Install docs.

All free ChatGPT alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.