Databases · head to head
Milvus vs Valkey

Milvus
Databases
Open-source vector database for scalable similarity search
- From
- Free
- Free plan
- Yes

Valkey
Databases
Open-source in-memory data store forked from Redis
- 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 Valkey lists BSD licensed.
- Where Milvus falls short: vector dimensions are capped at 32,768.
- Where Valkey falls short: younger project, so its track record is short even though the codebase is not.
How do Milvus and Valkey differ?
Milvus and Valkey differ on pricing model, platforms and year founded (2017 against 2024). Only the attributes on which Milvus and Valkey actually diverge.
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Which features does each one have?
They share no listed features; 14 appear only for Milvus and 4 only for Valkey. 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 Valkey
- Redis-compatible
- BSD licensed
- Rich data structures
- Replication and persistence
What is each one used for?
Milvus is most often brought in for self hosting a vector database for semantic search; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.
Milvus
- Self hosting a vector database for semantic searchnot Valkey
- Storing and querying embeddings for retrieval augmented generationnot Valkey
- Similarity search over images, audio or text at scalenot Valkey
Valkey
- Continuing on a permissively licensed in-memory store after the Redis licence changenot Milvus
- Caching and session storage where a foundation-governed project is a procurement requirementnot Milvus
- Migrating from Redis without rewriting application codenot Milvus
Where do Milvus and Valkey fall short?
Milvus's most cited limit: vector dimensions are capped at 32,768. Valkey's: younger project, so its track record is short even though the codebase is not. 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
Valkey
- Younger project, so its track record is short even though the codebase is not
- Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
- Ecosystem tooling and documentation still frequently assume Redis, leaving translation work
How much do Milvus and Valkey cost?
Milvus is free to use; Valkey 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
Valkey
Free- ValkeyFree
- Full functionality
- Self-hosted
- No usage limits
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 Valkey if
- You need redis-compatible.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted.
- You also want bsd licensed.
Questions people ask
- Is Milvus or Valkey better?
- It depends on the job. Milvus fits self hosting a vector database for semantic search; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Milvus starts at Free and Valkey at Free.
- Which is cheaper, Milvus or Valkey?
- Milvus starts at Free and Valkey at Free.
- Does Milvus or Valkey run on more platforms?
- Milvus runs on Linux, macOS, Windows, Web. Valkey runs on Linux, macOS, Self-hosted.
- 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 Valkey is typically brought in for.
- What can Milvus do that Valkey cannot?
- Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.
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.
SourceValkey: Is Valkey free?
Yes, BSD-licensed open source under the Linux Foundation.
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.
SourceValkey: Why does Valkey exist?
Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.
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.
SourceValkey: Can I switch from Redis to Valkey?
At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.
Related 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 Memcached
- Milvus vs Amazon ElastiCache
- Milvus vs Dragonfly
- Milvus vs Redis
- Milvus vs Readyset
- Milvus vs etcd
- Milvus vs VictoriaMetrics
- Milvus vs Aiven
- Milvus vs Redpanda
- Milvus vs MariaDB
- Milvus vs Timeplus
- Milvus vs SAP HANA
- Milvus vs Estuary
- Milvus vs Firebase Realtime Database
- Milvus vs Immuta
- Milvus vs InfluxDB
- Milvus vs Knack
- Milvus vs MySQL
- Valkey vs Weaviate
- Valkey vs Pinecone
- Valkey vs Vespa
- Valkey vs Qdrant
- Valkey vs Chroma
- Valkey vs NATS
- Valkey vs QuestDB
- Valkey vs ScyllaDB
- Valkey vs Apache Pulsar
- Valkey vs Meilisearch
- Valkey vs DuckDB
- Valkey vs PgBouncer
- Valkey vs Privacera
- Valkey vs RavenDB
- Valkey vs Tinybird
- Valkey vs turbopuffer
- Valkey vs Aerospike
- Valkey vs Cassandra
- Valkey vs Memcached
- Valkey vs Amazon ElastiCache
- Valkey vs Dragonfly
- Valkey vs Redis
- Valkey vs Readyset
- Valkey vs etcd
- Valkey vs VictoriaMetrics
- Valkey vs Aiven
- Valkey vs Redpanda
- Valkey vs MariaDB
- Valkey vs Timeplus
- Valkey vs SAP HANA
- Valkey vs Estuary
- Valkey vs Firebase Realtime Database
- Valkey vs Immuta
- Valkey vs InfluxDB
- Valkey vs Knack
- Valkey vs MySQL
