Softwr

Databases · head to head

Milvus vs OpenSearch

Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes
OpenSearch logo

OpenSearch

Databases

Open-source search and analytics suite forked from Elasticsearch

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database.
  • Both are free.
  • Only Milvus lists billion-scale vectors; only OpenSearch lists OpenSearch Dashboards.
  • Where Milvus falls short: vector dimensions are capped at 32,768.
  • Where OpenSearch falls short: diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one.

How do Milvus and OpenSearch differ?

Milvus and OpenSearch differ on pricing model, platforms and year founded (2017 against 2021). Only the attributes on which Milvus and OpenSearch actually diverge.

Attributes where Milvus and OpenSearch differ
AttributeMilvusOpenSearch
Pricing modelFreemiumOpen source, no licence fee; managed services billed separately
PlatformsLinux, macOS, Windows, WebLinux, Self-hosted
Founded20172021

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Which features does each one have?

They share no listed features; 14 appear only for Milvus and 4 only for OpenSearch. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Milvus

  • Billion-scale vectors
  • Multiple index types
  • GPU acceleration
  • Hybrid search
  • Data partitioning
  • PyTorch
  • TensorFlow
  • Hugging Face

Only in OpenSearch

  • Full-text search
  • OpenSearch Dashboards
  • Log analytics
  • Vector search

What is each one used for?

Milvus is most often brought in for self hosting a vector database for semantic search; OpenSearch for log and observability storage where an Apache-2.0 licence is a requirement. The jobs each tool is most often brought in to do.

Milvus

  • Self hosting a vector database for semantic searchnot OpenSearch
  • Storing and querying embeddings for retrieval augmented generationnot OpenSearch
  • Similarity search over images, audio or text at scalenot OpenSearch

OpenSearch

  • Log and observability storage where an Apache-2.0 licence is a requirementnot Milvus
  • Replacing Elasticsearch after the licence change without changing architecturenot Milvus
  • Search plus analytics on one cluster rather than two systemsnot Milvus

Where do Milvus and OpenSearch fall short?

Milvus's most cited limit: vector dimensions are capped at 32,768. OpenSearch's: diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Milvus

  • Vector dimensions are capped at 32,768
  • A collection is limited to 64 fields, 1,024 partitions and 16 shards
  • Only 1 index is allowed per field
  • Search returns at most 16,384 vectors as top-k, and nq is capped at 16,384
  • Input and output per RPC is capped at 64 MB for insert, search and query
  • VARCHAR values are limited to 65,535 characters
  • Data loaded into query nodes cannot exceed 90% of available memory
  • An instance supports at most 65,536 collections

OpenSearch

  • Diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one
  • Operationally heavy in the way Elasticsearch is: cluster sizing, shard strategy and JVM tuning are ongoing work
  • Smaller ecosystem of third-party tooling than Elasticsearch, which most integrations still target first
  • Overkill for plain application search, where a dedicated search engine is far simpler

How much do Milvus and OpenSearch cost?

Milvus is free to use; OpenSearch is free to use. Plan by plan below, from each vendor's own pricing page.

Milvus

Free
  • Open SourceFree
    • Full features
    • Self-hosted
    • Community support
  • Zilliz CloudFree
    • Managed service
    • Free tier available

OpenSearch

Free
  • OpenSearchFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose Milvus if

  • You need billion-scale vectors.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Web.
  • You also want multiple index types.

Choose OpenSearch if

  • You need full-text search.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want opensearch dashboards.

Questions people ask

Is Milvus or OpenSearch better?
It depends on the job. Milvus fits self hosting a vector database for semantic search; OpenSearch fits log and observability storage where an Apache-2.0 licence is a requirement. Milvus starts at Free and OpenSearch at Free.
Which is cheaper, Milvus or OpenSearch?
Milvus starts at Free and OpenSearch at Free.
Does Milvus or OpenSearch run on more platforms?
Milvus runs on Linux, macOS, Windows, Web. OpenSearch runs on Linux, Self-hosted.
Can I use Milvus for free?
Both have a free tier, so you can try either at no cost before committing.
What is Milvus best used for?
Milvus is most often used for self hosting a vector database for semantic search, storing and querying embeddings for retrieval augmented generation, similarity search over images, audio or text at scale. Of those, self hosting a vector database for semantic search and storing and querying embeddings for retrieval augmented generation are not what OpenSearch is typically brought in for.
What can Milvus do that OpenSearch cannot?
Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. OpenSearch covers Full-text search, OpenSearch Dashboards, Log analytics, Vector search.

Answered from the vendors’ own pages

Milvus: How much does Milvus cost?

Milvus is open-source and free to use and modify. The self-hosted version has no licensing cost. Zilliz Cloud (the managed SaaS version) does not publish pricing on the website.

Source
OpenSearch: Is OpenSearch free?

Yes, Apache 2.0 licensed under the Linux Foundation. Amazon OpenSearch Service is a paid managed option.

Milvus: Is there a free or open-source version of Milvus?

Yes, Milvus is fully open-source and available for free. Milvus Lite is a lightweight option for learning and prototyping that can be installed via pip.

Source
OpenSearch: Why does OpenSearch exist?

Elastic moved Elasticsearch off the Apache 2.0 licence in 2021. AWS forked the last Apache-licensed version, and the project now sits under the Linux Foundation.

Milvus: Does Milvus offer a managed cloud service?

Yes, Zilliz Cloud is a fully managed Milvus cloud offering with serverless and dedicated cluster options. Pricing must be requested from the company as it is not listed on the public website.

Source
OpenSearch: Is OpenSearch compatible with Elasticsearch?

It was at the 7.10 fork point. Both have developed independently since, so compatibility weakens with every release and should be verified for the features you use.

Share

Related pages

Other head to heads