Our picks are based on each project's official documentation, GitHub repository, licence and release history, plus the documentation of the AI apps that use them, all read on 3 December 2026. We haven't run our own speed or recall benchmarks, and we don't quote vendor benchmark claims.
Retrieval-augmented generation (RAG) is how a local AI model answers questions about your own files. Your documents are split into chunks, turned into embeddings, and stored in a vector database. When you ask a question, the closest chunks are pulled out and handed to the model. If you're weighing RAG against retraining a model, our RAG vs fine-tuning explainer sets out the trade-offs.
Apps such as AnythingLLM and Open WebUI ship with a database built in, so you may never need to choose. But if you're building your own tools, sharing one document store between apps, or hitting the limits of a default, these are the six worth knowing. All are free to self-host.
Quick picks
Pick | Best for | Licence | Latest release (3 Dec 2026) | How it runs |
|---|
Qdrant | Best overall for a home AI server | Apache 2.0 | v1.20.3 (1 Dec 2026) | Docker server, plus Python local mode |
Chroma | Easiest for Python experiments | Apache 2.0 | 1.5.9 (5 May 2026) | Embedded in Python, or Docker server |
pgvector | If you already run PostgreSQL | PostgreSQL-style open source | v0.8.7 | Extension inside PostgreSQL 13+ |
LanceDB | Embedded, no server at all | Apache 2.0 | v0.42.1 (30 Nov 2026) | Runs in your app's process |
Milvus | Room to grow, from one file to a cluster | Apache 2.0 | v3.0.7 (30 Nov 2026) | Milvus Lite file, or Docker Compose |
Weaviate | Hybrid keyword and vector search | BSD 3-Clause | v1.41.0 (23 Nov 2026) | Docker server |
Release versions and dates are from each project's GitHub page. pgvector's is its latest tag.
1. Qdrant: best overall for a home AI server
Qdrant is a Rust vector database and search engine that runs as a single Docker container. You get a REST API on port 6333, gRPC on 6334 and a web dashboard in the browser. It's built around strong filtering, so you can combine "closest in meaning" with conditions such as a folder, a date or a tag stored alongside each vector.
It also has the most thorough security documentation of the group: an admin API key, a read-only key, TLS, network binding and audit logging. That matters, because Qdrant starts with no authentication by default. Open WebUI supports it through VECTOR_DB=qdrant and recommends it if you run multiple copies of Open WebUI.
Watch out for: Qdrant needs local block storage with a POSIX file system (not NFS or S3), recommends an SSD or NVMe drive, and warns that Docker/WSL mounts on Windows are known to cause file system problems and data loss. Use a named Docker volume on Windows. Our Qdrant set-up guide walks through it with Ollama.
2. Chroma: easiest for Python experiments
Chroma is the quickest of the six to start using. pip install chromadb, create a collection and call add and query. The PersistentClient saves to a folder on disk, and the in-memory client is for throwaway tests. Its default embedding function runs the all-MiniLM-L6-v2 model locally, so you don't even need Ollama to start. When you want a shared server, the chromadb/chroma Docker image listens on port 8000.
It's also the default vector store in Open WebUI. Open WebUI's docs warn that this embedded set-up uses local SQLite files that only one process may write, so it isn't safe for several copies sharing the same data.
Watch out for: the latest release on GitHub and PyPI was 1.5.9 on 5 May 2026, a long gap compared with the others here. Our Qdrant vs Chroma comparison goes into the differences.
3. pgvector: best if you already run PostgreSQL
pgvector isn't a separate database. It adds vector search to PostgreSQL 13 and later, so your vectors live in ordinary tables next to the rest of your data and you query them with SQL. Enable it with CREATE EXTENSION vector;, add a vector column, and search with operators such as <-> for L2 distance and <=> for cosine distance.
It supports HNSW and IVFFlat indexes. The pgvector README says HNSW gives better query performance than IVFFlat in its speed-recall trade-off, but builds more slowly and uses more memory. It's also available as a Docker image, and Open WebUI supports it through VECTOR_DB=pgvector.
Watch out for: indexed vector columns top out at 2,000 dimensions (halfvec goes to 4,000). Most local embedding models are well under that, but check before you pick a large one.
4. LanceDB: best embedded option
LanceDB is an open-source "embedded retrieval library" built on the Lance columnar format. The open-source edition runs inside your application's process, with no server to start or secure, and your data can sit on local disk. It's designed for multimodal data too, storing images and video alongside vectors and metadata.
It's the built-in vector database in AnythingLLM, which shows how well the embedded approach suits a desktop app. LanceDB is a strong choice for your own tool that should just work from a folder.
Watch out for: being embedded means there's no network service for other apps to share. If several programs need the same store, choose a server database.
5. Milvus: best for room to grow
Milvus covers the widest range. Milvus Lite is a local back end for the Python SDK that stores everything in a single .db file, for example MilvusClient("./milvus_demo.db"). Its docs say it suits local development and small workloads, and warn that concurrent writes to the same collection aren't safe. On Windows, you have to name milvus-lite explicitly when installing, because pip skips the extra there.
When you outgrow that, Milvus Standalone runs through Docker Compose as three containers: etcd for metadata, MinIO for object storage and Milvus itself. The same MilvusClient code then points at http://localhost:19530. Open WebUI and AnythingLLM both support Milvus.
Watch out for: Standalone is a heavier stack than one Qdrant container. Milvus's Docker Compose guide is written for Linux, and there's a separate Docker Desktop guide for Windows.
6. Weaviate: best for hybrid search
Weaviate is a cloud-native vector database that stores objects and vectors together. It combines vector similarity search with keyword filtering, and it's BSD 3-Clause licensed. Its README quickstart starts a local Docker instance, and it's supported by Open WebUI and AnythingLLM.
Watch out for: it's aimed at scale ("cloud-native" in its own description), which is more than most single-PC projects need. Pick it if hybrid search is a priority. For a first local RAG project, Chroma or Qdrant is simpler to start with.
What hardware do you need?
None of these projects gives a simple minimum spec for a home user, and Qdrant says sizing depends on vector count, dimensions, extra data, indexes and quantization. In practice, a personal library of documents is small by database standards. The rest of a local RAG set-up usually needs more.
Memory. The chat model needs far more memory than the database. 64GB of DDR5, such as the Kingston Fury Beast 64GB DDR5-6000 kit, leaves room for Docker, the database, an embedding model and a mid-sized model in system RAM.
Storage. Put the database on an NVMe SSD such as the Samsung 990 Pro 2TB. Qdrant explicitly recommends SSD or NVMe for on-disk vectors.
GPU. Embedding models are small (EmbeddingGemma is a 622MB download in Ollama), but a 16GB card such as the ASUS RTX 5060 Ti 16GB Dual OC helps the chat model answer quickly.
The database only stores what you feed it, and the quality of RAG answers depends just as much on clean text and a good embedding model. See our guides to the best PDF-to-Markdown tools for local RAG, the best local embedding models and embedding vs reranker models.