What is Typesense?
Typesense is what you get when search is engineered like a database kernel: a C++ binary holding indexes in RAM, returning typo-tolerant, faceted, filtered results in single-digit milliseconds - plus vector and hybrid search for the semantic layer. Env-only configuration down to the port.
It is the deliberate counterpart to the catalogue’s meilisearch: Meilisearch for the gentlest developer experience, Typesense for raw speed and richer filtering at scale. Key-protected like its sibling, so the API can face browsers with scoped search-only keys.
The cloud math is unusually direct here: Typesense Cloud’s smallest node - 0.5 GB, no HA, the identical open-source binary - costs $21.60/month. This template runs the same binary in 1 GiB, on a flat resource or by the second on Usage Billing.
What you get
- Sub-10ms typo-tolerant search with facets and filtering
- Vector + hybrid search; InstantSearch-compatible adapter
- Env-only config including the port - simplest deploy class
- Scoped search-only API keys for browsers
- RAM-resident indexes: predictable, honest sizing
- GPL-3.0; Raft clustering upstream when one node ends
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
typesense | search engine (:5000) | yes (key-protected) |
Before you deploy
TYPESENSE_API_KEYadmin key; derive scoped search keys for clients
Sizing and billing
Indexes live in RAM: budget 2-3x the size of indexed fields. The on-disk copy on the volume makes restarts instant.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 4.88 GiB of volumes cost $0.15 per GiB a month ($0.73/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Typesense Cloud | smallest cluster | $22/mo | $0.03/hr for 0.5 GB RAM, no HA - the identical open-source binary, hosted |
| Algolia | Grow (pay-as-you-go) | $45/mo | at ~100k searches + 100k records/mo |
Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Typesense or Meilisearch - this catalogue has both?
Deliberately: Meilisearch wins on out-of-box DX and built-in AI hybrid search; Typesense wins on raw latency, filtering depth, and memory predictability at larger scale. Both are key-protected single containers - benchmarking with your data costs an afternoon.
Is the hosted version different software?
No - Typesense Cloud runs this same GPL binary; you pay for their ops. Their pricing starts at a 0.5 GB non-HA node; here the same binary gets 1 GiB on your own infrastructure.
Can browsers query it directly?
Yes - generate scoped, search-only API keys (optionally with embedded filters per user) and ship those to the frontend. The admin key stays server-side; the InstantSearch adapter makes the UI part familiar.