Softwr

Machine Learning · head to head

Milvus vs OpenSearch

Milvus logo

Milvus

Machine Learning

Open-source vector database for scalable similarity search

From
Free
Rated
-
OpenSearch logo

OpenSearch

Databases

Open-source search and analytics suite forked from Elasticsearch

From
Free
Rated
-

The short version

  • Each has a real cost: Milvus vector dimensions are capped at 32,768; OpenSearch diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one
  • They diverge on capability: Milvus covers Billion-scale vectors, OpenSearch covers Full-text search.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

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, Mac, Windows, WebLinux, Docker, Kubernetes, Self-hosted
CategoryMachine LearningDatabases
Founded2017Unknown

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).

What each one covers

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 people use each for

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 each one falls short

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

Pricing, plan by plan

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, Mac, 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, Docker, Kubernetes, Self-hosted.
  • You also want opensearch dashboards.

Questions people ask

Is Milvus or OpenSearch better?
Neither clearly leads. Milvus starts at Free and OpenSearch at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
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, Mac, Windows, Web. OpenSearch runs on Linux, Docker, Kubernetes, 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