Databases · head to head
Milvus vs Ray

Milvus
Databases
Open-source vector database for scalable similarity search
- From
- Free
- Free plan
- Yes
The short version
- Milvus is an open-source vector database.
- Both are free.
- Only Milvus lists billion-scale vectors; only Ray lists distributed computing.
- Where Milvus falls short: vector dimensions are capped at 32,768.
- Where Ray falls short: windows support is beta and multi node Ray clusters are untested on Windows.
How do Milvus and Ray differ?
Milvus and Ray differ on platforms, category (Databases against Machine Learning) and year founded (2017 against 2019). Only the attributes on which Milvus and Ray actually diverge.
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Which features does each one have?
They share 6 listed features; 8 appear only for Milvus and 7 only for Ray. 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
- LangChain
- LlamaIndex
- Web support
Only in Ray
- Distributed computing
- Ray Train
- Ray Tune
- RLlib
- Ray Serve
- scikit-learn
- Kubernetes
Both cover
- PyTorch
- TensorFlow
- Hugging Face
- Linux support
- Mac support
- Windows support
What is each one used for?
Milvus is most often brought in for self hosting a vector database for semantic search; Ray for distributed AI model training and serving. The jobs each tool is most often brought in to do.
Milvus
- Self hosting a vector database for semantic searchnot Ray
- Storing and querying embeddings for retrieval augmented generationnot Ray
- Similarity search over images, audio or text at scalenot Ray
Ray
- Distributed AI model training and servingnot Milvus
- Large-scale data processingnot Milvus
- Reinforcement learning workloadsnot Milvus
- ML inference servingnot Milvus
Where do Milvus and Ray fall short?
Milvus's most cited limit: vector dimensions are capped at 32,768. Ray's: windows support is beta and multi node Ray clusters are untested on Windows. 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
Ray
- Windows support is beta and multi node Ray clusters are untested on Windows
- Windows lacks copy on write forking, which raises memory requirements, and Ray code assumes UNIX filenames
- Multi node clusters are untested on Apple Silicon Macs
- The Java API is experimental and community supported only, and requires matching Java and Python versions
- Python 3.13 support is beta
How much do Milvus and Ray cost?
Milvus is free to use; Ray 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
Ray
Free- Open SourceFree
- Full Ray framework
- All libraries
- Community support
- Anyscale PlatformFree
- Managed infrastructure
- Enterprise support
- SLAs
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 Ray if
- You need distributed computing.
- You want to start without paying.
- You work on Linux, macOS, Windows.
- You also want ray train.
Questions people ask
- Is Milvus or Ray better?
- It depends on the job. Milvus fits self hosting a vector database for semantic search; Ray fits distributed AI model training and serving. Milvus starts at Free and Ray at Free.
- Which is cheaper, Milvus or Ray?
- Milvus starts at Free and Ray at Free.
- Does Milvus or Ray run on more platforms?
- Milvus runs on Linux, macOS, Windows, Web. Ray runs on Linux, macOS, Windows.
- 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 Ray is typically brought in for.
- What can Milvus do that Ray cannot?
- Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Ray covers Distributed computing, Ray Train, Ray Tune, RLlib. Both handle PyTorch, TensorFlow, Hugging Face, Linux support.
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.
SourceRay: Is Ray free?
Yes. Ray is free and open source software with over 34,800 GitHub stars and 1,000+ contributors. Users can download and use the Ray framework at no cost.
SourceMilvus: 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.
SourceRay: Is there a paid option for Ray?
Yes. Anyscale, the managed platform built by Ray's creators, offers paid tiers with enterprise features like governance and advanced tooling. Specific Anyscale pricing details are not listed on the Ray website.
SourceMilvus: 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.
SourceRay: Can I try Ray with credits?
Yes. New users can try Ray with $100 credit on Anyscale's managed platform to explore the service.
SourceRelated pages
Other head to heads
- Milvus vs Weaviate
- Milvus vs Pinecone
- Milvus vs Vespa
- Milvus vs Qdrant
- Milvus vs Chroma
- Milvus vs NATS
- Milvus vs QuestDB
- Milvus vs ScyllaDB
- Milvus vs Apache Pulsar
- Milvus vs Meilisearch
- Milvus vs DuckDB
- Milvus vs PgBouncer
- Milvus vs Privacera
- Milvus vs RavenDB
- Milvus vs Tinybird
- Milvus vs turbopuffer
- Milvus vs Aerospike
- Milvus vs Cassandra
- Milvus vs Dask
- Milvus vs Apache Spark MLlib
- Milvus vs Vertex AI
- Milvus vs Azure Machine Learning
- Milvus vs AWS SageMaker
- Milvus vs BentoML
- Milvus vs Databricks
- Milvus vs Seldon
- Milvus vs vLLM
- Milvus vs H2O.ai
- Milvus vs XGBoost
- Milvus vs LangChain
- Milvus vs Pachyderm
- Milvus vs Streamlit
- Milvus vs TensorBoard
- Milvus vs BigML
- Milvus vs Google AI Studio
- Milvus vs Amazon Redshift ML
- Ray vs Weaviate
- Ray vs Pinecone
- Ray vs Vespa
- Ray vs Qdrant
- Ray vs Chroma
- Ray vs NATS
- Ray vs QuestDB
- Ray vs ScyllaDB
- Ray vs Apache Pulsar
- Ray vs Meilisearch
- Ray vs DuckDB
- Ray vs PgBouncer
- Ray vs Privacera
- Ray vs RavenDB
- Ray vs Tinybird
- Ray vs turbopuffer
- Ray vs Aerospike
- Ray vs Cassandra
- Ray vs Dask
- Ray vs Apache Spark MLlib
- Ray vs Vertex AI
- Ray vs Azure Machine Learning
- Ray vs AWS SageMaker
- Ray vs BentoML
- Ray vs Databricks
- Ray vs Seldon
- Ray vs vLLM
- Ray vs H2O.ai
- Ray vs XGBoost
- Ray vs LangChain
- Ray vs Pachyderm
- Ray vs Streamlit
- Ray vs TensorBoard
- Ray vs BigML
- Ray vs Google AI Studio
- Ray vs Amazon Redshift ML

