Milvus vs pgvector

Share
Milvus

Milvus

Developer Tool

68/100
Try with caution
Pick it if you are:
Teams with billions of vectors; Teams with Kubernetes and ops skills
Top complaint:
Milvus query node runs out of memory when loading large collections
Price:
Free plan, paid from $126/mo
9 Milvus errors & fixes →
pgvector

pgvector

Developer Tool

74/100
Try
Pick it if you are:
Teams already on Postgres; Startups building RAG prototypes
Top complaint:
HNSW index build is very slow once the graph outgrows memory
Price:
Free plan, paid from $25/mo
11 pgvector errors & fixes →

Score Comparison

Milvusareapgvector
68
Overall
74▶
70
Pricing
95▶
60
Usability
72▶
◀85
Performance
65
◀60
Support
55
65
Reliability
75▶
55
Onboarding
70▶
80
Integrations
90▶

Signals Comparison

Performance

Milvus

  • Milvus query node runs out of memory when loading large collections(8/10)
  • Slow search after restart, scaling or heavy filters(7/10)
  • Free Zilliz Cloud cluster first query times out(4/10)

pgvector

  • HNSW index build is very slow once the graph outgrows memory(7/10)
  • Filtered vector search returns fewer rows than LIMIT(7/10)
  • Queries do a sequential scan and ignore the vector index(6/10)
  • Recall drops and memory grows at tens of millions of vectors(7/10)
Usability

Milvus

  • Search fails with 'collection not loaded' until you index and load(6/10)
  • Vector dimension mismatch errors when switching embedding model(6/10)
  • Freshly inserted data does not show up in search(5/10)
  • Concurrent bulk inserts hit 'DataNode resource not enough'(5/10)

pgvector

  • operator does not exist: vector <=> unknown or real[](6/10)
  • Vectors over 2,000 dimensions cannot be indexed(7/10)
  • Dimension mismatch errors when you change embedding model(6/10)
  • IVFFlat gives poor results when built on little data(5/10)
Onboarding

Milvus

  • Index not exist error after creating a collection(5/10)
  • Cluster mode is heavy to run yourself(7/10)

pgvector

  • pgvector error: extension "vector" is not available(6/10)
Reliability

Milvus

  • Connection refused or timeout on localhost:19530(6/10)
  • etcd and MinIO dependencies cause startup crashes(8/10)

pgvector

  • HNSW build fails on shared memory or runs out of RAM(7/10)
Pricing

Milvus

  • Zilliz Cloud Dedicated starts at $126/month and scales with vectors(6/10)

pgvector

No signals

Support

Milvus

  • Many production questions stay open on GitHub(5/10)

pgvector

No signals

Integrations

Milvus

No signals

pgvector

  • Extension availability and version lag differ by managed host(5/10)

Pricing Comparison

Milvus

Self-hosted (open source)
Free

Users: Unlimited

Storage: Your own disk

Limits: No managed backups or SLA; community support

You pay for servers: 8-16 GB RAM for standalone, 32-128 GB for cluster, plus etcd and object storage and your own ops time.
Zilliz Cloud Free
Free

Users: Not stated

Storage: 5 GB

Limits: 5 GB storage, 5 collections, community support only

Heavier use needs a paid plan.
Zilliz Cloud Standard (Serverless)
Popular
$0.00/mo

Limits: Standard tier; no 99.95% SLA

vCU usage varies with reads and writes.
Zilliz Cloud Standard (Dedicated)
$126.00/mo

Limits: Price depends on cluster and storage tier

Per million vector rates scale with tier (about $5 to $63 per million 768-dim vectors per month).
Zilliz Cloud Enterprise (Dedicated)
$197.00/mo
Cost rises with cluster size.
Business Critical / BYOC
Free
No published price.

pgvector

Self-hosted (open source)
Popular
Free

Users: Unlimited

Storage: Your own disk (non-partitioned table up to 32 TB in Postgres)

Limits: No managed backups or support SLA; community support; 2,000-dim index limit on vector

You pay for the server and RAM that holds indexes, plus your own ops time. HNSW builds need extra memory.
Supabase Free
Free

Users: 2 active projects

Storage: 500 MB database

Limits: 500 MB database and 500 MB RAM leave little room for large HNSW indexes, pausing after a week idle, 2 projects max

Projects pause after 1 week of inactivity.
Supabase Pro
$25.00/mo

Storage: 8 GB per project, then $0.125/GB

Limits: Larger RAM tiers are needed for big vector indexes

Compute add-ons: Small $15, Medium $60, Large $110 (8 GB RAM), XL $210 (16 GB RAM) per month; extra projects pay full compute.
Neon Free
Free

Users: 100 projects

Storage: 1 GB per project, 20 GB total

Limits: 1 GB storage per project, scale to zero after 5 minutes

Hitting 100 CU-hours suspends compute until next period; exceeding storage blocks writes.
Neon Launch
$0.11/mo

Storage: Billed $0.35 per GB-month

Limits: No minimum but costs grow with CU-hours

Instant restore $0.20 per GB-month; egress over 500 GB $0.10/GB. Vendor example: about $15/month at 140 CU-hours and 1 GB.
AWS RDS / Aurora PostgreSQL
Free

Limits: Version depends on engine minor version

No extra charge for pgvector; you pay instance hours, storage, I/O and backups, and vector work often needs a larger instance class. Check AWS pricing.

Feature Comparison

FeatureMilvuspgvector
Core
Dense vector search
Sparse vector search

SPARSE_INVERTED_INDEX

Binary vectors
Indexing
IVFFlat index
Indexing vectors above 2,000 dimensions

Use halfvec (4,000) or reduce dimensions

Search
Cosine, L2, inner product, L1 distance
Iterative index scans for filters

hnsw.iterative_scan and ivfflat.iterative_scan

Index
HNSW index
IVF_PQ index
DiskANN / disk-based index

Mentioned for data larger than RAM

Types
halfvec, bit, sparsevec types
Database
SQL joins and transactions
Usability
Auto-indexing on create

Index must be created before load

Deployment
Managed cloud

Zilliz Cloud

Embedded local mode

Milvus Lite (no Windows wheel per third-party guide)

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Milvus vs pgvector 2026 - Problems & Comparison | Try or Bye