Cost Models // SeatExit FinOps
Qdrant HNSW 1M-Chunk RAM Sizing (float32 vs int8 Quantization)
One million 1024-dimensional float32 vectors consume ~4.25 GB RAM in HNSW; enabling int8 scalar quantization cuts memory to ~1.83 GB.
Measured Unit Economics & Telemetry
Vector search latency collapses if Qdrant HNSW graph pages spill from RAM onto disk under heavy multi-user queries. Raw 1024-dim float32 vectors require 4,096 bytes/chunk plus ~15-20% HNSW edge overhead. Enabling Qdrant int8 scalar quantization compresses vectors 4x while retaining >98% recall@10 with optional rescore.
| Resource / Billing Line | Audited Value | FinOps Impact |
|---|---|---|
| 100k Chunks (1024-dim int8) | ~345 MB RAM | Fits comfortably on 8 GB KVM 2 |
| 500k Chunks (1024-dim int8) | ~1,005 MB RAM | Ideal sweet spot for 16 GB KVM 4 / Vultr |
| 1.0M Chunks (1024-dim int8) | ~1,830 MB RAM | Leaves 12+ GB headroom on 16-32 GB nodes |
| 1.0M Chunks (1024-dim float32) | ~4,250 MB RAM | Requires 16-32 GB node with Docling active |
Implementation & Configuration Checklist
- Enable int8 Scalar Quantization: Configure always_ram: true on the quantized int8 index while keeping original float32 vectors memory-mapped on NVMe.
- Tune HNSW m=16, ef_construct=100: Balanced graph degree keeps edge RAM predictable while preserving top-8 RAG recall.
- Isolate NVMe Storage Volume: Mount /qdrant/storage on local NVMe rather than network block storage for fast rescore.
QDRANT_QUANTIZATION=scalar_int8
QDRANT_HNSW_M=16
QDRANT_EF_CONSTRUCT=100
EST_1M_CHUNKS_INT8_MB=1830
Team RAG Infrastructure FAQ
Does int8 quantization hurt RAG answer accuracy?
With Qdrant rescoring top-K candidates from NVMe-mapped float32 vectors, recall@10 stays within 1-2% of pure RAM float32.
When should we upgrade from 16 GB to 32 GB for Qdrant?
Upgrade to 32 GB (KVM 8) once collections cross 1.2M-1.5M chunks alongside Docling OCR.