Databases · head to head
Milvus vs PubNub

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

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes
The short version
- Milvus is an open-source vector database.
- Milvus is free; PubNub starts at $98/mo.
- Only Milvus lists billion-scale vectors; only PubNub lists pub/sub messaging.
- Where Milvus falls short: vector dimensions are capped at 32,768.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
How do Milvus and PubNub differ?
Milvus and PubNub differ on platforms, category (Databases against APIs) and year founded (2017 against 2010). Only the attributes on which Milvus and PubNub actually diverge.
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Which features does each one have?
They share no listed features; 14 appear only for Milvus and 6 only for PubNub. 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 PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
Milvus is most often brought in for self hosting a vector database for semantic search; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.
Milvus
- Self hosting a vector database for semantic searchnot PubNub
- Storing and querying embeddings for retrieval augmented generationnot PubNub
- Similarity search over images, audio or text at scalenot PubNub
PubNub
- Building realtime chat applicationsnot Milvus
- Streaming live IoT sensor datanot Milvus
- Adding presence indicators to collaborative appsnot Milvus
- Running edge logic with serverless Functions on realtime eventsnot Milvus
Where do Milvus and PubNub fall short?
Milvus's most cited limit: vector dimensions are capped at 32,768. PubNub's: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. 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
PubNub
- Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
- MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
- Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout
How much do Milvus and PubNub cost?
Milvus is free to use; PubNub has a free plan, with paid plans from $98/mo. 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
PubNub
Free- FreeFree
- Up to 200 MAU or 1M transactions
- 1GB data storage (7 days)
- 5 test Serverless Functions
- Starter$98/mo
- 1,000 MAU included
- User management
- Insights
- ProOn request
- Custom MAU packages
- Volume discounts
- Enterprise-scale configurations
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 PubNub if
- You need pub/sub messaging.
- You want to start without paying.
- You work on Web, iOS, Android, API.
- You also want presence tracking.
Questions people ask
- Is Milvus or PubNub better?
- It depends on the job. Milvus fits self hosting a vector database for semantic search; PubNub fits building realtime chat applications. Milvus starts at Free and PubNub at Free.
- Which is cheaper, Milvus or PubNub?
- Milvus starts at Free and PubNub at Free.
- Does Milvus or PubNub run on more platforms?
- Milvus runs on Linux, macOS, Windows, Web. PubNub runs on Web, iOS, Android, API.
- 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 PubNub is typically brought in for.
- What can Milvus do that PubNub cannot?
- Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
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.
SourcePubNub: What does PubNub cost?
PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.
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.
SourcePubNub: Is there a free plan, and what are its limits?
Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.
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.
SourcePubNub: How is usage metered?
PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.
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 Pusher
- Milvus vs Ably
- Milvus vs Liveblocks
- Milvus vs Novu
- Milvus vs Courier
- Milvus vs Svix
- Milvus vs Yapily
- Milvus vs Lithic
- Milvus vs MX Technologies
- Milvus vs Increase
- Milvus vs Solaris
- Milvus vs Token.io
- Milvus vs Appwrite
- Milvus vs Bruno
- Milvus vs Marqeta
- Milvus vs Temenos Transact
- Milvus vs Apidog
- Milvus vs Microsoft Azure API Management
- PubNub vs Weaviate
- PubNub vs Pinecone
- PubNub vs Vespa
- PubNub vs Qdrant
- PubNub vs Chroma
- PubNub vs NATS
- PubNub vs QuestDB
- PubNub vs ScyllaDB
- PubNub vs Apache Pulsar
- PubNub vs Meilisearch
- PubNub vs DuckDB
- PubNub vs PgBouncer
- PubNub vs Privacera
- PubNub vs RavenDB
- PubNub vs Tinybird
- PubNub vs turbopuffer
- PubNub vs Aerospike
- PubNub vs Cassandra
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- PubNub vs Novu
- PubNub vs Courier
- PubNub vs Svix
- PubNub vs Yapily
- PubNub vs Lithic
- PubNub vs MX Technologies
- PubNub vs Increase
- PubNub vs Solaris
- PubNub vs Token.io
- PubNub vs Appwrite
- PubNub vs Bruno
- PubNub vs Marqeta
- PubNub vs Temenos Transact
- PubNub vs Apidog
- PubNub vs Microsoft Azure API Management
