Softwr

Databases · head to head

Milvus vs vLLM

Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes
vLLM logo

vLLM

Machine Learning

Open-source inference and serving engine for large language models with PagedAttention

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database; vLLM is an open-source LLM inference and serving engine.
  • Both are free.
  • Only Milvus lists billion-scale vectors; only vLLM lists PagedAttention memory management.
  • Where Milvus falls short: vector dimensions are capped at 32,768.
  • Where vLLM falls short: self-hosted only, so you run GPUs, scaling and monitoring.

How do Milvus and vLLM differ?

Milvus and vLLM differ on pricing model (Freemium against Open-source), platforms and category (Databases against Machine Learning). Only the attributes on which Milvus and vLLM actually diverge.

Attributes where Milvus and vLLM differ
AttributeMilvusvLLM
Pricing modelFreemiumOpen-source
PlatformsLinux, macOS, Windows, WebWeb
CategoryDatabasesMachine Learning

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

Not yet recorded: founded for vLLM.

Which features does each one have?

They share no listed features; 14 appear only for Milvus and 9 only for vLLM. 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 vLLM

  • PagedAttention memory management
  • Continuous batching
  • OpenAI-compatible API server
  • Quantisation including FP8, AWQ and GPTQ
  • Speculative decoding
  • Tensor and pipeline parallelism
  • Multi-LoRA serving
  • Structured outputs and tool calling

What is each one used for?

Milvus is most often brought in for self hosting a vector database for semantic search; vLLM for serving open-weight models behind an OpenAI-style API. The jobs each tool is most often brought in to do.

Milvus

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

vLLM

  • Serving open-weight models behind an OpenAI-style APInot Milvus
  • High-throughput batch inferencenot Milvus
  • Multi-GPU model servingnot Milvus
  • Running models with quantisation to cut GPU costnot Milvus

Where do Milvus and vLLM fall short?

Milvus's most cited limit: vector dimensions are capped at 32,768. vLLM's: self-hosted only, so you run GPUs, scaling and monitoring. 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

vLLM

  • Self-hosted only, so you run GPUs, scaling and monitoring
  • Fast-moving project with frequent changes between versions
  • Hardware support differs between GPU, CPU and plugin backends
  • No managed hosting or commercial support plan from the project

How much do Milvus and vLLM cost?

Milvus is free to use; vLLM 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

vLLM

Free

No published plan breakdown. See the vLLM review.

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 vLLM if

  • You need pagedattention memory management.
  • You want to start without paying.
  • You also want continuous batching.

Questions people ask

Is Milvus or vLLM better?
It depends on the job. Milvus fits self hosting a vector database for semantic search; vLLM fits serving open-weight models behind an OpenAI-style API. Milvus starts at Free and vLLM at Free.
Which is cheaper, Milvus or vLLM?
Milvus starts at Free and vLLM at Free.
Does Milvus or vLLM run on more platforms?
Milvus runs on Linux, macOS, Windows, Web. vLLM runs on Web.
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 vLLM is typically brought in for.
What can Milvus do that vLLM cannot?
Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. vLLM covers PagedAttention memory management, Continuous batching, OpenAI-compatible API server, Quantisation including FP8, AWQ and GPTQ.

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
vLLM: Where did vLLM come from?

vLLM was originally developed in the Sky Computing Lab at UC Berkeley and is now maintained by a community of contributors.

Source
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
vLLM: Does vLLM offer an OpenAI-compatible API?

Yes, it includes an OpenAI-compatible API server and also supports the Anthropic Messages API and gRPC.

Source
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
vLLM: What hardware does vLLM run on?

NVIDIA, AMD and Intel GPUs and x86, ARM and PowerPC CPUs, with plugins for hardware such as Google TPUs and Intel Gaudi.

Source
Share

Related pages

Other head to heads