COMPARISONS · VECTOR DATABASES COMPARED

Best pgvector alternatives in 2026

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-03 · UPDATED · 2026-12-03
SHORT ANSWER · UPDATED 2026-12-03

The best pgvector alternatives in 2026 are sqlite-vec for vector search inside an app's SQLite file, pgvectorscale for larger vector sets in Postgres, VectorChord for high-throughput vector search in Postgres and DuckDB VSS for vector search inside analytical SQL. In one line, pgvector is this: postgres extension for vector similarity search with HNSW and IVFFlat indexes. The right swap depends on how you want to run it and which licence you need.

Key number: pgvector had 23,924 GitHub stars on 3 Dec 2026, latest release No GitHub release.

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.

TL;DR The best pgvector alternatives in 2026 are sqlite-vec for vector search inside an app's SQLite file, pgvectorscale for larger vector sets in Postgres, VectorChord for high-throughput vector search in Postgres and DuckDB VSS for vector search inside analytical SQL.

Try it: filter 10 tools

pgvector and 9 alternatives, live data

Show only

Sort by

ToolWhat it isBest forRuns asLanguageLatest releaseLicenceStars
pgvectorPostgres extension for vector similarity search with HNSW and IVFFlat indexesVectors next to relational data in PostgresDatabase extensionCNo GitHub releasePostgreSQL License23,924
sqlite-vecSmall SQLite extension for vector search that runs anywhere SQLite runsVector search inside an app's SQLite fileDatabase extensionCv0.1.9, 31 Mar 2026Apache-2.08,296
pgvectorscalePostgres extension that complements pgvector with a StreamingDiskANN indexLarger vector sets in PostgresDatabase extensionRust0.9.1, 4 Sep 2026PostgreSQL3,173
VectorChordPostgres extension for scalable vector search, successor to pgvecto.rsHigh-throughput vector search in PostgresDatabase extensionRust1.1.1, 27 Feb 2026AGPL-3.0 or Elastic License 2.01,850
DuckDB VSSDuckDB extension that adds HNSW indexes for vector similarity searchVector search inside analytical SQLDatabase extensionC++No GitHub releaseMIT271
MilvusCloud-native vector database built for billion-scale similarity searchVery large vector collections on KubernetesSelf-hosted serverGov3.0.7, 29 Nov 2026Apache-2.046,804
FAISSLibrary for efficient similarity search and clustering of dense vectors, with GPU supportRaw ANN speed inside your own codeLibrary in your processC++v1.16.0, 10 Nov 2026MIT42,027
QdrantVector database and similarity search engine written in Rust with filtering and hybrid queriesFiltered vector search as a service you runSelf-hosted serverRustv1.20.3, 1 Dec 2026Apache-2.035,877
ChromaDBOpen source embedding database with a simple Python and JavaScript APIPrototyping RAG in a few lines of PythonLibrary in your processRust1.5.9, 5 May 2026Apache-2.029,831
XERJOne local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCPAgents searching local files over MCPCommand-line toolRustv1.0.0-rc.105, 23 Nov 2026Apache-2.023,588

Runs in your browser and sends nothing. Tick a box to narrow the list, sort by stars or newest release. Data fetched live on 3 Dec 2026; sources in Evidence below.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Read https://xerj.org/llms.txt. I am comparing pgvector alternatives. Install XERJ, start a local node, run xerj autoindex on my project folder, connect xerj mcp, and show me three searches with file and line citations.

Pick one in ten seconds

What pgvector does well

Postgres extension for vector similarity search with HNSW and IVFFlat indexes. It suits vectors next to relational data in Postgres. It runs as a database extension, is written mainly in C, and its licence is PostgreSQL License. Plan for this: tuning follows Postgres memory and index settings.

How the pgvector alternatives differ

The alternatives split by how they run:

Licences at a glance

Most recent releases

Qdrant shipped v1.20.3 on 1 Dec 2026. Milvus shipped v3.0.7 on 29 Nov 2026. FAISS shipped v1.16.0 on 10 Nov 2026. A recent release is a sign of active upkeep, so check the changelog for the features you rely on.

Where XERJ fits next to pgvector

XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with xerj autoindex and returns passages with file and line citations. xerj mcp is a stdio MCP server, and xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. It complements pgvector when an agent needs answers from files on your machine.

How we checked

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. Descriptions summarise each project's own README or documentation. Star counts move daily, so treat them as a snapshot.

Read next

FAQ

What is the best pgvector alternative in 2026?

It depends on the job: sqlite-vec fits vector search inside an app's SQLite file, pgvectorscale fits larger vector sets in Postgres, VectorChord fits high-throughput vector search in Postgres, DuckDB VSS fits vector search inside analytical SQL, and XERJ fits AI agents searching local files over MCP.

Is pgvector open source?

pgvector is published under PostgreSQL License and had 23,924 GitHub stars on 3 Dec 2026.

Which pgvector alternatives can I self-host?

These run on your own machines: sqlite-vec, pgvectorscale, VectorChord, DuckDB VSS, Milvus, FAISS, Qdrant, ChromaDB.

Which languages are the pgvector alternatives written in?

C: sqlite-vec; C++: DuckDB VSS, FAISS; Go: Milvus; Rust: pgvectorscale, VectorChord, Qdrant, ChromaDB. The primary language is the one GitHub reports for each repository.

Evidence