How to Install Milvus Vector Database Step by Step (2026)

Quick answer

To install Milvus, download the official v3.0.7 Docker Compose file from the Milvus GitHub release, verify its SHA-256 digest, and run `sudo docker compose up -d`. Three containers start: `milvus-etcd`, `milvus-minio`, and `milvus-standalone`, serving port `19530` with data in the `volumes` folder. Connect with `pip install "pymilvus==3.0.4"`, create a collection, insert vectors, and search. Milvus is Apache-2.0 and free to self-host, compared with Zilliz Cloud Dedicated from $126 a month, or $1,512 a year.

Most vector databases are built for a demo. Milvus was built for the day your demo works and ten thousand people show up. That is its strength, and also why you should install it with your eyes open.

This guide shows how to install Milvus with Docker Compose, create your first collection, run a filtered search, lock the server down before it touches real data, and back it up properly. It also prices the managed route, because Zilliz Cloud’s free tier changes the decision for small workloads.

Quick Answer

To install Milvus, download the official v3.0.7 Docker Compose file from the Milvus GitHub release, verify its SHA-256 digest, and run sudo docker compose up -d. Three containers start: milvus-etcd, milvus-minio, and milvus-standalone, serving port 19530 with data in the volumes folder. Connect with pip install "pymilvus==3.0.4", create a collection, insert vectors, and search. Milvus is Apache-2.0 and free to self-host, compared with Zilliz Cloud Dedicated from $126 a month, or $1,512 a year.

In this article

  • How we checked this guide
  • What Milvus replaces, and what it does not
  • How Milvus works: Lite, Standalone, and Distributed
  • Self-hosted, Zilliz Cloud Free, or Dedicated
  • Requirements before you install Milvus
  • Step 1: install Milvus with Docker Compose
  • Step 2: verify Milvus is running and connect a client
  • Step 3: create your first collection and insert data
  • Step 4: run semantic search with filters
  • First-run security steps you must not skip
  • Make Milvus useful for real work
  • Backup and update routine
  • Common errors and fixes
  • Tips and tricks that save money
  • The real cost maths
  • When not to self-host Milvus
  • Pros and cons
  • Our verdict
  • FAQ
  • Strategic Pivot
  • Sources

How we checked this guide

We checked the licence and install routes in the official Milvus GitHub repository, and the Compose file, ports, volumes, requirements, authentication, backups, and upgrade rules on the official Milvus documentation pages on December 2, 2026. We checked every price on the official Zilliz Cloud pricing page on the same day.

What Milvus replaces, and what it does not

Milvus replaces the managed vector database subscription at the search layer of your application. It stores vectors together with scalar data such as integers, strings, and JSON, so one query can rank by meaning and still respect business rules. A support search can find passages similar to “refund for a damaged item” while filtering to one product line or to documents marked current.

Milvus official GitHub repository showing open-source vector database description

Milvus does not replace the language model, the document pipeline, or your judgement. It retrieves records; it does not prove a retrieved record supports the final answer. Poor chunks, stale metadata, or a weak embedding model will return the wrong evidence quickly and confidently.

It also does not remove the embedding decision. You still choose the model that turns text into vectors, and that choice fixes the dimension of every vector in a collection. Change the model later and you re-embed the source data into a new collection.

Milvus is distributed under the Apache License 2.0 as a graduated project of the LF AI & Data Foundation, with Zilliz as its major contributor. Apache-2.0 permits commercial use, modification, and redistribution at no licence cost. For self-hosting, the database licence fee is $0; your server, embedding model, and admin time still cost money.

Best for: a small-business owner, freelancer, or technical operator who wants a vector database that starts small and scales to very large collections without changing engines. Skip if: you want a finished document-chat product with no server to operate, or you need contractual uptime without running the database yourself.

Milvus sits below finished document-chat products. Our guide to install AnythingLLM to chat with business documents covers a ready-made workspace. Choose AnythingLLM when you want the finished application. Choose Milvus when you are building your own search or RAG application and need the database underneath it.

It also sits beside the other vector databases in this series. Our guide to install Qdrant vector database with Docker covers a server-first alternative built around payload filtering and snapshots. Our guide to install Chroma vector database for RAG apps covers the embedded-first route that starts inside a Python app. Our guide to install Weaviate self hosted vector search covers the object-and-hybrid-search server. Milvus’s advantage is scale headroom: the same engine runs as a local file, a single server, or a distributed cluster.

How Milvus works: Lite, Standalone, and Distributed

Milvus comes in three deployment shapes, and picking the right one matters more than any tuning knob. Milvus Lite runs inside Python as a local file through PyMilvus, with no server and no Docker. It suits notebooks, prototypes, and small local tools.

Standalone is the single-machine server this guide installs. One milvus-standalone container runs the database, with etcd holding metadata and MinIO holding object storage. It serves real applications on one machine and is the right default for most small businesses.

Distributed mode runs on Kubernetes, where query, ingest, and index nodes scale independently over shared object storage. That separation is how Milvus reaches very large scale. It is also far more machinery than a small business needs on day one.

A collection is the unit you create, insert into, search, and back up. Each entity carries a primary key, a vector, and scalar fields such as a title, category, customer, or status. Milvus indexes the vectors for similarity search, so a query returns the nearest neighbours of a query vector.

Filters are the other half of useful search. Similarity alone will return last year’s price list or another customer’s documents. A filter narrows the search to records allowed to win, so design your scalar fields for filtering before you import.

Milvus also supports hybrid search, combining vector similarity with keyword matching through built-in BM25 and sparse vectors. A customer asking about an invoice number needs exact terms to count. A customer describing a problem in their own words needs meaning to count. Hybrid search lets both signals work in one query.

Index choice is a cost decision, not a badge. Milvus offers index families such as HNSW, IVF, DiskANN, and SCANN for different memory, speed, and recall targets. Start with the defaults, measure recall on real questions, and only then tune.

Self-hosted, Zilliz Cloud Free, or Dedicated

You have three practical starting shapes. The right one depends on who owns the server, how much data you have, and whether backups and uptime are requirements or wishes.

RouteLicence or base priceBest forMain limit
Self-hosted Standalone$0 licence fee, Apache-2.0Private data, existing server, full controlYou own security, backups, updates, and uptime
Zilliz Cloud Free$0/monthLearning, prototypes, small collections5 GB storage, 2.5M vCUs/month, up to 5 collections
Zilliz Standard DedicatedFrom $126/monthManaged production without server care$1,512/year floor before usage above it
Zilliz Enterprise DedicatedFrom $197/monthProduction with SLA and SSO$2,364/year floor, priced for larger teams

The free tier is generous enough to judge search quality on real documents. The dedicated floor is where the maths turns: below that floor, self-hosting on a machine you already own is usually cheaper in cash, though never free in time.

Requirements before you install Milvus

Check the hardware before you download anything. For Standalone, Milvus requires a CPU with SIMD support such as SSE4.2, AVX, AVX2, or AVX-512, at least 8 GB of RAM with 16 GB recommended, and an SSD, with NVMe recommended. The official guidance recommends 4 CPU cores or more for Standalone.

Disk performance matters more than most people expect. etcd, which holds Milvus metadata, is sensitive to slow disks, and the documentation recommends local NVMe SSDs. Slow fsync response can cause frequent cluster elections that degrade the service.

You need Docker and the Docker Compose plugin V2 or later. Verify the plugin with docker compose version before following the install steps. The guides use docker compose, not the legacy docker-compose V1 command.

On Linux, Docker 19.03 or later is required. On macOS and Windows, Docker Desktop works, but allocate at least 8 GB of memory to the Docker virtual machine on a Mac. On Windows, use the WSL 2 backend and keep bind-mounted data in the Linux filesystem.

Plan the data folder before the first start. The Compose file maps data to a volumes folder beside it, split into volumes/etcd, volumes/minio, and volumes/milvus. Put that folder on the fast disk, and know that deleting it deletes the database.

Step 1: install Milvus with Docker Compose

Create a folder for the deployment, download the official Compose file for v3.0.7, and start it. The official guide asks you to verify the download first: run sha256sum docker-compose.yaml and compare the result with the digest listed for milvus-standalone-docker-compose.yaml on the v3.0.7 release page.

Milvus official Docker Compose installation guide showing v3.0.7 download steps
# Download the configuration file
wget https://github.com/milvus-io/milvus/releases/download/v3.0.7/milvus-standalone-docker-compose.yaml -O docker-compose.yaml

# Start Milvus
sudo docker compose up -d

The start command launches three long-running containers: milvus-etcd for metadata, milvus-minio for object storage, and milvus-standalone for the database. The message queue is Woodpecker, embedded with MinIO as its write-ahead-log backend, so no separate message-queue container is required. A one-shot milvus-volume-init service prepares data-directory ownership and then exits.

The standalone container publishes ports 19530 for client connections and 9091 for metrics and the WebUI. MinIO publishes 9000 and 9001. etcd exposes no ports to the host.

Check the containers are up and healthy:

sudo docker compose ps

You should see milvus-etcd, milvus-minio, and milvus-standalone running, with the standalone container mapping 19530 and 9091. First start takes a little while, because the images must download.

To change configuration later, mount a host user.yaml at /milvus/configs/user.yaml in the standalone container. Create the file before mounting it, because Compose creates a directory when the source path does not exist.

Stop Milvus with sudo docker compose down. That command stops the containers and keeps the data. Deleting the volumes folder is the separate, destructive step, so never run it as part of a routine restart.

Step 2: verify Milvus is running and connect a client

Install the Python client. For a server deployment you need only the SDK, pinned to the version the official quickstart uses:

python3 -m pip install "pymilvus==3.0.4"

PyMilvus 3.0.4 requires Python 3.9 or later. Confirm the SDK version is compatible with your server version before building on it.

Connect to the server endpoint:

from pymilvus import MilvusClient

client = MilvusClient(uri="http://localhost:19530")

Use the server connection block, not a local .db path. A .db path starts a separate Milvus Lite database, which is a different deployment from the server you just installed.

If the connection fails, check sudo docker compose ps and confirm the standalone container is healthy and port 19530 is free. Most first-connection failures are a container still starting or a port already taken.

Step 3: create your first collection and insert data

Create a collection with the dimension of your embedding model. The official quickstart uses 768 dimensions, matching its default embedding model:

if client.has_collection(collection_name="demo_collection"):
    client.drop_collection(collection_name="demo_collection")

client.create_collection(
    collection_name="demo_collection",
    dimension=768,
)

With these defaults, the primary key field is named id, the vector field is named vector, and the metric type is COSINE. The primary key accepts integers and does not auto-increment unless you enable the auto-id feature.

Dimension is a contract. Every vector you insert must have exactly the dimension the collection was created with. A mismatch here is the most common first-day error, and it means your embedding model and your collection disagree.

Generate embeddings with your chosen model, then insert entities as dictionaries. Each entity carries the id, the vector, the source text, and a scalar label you can filter on later:

data = [
    {"id": i, "vector": vectors[i], "text": docs[i], "subject": "history"}
    for i in range(len(vectors))
]

res = client.insert(collection_name="demo_collection", data=data)

Insert a small, known set first: documents whose correct answers you already know. A collection that returns the right passages for ten judged questions is worth more than a million untested vectors.

Keep the source text or a reference to it in the entity, so results stay auditable. An answer your team cannot trace back to a document is an answer they should not trust.

Step 4: run semantic search with filters

Search by encoding the question with the same embedding model and asking for the nearest entities:

res = client.search(
    collection_name="demo_collection",
    data=query_vectors,
    limit=2,
    output_fields=["text", "subject"],
)

The result lists the matching entities with their distances and the fields you asked for. Judge the passages, not the distances: the right passage at a modest distance beats the wrong passage at a flattering one.

Now add a filter, because real business search is filtered search:

res = client.search(
    collection_name="demo_collection",
    data=query_vectors,
    filter="subject == 'biology'",
    limit=2,
    output_fields=["text", "subject"],
)

The filter excludes every entity whose subject is not biology, however similar its vector is. This is the mechanism that keeps one customer’s documents out of another customer’s answers, and it only works if you stored the right scalar fields at insert time.

By default, scalar fields are not indexed. For filtered search over a large dataset, define a fixed schema and index the fields you filter on. Test filtered queries at realistic volume before promising response times.

Save your judged questions and their expected passages as a test set. Rerun it after every change to chunking, embeddings, or indexes. Search quality regressions are silent, and a saved test set is how you hear them.

First-run security steps you must not skip

The default Compose file publishes ports without a host address, so Docker exposes Milvus and MinIO on every host interface. Any machine that can reach the host can attempt to connect. On a laptop at home that may be acceptable for an afternoon; on a server it is not.

Milvus official authentication guide showing authorizationEnabled security settings

Limit access to the host itself by adding 127.0.0.1: to the port entries of the minio and standalone services, for example "127.0.0.1:19530:19530", then run sudo docker compose up -d again. Open the ports wider only through a firewall rule you wrote on purpose.

Change the MinIO credentials. The Compose file sets the access key and secret key to minioadmin, which is public knowledge. Set new values in MINIO_ACCESS_KEY and MINIO_SECRET_KEY on the minio service, and set the same values in the Milvus configuration so the database can still reach its storage.

Turn on Milvus authentication before importing anything sensitive. Set common.security.authorizationEnabled to true in the Milvus configuration, restart, and connect with a username and password from then on.

After authentication is enabled, the root user exists with the default password Milvus. Change it immediately with update_password() while connected as root. Changing the defaultRootPassword setting later does not change an existing root password, so the update call is the step that matters.

Create named users for applications instead of sharing root. Passwords must be 6 to 72 UTF-8 bytes by default, and usernames are limited to 32 characters. Give each application its own user so a leaked credential can be revoked without breaking everything else.

Protect the metrics port as well. Port 9091 serves management endpoints and the web console, and common.security.adminAuthEnabled defaults to false. Turn it on, and still expose 9091 only on a trusted network or behind a TLS proxy, because the port itself speaks plain HTTP.

Test the lockdown: an unauthenticated connection should fail, a wrong password should fail, and MinIO should reject minioadmin. An untested security step is a hope, not a control.

Make Milvus useful for real work

Design the schema around the questions you will filter by. Store the fields your business rules need: document status, customer, product line, language, and date. Retrofitting a filter field means re-importing the collection, so decide before the big import.

Chunk documents the way answers are used. A support passage should answer one question completely, with its source attached. Chunks that split a procedure in half retrieve half an answer, and the language model will improvise the rest.

Keep the embedding model constant across a collection. Vectors from different models do not share a meaningful neighbourhood, so a model change means a new collection and a full re-embed. Budget for that day when you choose the first model.

Add hybrid search when exact terms matter. Product codes, invoice numbers, and error strings are keyword problems wearing a semantic costume. Milvus’s built-in BM25 and sparse vectors let one query honour both the exact term and the meaning.

Watch memory as collections grow. Vector indexes live largely in RAM, so a server comfortable at 50,000 vectors may not be at 5 million. Measure before the import, not after the outage.

For local models feeding your embeddings, our guide to install Ollama on Ubuntu and run local AI models covers the private, no-per-token-cost route. Local embeddings keep document text on your machine, which matters when the documents are customer records.

Backup and update routine

Back up collections with Milvus Backup, the open-source backup tool for Milvus. It backs up collections and restores them in the same or another instance, through a command-line interface and an HTTP API.

Use a current release. Milvus Backup 0.6.0 adds snapshot backups for Milvus 3.0, and official backup and restore support for the 3.0 line starts with Milvus 3.0.1. Match the backup binary and configuration examples to the same release, and check source and target server compatibility before a cross-version restore.

Back up the whole deployment, not only the collections. Archive the volumes folder and your Compose and user.yaml files alongside the collection backups, and preserve the complete backup directory when moving it.

Test restores into a throwaway instance and rerun your judged search questions. A backup that has never been restored is a file, not a recovery plan. Schedule the test, because the day you need the restore is the wrong day to discover it fails.

Upgrade deliberately. Back up metadata and persistent data first, save a copy of the current Compose file, and confirm the containers are healthy before changing anything. Follow the documented source-to-target upgrade path for your versions instead of swapping in a new-installation file.

Keep the message queue choice stable during an upgrade. Switching message queue systems mid-upgrade is not supported, and deployments still on RocksMQ should pin it in user.yaml before changing the image. The v3.0.7 standalone upgrade also adds a one-shot volume-init service, because 3.0 images run Milvus as a non-root user.

Do not plan on downgrading by swapping the image back. After a newer version writes data, an older image may fail to read the updated state. Your rollback plan is the pre-upgrade backup, validated in a non-production environment first.

Common errors and fixes

docker compose is not found. You have Docker without the Compose plugin, or the legacy V1 command. Install the Compose plugin V2 or later and verify with docker compose version before retrying the install.

The standalone container restarts or never turns healthy. Check sudo docker compose ps and the container logs, then check the disk. etcd is sensitive to slow storage, and the documentation recommends local NVMe SSDs with strong fsync performance. A spinning disk or a busy shared volume can keep the deployment unhealthy.

Connection refused on port 19530. The container is still starting, has failed, or another process owns the port. Confirm the standalone container is up and healthy, and confirm nothing else is bound to 19530 on the host.

Dimension mismatch on insert. The collection was created with one dimension and your vectors have another. Recreate the collection with the embedding model’s dimension, or regenerate the vectors with the model the collection expects. There is no partial fix; the numbers must match exactly.

A gRPC authentication error after enabling security. Authentication is on and the client sent no valid token. Connect with the username and password, using root only long enough to change its default password and create application users.

You connected to a .db file and your server data is missing. The .db path starts Milvus Lite, a separate local database. Reconnect with the server URI http://localhost:19530 to reach the Standalone server you installed.

Old Milvus Lite data will not open. Milvus Lite 3.x creates a directory at the storage path and does not open 2.x database files directly. Export the data with the old version before migrating, as the quickstart directs.

Data vanished after a cleanup. Someone deleted the volumes folder, which is the database. docker compose down alone does not delete data. Restore from backup, and remove the delete step from any routine script.

MinIO accepts minioadmin from another machine. The default credentials were never changed. Change the keys in both places, bind the ports to 127.0.0.1 or a firewall rule, and retest.

Tips and tricks that save money

Prototype in Milvus Lite, then move to Standalone. Lite runs in Python with no server, so you can judge chunking and embedding quality on a laptop before renting or configuring anything. The collection and search code carries over to the server.

Judge quality on the Zilliz free tier before buying hardware. Five gigabytes of storage and 2.5 million vCUs a month is enough to test real documents and real questions. If retrieval fails there, a bigger server will only fail faster.

Spend on RAM and NVMe before CPU cores. Vector search is memory- and disk-sensitive, and etcd punishes slow storage. A modest machine with 16 GB of RAM and a fast NVMe drive serves a small business better than a many-core machine on a slow disk.

Keep scalar fields lean. Store what filters, answers, and audits need, and keep bulky source documents in your document store with a reference in the entity.

Re-embed rarely and deliberately. Embedding a large corpus costs time or API money, and a model change forces a full re-embed into a new collection. Choose a model you can live with, and treat a change as a planned migration with the test set rerun.

The real cost maths

Self-hosted Milvus has a $0 licence fee under Apache-2.0. That is the whole licence story. The operating story is a server with enough RAM and fast storage, plus a named person who owns security, backups, and upgrades.

Zilliz Cloud Free costs $0 a month and includes 5 GB of storage, 2.5 million vCUs a month, and up to 5 collections. For a prototype or a small internal search tool, that allowance can carry real work. Its limit is headroom: storage, monthly usage, and collection count are all capped.

Zilliz Standard Dedicated starts from $126 a month, which is $1,512 a year, with a 30-day free trial. Enterprise Dedicated starts from $197 a month, or $2,364 a year, adding a 99.95% uptime SLA, audit logs, SSO, and granular RBAC. Business Critical is quote-only.

Zilliz Cloud official pricing page showing Free Standard $126 and Enterprise $197 plans

Dedicated pricing is built on compute units. At 768 dimensions, Zilliz frames capacity per CU at about 2 million vectors (performance-optimized), 8 million (capacity-optimized), and 40 million (tiered-storage), from $63, $16, and $5 per million vectors a month. Scalar fields reduce that capacity, so treat the figures as planning estimates.

Take a realistic scenario: a support knowledge base of 60,000 document chunks at 768 dimensions, searched by staff a few thousand times a day. The vectors are small, well inside the free tier’s 5 GB, so the honest first move is the free tier or a laptop prototype. The bottleneck is retrieval quality, not capacity.

Now grow it: 2 million vectors, customer-facing search, and a need for predictable latency. On Zilliz, that is dedicated territory, and the floor is $126 a month whether the cluster is busy or idle: $1,512 a year before growth. Self-hosted on a server you already run, the licence line stays $0 and the $1,512 becomes a hosting-and-admin question instead.

That comparison cuts both ways. If nobody on the team will patch, back up, and monitor the server, $126 a month buys those hours from Zilliz. If a technical operator already runs your infrastructure, the dedicated floor is hard to justify for a workload your existing machine absorbs.

Embedding costs sit outside both columns. A cloud embedding API charges per token; a local model charges in hardware and electricity. Price the embedding route separately.

When not to self-host Milvus

Do not self-host when nobody owns the server. Milvus Standalone is three containers, a metadata store, and an object store that all need patching, backup tests, and monitoring. An unowned database is a future outage with a date you have not met yet.

Do not self-host when you need contractual uptime. A single Standalone machine has no failover, and its availability is your hardware’s availability. The Enterprise tier’s 99.95% SLA exists for teams whose customers notice downtime in minutes.

Do not self-host a tiny workload out of habit. A few thousand vectors for an internal tool fits Milvus Lite or the Zilliz free tier. Running a server for it adds security surface and maintenance for no benefit.

Do not self-host on weak storage. etcd on a slow disk degrades the whole deployment, and the documentation is explicit about NVMe-grade performance. If the only available machine has a tired spinning disk, use the managed route until the hardware improves.

Pros and cons

Pros

  • Free and open source under Apache-2.0, with no licence fee for self-hosting at any scale.
  • Three deployment shapes on one engine: Milvus Lite in Python, Standalone on one machine, and Distributed on Kubernetes.
  • Storage-compute separation in cluster mode, so query, ingest, and index nodes scale independently.
  • Scalar fields stored with vectors, so filtered search enforces business rules in one query.
  • Hybrid search with built-in BM25 and sparse vectors for exact terms plus meaning.
  • A wide index family, including HNSW, IVF, DiskANN, and SCANN, for different memory and recall targets.
  • User authentication with named users, plus a managed Zilliz route with a real free tier for evaluation.

Cons

  • You own security, backups, updates, monitoring, and uptime when self-hosting.
  • The default Compose file exposes ports on all interfaces and ships public MinIO credentials until you change them.
  • Standalone runs three containers plus etcd and MinIO, which is more machinery than embedded alternatives.
  • etcd needs fast NVMe-grade storage; slow disks degrade the deployment.
  • The embedding dimension is fixed per collection, and a model change means re-embedding everything.
  • Upgrades require care: message queue choices must stay stable and image-only downgrades are not a rollback plan.
  • Zilliz Dedicated has a $126 monthly floor that dominates small production workloads.

Our verdict

Install Milvus if you want a vector database with genuine scale headroom: start as a local file, serve from one machine, and grow to a cluster without changing engines. Verify the Compose digest, prove retrieval on judged questions, then bind the ports, change the MinIO keys, turn on authentication, and replace the default root password. Self-hosting saves the $1,512-a-year dedicated floor only when a named operator owns the server; otherwise the managed route is the cheaper honest answer.

FAQ

Is Milvus free for business use?

Yes. Milvus is distributed under the Apache License 2.0, which permits commercial use, modification, and redistribution with no licence fee. It is a graduated LF AI & Data Foundation project with Zilliz as its major contributor. Hosting, embedding models, and support still cost money.

How do I install Milvus step by step?

Download the official v3.0.7 Compose file with wget https://github.com/milvus-io/milvus/releases/download/v3.0.7/milvus-standalone-docker-compose.yaml -O docker-compose.yaml, verify it with sha256sum, and run sudo docker compose up -d. Confirm milvus-etcd, milvus-minio, and milvus-standalone are healthy, then connect with pip install "pymilvus==3.0.4" to http://localhost:19530.

Is a self-hosted Milvus server secure by default?

No. The Compose file publishes ports on all host interfaces and MinIO starts with the public minioadmin credentials. Bind ports to 127.0.0.1 or a firewall rule, change the MinIO keys, set common.security.authorizationEnabled to true, and change the default root password before importing real data.

How do I back up Milvus?

Use Milvus Backup, the open-source backup tool, which backs up collections and restores them in the same or another instance. Backup 0.6.0 adds snapshot backups for Milvus 3.0.1 and later. Archive the volumes folder and your Compose and user.yaml files too, and test restores into a throwaway instance.

Should I self-host Milvus or use Zilliz Cloud?

Self-host when privacy, control, or an existing server makes operations cheap and a named operator owns backups and updates. Use Zilliz Cloud Free, with 5 GB storage and 2.5 million vCUs a month, to judge quality, then Standard Dedicated from $126 a month when managed operations matter more than running the server yourself.

Strategic Pivot

Milvus removes the licence fee, not hosting, embedding, backup, or admin costs. Price the full year with our free AI Cost Calculator before committing.

Sources

Price note — updated December 2, 2026: Prices in this post were checked on December 2, 2026. When you are reading this, the price may be lower or higher — always check the official pricing page before you buy.

Pros

  • Free and open source under Apache-2.0, with no licence fee for self-hosting at any scale.
  • Three deployment shapes on one engine: Milvus Lite in Python, Standalone on one machine, and Distributed on Kubernetes.
  • Storage-compute separation in cluster mode, so query, ingest, and index nodes scale independently.
  • Scalar fields stored with vectors, so filtered search enforces business rules in one query.
  • Hybrid search with built-in BM25 and sparse vectors for exact terms plus meaning.
  • A wide index family, including HNSW, IVF, DiskANN, and SCANN, for different memory and recall targets.
  • User authentication with named users, plus a managed Zilliz route with a real free tier for evaluation.

Cons

  • You own security, backups, updates, monitoring, and uptime when self-hosting.
  • The default Compose file exposes ports on all interfaces and ships public MinIO credentials until you change them.
  • Standalone runs three containers plus etcd and MinIO, which is more machinery than embedded alternatives.
  • etcd needs fast NVMe-grade storage, and slow disks degrade the deployment.
  • The embedding dimension is fixed per collection, and a model change means re-embedding everything.
  • Upgrades require care: message queue choices must stay stable and image-only downgrades are not a rollback plan.
  • Zilliz Dedicated has a $126 monthly floor that dominates small production workloads.
Our verdict

Install Milvus if you want a vector database with genuine scale headroom: start as a local file, serve from one machine, and grow to a cluster without changing engines. Verify the Compose digest, prove retrieval on judged questions, then bind the ports, change the MinIO keys, turn on authentication, and replace the default root password. Self-hosting saves the $1,512-a-year dedicated floor only when a named operator owns the server; otherwise the managed route is the cheaper honest answer.

Leave a Comment