Softwr

Cloud · head to head

Google Cloud Run vs Milvus

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
Milvus logo

Milvus

Databases

Open-source vector database for scalable similarity search

From
Free
Free plan
Yes

The short version

  • Milvus is an open-source vector database.
  • Milvus is free; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only Milvus lists multiple index types.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
  • Where Milvus falls short: vector dimensions are capped at 32,768.

How do Google Cloud Run and Milvus differ?

Google Cloud Run and Milvus differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Google Cloud Run and Milvus actually diverge.

Attributes where Google Cloud Run and Milvus differ
AttributeGoogle Cloud RunMilvus
Starting priceOn requestFree
Pricing modelUsage-basedFreemium
Free tierNoYes
PlatformsWebLinux, macOS, Windows, Web
CategoryCloudDatabases

Not yet recorded: founded for Google Cloud Run.

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Run and 14 only for Milvus. 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 Google Cloud Run

  • Deploy any container image
  • Source-based builds for common languages
  • Services with automatic scaling and scale to zero
  • Jobs for scheduled or manual tasks
  • Worker pools for background processing
  • Traffic splitting and rollback between revisions
  • Custom domains and managed TLS
  • Request-based and instance-based billing

Only in Milvus

  • Billion-scale vectors
  • Multiple index types
  • GPU acceleration
  • Hybrid search
  • Data partitioning
  • PyTorch
  • TensorFlow
  • Hugging Face

What is each one used for?

Google Cloud Run is most often brought in for hosting web APIs and microservices; Milvus for self hosting a vector database for semantic search. The jobs each tool is most often brought in to do.

Google Cloud Run

  • Hosting web APIs and microservicesnot Milvus
  • Scheduled batch jobsnot Milvus
  • Queue consumers on worker poolsnot Milvus
  • Deploying containers without managing clustersnot Milvus
  • Event-driven backends with Pub/Subnot Milvus

Milvus

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

Where do Google Cloud Run and Milvus fall short?

Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. Milvus's: vector dimensions are capped at 32,768. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Google Cloud Run

  • Runs only on Google Cloud, so there is no self-hosted option
  • The container file system is in memory and not persistent
  • Worker pools do not autoscale natively and need at least one instance
  • Services are stateless, so state needs external storage

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

How much do Google Cloud Run and Milvus cost?

Milvus is free to use. Plan by plan below, from each vendor's own pricing page.

Google Cloud Run

On request

No published plan breakdown. See the Google Cloud Run review.

Milvus

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

Which should you pick?

Choose Google Cloud Run if

  • You need deploy any container image.
  • You also want source-based builds for common languages.

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.

Questions people ask

Is Google Cloud Run or Milvus better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; Milvus fits self hosting a vector database for semantic search. Google Cloud Run starts at On request and Milvus at Free.
Which is cheaper, Google Cloud Run or Milvus?
Milvus has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for Milvus.
Does Google Cloud Run or Milvus run on more platforms?
Google Cloud Run runs on Web. Milvus runs on Linux, macOS, Windows, Web.
Can I use Milvus for free?
Yes. Milvus has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Google Cloud Run best used for?
Google Cloud Run is most often used for hosting web apis and microservices, scheduled batch jobs, queue consumers on worker pools, deploying containers without managing clusters. Of those, hosting web apis and microservices and scheduled batch jobs are not what Milvus is typically brought in for.
What can Google Cloud Run do that Milvus cannot?
Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks. Milvus covers Billion-scale vectors, Multiple index types, GPU acceleration, Hybrid search.

Answered from the vendors’ own pages

Google Cloud Run: What can Cloud Run run?

Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.

Source
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
Google Cloud Run: How is Cloud Run billed?

Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.

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
Google Cloud Run: Can Cloud Run scale to zero?

Yes. Services scale to zero when idle unless a minimum number of instances is set.

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
Share

Related pages

Other head to heads