Config Studio
ContextGraph Lab // M1 CONFIG STUDIO
Baseline: 2026-10-19
Mem0 & Zep Vector RAM Sizing, HNSW Quantization & Token Studio
Model exact Qdrant and pgvector HNSW RAM ceilings, scalar int8 4x memory compression, optional Neo4j temporal graph heap, and multi-turn prompt-token reduction. Export ready-to-run mem0-config.yaml and docker-compose.yml manifests directly above the fold.
ContextGraph Lab Snapshot
1M Facts (1536d) Qdrant fp32 6.92 GB RAM (M=16)
1M Facts (1536d) Qdrant int8 2.08 GB RAM (-70% RAM)
40-Turn Session Token Cut -64.3% Input Tokens
Vultr HF 8 GB (3 vCPU / NVMe) $48.00/mo Flat Compute
Xiaomi MiMo Async Extractor $0.10/1M Input Tokens
Managed Cloud 1M Facts TCO ~$420–$690/mo Variable
Mem0 / Zep HNSW Vector RAM, Quantization & Prompt-Token Workbench
Calculate exact Qdrant or pgvector HNSW RAM, scalar int8 4x memory savings, optional Neo4j temporal graph heap, and multi-turn prompt-token reduction versus sliding-window history. Export live mem0-config.yaml and docker-compose.yml manifests below.
50k Facts · 4 GB Single-Agent
1M Facts · Qdrant int8 (8 GB)
2.5M Facts · pgvector 768d
10M Facts · mmap + Neo4j Graph
Node RAM Partition (HNSW Vector Index + Graph Heap + Mem0 Worker + OS Page Cache)
Calculating...
Required Node RAM --
NVMe Disk Footprint --
Prompt Token Reduction --
MiMo + Vultr Monthly TCO --
Memory Stack Layer
Calculated Allocation
Engineering & Cost Guidance
mem0-config.yaml
Copy YAML
Download YAML
docker-compose.yml
Copy Compose
Download Compose
2026-10-19 MEMORY TCO BOARD MANAGED MEMORY CLOUD + FRONTIER EXTRACT VS VULTR HF + XIAOMI MIMO
AI Agent Memory Stack Cost Contrast (Self-Hosted vs Cloud)
Replace $420–$690/mo managed memory retrieval quotas and $3/1M frontier extraction overhead with flat-rate Vultr High Frequency NVMe nodes and Xiaomi MiMo async workers.
Agent Memory Scale Recommended Stack Flat Monthly Cost Managed Cloud Equivalent Action
50k–250k Facts (Single-Agent)
Vultr HF 4 GB (2 vCPU / 128 GB NVMe)
$24.00/mo + ~$1/mo MiMo
$19–$99/mo + ops overages
Deploy HF 4 GB ($24/mo)
1M–2.5M Facts (Qdrant int8)
Vultr HF 8 GB (3 vCPU / 256 GB NVMe)
$48.00/mo + ~$9.40/mo MiMo
~$420–$690/mo (retrieval + LLM)
Deploy HF 8 GB ($48/mo)
5M Facts + Neo4j Graph Layer
Vultr HF 16 GB (4 vCPU / 512 GB NVMe)
$96.00/mo + ~$18/mo MiMo
~$1,100+/mo enterprise tier
Deploy HF 16 GB ($96/mo)
Async Fact Extraction Worker
Xiaomi MiMo OpenAI-Compatible API
$0.10 / $0.30 per 1M tok
$2.50 / $10.00 per 1M frontier
Connect MiMo ($0.10/1M)
Enabling scalar int8 quantization cuts 1M 1536d Qdrant RAM from 6.92 GB to 2.08 GB while preserving >99% recall via NVMe fp32 rescoring.
Mem0 & Zep Agent Memory Presets (9 Profiles)
Co-locate Qdrant int8, Redis, FastAPI Mem0 server, and a 2-worker Celery extractor cleanly inside a $24/mo 4 GB Vultr High Frequency node.
1.18 GB Peak RAM · 1.2 GB NVMe · <10 ms HNSW Recall · $24/mo
Serve 2,500 daily multi-turn agent sessions across 1,000,000 1536d memories for $48/mo compute plus ~$9.40/mo Xiaomi MiMo extraction.
2.08 GB Qdrant RAM · 4.1 GB Total RSS · 64% Token Cut · $57.40/mo
Scale to 10,000,000 agent memories across thousands of customer workspaces using Qdrant on-disk mmap, int8 quantization, and 2-shard routing.
9.4 GB Hot Cache · 76 GB NVMe · Tenant Shard Keys · 32 GB HF
Pair vector similarity search with Neo4j bi-temporal entity-relationship graphs to track changing user preferences, org charts, and project states.
3.6 GB Neo4j Heap+Cache · Bi-Temporal Edges · Multi-Hop Recall
Browse all 9 Agent Memory Presets →
HNSW, Quantization & Prompt-Token Tuning (9 Guides)
Compute deterministic RAM requirements from vector count, embedding dimensions, bidirectional HNSW link pointers (M * 2 * 4B), and payload indexes.
Bytes/Vec = dim*4 + M*8 + 192B · 15% Segment Merge Margin
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
Quantify quadratic token inflation in raw conversation histories versus flat O(1) per-turn memory injection across 10 to 80 turn sessions.
40 Turns: -64% Tokens · 80 Turns: -82% Tokens · Flat Latency
Avoid runaway extraction costs by pre-filtering redundant facts with cosine similarity gates and routing ADD/UPDATE/DELETE prompts to Xiaomi MiMo.
Cosine Gate >= 0.88 · Batch 2 Turns · 85%+ Cheaper via MiMo
Browse all 9 HNSW & Token Tuning Guides →
Public Vector Compute & Extraction Tariff Ledger (2026-10-19) — Agent Memory Host Matrix
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.