Softwr

Machine Learning · head to head

Milvus vs Preact

Milvus logo

Milvus

Machine Learning

Open-source vector database for scalable similarity search

From
Free
Rated
-
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Rated
-

The short version

  • Each has a real cost: Milvus vector dimensions are capped at 32,768; Preact compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • They diverge on capability: Milvus covers Billion-scale vectors, Preact covers 3kB runtime.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Milvus and Preact actually diverge.

Attributes where Milvus and Preact differ
AttributeMilvusPreact
Pricing modelfreemiumOpen source, no licence fee
PlatformsLinux, Mac, Windows, WebWeb
CategoryMachine LearningWeb Development
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 Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

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 Preact
  • Storing and querying embeddings for retrieval augmented generationnot Preact
  • Similarity search over images, audio or text at scalenot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Milvus
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Milvus
  • Applications targeting low-bandwidth or low-powered devicesnot 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

Preact

  • Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • Behavioural differences from React exist in edge cases, particularly around event handling
  • A much smaller community, so unusual problems have fewer existing answers than React

Pricing, plan by plan

Milvus

Free
  • Open SourceFree
    • Full features
    • Self-hosted
    • Community support
  • Zilliz CloudFree
    • Managed service
    • Free tier available

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • 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 Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Questions people ask

Is Milvus or Preact better?
Neither clearly leads. Milvus starts at Free and Preact at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Milvus or Preact?
Milvus starts at Free and Preact at Free.
Does Milvus or Preact run on more platforms?
Milvus runs on Linux, Mac, Windows, Web. Preact 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 Preact is typically brought in for.
What can Milvus do that Preact cannot?
Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

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
Preact: Is Preact free?

Yes, open source under the MIT licence.

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
Preact: Can I use React libraries with Preact?

Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.

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
Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Share

Related pages

Other head to heads