Icon for pgvector

pgvector

Open Source Free Trial

Open-source PostgreSQL extension for vector similarity search alongside relational data

pgvector is a PostgreSQL extension that adds vector similarity search directly within Postgres. Store, index, and query high-dimensional embeddings alongside your relational data with full ACID compliance. Supports L2, cosine, inner product, L1, Hamming, and Jaccard distances with IVFFlat and HNSW indexing. Handles single-precision, half-precision, binary, and sparse vectors. Works with standard Postgres features like JOINs. Available via Docker, Homebrew, PGXN, and preinstalled on Supabase, Neon, and other hosted providers.

Pricing: Free

Hosting Self-hosted
Pricing Free, Free (extension)
HQ ๐Ÿ‡บ๐Ÿ‡ธ United States
GitHub 21,473 stars
Screenshot of pgvector webpage

Work on pgvector? Feature it at the top of Vector databases.

Is your product missing?

Add it here →