Softwr

File Storage · head to head

Cloudflare R2 vs Google Cloud Run

Cloudflare R2 logo

Cloudflare R2

File Storage

S3-compatible object storage that charges nothing for egress to the internet

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

  • Cloudflare R2 starts at $0.015/mo; Google Cloud Run prices on request.
  • Only Cloudflare R2 lists S3 API compatibility; only Google Cloud Run lists deploy any container image.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Cloudflare R2 and Google Cloud Run differ?

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

Attributes where Cloudflare R2 and Google Cloud Run differ
AttributeCloudflare R2Google Cloud Run
Starting priceFreeOn request
Pricing modelPer gigabyte stored per monthUsage-based
Free tierYesNo
PlatformsWeb, APIWeb
CategoryFile StorageCloud

Which features does each one have?

They share no listed features; 6 appear only for Cloudflare R2 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 Cloudflare R2

  • Zero egress billing
  • S3 API compatibility
  • Worker binding
  • Jurisdictional restriction
  • Infrequent Access tier
  • Custom domain serving

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?

Google Cloud Run is most often brought in for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Cloudflare R2

  • Serving a large media or asset library to the public where transfer out, not storage, is the dominant costnot Google Cloud Run
  • Hosting a container or artefact registry that thousands of CI runners pull from every daynot Google Cloud Run
  • Distributing model weights or open datasets that are downloaded far more often than they are updatednot Google Cloud Run
  • Moving off S3 specifically to stop paying data transfer charges on a read heavy bucketnot Google Cloud Run

Google Cloud Run

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

Where do Cloudflare R2 and Google Cloud Run fall short?

Google Cloud Run's most cited limit: 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.

Cloudflare R2

  • There is no archive tier below Infrequent Access, so genuinely cold data costs roughly ten to fifteen times what it would cost in a deep archive class and there is nowhere cheaper to lifecycle it to
  • Class A operations are billed at 4.50 USD per million, so a workload that writes millions of small objects can spend more on operations than on the storage those objects occupy
  • Infrequent Access carries both a retrieval fee and a thirty day minimum storage duration, so data that is deleted or re-read sooner ends up more expensive than if it had stayed on Standard
  • You choose a location hint rather than a region, so you cannot prove to an auditor which datacentre holds an object unless you use a jurisdiction restricted bucket, and jurisdictions are limited
  • Support level follows your Cloudflare account plan rather than the storage spend, so a team on a low tier account gets ticket support with no storage specific SLA, and an R2 incident is a Cloudflare incident you cannot fail over from because the free egress only exists inside Cloudflare

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 Cloudflare R2 and Google Cloud Run cost?

Cloudflare R2 has a free plan, with paid plans from $0.015/mo. Plan by plan below, from each vendor's own pricing page.

Cloudflare R2

Free
  • Free tierFree
    • 10 GB stored per month
    • 1 million Class A operations
    • 10 million Class B operations
  • Standard$0.015/mo
    • Per gigabyte stored per month
    • 4.50 USD per million Class A operations
    • 0.36 USD per million Class B operations
  • Infrequent Access$0.01/mo
    • Per gigabyte stored per month
    • Per gigabyte data retrieval fee
    • Thirty day minimum storage duration

Google Cloud Run

On request

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

Which should you pick?

Choose Cloudflare R2 if

  • You need zero egress billing.
  • You want to start without paying.
  • You work on Web, API.
  • You also want s3 api compatibility.

Choose Google Cloud Run if

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

Questions people ask

Is Cloudflare R2 or Google Cloud Run better?
It depends on the job. Cloudflare R2 fits serving a large media or asset library to the public where transfer out, not storage, is the dominant cost; Google Cloud Run fits hosting web APIs and microservices. Cloudflare R2 starts at Free and Google Cloud Run at On request.
Which is cheaper, Cloudflare R2 or Google Cloud Run?
Cloudflare R2 has a free tier; the other does not. Paid plans start at Free for Cloudflare R2 and On request for Google Cloud Run.
Does Cloudflare R2 or Google Cloud Run run on more platforms?
Cloudflare R2 runs on Web, API. Google Cloud Run runs on Web.
Can I use Cloudflare R2 for free?
Yes. Cloudflare R2 has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Cloudflare R2 best used for?
Cloudflare R2 is most often used for serving a large media or asset library to the public where transfer out, not storage, is the dominant cost, hosting a container or artefact registry that thousands of ci runners pull from every day, distributing model weights or open datasets that are downloaded far more often than they are updated, moving off s3 specifically to stop paying data transfer charges on a read heavy bucket. Of those, serving a large media or asset library to the public where transfer out, not storage, is the dominant cost and hosting a container or artefact registry that thousands of ci runners pull from every day are not what Google Cloud Run is typically brought in for.
What can Cloudflare R2 do that Google Cloud Run cannot?
Cloudflare R2 covers Zero egress billing, S3 API compatibility, Worker binding, Jurisdictional restriction. 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

Cloudflare R2: Is egress really free, with no hidden transfer charge?

Yes for data served out of R2 to the internet. You still pay per operation for the requests that serve it, and if you pull data into R2 from another provider you pay that provider the egress on the way in.

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
Cloudflare R2: How does the total cost compare with S3 for a public download bucket?

Storage is more expensive per terabyte than S3 Infrequent Access, but S3 charges roughly 90 USD per terabyte served. Any bucket that serves more than about a fifth of its stored volume each month is cheaper on R2.

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
Cloudflare R2: Can I use R2 without using the rest of Cloudflare?

Yes, it works through the plain S3 API from anywhere. You lose the Worker binding and the free CDN caching in front of it, which is where a lot of the practical benefit sits.

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
Cloudflare R2: Does R2 have a cold archive class like Glacier?

No. Infrequent Access is the coldest tier, at two thirds of the Standard rate plus retrieval fees.

Share

Related pages

Other head to heads