# Milvus

CreateWithAI Hub page: https://createwithaihub.com/vector-databases/milvus
Latest version of this file: https://createwithaihub.com/vector-databases/milvus.md

- Type: Tool · Category: Vector Databases
- Publisher: Zilliz (LF AI & Data Foundation project)
- Pricing: Free · License: Apache-2.0
- Runs on: Linux, API (cloud), Docker / self-hosted

Open-source vector database from Lite in-process to distributed Kubernetes, with managed Zilliz Cloud.

Milvus is an open-source vector database written in Go and C++ and hosted by the LF AI & Data Foundation. It supports dense and sparse vectors (including BM25 full-text and learned sparse models), hybrid and multi-vector search, metadata filtering, reranking and multimodal data. It runs as Milvus Lite inside a Python process, as a standalone Docker container, or distributed on Kubernetes. Zilliz, its main developer, offers Zilliz Cloud as the managed service with serverless and dedicated clusters.

Useful for: Starting with Milvus Lite in a Python script for semantic search, then moving the same API to a Kubernetes cluster or Zilliz Cloud.

## Key features

- Milvus Lite (in-process), Standalone (Docker) and Distributed (Kubernetes) deployments
- Dense, sparse (BM25, SPLADE, BGE-M3), hybrid and multi-vector search
- Metadata filtering, range search, reranking and multimodal data
- Python, Java, Node.js and Go SDKs; LangChain and LlamaIndex integrations
- Zilliz MCP servers: mcp-server-milvus and zilliz-mcp-server
- Zilliz Cloud Free plan: one free cluster per organization with 5 GB storage, 2.5M vCUs/month and up to 5 collections

## Connection

- Deployment: Managed cloud, Self-hostable, Embedded / in-process
- Search: Vector, Hybrid (vector + keyword), Full-text, Multimodal
- Pricing model: Usage-based, Serverless, Provisioned capacity, Free to self-host

## Install steps from the official documentation

Python SDK:

```
pip install -U pymilvus
```

Standalone (Docker):

```
curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh && bash standalone_embed.sh start
```

Node.js SDK:

```
npm install @zilliz/milvus2-sdk-node
```

## Limitations

- Milvus Lite needs Python 3.10+ and has no access control
- Distributed Milvus requires running Kubernetes with the Operator or Helm
- Zilliz Cloud free clusters are suspended after 7 days of inactivity
- Zilliz Cloud Serverless costs $4 per million vCUs plus storage priced by region; Dedicated clusters start at $126/month (Standard)

## Official links

- Website: https://milvus.io
- Source repository: https://github.com/milvus-io/milvus
- Documentation: https://milvus.io/docs
- Source: https://github.com/milvus-io/milvus (README: description, search features, deployment modes, integrations, pip install; Apache-2.0 LICENSE; not archived)
- Source: https://milvus.io/docs/milvus_lite.md (Milvus Lite in-process, Python 3.10+, limits)
- Source: https://milvus.io/docs/install_standalone-docker.md (Standalone Docker script)
- Source: https://milvus.io/docs/install-node.md (Node.js SDK install)
- Source: https://zilliz.com/pricing (Zilliz Cloud Free (5 GB, 2.5M vCUs), Standard serverless/dedicated from $126, Enterprise from $197)
- Source: https://docs.zilliz.com/docs/serverless-cluster-cost ($4 per million vCUs for serverless)
- Source: https://github.com/zilliztech/mcp-server-milvus (Official Milvus MCP server, Apache-2.0)
- Source: https://docs.zilliz.com/docs/limits (Free cluster: 5 GB, 2.5M vCUs/month, max 5 collections, one Free cluster per organization)
- Source: https://docs.zilliz.com/docs/free-and-serverless-clusters (One Free cluster per organization; suspended after 7 days of inactivity)
- Source: https://docs.zilliz.com/docs/storage-cost (Storage cost depends on cloud region and cluster type)
