Vector database sizing
Memory, infrastructure & embedding economics.
Memory overview
Memory at scale
72.5% less total RAM with INT8
107.3 GiB saved per replica. Benchmark recall first.
Cloud cost comparison
Illustrative USD / month · workload and capacity assumptions apply
| Provider | Sizing basis | Monthly | Annual |
|---|
Budget estimates, not vendor quotes. Excludes tax, egress, backups, setup and operations.
Deployment configuration
Derived from this workloadThe 10x vector memory bill
Oversized instances. Extra replicas. Full-precision vectors. Costs compound. Scalar quantization cuts vector bytes by 75%; metadata and index overhead stay. A 10x bill reduction needs more than INT8 alone.
Planning a production vector cluster?
Enterprise architecture & capacity review
Vector Database & Information Retrieval Engineering Books
SPONSORED / AFFILIATESearch Systems: A Practitioner's Guide to Architecture
Detailed implementations of inverted indexes, approximate nearest neighbors (HNSW), and distributed vector stores.
View on Amazon ›Cloud Native Distributed Storage Design Patterns
Replication topologies, sharding, consensus protocols, and NVMe tiering for petabyte-scale retrieval.
Explore on Amazon ›Programming WebAssembly & Rust for High-Throughput Engines
Zero-cost abstractions, memory alignment, and SIMD vector operations for low-latency similarity search.
Check Books ›*Disclosure: This site contains affiliate links.
Frequently Asked Questions (FAQ & Verification)
- How much RAM does HNSW index require?
- (Dimensions * 4 bytes + M * 8 bytes) * vector_count * 1.25 safety overhead.
- Does Scalar Quantization (SQ8) degrade accuracy?
- SQ8 reduces RAM by 75% with less than 1% degradation in recall@10.
- When should I choose pgvector over Qdrant?
- Use pgvector under 1M vectors with relational data; use Qdrant for dedicated scale.
- How is embedding API cost calculated?
- Token count divided by 1M multiplied by vendor rate (e.g. OpenAI text-3-large).
- Does on-disk payload storage reduce cost?
- Yes, keeping payloads on disk and only index vectors in RAM cuts memory bills by 60%.