Skip to content

Best PicksRAM

Best Vector Databases for Local RAG on Your PC in 2026

The best vector databases for running private RAG and document search on your own PC: Qdrant, Chroma, pgvector, LanceDB, Milvus and Weaviate, with licences, how each runs, what to watch out for and the hardware that matters.

By , Buying Guides & Peripherals Editor

6 min read

Best Vector Databases for Local RAG on Your PC in 2026

Our picks at a glance

  1. 1
    Kingston Fury Beast Black EXPO 64GB (2x32GB) DDR5-6000 CL30
  2. 2
    Samsung SSD 990 Pro M.2 PCIe 2TB
    Samsung SSD 990 Pro M.2 PCIe 2TB
  3. 3
    ASUS RTX 5060 Ti 16GB Dual OC
    ASUS RTX 5060 Ti 16GB Dual OC

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.

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.

The bottom line

Qdrant is the best all-round vector database for a home AI server: one Docker container, a web dashboard, proper API-key security and a release on 1 December 2026. Chroma is the quickest for Python experiments, pgvector makes sense if you already run PostgreSQL, and LanceDB suits embedded desktop tools. Milvus scales from a single file to a cluster, and Weaviate leads on hybrid search.

Sources

  1. 01Qdrant on GitHub (README)
  2. 02Qdrant docs, Installation
  3. 03Qdrant docs, Security
  4. 04Chroma on GitHub (README)
  5. 05Chroma docs, Chroma Clients
  6. 06Chroma docs, Embedding Functions
  7. 07Chroma docs, Docker deployment
  8. 08pgvector on GitHub (README)
  9. 09LanceDB on GitHub (README)
  10. 10Milvus docs, Run Milvus Lite
  11. 11Milvus docs, Run Milvus with Docker Compose (Linux)
  12. 12Milvus on GitHub (README)
  13. 13Weaviate on GitHub (README)
  14. 14Open WebUI docs, Environment Variable Configuration
  15. 15AnythingLLM docs, Vector Database Configuration
  16. 16Ollama library, EmbeddingGemma

About the author

Hannah Vance

Buying Guides & Peripherals Editor

Hannah edits Forge PC's buying guides and component roundups across gaming monitors, mechanical keyboards, mice, cases and power supplies. She specialises in OLED and Mini-LED panel characteristics, low-latency wireless peripherals, acoustic damping and value-for-money component selection for UK PC builders.

More from Hannah Vance

Read next

Best Free Android Screen Mirroring Apps for PC (2026)

Best Picks

Best Free Android Screen Mirroring Apps for PC (2026)

The best free apps to mirror and control your Android phone on a PC in 2026: scrcpy for almost any phone, Phone Link on supported models, Escrcpy and QtScrcpy for a graphical interface, and Vysor for browser and iPhone support.

Hannah Vance6 min

scrcpy vs Phone Link: Best Way to Use Android Apps on a PC?

Versus

scrcpy vs Phone Link: Best Way to Use Android Apps on a PC?

scrcpy and Microsoft Phone Link both put your Android phone's apps on a Windows PC for free. We compare phone support, setup, how each shows your apps, extra features and privacy to help you pick the right one.

Callum Reid5 min

How to Mirror and Control Your Android Phone on a PC with scrcpy

How-To

How to Mirror and Control Your Android Phone on a PC with scrcpy

scrcpy is a free, open-source app that mirrors your Android phone's screen and sound on a Windows PC and lets you control it with your mouse and keyboard. We show how to enable USB debugging, install it, connect over USB or Wi-Fi, use the best shortcuts and options, and fix common errors.

Marcus Thorne7 min

Qdrant vs Chroma: Which Vector Database for Local AI and RAG?

Versus

Qdrant vs Chroma: Which Vector Database for Local AI and RAG?

Qdrant and Chroma are two vector databases home AI users often meet, from Open WebUI's default to dedicated RAG servers. We compare set-up, embedded and server modes, security, storage needs and release activity.

Callum Reid4 min