Best open-source vector databases for RAG (2026)
Our pick
Start with Qdrant if you want a vector database you can run yourself. You start a local server with one command (docker run -p 6333:6333 qdrant/qdrant), it is written in Rust, and it is Apache-2.0 licensed. Qdrant also offers a managed cloud with a free tier if you would rather not host it. The table shows its last commit and latest release, and how the other tools compare.
Best for
- A quick start inside a Python script
chroma-core/chromaInstall with pip install chromadb and run it in memory, with persistence, or as a client-server setup with chroma run. It handles tokenization, embedding and indexing for you unless you supply your own embeddings.
- A database that runs inside your app, with no server
alibaba/zvecAn in-process vector database that runs locally with no server. It supports dense and sparse vectors, full-text search and hybrid queries.
- A large cluster on Kubernetes
milvus-io/milvusA vector database with a fully distributed, Kubernetes-native architecture, written in Go and C++ and licensed under Apache 2.0.
- Hybrid search over vectors, text and tensors
infiniflow/infinitySearches dense vectors, sparse vectors, tensors and full text together, with RRF, weighted-sum and ColBERT rerankers. It ships as a single binary with no dependencies.
- Search, ranking and recommendation at serving time
vespa-engine/vespaA platform that searches, runs model inference over and organizes vectors, tensors, text and structured data at serving time. The whole repository is Apache 2.0.
- Vectors, graph and full text in one database
HelixDB/helix-dbA graph database with built-in vector search and BM25 full-text search, queried from Rust, TypeScript, Go or Python. Running a local instance needs Docker or Podman.
The repos compared
Checked on Nov 29, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| qdrant / qdrant A vector database and similarity search engine written in Rust. | 35,843 GitHub (opens in new tab) | Active Dec 1, 2026 | v1.20.2, Nov 16, 2026 | Apache-2.0 | |
| milvus-io / milvus A distributed, Kubernetes-native vector database for similarity search. | 46,780 GitHub (opens in new tab) | Active Dec 2, 2026 | v3.0.6, Nov 11, 2026 | Apache-2.0 | |
| chroma-core / chroma A search database for AI apps with Python and JavaScript clients. | 29,814 GitHub (opens in new tab) | Active Nov 28, 2026 | 1.5.9, May 5, 2026 | Apache-2.0 | |
| vespa-engine / vespa A search and serving platform for vectors, tensors, text and structured data. | 7,204 GitHub (opens in new tab) | Active Dec 1, 2026 | v8.788.13, Nov 16, 2026 | Apache-2.0 | |
| alibaba / zvec An in-process vector database that embeds directly into applications. | 16,313 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.8.1, Nov 6, 2026 | Apache-2.0 | |
| infiniflow / infinity A database for hybrid search over dense vectors, sparse vectors, tensors and full text. | 4,782 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.7.5, Nov 5, 2026 | Apache-2.0 | CPU: x86_64 with AVX2 support.; Python: Python 3.11+. |
| HelixDB / helix-db A graph database with native vector search and full-text search. | 6,332 GitHub (opens in new tab) | Active Dec 1, 2026 | v3.8.0, Nov 30, 2026 | Apache-2.0 | |
| RyanCodrai / turbovec A compressed vector index for Python and Rust. | 17,530 GitHub (opens in new tab) | Active Oct 6, 2026 | - | MIT | |
| lance-format / lance A lakehouse data format with vector search, full-text search and SQL for AI data. | 7,415 GitHub (opens in new tab) | Active Dec 2, 2026 | v14.0.3, Nov 15, 2026 | Apache-2.0 | |
| weaviate / weaviate A vector database that stores objects and vectors and mixes vector search with keyword filtering. | 16,975 GitHub (opens in new tab) | Active Dec 1, 2026 | v1.41.0, Nov 23, 2026 | Custom | |
| pgvector / pgvector Vector similarity search as an extension for Postgres. | 23,894 GitHub (opens in new tab) | Active Nov 29, 2026 | - | Custom | |
| lancedb / lancedb An embedded retrieval library for multimodal AI. | 12,019 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.42.1, Nov 30, 2026 | Apache-2.0 |
Questions
What is the best open-source vector database for RAG?
It depends on how you want to run it. Qdrant, Milvus and Infinity run as servers, Chroma runs in memory or as a server, Zvec and turbovec run inside your own process, and Vespa is a larger search platform. The table shows each licence, last commit and latest release.
Can I run a vector database locally?
Yes. Qdrant starts locally with docker run -p 6333:6333 qdrant/qdrant. Chroma installs with pip install chromadb. Zvec and turbovec are libraries that run inside your application, and Infinity is a single binary.
Do I need a separate vector database for RAG?
Not always. HelixDB combines a graph, vector search and full-text search in one engine, and Lance is a data format with vector search, full-text search and SQL on the same dataset. A dedicated database such as Qdrant or Milvus is a separate service you run next to your app.
Which of these also offer a hosted service?
Qdrant has Qdrant Cloud with a free tier, Chroma has Chroma Cloud, Milvus is available as a managed service on Zilliz Cloud, and Vespa offers a free trial of running applications in its cloud. All of them can also be run yourself.
