New:Upstash has a remote MCP server

Best Meilisearch Alternatives in 2026

YusufYusuf
16 min read

The best Meilisearch alternative for most apps in 2026 is Upstash Redis Search. A good alternative to Meilisearch keeps the typo tolerance and search-as-you-type that make Meilisearch nice to use, without a search server to run, and Upstash Redis Search does that with a free tier and a price of $2 per million searches.

Upstash Redis Search adds full-text search to data you already keep in Redis: typo tolerance, search-as-you-type prefix matching, filters, sorting, highlighting, aggregations and hybrid semantic search. Upstash Redis Search costs $0.20 per 100K commands and each search query is one command, so there is no instance to size and nothing to pay for while no one is searching.

If you want an open-source engine on your own server, Typesense is the closest match to Meilisearch. Algolia fits teams that need merchandising tools, and Elasticsearch and OpenSearch fit very large or log-heavy search clusters.

Why do teams look for a Meilisearch alternative?

Teams look for a Meilisearch alternative for three reasons: Meilisearch Cloud has no free tier and bills a fixed instance even when nobody searches, self-hosting means running one more server, and scaling past one node needs an Enterprise plan.

  • Cloud plans. Resource-based projects bill you for the resources you provision regardless of how many searches you make. The lowest Meilisearch Cloud tier costs $14.88 a month for an XS instance (0.5 vCPU, 1 GB RAM) plus the minimum disk space of 32 GiB at $0.165 per GiB ($5.28 a month) for a starting price of roughly $20, with a 14-day trial available. Outbound bandwidth costs $0.15 per GB.
  • Instance sizing. To estimate index size, Meilisearch suggests multiplying documents times average document size times 5, and choosing the smallest instance tier where the available RAM exceeds the estimated size of your index. At US East prices, the S tier (1 vCPU, 2 GB) is $29.28 a month and fits up to about 80K small documents. M (4 GB) is $58.08, L (8 GB) is $115.68 and XL (16 GB) is $259.36. Tiers 2XL and above are not self-serve.
  • Single-node. Meilisearch's sharding and replication features are available on Enterprise plans only. The core search engine is open-source (MIT); features in the Enterprise Edition parts of the repo are licensed under the Business Source License 1.1 which requires a commercial license for production use.
  • Self-hosting. Free, but you operate the server, manage upgrades and backups, and sync a second copy of your data with your main database.
  • Limits. Meilisearch will only process the first 10 words of any query, ignoring any words after that. Meilisearch returns a maximum of 1,000 documents by default for any search result, but you can configure more results with maxTotalHits.

Meilisearch also documents a usage-based Build plan with 50K searches a month included and $0.40 per 1,000 searches after that. Meilisearch's pricing page does not list a base fee for the Build plan, so the price comparison below uses the instance plans.

Choose Upstash Redis Search when you want Meilisearch-style search (typo tolerance, search-as-you-type, filters and facets) without a search server to run or size, and would rather pay per search than per instance.

Meilisearch requires you to store your data in your database and in the search engine. Upstash Redis Search gets rid of this duplication. You create an index on a key prefix (like product:) and every normal Redis write to those keys updates the search index. There is no separate update command to call. Write JSON, update a hash or delete a key, and the search results follow. No sync job, no second datastore.

Here's how the different pieces fit together:

The features that make Meilisearch pleasant all have a match in Upstash Redis Search:

  • Typo tolerance. Smart matching tries the exact term first, then a fuzzy match one edit away. For more control, the fuzzy operator allows up to two edits.
  • Search-as-you-type. Smart matching runs a fuzzy prefix match on the last word, so "wireles headphon" finds "Wireless Headphones" while the user is still typing.
  • Filters. Upstash Redis Search combines conditions with boolean operators (must, should, must not) and supports ranges on numbers, as in the e-commerce recipe.
  • Sorting. You sort on fast fields with orderBy. In the TypeScript SDK, numbers, booleans and dates are fast by default (schema docs).
  • Highlighting. Upstash Redis Search wraps matched terms in <em> tags by default, and you can set your own tags (querying docs).
  • Facets and aggregations. Upstash Redis Search has terms, range, histogram, stats and facet aggregations, so a category sidebar with counts is one query.
  • Hybrid search. Mark a field as hybrid and Upstash creates the embeddings for you. You need no embedding provider, no API key and no separate vector database, and hybrid search costs nothing extra.

Upstash Redis Search works over REST through the @upstash/redis client, so it runs from serverless functions and edge runtimes such as Vercel and Cloudflare Workers. Upstash Redis Search has TypeScript and Python SDKs.

The price model is what changes most for a Meilisearch user. Upstash Redis Search bills $0.20 per 100K commands on pay-as-you-go, and one command is one billable request. The free tier includes 500K commands a month and 250 MB of data. A search box with no traffic costs nothing.

The general availability post covers the design, and Context7, our documentation service for AI coding assistants, runs its search on Upstash Redis Search in production.

When should you choose Typesense?

If you’re looking for an open-source self-hosted alternative to Meilisearch, consider Typesense. Typesense has typo tolerance and prefix search enabled by default, and includes features like facets and hybrid search.

In terms of usage, Typesense most closely resembles Meilisearch: it’s typo tolerant (up to two typos by default), considers the last word of a search query as a prefix query (enabling autocomplete out of the box), and supports faceting, filtering, and sorting much like Meilisearch.

But Typesense holds its entire search index in memory. For keyword search, Typesense recommends having 2X to 3X as much RAM as the size of the searchable fields. Typesense also recommends a minimum of 2 vCPUs.

Typesense uses the Raft consensus protocol to coordinate writes, so highly available configurations must use 3 or more nodes (Raft requires 3 nodes to tolerate 1 failure).

Typesense is open-source, licensed under GPL-3.0.

They offer a hosted cloud solution, Typesense Cloud, where you get a dedicated cluster, billed hourly, with no limits on records or operations.

The smallest cluster size comes with 0.5 GB of RAM and 2 vCPUs, which can burst for an hour each day. This cluster costs $0.03/hour (or $21.60/month), with the first 720 hours being free. A highly available 3-node cluster of the same size is $0.12 an hour, or $86.40 a month. Outbound bandwidth costs $0.09/GB, with the first 10 GB being free.

When should you choose Algolia?

Choose Algolia when you need fully managed search with merchandising, personalization and search analytics tools, and the budget to pay per search request. For plain site or app search, the per-request price adds up fast.

Algolia is the most polished hosted option for teams that tune results by hand. The pricing page lists merchandising rules, personalization and analytics retention on its paid plans.

The plans that matter for a Meilisearch user:

  • Free. 10K search requests a month and 50K records, with no credit card.
  • Grow. 10K search requests and 100K records included, then $0.50 per extra 1,000 search requests and $0.40 per extra 1,000 records.
  • Grow Plus. $1.75 per extra 1,000 search requests, with the same record pricing.

Search-as-you-type is where this bites. In autocomplete, Algolia runs a new search request on every keystroke. A user who types "headphones" one letter at a time can use ten search requests. If you want to compare more hosted options, we also wrote up the best Algolia alternatives.

When should you choose Elasticsearch or OpenSearch?

Choose Elasticsearch or OpenSearch when you run a very large or log-heavy search cluster, need complex queries, or want search and analytics in one system. For a product search box, a full cluster is more than most apps need.

Elastic sells two cloud models:

  • Elastic Cloud Hosted is resource-based. You pick the hardware, cluster size and node count. The Standard tier starts at $99 a month, based on a production config with 120 GB of storage across 2 zones.
  • Elastic Cloud Serverless bills by usage. Search starts at $0.09 per VCU-hour (VCU is Elastic's virtual compute unit), ingest at $0.14 per VCU-hour and storage at $0.047 per GB a month.

Serverless still bills search compute while nobody searches. Elastic keeps a baseline of search resources running, and idle periods are billed at a reduced rate, not at zero.

OpenSearch is the open-source fork. The project was derived from Elasticsearch 7.10.2, the last Apache 2.0 version, and all of it ships under the Apache License 2.0. Elasticsearch itself has been under a triple license (AGPLv3, SSPL and ELv2) since August 2024. OpenSearch is a good pick when you want an Apache-licensed cluster or a managed one on AWS.

What about Postgres full-text search, Manticore Search and Qdrant?

The following options are for teams looking for open-source software, but they don't provide the same out-of-the-box typo-tolerant keyword search as the top choices.

  • Postgres full-text search. If your data is in Postgres already, full-text search is fine for basic keyword search. You save a tsvector column and create a GIN index on it, which Postgres describes as the preferred text search index type. Postgres also supports the pg_trgm extension for trigram similarity, which is helpful for finding misspelled words that full-text search misses. You need to implement your own ranking, typo-handling, and prefix search.
  • Manticore Search. Open-source (GPL-3.0) search database with SQL as its native query language. Manticore speaks the MySQL protocol, so any MySQL client can query it. Good option for teams that want an open-source, self-hosted search engine, and who already think in SQL.
  • Qdrant. Open-source (Apache 2.0) vector database for semantic search. Qdrant Cloud has a free single-node cluster that provides 0.5 vCPU, 1 GB RAM, and 4 GB of disk space. Qdrant is built for semantic search over vectors, not for typo-tolerant keyword search.

Which Meilisearch alternative is cheapest?

For the example app below, Upstash Redis Search is the cheapest managed Meilisearch alternative: 1 million searches a month cost about $2.21 on Upstash Redis Search and $34.56 on the Meilisearch Cloud instance Meilisearch recommends for that data size. Upstash Redis Search bills $0.20 per 100K commands and nothing while no one is searching.

Here is how each service bills, from each vendor's pricing page on November 26, 2026 (US East prices where regions differ):

ServiceHow it billsStarting priceUsage prices
Upstash Redis SearchPer command, or a fixed monthly planFree: 500K commands a month, 250 MB$0.20 per 100K commands, $0.25 per GB of storage; Fixed 250MB plan $10 a month
Meilisearch CloudPer instance, sized by RAM$20 a month (XS), 14-day trialS $29.28, M $58.08, L $115.68; disk $0.165 per GiB (32 GiB minimum); bandwidth $0.15 per GB
Typesense CloudPer cluster, by the hour$21.60 a month (0.5 GB RAM), first 720 hours freeBandwidth $0.09 per GB after 10 GB; high availability needs 3+ nodes
AlgoliaPer search request and per recordFree: 10K searches, 50K recordsGrow: $0.50 per 1K searches over 10K, $0.40 per 1K records over 100K
Elastic CloudHosted: by resources; Serverless: by VCU-hourHosted from $99 a monthServerless: search $0.09, ingest $0.14 per VCU-hour; storage $0.047 per GB a month

To see what this means for a real bill, take one app: 50,000 records of about 1 KB each (50 MB of data), 1,000,000 searches and 100,000 record updates a month. Each search-as-you-type query counts as one search on every service.

  1. Upstash Redis Search: about $2.21. Searches plus updates are 1,100,000 commands. That is 11 × $0.20 = $2.20. Storage is $0.25 per GB, so 50 MB adds about one cent.
  2. Typesense Cloud: $21.60. The smallest cluster is $0.03 × 720 hours. That buys one node, which is not highly available.
  3. Meilisearch Cloud: $34.56. By Meilisearch's formula the index is about 50,000 × 1 KB × 5 = 250 MB. Meilisearch recommends the S instance for up to about 80K small documents, so the bill is $29.28 + $5.28 disk = $34.56. The XS instance, which Meilisearch labels for development and testing, is $20.16. Bandwidth is extra at $0.15 per GB.
  4. Elastic Cloud Hosted: from $99. Hosted bills by compute hours for the deployment you pick, starting at $99 a month.
  5. Algolia Grow: $495. The 50,000 records fit in the 100K included. Searches cost (1,000,000 − 10,000) / 1,000 × $0.50 = $495.

Side by side, the same month looks like this:

Typesense costs less than Meilisearch here because the smallest cluster has less RAM than the S tier.

With less traffic the gap grows. At 50,000 searches a month the same app runs 150,000 commands on Upstash Redis Search, which is $0.30. Meilisearch Cloud and Typesense Cloud cost the same as before, because the instance is the same.

At high, steady volume, Upstash Redis also has fixed plans with no per-command charge. The Fixed 250MB plan is $10 a month and holds this example's 50 MB of records, so an app past 5 million commands a month pays less on it than on pay-as-you-go.

Upstash Redis Search vs Typesense vs Meilisearch

All three give you typo tolerance, search-as-you-type, facets and hybrid search. The difference is what you run and what you pay for:

Upstash Redis SearchTypesenseMeilisearch
Hosting modelManaged, serverlessSelf-hosted, or a Typesense Cloud clusterSelf-hosted, or a Meilisearch Cloud instance
License or serviceManaged serviceGPL-3.0MIT, Enterprise parts under BUSL 1.1
What you sizeNothingRAM, 2X to 3X the searchable fieldsRAM above documents × size × 5
Typo toleranceSmart matching, fuzzy operator up to 2 editsUp to 2 typos by default1 typo from 5 letters, 2 typos from 9 letters
Search-as-you-typeFuzzy prefix on the last wordPrefix on the last word by defaultPrefix on the last word
Facets and aggregationsTerms, range, histogram, stats and facet aggregationsFacetsFacets
Vector or hybrid searchHybrid fields, Upstash creates the embeddingsBuilt-in or remote embedding modelsHybrid search with an embedder you configure
How data gets inAutomatic from normal Redis writesPushed through the Typesense APIPushed through the Meilisearch API as tasks
Pricing modelPer command, or a fixed planPer cluster hourPer instance hour, or a usage-based plan
Free tier500K commands a monthFirst 720 cluster hours on CloudNone on Cloud, 14-day trial

Upstash Redis Search is the only one of the three with no RAM to plan and no second copy of your data to keep in sync. For a Meilisearch user, the rows that change most are "What you size" and "How data gets in".

To migrate from Meilisearch to Upstash Redis Search:

  • Create a search index on a key prefix.
  • Store each document from Meilisearch into a single JSON key, with its name matching its primary key. Upstash Redis Search will index the keys on write.
  • Replace your calls to search with index queries.

Most Meilisearch settings have a direct match:

MeilisearchUpstash Redis Search
IndexSearch index over a key prefix
Document and primary keyOne JSON key per document, such as product:1
searchableAttributesText fields in the schema
filterableAttributesKeyword, number and boolean fields
sortableAttributesFast fields used with orderBy
FacetsA terms aggregation
Typo toleranceSmart matching or the fuzzy operator
Embedders and hybrid searchHybrid fields
Adding documents through tasksRegular Redis writes, indexed automatically

This is how to do it:

  1. Get a database. You can create one in the Upstash console, or get a free one with no signup. The no-signup database lives for 3 days unless you claim it:
curl -X POST -H "Idempotency-Key: $(uuidgen)" -H "User-Agent: my-app" https://upstash.com/start-redis
  1. Install the client. To install the client run npm install @upstash/redis. Also set the REST URL and token as UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN in your environment.
  2. Create the index, write your documents and query them. The records below keep the same id you used as the Meilisearch primary key:
import { Redis, s } from '@upstash/redis'
 
const redis = Redis.fromEnv()
 
// Recreate the demo index so this script can run again
await redis.search.index({ name: 'products' }).drop()
const index = await redis.search.createIndex({
  name: 'products',
  dataType: 'json',
  prefix: 'product:',
  schema: s.object({
    name: s.string(),
    description: s.string(),
    category: s.keyword(),
    brand: s.keyword(),
    price: s.number(), // Numeric fields are FAST by default
    inStock: s.boolean(),
  }),
})
 
// Keep the same document IDs used as Meilisearch primary keys
const products = [
  {
    id: '1', name: 'Wireless Headphones', description: 'Wireless sound with noise cancellation',
    category: 'audio', brand: 'Acme', price: 149, inStock: true,
  },
  {
    id: '2', name: 'Wireless Studio Headphones', description: 'Studio sound with extra comfort',
    category: 'audio', brand: 'Acme', price: 249, inStock: true,
  },
  {
    id: '3', name: 'Bluetooth Speaker', description: 'Portable sound for outdoor listening',
    category: 'audio', brand: 'Echo', price: 79, inStock: true,
  },
  {
    id: '4', name: 'Compact Speaker', description: 'Small speaker for your desk',
    category: 'audio', brand: 'Echo', price: 49, inStock: false,
  },
  {
    id: '5', name: 'Mechanical Keyboard', description: 'Tactile keys for everyday typing',
    category: 'computing', brand: 'Keys', price: 99, inStock: true,
  },
  {
    id: '6', name: 'Standing Desk', description: 'Adjustable desk for your workspace',
    category: 'office', brand: 'Rise', price: 299, inStock: true,
  },
]
 
for (const product of products) {
  await redis.json.set(`product:${product.id}`, '$', product)
}
await index.waitIndexing() // Only needed to synchronize this demo
 
const suggestions = await index.query({ filter: { name: 'wireles headphon' } })
for (const { key, data } of suggestions) {
  console.log('Suggest:', key, data.name)
}
 
const affordableAudio = await index.query({
  filter: { category: 'audio', inStock: true, price: { $lte: 200 } },
  orderBy: { price: 'ASC' },
})
for (const { data } of affordableAudio) {
  console.log('Filter:', data.name, data.price)
}
 
const highlighted = await index.query({
  filter: { description: 'cancellation' },
  highlight: { fields: ['description'] },
})
for (const { data } of highlighted) {
  console.log('Highlight:', data.description)
}
 
const categories = await index.aggregate({
  aggregations: { categories: { $terms: { field: 'category' } } },
})
console.log('Categories:', JSON.stringify(categories.categories.buckets))

Running it against a fresh database prints:

Suggest: product:1 Wireless Headphones
Suggest: product:2 Wireless Studio Headphones
Filter: Bluetooth Speaker 79
Filter: Wireless Headphones 149
Highlight: Wireless sound with noise <em>cancellation</em>
Categories: [{"key":"audio","docCount":4},{"key":"office","docCount":1},{"key":"computing","docCount":1}]

This filter query removes the $249 headphones and the out-of-stock speaker, then sorts by price. Notice the terms aggregation, which yields the same category counts as a Meilisearch facet.

The query "wireles headphon" matches both headphones even without a fuzzy operator; we have a typo and two incomplete words, but they match anyway through straightforward smart matching.

  1. Convert your writes to Redis. Anywhere you would have added documents to Meilisearch in your app, write the JSON key instead. To remove documents from the index, just delete the key. For a more detailed guide, see how to build search on Redis and our first look at Upstash Redis Search.

Which Meilisearch alternative should you choose?

For most apps moving off Meilisearch, the best Meilisearch alternative is Upstash Redis Search. The other options fit specific cases:

  • Upstash Redis Search: best for site, app and product search without a server to run, on serverless or edge runtimes, paying per command.
  • Typesense: best open-source engine to self-host, and the closest to Meilisearch.
  • Algolia: best for merchandising and search analytics tools.
  • Elasticsearch: best for very large or log-heavy clusters.
  • OpenSearch: best for an Apache 2.0 cluster, or a managed one on AWS.
  • Postgres full-text search: best for basic keyword search when your data is already in Postgres.
  • Qdrant: best for pure vector search.