Perplexity logo

8 self-hosted Perplexity alternatives

AI-powered answer engine and conversational assistant that queries the web and uses large language models to generate sourced answers, summaries, and research assistance for user questions.

Alternatives to Perplexity

Feature-rich, self-hosted AI interface that integrates Ollama and OpenAI-compatible APIs, offers RAG, vector DB support, image tools, RBAC and observability.

Open WebUI screenshot

150k stars21.9k forkslast commit Actively maintained

AnythingLLM is an all-in-one desktop and Docker app for chatting with documents using RAG, running AI agents, and connecting to local or hosted LLMs and vector databases.

AnythingLLM screenshot

65.3k stars7.2k forksMITlast commit Actively maintained

LibreChat is a self-hosted AI chat platform that supports multiple LLM providers, custom endpoints, agents/tools, file and image chat, conversation search, and presets.

LibreChat screenshot

42.5k stars8.8k forksMITlast commit Actively maintained

Self-hostable personal AI 'second brain' for chat, semantic search, custom agents, automations and integration with local or cloud LLMs.

Khoj screenshot

36.7k stars2.4k forksAGPL-3.0last commit Actively maintained

Self-hosted AI answering engine that combines web search with local or hosted LLMs to generate cited answers, with search history and file uploads.

36.5k stars4.1k forksMITlast commit Actively maintained

Extension for Paperless‑ngx that uses OpenAI-compatible backends and Ollama to auto-classify, tag, index, and enable RAG-powered document chat and semantic search.

Paperless-AI screenshot

5.9k stars327 forksMITlast commit Actively maintained

Self-hosted private AI tools for chat and document Q&A, supporting local Ollama inference or OpenAI-compatible APIs, with built-in authentication and user management.

1.7k stars87 forksAGPL-3.0last commit Likely dormant

What replacing Perplexity actually involves

Every option on this page is open source and free to run on your own hardware, so you own the data and there is no subscription to cancel. 7 of 8 shipped a commit in the last six months. Licences in this list: MIT, AGPL-3.0. In exchange you take on hosting, backups and updates yourself.

Browse everything in AI Interfaces (Chatbots, Agents, RAG Apps).

Other tools people replace alongside Perplexity