Softwr

Databases · head to head

Milvus vs Upstash

Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes
Upstash logo

Upstash

Databases

Serverless data for modern developers

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database.
  • Milvus is free; Upstash starts at $10/mo.
  • Only Milvus lists billion-scale vectors; only Upstash lists serverless Redis.
  • Where Milvus falls short: vector dimensions are capped at 32,768.
  • Where Upstash falls short: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis.

How do Milvus and Upstash differ?

Milvus and Upstash differ on platforms and year founded (2017 against 2020). Only the attributes on which Milvus and Upstash actually diverge.

Attributes where Milvus and Upstash differ
AttributeMilvusUpstash
PlatformsLinux, macOS, Windows, WebAPI, Vercel Edge, Web, AWS Lambda
Founded20172020

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Not yet recorded: pricing model for Upstash.

Which features does each one have?

They share 1 listed feature; 13 appear only for Milvus and 19 only for Upstash. 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 Upstash

  • Serverless Redis
  • Serverless Kafka
  • QStash
  • Global Replication
  • REST API
  • Edge Functions Support
  • Rate Limiting
  • Caching

Both cover

  • Web support

What is each one used for?

Milvus is most often brought in for self hosting a vector database for semantic search; Upstash for caching. The jobs each tool is most often brought in to do.

Milvus

  • Self hosting a vector database for semantic searchnot Upstash
  • Storing and querying embeddings for retrieval augmented generationnot Upstash
  • Similarity search over images, audio or text at scalenot Upstash

Upstash

  • Cachingnot Milvus
  • Session storagenot Milvus
  • Real-time messagingnot Milvus
  • Rate limitingnot Milvus
  • Serverless backendsnot Milvus

Where do Milvus and Upstash fall short?

Milvus's most cited limit: vector dimensions are capped at 32,768. Upstash's: HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis. 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

Upstash

  • HTTP-based REST API only, no TCP connections means higher latency than self-hosted or connection-pooled Redis
  • Rate limiting occurs when traffic exceeds configured budget cap or request limits
  • Kafka service discontinued in March 2025, requiring migration to Upstash Workflow or alternatives
  • Limited Redis feature support compared to self-hosted Redis or Redis Cloud
  • High-request-volume workloads can accumulate significant costs due to per-request pricing model

How much do Milvus and Upstash cost?

Milvus is free to use; Upstash has a free plan, with paid plans from $10/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

Upstash

Free
  • FreeFree
    • 256 MB data
    • 500K commands per month
    • 10 GB bandwidth
  • Pay-as-you-go$0.2
    • Per-request billing
    • Storage at $0.25/GB
    • Unlimited commands
  • Fixed Plan$10/mo
    • 250 MB Redis
    • Predictable pricing
    • Global replication available at higher tiers

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 Upstash if

  • You need serverless redis.
  • You want to start without paying.
  • You work on API, Vercel Edge, Web, AWS Lambda.
  • You also want serverless kafka.

Questions people ask

Is Milvus or Upstash better?
It depends on the job. Milvus fits self hosting a vector database for semantic search; Upstash fits caching. Milvus starts at Free and Upstash at Free.
Which is cheaper, Milvus or Upstash?
Milvus starts at Free and Upstash at Free.
Does Milvus or Upstash run on more platforms?
Milvus runs on Linux, macOS, Windows, Web. Upstash runs on API, Vercel Edge, Web, AWS Lambda.
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 Upstash is typically brought in for.
What can Milvus do that Upstash cannot?
Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search. Upstash covers Serverless Redis, Serverless Kafka, QStash, Global Replication. Both handle Web support.

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
Upstash: Does Upstash have a free tier?

Yes. The free tier provides 256 MB of data and 500,000 commands per month with 10 GB of bandwidth in a single region, no credit card required.

Source
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
Upstash: How does Upstash work with edge platforms like Vercel and Cloudflare Workers?

Upstash uses a REST API instead of TCP connections, enabling it to work from Vercel Edge, Cloudflare Workers, and AWS Lambda without persistent connections or connection pooling.

Source
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
Upstash: What programming languages are supported?

Upstash provides native SDKs for Python, Node.js, Go, and Rust. Java, C#, and PHP developers can use the REST API or community libraries.

Source
Upstash: Is Upstash Kafka still available?

No. Upstash Kafka was deprecated on September 11, 2024 and fully discontinued on March 11, 2025. Upstash Workflow is now recommended for durable serverless messaging and task queuing.

Source
Upstash: How is Upstash pricing structured?

Upstash uses per-request pricing at $0.20 per 100K commands for Redis, $0.25/GB for storage, and $0.40 per 100K requests for Vector database. Idle applications cost nothing.

Source
Upstash: Can Upstash be used with AWS Lambda?

Yes. Upstash works with AWS Lambda via its REST API, eliminating the need for connection pooling and making it ideal for stateless serverless functions.

Source
Share

Related pages

Other head to heads