Vector Database RAM & HNSW Index Sizing Calculator
Size production memory for Qdrant, Milvus, Weaviate, Elasticsearch, and pgvector across Float32, FP16, Int8 Scalar Quantization (SQ8), and Binary Quantization (BQ).
Vector Collection Parameters
Recommended Server RAM5.42 GB
Vector Payload RAM3.81 GB
HNSW Graph Overhead0.12 GB
FAQ: Vector Quantization & Memory Planning
How much RAM does an HNSW vector index require in Qdrant, Milvus, or pgvector?
Raw Float32 vectors consume Dimensions * 4 bytes per vector, plus HNSW graph links (~M * 2 * 4 bytes per vector). A 10M vector index at 1024 dimensions (e.g., BGE-M3) takes ~42 GB in Float32, ~11 GB with Int8 Scalar Quantization, or ~2.2 GB with Binary Quantization.