MS MeiliSizer Instant-Search Spec & Cost Matrix
MeiliSizer Matrix / Formula Methodology
SEARCH INFRASTRUCTURE METHODOLOGY & TRANSPARENCY AUDIT

MeiliSizer Engineering Methodology: LMDB Mmap, Resident RAM, Vector HNSW & Algolia TCO Math

Sizing a search engine by total raw database gigabytes alone either wastes money (indexing unsearched HTML blobs) or causes 3 AM OOM crashes (ignoring inverted index and vector graph expansion). MeiliSizer models memory from the tokenizer and storage-engine layer up.

// Summary of MeiliSizer Engine Math (src/meili-sizer-engine.mjs)
rawDatasetGb       = (docCount * avgJsonKb * 1024) / (1024 ** 3);
searchableGb       = rawDatasetGb * searchableFieldShare; // 0.34 .. 0.72
lexicalIndexGb     = searchableGb * engineMultiplier;     // 2.2x (LMDB) | 2.85x (Typesense) | 3.5x (Hybrid)
vectorHnswGb       = (docCount * vectorBytesPerDoc) / (1024 ** 3);
indexedWorkingGb   = baseDaemonGb + lexicalIndexGb + vectorHnswGb + (peakQps * 0.0022);
indexingPeakRamGb  = max(effectiveWorkingGb + indexingArenaGb + osReserveGb, typesenseSafeFloorGb);
savedVsAlgoliaUsd  = algoliaMonthlyBill - recommendedNvmeVpsMonthlyUsd;
MeiliSizer Public Vendor Pricing Sources (Retrieved 2026-11-12): Public rates retrieved 2026-11-12 from official vendor pages; promotional & renewal prices may change — always verify exact billing cycles, regional stock, and renewal terms on the vendor’s official checkout page before purchasing.

Load Workload in MeiliSizer Matrix →