selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

VectorChord logo

Self-host VectorChord

1.1.1

PostgreSQL extension for billion-scale vector search

ReleaseOpen CoreOther
Updated2 months ago
LanguageRust
Setup difficultyModerate
Stars
1 832
RAM
128GB for 1B-vector indexes
Requires
PostgreSQL
Docker
ghcr.io/tensorchord/vchord-postgres

What is VectorChord?

VectorChord is a PostgreSQL extension built for scalable, high-performance vector search at billion-scale. It uses RaBitQ compression — offering native 4-bit and 8-bit vector types — to drastically cut storage costs while keeping recall loss under 1%. The extension works with the same data types and syntax as pgvector, so existing applications can migrate without code changes. Indexing 100 million vectors takes roughly 20 minutes thanks to hierarchical K-means and optimized disk I/O, and the system can scale to 1 billion vectors on machines with 128 GB of RAM. It ships as Docker images: a base Postgres image with the extension (ghcr.io/tensorchord/vchord-postgres) and an all-in-one suite image that also bundles VectorChord-bm25 and pg_tokenizer.rs. The project is dual-licensed under AGPLv3 and Elastic License v2.

Should you self-host VectorChord?

VectorChord scores 57/100 on selfhost.directory (how scoring works) and ranks #4 of 5 in Vector Database. It has 1 832 GitHub stars.

It shipped 3 stable releases in the past year. The latest, 1.1.1, came out on 28 February 2026. New versions land roughly every 2 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is Typesense (79/100, 27 061 stars). It scores higher overall, so compare the two before you pick. See VectorChord vs Typesense side by side.

Features

  • Accelerated index build
  • Billion-scale vector support
  • External index precomputation
  • Graph index
  • Monitoring and Observability
  • Multi-vector retrieval (MaxSim)
  • Pgvector compatibility
  • Prefilter and prefetch
  • RaBitQ quantization (4-bit and 8-bit)
  • Similarity filter / range queries
  • Vector Similarity Search

VectorChord README

How to configure VectorChord

  • POSTGRES_PASSWORDPassword for the PostgreSQL superuser

    Password for the PostgreSQL superuser

VectorChord releases & version history

More in Vector Database

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…