pgvector-tco

pgvector cost calculator,
managed vs self-hosted.

See how much RAM your HNSW index needs, which Rivestack plan fits, and what it would roughly cost to run the same thing yourself. All figures are estimates.

pgvector TCO · Managed vs self-hosted · Flat pricing from $0

enter your workload

total rows in your vector table

1536 = OpenAI text-embedding-3-small/large; 768 = Cohere/BGE-base

precision

halfvec / fp16 cuts index RAM roughly in half

ha_nodes

1 node has no failover. 2 or 3 nodes add automatic failover. The extra nodes are replicas with the same data, so they buy uptime, not capacity.

Formula (estimate): vectors × dimensions × 4 bytes (fp32) × 1.3 graph overhead . Actual usage varies with HNSW parameters (m, ef_construction) and data shape.

estimate

enter a vector count above to see the estimate.

Ready to skip the ops?

pgvector pre-installed and HNSW-tuned on dedicated NVMe. Flat pricing, free migration help.

related