Softwr

Machine Learning · head to head

Milvus vs Valkey

Milvus logo

Milvus

Machine Learning

Open-source vector database for scalable similarity search

From
Free
Rated
-
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Rated
-

The short version

  • Each has a real cost: Milvus vector dimensions are capped at 32,768; Valkey younger project, so its track record is short even though the codebase is not
  • They diverge on capability: Milvus covers Billion-scale vectors, Valkey covers Redis-compatible.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Milvus and Valkey actually diverge.

Attributes where Milvus and Valkey differ
AttributeMilvusValkey
Pricing modelfreemiumOpen source, no licence fee; managed cloud billed separately
PlatformsLinux, Mac, Windows, WebLinux, macOS, Docker, Self-hosted
CategoryMachine LearningDatabases
Founded2017Unknown

Identical on both: starting price (Free), free tier (Yes), user rating (Not yet rated).

What each one covers

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 people use each for

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 each one falls short

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

Pricing, plan by plan

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, Mac, 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, Docker, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Milvus or Valkey better?
Neither clearly leads. Milvus starts at Free and Valkey at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
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, Mac, Windows, Web. Valkey runs on Linux, macOS, Docker, 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.

Source
Valkey: 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.

Source
Valkey: 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.

Source
Valkey: 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.

Share

Related pages

Other head to heads