Back to directory

Infrastructure & Operations · Databases

Milvus

Cloud native vector search for large AI data workloads

Milvus is an Apache-2.0 vector database for similarity search, full-text search, hybrid retrieval, and AI applications using text, images, and multimodal data. It targets developers building RAG, recommendation, and search systems, with standalone, distributed, and lightweight Milvus Lite deployments. A hosted version exists through Zilliz Cloud, with Serverless, Dedicated, and BYOC options.

Key facts

License
Apache-2.0
Main language
Go, C++
Maintainer
LF AI & Data Foundation, with Zilliz as major contributor
Latest release
v3.0.3, October 14, 2026
GitHub stars
46,457, October 2026
Hosted option
Zilliz Cloud, with Serverless, Dedicated, and BYOC options

What Milvus is

Milvus is a cloud-native vector database for searching embeddings and related scalar data at scale. Zilliz created the project, while the LF AI & Data Foundation hosts the open-source project and Zilliz remains its major contributor. Zilliz says it was founded in 2017, while Milvus started in 2018 and was open sourced in 2019. The repository lists 46,457 stars, 4,309 forks, and leading contributors including congqixia, JinHai-CN, and bigsheeper. The maintainers describe Milvus as suitable for text, image, and multimodal data, with use cases including RAG, recommendation systems, and semantic search. The repository does not publish a contributor count, so the named top contributors are a more precise adoption signal than an estimated total.

How it works

Milvus stores vectors alongside integers, strings, JSON, and other scalar values, then supports approximate nearest-neighbor search with metadata filtering. A typical Python workflow installs pymilvus, creates a MilvusClient, defines a collection dimension such as 768, inserts records, and searches with encoded query vectors. Users can run dense search, sparse search, BM25 full-text search, or hybrid search that combines and reranks multiple result sets. Index choices include HNSW, IVF, FLAT, SCANN, and DiskANN, with quantization and mmap variants. The project also supports multi-tenancy at database, collection, partition, or partition-key levels. Attu supplies a graphical administration interface, while Prometheus and Grafana support monitoring workflows.

Architecture and recent releases

Milvus uses Go and C++, with a distributed architecture designed for Kubernetes and separate compute and storage. It can run as a standalone service on one machine, while Milvus Lite provides a local Python installation backed by a file. The project integrates with LangChain, LlamaIndex, OpenAI, Hugging Face, Spark, Kafka, Fivetran, and Airbyte. Milvus v3.0.3, released October 14, 2026, added Function Chain support for hybrid search, element-level partial updates for arrays, structs, and JSON paths, nullable-vector filtering, authentication improvements, and security fixes. That release also removed legacy non-underscore V1 metrics-port routes, making migration to REST v2 or gRPC important for affected clients.

License and pricing

Milvus is distributed under the Apache-2.0 license, which permits commercial use, modification, redistribution, and SaaS operation under its license conditions. The open-source repository is hosted under the LF AI & Data Foundation, with Zilliz as its major contributor. Zilliz offers managed Milvus through Zilliz Cloud, including Serverless, Dedicated, and BYOC deployments. The pricing page describes shared, dedicated, business-critical, and on-demand options, but pricing content does not give a fixed monthly starting price. It does describe $200 in free credits for cost estimation. Zilliz reports $113 million in total investment and says it serves more than 10,000 enterprise users, but those figures describe Zilliz rather than Milvus adoption.

Limitations and how it compares

Milvus is a serious operational choice, but its distributed deployment, object storage, messaging options, indexes, and upgrades demand more database expertise than a lightweight embedded store. Pinecone offers a proprietary managed service with less infrastructure work, while Weaviate provides an open-source vector database with managed hosting and a GraphQL-oriented interface. Qdrant is another open-source alternative with a focused vector-search design and simpler small-deployment profile. Choose Milvus when Kubernetes-scale distribution, multiple index types, hybrid retrieval, GPU support, and broad integration coverage matter. Choose Qdrant or Pinecone when a smaller operational footprint or fully managed service matters more than Milvus's deployment flexibility.

Main features

  • Dense Vector Search. Searches high-dimensional embeddings with index types including HNSW, IVF, FLAT, SCANN, and DiskANN.
  • Hybrid Retrieval. Combines dense vectors, sparse vectors, BM25 full-text search, filtering, fusion, and reranking in one workflow.
  • Scalar Filtering. Stores integers, strings, JSON, and other scalar fields for metadata filters alongside vector similarity search.
  • Distributed Scaling. Separates compute and storage across Kubernetes-native services, allowing independent scaling for query and data workloads.
  • Multi-Tenancy. Isolates tenants at database, collection, partition, or partition-key levels within shared deployments.
  • Milvus Lite. Runs a lightweight local vector database through pymilvus and a persistent file, supporting quick Python experiments.
  • Security Controls. Provides authentication, TLS encryption, role-based access control, and recent security hardening in the v3.0.3 release.

Self-hosting Milvus

Milvus supports standalone deployment on one machine, distributed Kubernetes-native deployment, and Milvus Lite through the pymilvus Python package. The installation content points to Docker documentation, but the retrieved Docker page returned a 302 response, so exact current Compose commands are not included here. Distributed operation can involve object storage and a write-ahead log such as Pulsar, while the repository describes separated compute and storage. Building from source requires Linux or macOS, Go 1.21 or later, CMake 3.26.4 or later but below 4, GCC 11 or later on Linux, LLVM 15 or later on macOS, and Python above 3.8 through 3.11. Backups, storage durability, and upgrades require an operator plan, especially across v3.0.3 breaking API changes.

Strengths

  • Apache-2.0 licensing permits commercial deployment and modification.
  • Milvus supports dense, sparse, full-text, and hybrid search.
  • Distributed Kubernetes architecture supports independent workload scaling.
  • Milvus Lite offers a quick local Python path.

Drawbacks

  • Distributed deployments introduce operational components beyond a single embedded database.
  • Milvus v3.0.3 removes legacy non-underscore V1 metrics-port routes.
  • The pricing page does not state a fixed monthly starting price.

What teams replace with it

Teams usually evaluate Milvus when they want to move off Pinecone, Amazon OpenSearch Service, Elasticsearch.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Milvus

Frequently asked questions

Is Milvus free to use?

Yes. The Milvus repository is distributed under Apache-2.0, and its open-source code can be used commercially under that license. Self-hosting still creates infrastructure and operations costs. Zilliz Cloud is a separate managed service with Serverless, Dedicated, and BYOC deployment choices, and its pricing page describes usage-based plans and $200 in free credits.

Can companies use Milvus commercially?

Yes. Apache-2.0 permits commercial use, modification, and redistribution, subject to the license conditions. Milvus is not presented as an open-core project with a restricted source edition in repository content. Companies can run the software themselves or use Zilliz Cloud, whose managed service adds hosted deployment choices and commercial support options.

How do you self-host Milvus?

Milvus offers standalone operation for one machine, distributed Kubernetes-native operation, and Milvus Lite through pymilvus. Source builds require Go 1.21 or later, CMake 3.26.4 through below version 4, and platform-specific compiler and Python requirements. Production operators must plan storage, write-ahead logging, backups, upgrades, authentication, and the v3.0.3 API changes.

How does Milvus compare with Qdrant?

Milvus is the broader choice when distributed Kubernetes deployment, multiple ANN indexes, GPU acceleration, sparse and full-text search, hybrid retrieval, and multi-tenancy are priorities. Qdrant is a named open-source alternative with a more focused vector-search profile. The content does not provide directly comparable benchmarks, pricing, or hardware figures, so workload testing should decide close cases.

Can Milvus protect private data?

Milvus supports mandatory user authentication, TLS encryption, and role-based access control according to its repository description. Recent releases also added stronger authorization checks, sensitive-value masking, and optional root authentication for management endpoints. Self-hosted privacy depends on the operator's network, storage, credential, backup, and access policies. Zilliz Cloud offers additional hosted security choices, including BYOC and customer-managed encryption for qualifying plans.

Similar projects to compare

Sources

Last updated 2026-10-22.