Skip to main content
MEM0 CONTEXTGRAPH LAB // VECTOR GRAPH RAM & PROMPT-TOKEN TCO STUDIO QDRANT INT8 + PGVECTOR HNSW | VULTR HIGH FREQUENCY | XIAOMI MIMO EXTRACTOR | 2026-10-19
Mem0VectorTCO
Mem0VectorTCO Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
HNSW & Token Tuning

Scalar int8 Quantization: Cutting Vector RAM 4x Safely

Compress 32-bit float embeddings to 8-bit integers in RAM while retaining full fp32 originals on NVMe for high-precision candidate rescoring.

6,144B -> 1,536B Vector · 99.1% Recall w/ 2x Oversample

Scalar int8 Quantization: Cutting Vector RAM 4x Safely
Memory benchmark baseline verified 2026-10-19 by ContextGraph Lab.

Why quantile=0.99 Protects Quantization Accuracy

Extreme outlier coordinates in OpenAI or BGE embeddings can stretch linear min-max int8 buckets. Setting quantile: 0.99 clips the top 1% tails during calibration so 99% of vector coordinates keep sharp resolution.

How Two-Stage NVMe Rescoring Works

Qdrant traverses the HNSW graph using fast int8 vectors in RAM to gather 2 * K candidates, then reads only those 16-20 full fp32 vectors from High Frequency NVMe to compute exact final cosine rankings in under 2 milliseconds.

Measured Thresholds & Vector Stack Parameters

Metric (1M x 1536d)Unquantized fp32Scalar int8 (quantile=0.99)
Raw Vector Bytes/Point6,144 bytes1,536 bytes (4.0x smaller)
Total Qdrant RAM (M=16)6.92 GB RAM2.08 GB RAM (-70% incl. graph)
Recall@10 w/ Rescore99.4% baseline99.1% (oversampling: 2.0)
6,144B -> 1,536B Vector · 99.1% Recall w/ 2x Oversample Deploy Vultr HF NVMeXiaomi MiMo API