Perplexica: Self-Hosted AI Search Engine (Docker + Ollama Setup)
Open-source self-hosted AI search engine combining local LLMs with SearxNG for cited web answers.
Typical Workflow & Performance
Typical workflow: running Perplexica with local Ollama models and a local SearxNG instance. Retrieves real-time web sources and summarizes cited answers without tracking search history.
Based on the project's documentation and community reports, not our own lab benchmarks. Speed depends on your GPU, drivers, quantization and settings.
Which GPUs Can Run Perplexica?
Perplexica needs at least 4 GB of VRAM and 8 GB of system RAM. On Apple Silicon Macs it uses unified memory, so a Mac with 16 GB or more is the comfortable minimum.
| VRAM | Example GPUs | Runs Perplexica? |
|---|---|---|
| 4 GB | GTX 1650, RTX 3050 Laptop | Yes (minimum) |
| 6 GB | RTX 2060, RTX 3060 Laptop, GTX 1660 Super | Yes |
| 8 GB | RTX 3060 Ti, RTX 3070, RTX 4060 | Yes |
| 12 GB | RTX 3060 12GB, RTX 4070 | Yes |
| 16 GB | RTX 4060 Ti 16GB, RTX 4070 Ti Super, RTX 5070 Ti | Yes |
| 24 GB | RTX 3090, RTX 4090 | Yes |
How to Install Perplexica
- Requirement: Docker, plus a local model server such as Ollama.
- Install: Clone the repository and start it with Docker as described in the README, then open http://localhost:3000.
Steps follow the official instructions at the time of writing. Projects change often, so check the official README for the latest version.
Pros
- Replicates Perplexity-style cited research using local Ollama models
- Includes focus modes for academic papers, YouTube, Reddit, and web search
- MIT license with straightforward Docker Compose deployment
Cons
- Requires internet access for live web search queries even when LLM runs locally
- Answer synthesis speed depends on local model size and context length
Perplexica vs. Perplexity Pro: Why Self-Host?
Perplexica pairs a local SearXNG metasearch instance (aggregating Google, Bing, DuckDuckGo, arXiv, and Reddit without tracking) with local Ollama or LM Studio models to deliver cited answers with zero subscription fees or query caps.
| Feature | Perplexica (Self-Hosted) | Perplexity Pro (Cloud) |
|---|---|---|
| Monthly Cost | $0 / month (MIT Open Source) | $20 / month ($240/year) |
| Search Privacy | 100% private via local SearXNG (no IP or query logs) | Cloud account required; queries logged |
| Recommended Local Models | qwen3:4b (4GB VRAM) or qwen3:8b (6GB–8GB VRAM) + nomic-embed-text | Cloud frontier models only |
| Focus Modes | All Web, Academic (arXiv), YouTube, Reddit, Writing | Web, Academic, Social, Finance |
Quick 3-Step Docker + Ollama Setup (Windows, macOS & Linux)
- Pull one chat model and one lightweight embedding model in Ollama:
ollama pull qwen3:4b && ollama pull nomic-embed-text - Clone the repository and copy the sample config:
git clone https://github.com/ItzCrazyKns/Perplexica.git && cd Perplexica && cp sample.config.toml config.toml - Start Perplexica + SearXNG in Docker and open
http://localhost:3000:docker compose up -d