macrostack

Layer 3 · self-hosting reality check

What it actually takes to self-host Meilisearch

The docs say 1 GB. In practice you want 4 GB — it wants the index resident in memory. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from Algolia alternatives, where Meilisearch is one of the picks.

Wondering whether you need to at all? Is Algolia free? — what the free tier actually allows, and where the wall is.

RAM — documented minimum1 GB
RAM — what it really needs4 GB — it wants the index resident in memory
CPU2 vCPU
DiskRoughly 2–4× the raw document size
Monthly cost$15–30/mo, against Algolia pricing that scales per search operation
Setup time1 hour
How you install itsingle binary or container — genuinely one process, which is the appeal
Ongoing maintenanceLow. Reindexing on schema change is the main operation.
Where it stops scalingMillions of documents on a well-sized box. Sharding is not its strength.

The thing that catches people out

It is memory-bound, not disk-bound, and the failure is ugly: exceed available RAM and indexing dies rather than degrading. Size for the index in memory plus headroom for merges, and watch it as the corpus grows — this catches teams who sized against document count instead of index size.

When not to self-host Meilisearch

You need complex aggregations, faceted analytics or geo queries at scale. Meilisearch optimises for fast, typo-tolerant, straightforward search.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 3 self-hosting guides

Common questions

How much RAM does Meilisearch actually need?
4 GB — it wants the index resident in memory in practice. The documented minimum is 1 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU alongside it.
What does self-hosting Meilisearch cost per month?
$15–30/mo, against Algolia pricing that scales per search operation This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for low. Reindexing on schema change is the main operation.
How long does it take to set up Meilisearch?
1 hour, via single binary or container — genuinely one process, which is the appeal.
When should I NOT self-host Meilisearch?
You need complex aggregations, faceted analytics or geo queries at scale. Meilisearch optimises for fast, typo-tolerant, straightforward search.
What is the most common mistake when self-hosting Meilisearch?
It is memory-bound, not disk-bound, and the failure is ugly: exceed available RAM and indexing dies rather than degrading. Size for the index in memory plus headroom for merges, and watch it as the corpus grows — this catches teams who sized against document count instead of index size.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.