PGVector
pgvector is an open-source PostgreSQL extension for vector similarity search, not a Faiss port and not a hosted vector cloud. README lists L2 / inner product / cosine / L1 / Hamming / Jaccard, HNSW and IVFFlat, plus halfvec, bit, and sparsevec types.
Compare PostgreSQL if you wanted the database itself, Supabase if you wanted a hosted Postgres that already ships vectors, and Faiss if you wanted Meta's in-process ANN library instead of SQL.
Key Features
- Extension, not a service: You install
CREATE EXTENSION vectorin Postgres. There is no pgvector SaaS dollar table on the repo. - Not Faiss: First-party README and LICENSE do not say the code is based on Faiss. Faiss is a separate MIT library. Do not keep that leftover claim.
- Indexes you actually get: HNSW and IVFFlat, plus iterative index scans. Scale still follows your Postgres cluster, not a dedicated vector fleet.
- Often bundled by hosts: Supabase and many Postgres hosts enable the extension. Their seats are not pgvector prices.
Use Cases
- People who already run Postgres and want embeddings in the same transactions as rows.
- Teams that will accept HNSW/IVFFlat instead of a dedicated vector engine.
- People comparing SQL vs Qdrant / Pinecone after they see 22,651 stars.
Hosted Postgres bills belong to the host.
Pricing
GitHub on 2026-08-18.
| Piece | Price | Notes from first-party pages |
|---|---|---|
| pgvector extension | $0 | PostgreSQL-style license. 22,651 stars. Self-host. |
| Your Postgres | Your machines / host | Not a pgvector SKU. |
| Supabase / other hosts | Confirm host pricing | They may enable the extension. Do not paste those dollars as pgvector. |
If a leftover blog still says pgvector is based on Faiss, treat this table as the source.
Getting Started
- Open github.com/pgvector/pgvector and install the extension in PostgreSQL.
- Confirm Supabase only if you want a hosted Postgres that already includes vectors.
- Confirm Faiss if you wanted an in-process library, not SQL.
- Do not paste "based on Faiss" into a deck.
Frequently Asked Questions
Is it free?
Yes. The extension is open source under a PostgreSQL-style license.
Is it based on Faiss?
No. That leftover claim is dropped. Faiss is a separate Meta library.
Same as Pinecone?
No. Pinecone is a managed vector DB with Free / $20 / $50 min / $500 min. pgvector is a Postgres extension.
Alternatives
- PostgreSQL: The database you attach this to.
- Supabase: Hosted Postgres with vectors as one feature.
- Faiss: MIT similarity-search library, not a SQL type.
- Qdrant: Dedicated OSS vector engine plus Cloud.
Tips
- Quote 22,651 stars and the Postgres license from the GitHub check.
- Drop the Faiss origin story.
- Confirm the host bill before you invent a pgvector seat.
Conclusion
pgvector is a PostgreSQL-licensed vector extension with 22,651 stars, not a Faiss wrapper and not a hosted dollar seat. Start at github.com/pgvector/pgvector, then decide whether Supabase or Qdrant already covers the product shape you need.
Comments
No comments yet. Be the first to comment!