turbopuffer keeps every namespace on object storage and bills each query by namespace size; Elasticsearch and OpenSearch run indices on shards you size and pay for by the node or compute unit. How the two models differ on architecture, Query DSL vs the turbopuffer API, aggregations, cost and operations, and who should migrate, checked November 2026.
turbopuffer is a closed-source, serverless search engine that stores every namespace on object storage and caches the ones being queried on NVMe and in memory. Elasticsearch and OpenSearch are open-source (or source-available) search engines that run indices as shards on nodes you size, either yourself or through a managed service. They solve overlapping problems with opposite cost models. turbopuffer bills each query by the size of the namespace it searches. Elasticsearch and OpenSearch bill for the capacity you keep running, whether anyone queries it or not.
That gives a short answer to "turbopuffer vs Elasticsearch": turbopuffer wins on cost and operations when you have thousands to millions of small, mostly idle per-tenant indexes and need vector plus BM25 retrieval. Elasticsearch and OpenSearch win when one large index takes steady traffic, when you need rich aggregations, analyzers or Kibana/OpenSearch Dashboards, or when you already run them well. We are an Elasticsearch and OpenSearch consulting firm, so this is our home turf. Every turbopuffer number below links to turbopuffer's own pricing or docs, checked on November 24, 2026.
Quick answer
- Architecture: turbopuffer writes to a log on S3 or GCS and treats compute as a cache. Elasticsearch and OpenSearch keep shards on local disk with replicas, and add object storage as a tier (searchable snapshots, remote-backed storage, or Elastic Cloud Serverless).
- Query model: turbopuffer has a compact JSON API with ANN, BM25, filters,
multi_queryhybrid and six aggregation functions. Query DSL is far larger: nested queries, dozens of aggregation types, scripting, custom analyzers. - Cost: turbopuffer charges $1 per PB queried, about $1 per GB of namespace per million queries, with a 1.28 GB floor. Below roughly a few GB per namespace that is close to free. On a large, busy index it adds up fast.
- Who should move: multi-tenant RAG and agent-memory workloads with many small namespaces. Who should stay: log analytics, e-commerce search with heavy faceting, and anyone whose index is large and hot.
turbopuffer vs Elasticsearch and OpenSearch at a glance
| turbopuffer | Elasticsearch / OpenSearch | |
|---|---|---|
| License | Closed source, managed only (BYOC on Enterprise) | Elasticsearch: AGPL/SSPL/ELv2; OpenSearch: Apache 2.0 |
| Unit of data | Namespace (unlimited count, 250M+ observed) | Index, split into primary and replica shards |
| Durable storage | Object storage is the source of truth | Local disk with replicas; object storage via snapshots or remote store |
| Idle cost | Storage only ($0.33/GB-month) | Running nodes, or a compute minimum on most serverless options |
| Query pricing | Per GB of namespace searched | Included in node or compute-unit price |
| Cold query | Hundreds of ms (316 ms p50 BM25, 1M docs) | No cold start on provisioned clusters |
| Query language | turbopuffer JSON API and SDKs | Query DSL, SQL, ES|QL (Elasticsearch), PPL (OpenSearch) |
| Aggregations | Count, Sum, Avg, Min, Max, ApproxPercentile; 10k groups | Terms, histograms, nested, pipeline, composite and more |
| UI | None | Kibana / OpenSearch Dashboards |
Sources: turbopuffer pricing, limits, query docs, full-text search docs. For the differences between the two Lucene-based engines, see OpenSearch vs Elasticsearch compared.
Architecture: object storage first vs shards first
turbopuffer's architecture docs describe a write path that ends on object storage. A write is a new file in the namespace's write-ahead log on S3 or GCS, indexing happens asynchronously, and a query node pulls the namespace into its NVMe cache on first use. Compute holds no state that matters. Lose a node and the next query rebuilds the cache from the bucket.
Elasticsearch and OpenSearch grew up the other way. An index is a set of Lucene shards on local disk, durability comes from replicas on other nodes, and object storage enters through snapshots. Both engines now push further toward the bucket: Elasticsearch's searchable snapshots back the cold and frozen tiers, OpenSearch has remote-backed storage and searchable snapshots, and Elastic Cloud Serverless runs a stateless Elasticsearch with the object store as its primary data store. The default self-managed or provisioned cluster is still shard-on-disk, though, and that is what most teams compare against.
Namespaces vs indices and shards
This is the difference that decides most evaluations. A turbopuffer namespace is cheap to create and costs nothing to keep idle beyond storage, so "one namespace per user" is the intended pattern. Notion runs 10M+ namespaces on it and Linear 4M+.
Try that on a provisioned cluster and you hit cluster-state limits long before storage limits. Every index carries mapping and shard metadata in the cluster state, each shard has heap and file-handle overhead, and Elastic's shard sizing guidance pushes you toward fewer, larger shards. The standard Elasticsearch answer to multi-tenancy is a shared index with a tenant_id field, routing and filtered aliases. That works well, but it is a design you have to build and maintain, and noisy tenants share the same shards.
Cold vs warm latency
The price of object-storage-first is the cold query. turbopuffer publishes its own numbers: BM25 over 1M documents (about 300 MB) runs at 13 ms p50 warm and 316 ms p50 cold, with a cold p99 of 559 ms (FTS docs). Its vector benchmark shows 14 ms warm against 874 ms cold. A provisioned Elasticsearch or OpenSearch cluster has no equivalent: data on local disk is warm by definition, and the main tail-latency risks are GC pauses, merges and hot shards.
For a per-user RAG tool, a few hundred milliseconds on the first query of a session is usually fine, and Notion fires a prewarm query when a dialog opens. For an agent that fans out 20 retrieval calls, or a storefront search box, the coldest namespace sets the latency. turbopuffer lets you pin up to 256 namespaces to keep them hot, at extra cost.
Query model: turbopuffer API vs Query DSL
turbopuffer's query API is small on purpose. Here is a BM25 query with two filters, straight from its query docs:
POST /v2/namespaces/my-namespace/query
{
"rank_by": ["content", "BM25", "quick fox"],
"filters": ["And", [
["timestamp", "Gte", "2024-03-01T00:00:00.000Z"],
["public", "Eq", true]
]],
"limit": {"total": 10},
"include_attributes": ["title", "content", "timestamp"]
}
And the equivalent in Elasticsearch or OpenSearch Query DSL:
POST /my-index/_search
{
"size": 10,
"_source": ["title", "content", "timestamp"],
"query": {
"bool": {
"must": { "match": { "content": "quick fox" } },
"filter": [
{ "range": { "timestamp": { "gte": "2024-03-01T00:00:00.000Z" } } },
{ "term": { "public": true } }
]
}
}
}
For this query the two are a near one-to-one translation. The gap opens on everything around it.
Hybrid search. turbopuffer runs up to 16 subqueries in one multi_query request against a single snapshot and fuses them with rerank_by: ["RRF"] or a model reranker (hybrid docs). Elasticsearch has the rrf retriever and OpenSearch has hybrid queries with normalization processors; both do the same job with more knobs. Our hybrid search guide covers the fusion choices.
Text analysis. turbopuffer offers a handful of tokenizers (word_v4 by default, plus whitespace, pre_tokenized_array and CJK tokenizers), stemming in 18 languages, stopwords, fuzzy matching and BM25 k1/b tuning (FTS docs). Elasticsearch and OpenSearch give you the whole Lucene analysis chain: custom analyzers, synonym graphs, n-grams, phonetic filters, per-field analyzers at index and query time. If your relevance work lives in analyzers, that is a large migration cost.
Aggregations. turbopuffer supports Count, Sum, Avg, Min, Max and ApproxPercentile, up to 8 per query, with group_by and a 10k-group cap (limits). Its docs advise against aggregations in latency-sensitive paths on namespaces over 1M documents. That is enough for "count matching docs per tag". It is not a replacement for faceted navigation with terms and range aggregations on every request, date_histogram dashboards, or pipeline aggregations.
What turbopuffer does that Query DSL does not. Patch and delete by filter as first-class writes, namespace branching, built-in embedding and reranking, and a strongly consistent read by default. Elasticsearch and OpenSearch are near-real-time: a document is searchable after the next refresh, one second by default.
Cost model: per-GB-queried vs nodes vs compute units
The three models charge for different things, so the same workload can rank differently on each.
| Model | What you pay for | Idle cost | Grows with |
|---|---|---|---|
| turbopuffer | $0.33/GB-month storage, $2/GB written, $1 per PB queried (1.28 GB floor per query), $16/month minimum on Launch | Storage only | Namespace size x query count |
| Provisioned Elasticsearch / OpenSearch | Nodes (instances, memory, disk) per hour | Full cluster | Peak load and data size |
| Elastic Cloud Serverless | Ingest and search VCU-hours, $0.047/GB-month storage | Search VCU baseline | Search Power setting and search-ready data |
| OpenSearch Serverless | $0.24 per OCU-hour, $0.024/GB-month (Classic) | 2 OCUs (~$350/month) on Classic; zero on NextGen | OCUs used |
Sources: turbopuffer pricing, Elastic Cloud Serverless pricing, AWS OpenSearch pricing. NextGen OpenSearch Serverless collections went GA in May 2026 and scale to zero after 10 idle minutes, with a 10-30 second first request.
turbopuffer's query meter works out to about $1 per GB of namespace per million queries. Above 32 GB the marginal rate drops 80%, and above 128 GB it drops 96% (pricing). Two workloads show where that lands:
- 10,000 tenants, 50 MB each, 100 queries per tenant per month. That is 1M queries, each billed at the 1.28 GB floor: $1.28 in query charges, plus about $165 for 500 GB of storage. A provisioned cluster holding 10,000 tenant indices is an operations problem; a shared index works but still costs whatever nodes it runs on, around the clock.
- One 10 GB product catalog, 50M queries a month. Each query bills 10 GB, so search alone is 500 PB queried, or $500 a month. A small provisioned cluster serving 20 queries a second over 10 GB usually costs less than that, and Elastic's own estimate for a 20 GB production Serverless search project is $190-210 a month.
The rule of thumb: turbopuffer is cheapest when indexes are small, numerous and mostly idle, and it gets expensive as one index grows and gets busier. Provisioned clusters are the reverse, cheap per query at steady high load and wasteful when idle. For instance-level numbers on both sides, see our OpenSearch and Elasticsearch pricing guide.
Operations: what you stop doing and what you lose
Moving to turbopuffer removes a whole category of work. No shard sizing, no replica counts, no rolling upgrades, no JVM heap tuning, no disk watermarks, no rebalancing after a node loss. Capacity follows traffic, and an idle namespace costs only its storage.
You also give some things up. turbopuffer is closed source with no self-hosted option, so your exit path is a re-index into something else; it ships no migration tooling. There is no Kibana or OpenSearch Dashboards, no alerting, no ingest pipelines and no SQL. Per-namespace limits are real: 10,000 writes per second, one commit per second, and 16 concurrent queries on an unpinned namespace. Vector recall@10 is published as 90-100%, and the vector index is not configurable the way HNSW parameters are in Elasticsearch or OpenSearch k-NN.
The common pitfall in migrations we see is underestimating how much application logic lives in the cluster: analyzers, synonyms, index templates, aliases used for zero-downtime reindexing, ingest pipelines that enrich documents. Inventory those before you estimate the work.
Who should migrate, and who shouldn't
Move to turbopuffer when:
- Your product is multi-tenant and each tenant's index is small (well under a few GB).
- Most tenants are idle at any given moment, so per-query billing beats paying for always-on nodes.
- Retrieval is the job: vector, BM25 and hybrid ranking with simple filters, for RAG, agents or code search.
- You want to stop running shards and are fine with a managed-only, closed-source service.
Stay on Elasticsearch or OpenSearch when:
- One large index serves steady traffic, so a per-GB-queried meter grows with every document.
- You depend on aggregations for facets or dashboards, custom analyzers, nested documents or scripting.
- You use Kibana, OpenSearch Dashboards, alerting or security analytics, or the workload is logs and observability.
- You need self-hosting, an open-source license, or sub-100 ms latency on the first query of every session.
There is also an option between the two. Disclosure: our team at BigData Boutique builds WarpSearch, a serverless search engine on the same object-storage design that serves both the turbopuffer HTTP API and Elasticsearch- and OpenSearch-compatible APIs, and bills a flat $2 per million requests instead of per GB queried. It does not cover full Elasticsearch parity (no Kibana, nested documents, scroll or ingest pipelines, among other gaps), so it fits teams whose usage sits inside that subset. We compare it head to head in turbopuffer vs WarpSearch.
Decision table
| Your situation | Better fit |
|---|---|
| Millions of small per-user namespaces, mostly idle | turbopuffer |
| RAG or agent memory, vector + BM25, simple filters | turbopuffer |
| Single catalog or site index over ~10 GB with steady QPS | Elasticsearch / OpenSearch |
Faceted navigation, terms and date_histogram on every query |
Elasticsearch / OpenSearch |
| Log analytics, observability, SIEM | Elasticsearch / OpenSearch |
| Kibana or OpenSearch Dashboards required | Elasticsearch / OpenSearch |
| Self-hosted or open-source license required | OpenSearch or Elasticsearch |
| Spiky or low traffic, no ops team, Elasticsearch-compatible queries | Elastic Cloud Serverless, OpenSearch Serverless NextGen, or WarpSearch |
Key takeaways
- turbopuffer stores namespaces on object storage and bills each query by namespace size, about $1 per GB per million queries with a 1.28 GB floor.
- Elasticsearch and OpenSearch bill for capacity, so they are cheap at steady load and wasteful when idle; turbopuffer is the opposite.
- The namespace model is turbopuffer's biggest advantage: millions of tenant indexes with no cluster-state overhead.
- Query DSL is much broader. Aggregations, analyzers, nested documents and Kibana are the usual reasons to stay.
- Cold queries on turbopuffer run in hundreds of milliseconds; test them on your own data before you migrate a latency-sensitive path.
For the full turbopuffer picture, read what is turbopuffer. If you are weighing a move off Elasticsearch or OpenSearch, or trying to cut the bill on the cluster you have, our team does that work every week.
Frequently Asked Questions
Is turbopuffer a replacement for Elasticsearch?
For retrieval workloads, often yes: vector, BM25 and hybrid search with filters over many small namespaces. For log analytics, faceted e-commerce search, dashboards or anything that needs Kibana, custom analyzers or rich aggregations, no. turbopuffer supports six aggregation functions with a 10k-group cap and has no UI.
Is turbopuffer cheaper than Elasticsearch or OpenSearch?
It depends on index size and traffic. turbopuffer charges about $1 per GB of namespace per million queries, so 1M queries against small namespaces cost about $1.28, while 50M queries against a 10 GB index cost about $500 a month in query charges alone. Provisioned Elasticsearch and OpenSearch clusters cost the same whether they are busy or idle.
Does turbopuffer support the Elasticsearch Query DSL?
No. turbopuffer has its own JSON API and SDKs for Python, TypeScript, Go, Java and Ruby. Moving from Elasticsearch or OpenSearch means rewriting queries and re-indexing data; turbopuffer provides no migration tooling.
How does turbopuffer handle multi-tenancy compared to OpenSearch?
turbopuffer expects one namespace per tenant and supports an unlimited number of them, with 250M+ observed. OpenSearch and Elasticsearch usually put tenants in a shared index with a tenant field, routing and filtered aliases, because thousands of separate indices bloat cluster state and shard overhead.
What is the cold start latency on turbopuffer?
turbopuffer publishes 316 ms p50 and 559 ms p99 for a cold BM25 query over 1M documents, against 13 ms p50 warm. Its vector benchmark shows 874 ms p50 cold. Provisioned Elasticsearch and OpenSearch clusters do not have a cold start, because data stays on local disk.