The Bottom Line
- Best for
- Developers storing vectors with Postgres data
- Price
- Free. Compare plans
Key facts
- pgvector is an open-source PostgreSQL extension for vector similarity search, allowing users to store and query vectors directly within their database.
- It supports various distance metrics (L2, inner product, cosine, L1, Hamming, Jaccard) and vector types (single-precision, half-precision, binary, sparse).
- pgvector offers both exact and approximate nearest neighbor search, with approximate search enabled by HNSW and IVFFlat indexes for improved performance.
Pros
- Native PostgreSQL
- No separate service
- Open source
Cons
- PostgreSQL only
- Limited compared to specialized DBs
What is pgvector?
Available on: Linux, macOS, Windows
Preview
Key Features
- Vector storage
- Similarity search
- PostgreSQL native
- Multiple indexes
- Exact and approximate search
- Open source
Pricing Plans
Pricing checked Oct 22, 2026. Source: github.com/pgvector/pgvector, read Oct 22, 2026
| Plan | Price | Details |
|---|---|---|
| Open Source | Free |
+1 more Show less
|
Is pgvector worth the price?
pgvector's pricing is exceptionally generous, being entirely free and open-source.
This makes it an incredibly fair and accessible option for anyone needing vector similarity search. It's best for developers and organizations looking for a cost-effective, self-hosted solution with full control.
Email me if pgvector changes or adds a paid plan
Reviews

Write the first pgvector review, get a free AI guide
Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.
Questions and feature requests
Ask about pgvector or say what is missing. Other users can answer; the company can once it claims this page.
This company has not claimed its page yet. Claim it to answer questions and collect feature requests.
Claim this pageBest pgvector Alternatives
Top alternatives based on features, pricing, and user needs.
Distributed search and analytics
Open-source vector database for AI
Managed vector database for semantic search and RAG
Open-source vector database with ML
Open-source search and analytics suite
Vector database for similarity search
Open-source vector database for AI applications
Still deciding?
Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.
Explore More
pgvector FAQ
How does pgvector enable vector similarity search?
Which teams would benefit most from using pgvector?
How is pgvector priced?
What kind of limitations does pgvector have compared to other vector databases?
Can pgvector be used for building recommendation engines?
How does pgvector compare to Milvus?
Does pgvector require a separate service to function?
Source: github.com