Skip to content
pgvector logo

pgvector

Vector similarity search for PostgreSQL

Free
Tracked since 2026

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?

pgvector is an open-source PostgreSQL extension for vector similarity search. Enables storing embeddings and performing similarity queries directly in your PostgreSQL database.

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

pgvector plans and prices, checked October 2026
Plan Price Details
Open Source

Free

  • Full source code access
  • Other license
  • Community support
+1 more
  • Self-hosted

Is pgvector worth the price?

Great value

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.

Full pgvector pricing: every plan, hidden costs and alternatives

Email me if pgvector changes or adds a paid plan

We email you if pgvector adds a paid plan or changes its pricing. We read its pricing page every week. One email per change, unsubscribe any time.

Have an account? Sign in and it is on in one click.

Reviews

Improve Your Thinking Patterns Using ChatGPT cover
$99 Free with your review

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.

Write the first review

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 page

Best pgvector Alternatives

Top alternatives based on features, pricing, and user needs.

View full list →

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?

pgvector is an open-source PostgreSQL extension that allows users to store embeddings and perform similarity queries directly within their existing PostgreSQL database. This integration means that vector operations can be managed alongside other data within the same database system.

Which teams would benefit most from using pgvector?

Teams already utilizing PostgreSQL for their data management will find pgvector particularly beneficial. It is ideal for developers who need to integrate vector similarity search capabilities without introducing a separate database service.

How is pgvector priced?

pgvector is free to use because it is an open-source PostgreSQL extension. There are no paid plans or subscription fees required to utilize its functionalities.

What kind of limitations does pgvector have compared to other vector databases?

pgvector is limited to PostgreSQL environments, meaning it cannot be used with other database systems. Its capabilities are also more constrained compared to specialized vector databases that offer a broader range of advanced features.

Can pgvector be used for building recommendation engines?

Yes, pgvector can be used to build recommendation engines by storing user or item embeddings and performing similarity searches. This allows for identifying items or users with similar characteristics directly within a PostgreSQL database.

How does pgvector compare to Milvus?

pgvector integrates vector similarity search directly into PostgreSQL, offering a native experience without a separate service. In contrast, Milvus is a specialized vector database designed independently of traditional relational databases.

Does pgvector require a separate service to function?

No, pgvector does not require a separate service because it operates as an extension within PostgreSQL. This allows for managing vector data and performing similarity searches directly within the existing PostgreSQL database instance.

Source: github.com

Guides & Articles