Databases · head to head
Milvus vs Preact

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

Preact
Web Development
3kB alternative to React with the same modern API
- 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 Preact lists 3kB runtime.
- Where Milvus falls short: vector dimensions are capped at 32,768.
- Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.
How do Milvus and Preact differ?
Milvus and Preact differ on pricing model, platforms and category (Databases against Web Development). Only the attributes on which Milvus and Preact actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Preact.
Which features does each one have?
They share no listed features; 14 appear only for Milvus and 4 only for Preact. 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 is each one used for?
Milvus is most often brought in for self hosting a vector database for semantic search; Preact for embedded widgets that load inside someone else’s page and must stay small. 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 do Milvus and Preact fall short?
Milvus's most cited limit: vector dimensions are capped at 32,768. Preact's: behavioural differences from React exist in edge cases, particularly around event handling. 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
How much do Milvus and Preact cost?
Milvus is free to use; Preact 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
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, macOS, 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?
- It depends on the job. Milvus fits self hosting a vector database for semantic search; Preact fits embedded widgets that load inside someone else’s page and must stay small. Milvus starts at Free and Preact at Free.
- 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, macOS, 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.
SourcePreact: 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.
SourcePreact: 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.
SourcePreact: Why choose Preact over React?
Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.
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 SolidJS
- Milvus vs Vue.js
- Milvus vs React
- Milvus vs Qwik
- Milvus vs Lit
- Milvus vs Svelte
- Milvus vs Alpine.js
- Milvus vs Stencil
- Milvus vs jQuery
- Milvus vs MUI
- Milvus vs Angular
- Milvus vs Bootstrap
- Milvus vs Babel
- Milvus vs Cloudflare Pages
- Milvus vs Eleventy
- Milvus vs HeroUI
- Milvus vs Memberstack
- Milvus vs PHP
- Preact vs Weaviate
- Preact vs Pinecone
- Preact vs Vespa
- Preact vs Qdrant
- Preact vs Chroma
- Preact vs NATS
- Preact vs QuestDB
- Preact vs ScyllaDB
- Preact vs Apache Pulsar
- Preact vs Meilisearch
- Preact vs DuckDB
- Preact vs PgBouncer
- Preact vs Privacera
- Preact vs RavenDB
- Preact vs Tinybird
- Preact vs turbopuffer
- Preact vs Aerospike
- Preact vs Cassandra
- Preact vs SolidJS
- Preact vs Vue.js
- Preact vs React
- Preact vs Qwik
- Preact vs Lit
- Preact vs Svelte
- Preact vs Alpine.js
- Preact vs Stencil
- Preact vs jQuery
- Preact vs MUI
- Preact vs Angular
- Preact vs Bootstrap
- Preact vs Babel
- Preact vs Cloudflare Pages
- Preact vs Eleventy
- Preact vs HeroUI
- Preact vs Memberstack
- Preact vs PHP
