Engine & TCO Audit
Qdrant int8 vs pgvector HNSW for AI Agent Memory RAM
Compare resident RAM, build-time memory spikes, multi-tenant payload filtering speed, and scaling ceilings between Qdrant and pgvector.
| Metric | Qdrant HNSW + Scalar int8 | pgvector HNSW (PostgreSQL 16) |
|---|---|---|
| 1M x 1536d Active RAM | ~2.08 GB (4x int8 quantization) | ~7.68 GB fp32 / ~4.15 GB halfvec |
| Index Build Peak RSS | ~1.15x steady-state segments | ~1.35x (maintenance_work_mem spike) |
| Tenant user_id Filtering | Native keyword payload graph filter | Post/pre-filter B-Tree + iterative scan |
| Cold Segment Offload | Built-in NVMe mmap + fp32 rescore | Relies on OS shared_buffers eviction |
| Best Scale Fit | 500k to 25M+ multi-tenant vectors | 50k to 1.5M vectors w/ SQL joins |
ContextGraph Lab Verdict
Use pgvector halfvec when you already run PostgreSQL 16 under 1.5M memories and need transactional SQL joins. Switch to Qdrant int8 on Vultr High Frequency NVMe once memory count crosses 1M vectors or multi-tenant filter latency matters.
Public Vector Compute & Extraction Tariff Ledger (2026-10-19) — Qdrant int8 vs pgvector HNSW for AI Agent Memory RAM
| Provider & Tier | Hardware / API Spec | Input / Entry | Output / Renewal | Billing Model | Memory Workload Fit | Link |
|---|---|---|---|---|---|---|
| Vultr High Frequency 4 GB — HF 4 GB (2 vCPU 3.8 GHz / 4 GB RAM / 128 GB NVMe) | 2 vCPU (High Freq) · 4 GB RAM · 128 GB NVMe | $24.00/mo | $24.00/mo | Hourly / Monthly Flat NVMe | 50k-250k facts · Qdrant int8 or pgvector · Single-agent MCP memory | Open Vultr HF |
| Vultr High Frequency 8 GB — HF 8 GB (3 vCPU 3.8 GHz / 8 GB RAM / 256 GB NVMe) | 3 vCPU (High Freq) · 8 GB RAM · 256 GB NVMe | $48.00/mo | $48.00/mo | Hourly / Monthly Flat NVMe | 1M-2.5M vectors (1536d int8) · Production SaaS Mem0 + Celery worker | Open Vultr HF |
| Vultr High Frequency 16 GB — HF 16 GB (4 vCPU 3.8 GHz / 16 GB RAM / 512 GB NVMe) | 4 vCPU (High Freq) · 16 GB RAM · 512 GB NVMe | $96.00/mo | $96.00/mo | Hourly / Monthly Flat NVMe | 5M+ vectors (Qdrant int8/mmap) or 2M pgvector HNSW + Neo4j graph | Open Vultr HF |
| Vultr High Frequency 32 GB — HF 32 GB (8 vCPU 3.8 GHz / 32 GB RAM / 1 TB NVMe) | 8 vCPU (High Freq) · 32 GB RAM · 1 TB NVMe | $192.00/mo | $192.00/mo | Hourly / Monthly Flat NVMe | 10M+ multi-tenant sharded vectors · Zep Graphiti + Neo4j heap | Open Vultr HF |
| Xiaomi MiMo Fact Extractor API — OpenAI-Compatible Async Fact Extraction & Deduplication Tier | Low-Latency JSON Mode · Fact Extract + Update/Delete Ops | $0.10/1M | $0.30/1M | Per 1M Input / Output Tokens | Async Celery extraction worker · Cuts Mem0 add() cost 85%+ vs frontier | Open Xiaomi MiMo |
Tariffs verified 2026-10-19 by ContextGraph Lab. Vultr High Frequency nodes provide 3.8 GHz+ vCPUs and local NVMe for sub-18ms HNSW traversal and fp32 rescoring; Xiaomi MiMo offloads background fact extraction at $0.10/1M input tokens.
- Vultr High Frequency Compute NVMe — High Frequency NVMe instances ($24/mo 4 GB, $48/mo 8 GB, $96/mo 16 GB, $192/mo 32 GB) verified 2026-10-19.
- Xiaomi MiMo API Platform — OpenAI-compatible endpoint pricing for async memory fact extraction and deduplication workers verified 2026-10-19.
- Mem0 Open-Source & Cloud Reference — Mem0 vector_store (Qdrant/pgvector), graph_store (Neo4j), and Mem0 Cloud tier thresholds verified 2026-10-19.