Self-hosted alternatives to ChatGPT

Want AI chat assistants (run models on your own hardware) without handing your data to ChatGPT? These 14 open-source apps run on your own server. Cheapest estimated hosting starts at about $40/month.

AppHealthStarsLicenseDockerRAM (est.)From
LocalAI directActively maintained50.2kMIT✓8 GB$40/mo
OllamaActively maintained185.8kMIT✓8 GB$40/mo
Open-WebUIActively maintained157.7kBSD-3-Clause✓8 GB$40/mo
LobeHubActively maintained83.8k⊘ Proprietary✓8 GB$40/mo
AnythingLLMActively maintained67.9kMIT✓8 GB$40/mo
LibreChatActively maintained46.7kMIT✓8 GB$40/mo
VaneActively maintained38kMIT✓8 GB$40/mo
Onyx Community EditionActively maintained33.2kMIT✓8 GB$40/mo
Local Deep ResearchActively maintained9.5kMIT✓8 GB$40/mo
AgentaActively maintained4.9kMIT✓8 GB$40/mo
KhojMaintained38kAGPL-3.0✓8 GB$40/mo
LLM HarborActively maintained3.3kApache-2.0✓8 GB$40/mo
GoModelActively maintained1.3kMIT✓8 GB$40/mo
LLMKubeActively maintained252Apache-2.0✓8 GB$40/mo

The options in detail

1. LocalAI

Run your AI models locally and generate images and audio (alternative to OpenAI and Claude).

Actively maintained Last activity 2026-11-04. Latest release v4.12.1 (2026-10-23). Needs roughly 8 GB RAM. How to run it →

2. Ollama

Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.

Actively maintained Last activity 2026-11-03. Latest release v0.40.14-rc0 (2026-11-03). Needs roughly 8 GB RAM. How to run it →

3. Open-WebUI

User-friendly AI Interface, supports Ollama, OpenAI API.

Actively maintained Last activity 2026-11-03. Latest release v0.12.5 (2026-10-29). Needs roughly 8 GB RAM. How to run it →

4. LobeHub

Modern design AI chat framework supporting multiple AI providers, one click install MCP Marketplace and Artifacts / Thinking.

Actively maintained Last activity 2026-11-03. Latest release v2.3.1-canary.3 (2026-11-02). Needs roughly 8 GB RAM. How to run it →

5. AnythingLLM

All-in-one desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

Actively maintained Last activity 2026-11-03. Latest release v1.19.0 (2026-10-26). Needs roughly 8 GB RAM. How to run it →

6. LibreChat

Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.

Actively maintained Last activity 2026-11-04. Latest release v0.8.9-rc1 (2026-10-26). Needs roughly 8 GB RAM. How to run it →

7. Vane

AI-powered search engine (alternative to Perplexity AI).

Actively maintained Last activity 2026-09-01. Latest release v1.12.2 (2026-04-10). Needs roughly 8 GB RAM. How to run it →

8. Onyx Community Edition

Chat UI that works with any LLM. It comes loaded with advanced features like agents, web search, RAG, MCP, deep research, Connectors to 40+ knowledge sources, and more.

Actively maintained Last activity 2026-11-04. Latest release v4.9.7 (2026-11-02). Needs roughly 8 GB RAM. How to run it →

9. Local Deep Research

AI-powered deep research tool with multi-source search (arXiv, PubMed, web), PDF text extraction, and encrypted local storage.

Actively maintained Last activity 2026-11-03. Latest release v1.10.7 (2026-08-28). Needs roughly 8 GB RAM. How to run it →

10. Agenta

LLMOps platform for prompt management, LLM evaluation, and observability. Build, evaluate, and monitor production-grade LLM applications with collaborative prompt engineering.

Actively maintained Last activity 2026-11-03. Latest release v0.128.2 (2026-11-02). Needs roughly 8 GB RAM. How to run it →

11. Khoj

Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.

Maintained Last activity 2026-08-02. Latest release 2.0.0-beta.28 (2026-03-26). Needs roughly 8 GB RAM. How to run it →

12. LLM Harbor

Containerized LLM toolkit. Run LLM backends, APIs, frontends, and additional services via a concise CLI.

Actively maintained Last activity 2026-10-31. Latest release v0.5.19 (2026-10-31). Needs roughly 8 GB RAM. How to run it →

13. GoModel

AI gateway written in Go with a unified OpenAI-compatible API for multiple LLM providers, USD cost tracking, budgets, usage analytics, guardrails, caching, and an admin dashboard.

Actively maintained Last activity 2026-11-02. Latest release v0.2.1 (2026-10-30). Needs roughly 8 GB RAM. How to run it →

14. LLMKube

Kubernetes operator for LLM inference with pluggable runtimes (llama.cpp, vLLM, TGI, Ollama, vllm-swift), multi-GPU sharding, NVIDIA CUDA + Apple Silicon Metal support, and OpenAI-compatible API.

Actively maintained Last activity 2026-11-03. Latest release v0.10.16 (2026-11-02). Needs roughly 8 GB RAM. How to run it →

Why self-host instead of ChatGPT?

The trade-off: you are responsible for updates, backups and security. Pick an app marked Actively maintained and with Docker support for the easiest ride.

Browse related categories

Generative Artificial Intelligence (GenAI)

Other alternatives guides

NotionGoogle PhotosDropboxGoogle DriveWeTransferTrelloAsanaJiraTodoistSlackDiscordZoomGmailMailchimpLastPass1Password

ChatGPT is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.