← all SaaS

Self-host Algolia

Search-as-a-service · Category: storage, queues & search

Algolia is the default hosted search backend for ecommerce and docs sites. The self-host alternatives all hit ms-range query latency once tuned; the gap is in the polish of the dashboard and the InstantSearch widget ecosystem.

Algolia pricing anchor: Free up to 10k records / 10k searches; $1/1k searches above that.

Meilisearch meilisearch/meilisearch alive

GitHub
★ 57.5k · last commit 3d ago · 297 open issues
License
MIT
Setup time
5min (single Rust binary or docker run)
Monthly cost
$5 VPS handles a few million records; $20+ once you push into 50M+ documents.
Migration sketch. Algolia → Index → Configuration → Manage index → Export records (JSON). Meilisearch → `POST /indexes/{name}/documents` with the JSON array. Settings (synonyms, stop words, ranking rules) reauthored via PUT /indexes/{name}/settings — Meilisearch's defaults match Algolia's typo-tolerance closely.
Good fit forDocs sites and small ecommerce catalogs that want Algolia-shaped DX with full control.
Weak atNo managed multi-tenancy out of the box; analytics dashboard is thinner than Algolia.

Typesense typesense/typesense alive

GitHub
★ 25.8k · last commit 1d ago · 800 open issues
License
GPL-3.0
Setup time
10min docker-compose
Monthly cost
$5-10 VPS — RAM-bound, plan ~1GB per million records.
Migration sketch. Algolia export → JSON → Typesense `POST /collections/{name}/documents/import` (JSONL). Typesense ships an Algolia-compatible adapter for InstantSearch that mostly works with widget code unchanged.
Good fit forTeams that want Algolia parity including faceted search and federated queries with an InstantSearch-compatible adapter.
Weak atGPL-3.0 + no first-class Cloud Functions equivalent for transformation.

OpenSearch opensearch-project/OpenSearch alive

GitHub
★ 12.9k · last commit today · 2789 open issues
License
Apache-2.0
Setup time
30min docker-compose
Monthly cost
$20+ VPS — JVM-heavy; want 4GB RAM dedicated.
Migration sketch. Algolia → JSON export → bulk index via `_bulk` endpoint. OpenSearch search syntax is different from Algolia's — relevance tuning + facet config get rewritten as queries / aggregations rather than dashboard config.
Good fit forTeams that need search + log-analytics on the same engine, or who already run Elastic-shaped infra.
Weak atHeavyweight for pure ecommerce search; relevance tuning has a much steeper curve than Meilisearch / Typesense.

In a terminal? npx os-alt algolia prints this table — how the CLI works →