Softwr

Databases · head to head

Firestore vs Google Cloud Run

Firestore logo

Firestore

Databases

Flexible, scalable NoSQL cloud database from Firebase

From
Free
Free plan
Yes
Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No

The short version

  • Firestore is free; Google Cloud Run prices on request.
  • Only Firestore lists document Model; only Google Cloud Run lists deploy any container image.
  • Where Firestore falls short: the no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Firestore and Google Cloud Run differ?

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

Attributes where Firestore and Google Cloud Run differ
AttributeFirestoreGoogle Cloud Run
Starting priceFreeOn request
Pricing modelFreemiumUsage-based
Free tierYesNo
PlatformsWeb, iOS, Android, FlutterWeb
CategoryDatabasesCloud

Not yet recorded: founded for Google Cloud Run.

Which features does each one have?

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

  • Document Model
  • Real-time Updates
  • Offline Support
  • ACID Transactions
  • Expressive Queries
  • Multi-region
  • Security Rules
  • Firebase Auth

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

What is each one used for?

Firestore is most often brought in for storing structured application data with realtime listeners; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Firestore

  • Storing structured application data with realtime listenersnot Google Cloud Run
  • Backing mobile and web apps with a serverless document databasenot Google Cloud Run
  • Building offline first apps that sync when connectivity returnsnot Google Cloud Run

Google Cloud Run

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

Where do Firestore and Google Cloud Run fall short?

Firestore's most cited limit: the no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day. Google Cloud Run's: runs only on Google Cloud, so there is no self-hosted option. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Firestore

  • The no-cost Spark plan caps Standard edition at 50,000 document reads, 20,000 writes and 20,000 deletes per day
  • The Spark plan caps storage at 1 GiB and network egress at 10 GiB per month
  • Charging is per document read, so a query returning many documents bills for every one of them
  • Going beyond the free thresholds requires the pay as you go Blaze plan billed at Google Cloud rates with no fixed monthly ceiling

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

How much do Firestore and Google Cloud Run cost?

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

Firestore

Free
  • SparkFree
    • 1GB storage
    • 50K reads/day
    • 20K writes/day
  • BlazeFree
    • Pay as you go
    • Unlimited operations
    • Multi-region

Google Cloud Run

On request

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

Which should you pick?

Choose Firestore if

  • You need document model.
  • You want to start without paying.
  • You work on Web, iOS, Android, Flutter.
  • You also want real-time updates.

Choose Google Cloud Run if

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

Questions people ask

Is Firestore or Google Cloud Run better?
It depends on the job. Firestore fits storing structured application data with realtime listeners; Google Cloud Run fits hosting web APIs and microservices. Firestore starts at Free and Google Cloud Run at On request.
Which is cheaper, Firestore or Google Cloud Run?
Firestore has a free tier; the other does not. Paid plans start at Free for Firestore and On request for Google Cloud Run.
Does Firestore or Google Cloud Run run on more platforms?
Firestore runs on Web, iOS, Android, Flutter. Google Cloud Run runs on Web.
Can I use Firestore for free?
Yes. Firestore has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Firestore best used for?
Firestore is most often used for storing structured application data with realtime listeners, backing mobile and web apps with a serverless document database, building offline first apps that sync when connectivity returns. Of those, storing structured application data with realtime listeners and backing mobile and web apps with a serverless document database are not what Google Cloud Run is typically brought in for.
What can Firestore do that Google Cloud Run cannot?
Firestore covers Document Model, Real-time Updates, Offline Support, ACID Transactions. 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.

Answered from the vendors’ own pages

Firestore: What are the free limits on Cloud Firestore?

The Spark Plan includes 1 GiB of stored data, 50,000 reads per day, 20,000 writes per day, and 20,000 deletes per day at no cost.

Source
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
Firestore: What happens when I exceed the Spark Plan free tier?

Exceeding the free tier requires upgrading to the Blaze Plan, which bills based on actual usage through Google Cloud pricing. Charges apply for reads, writes, deletes, and data storage.

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
Firestore: Can I use Firestore without a credit card?

Yes, you can use the Spark Plan indefinitely without a credit card. To use the Blaze Plan (pay-as-you-go), a credit card is required.

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
Firestore: Is there a trial period for Cloud Firestore?

No trial period is specified. The Spark Plan free tier serves as the trial, with no time limit.

Source
Share

Related pages

Other head to heads