Softwr

Web Development · head to head

Cloudflare Pages vs Google Cloud Run

Cloudflare Pages logo

Cloudflare Pages

Web Development

Git-connected hosting for static sites and full-stack frontends on Cloudflare's network

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 Pages is free; Google Cloud Run prices on request.
  • Only Cloudflare Pages lists direct Upload of prebuilt assets; only Google Cloud Run lists deploy any container image.
  • Where Cloudflare Pages falls short: cloudflare recommends Workers for new projects, so Pages is in maintenance mode.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Cloudflare Pages and Google Cloud Run differ?

Cloudflare Pages 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 Cloudflare Pages and Google Cloud Run actually diverge.

Attributes where Cloudflare Pages and Google Cloud Run differ
AttributeCloudflare PagesGoogle Cloud Run
Starting priceFreeOn request
Pricing modelFreemiumUsage-based
Free tierYesNo
CategoryWeb DevelopmentCloud

Identical on both: platforms (Web).

Which features does each one have?

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

  • Git-connected builds and deploys
  • Direct Upload of prebuilt assets
  • Pages Functions for server-side code
  • Preview deployments
  • Instant rollbacks
  • Custom domains
  • Unlimited sites, seats, requests and bandwidth
  • Framework guides for Next.js and others

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?

Cloudflare Pages is most often brought in for hosting static sites with unlimited bandwidth; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Cloudflare Pages

  • Hosting static sites with unlimited bandwidthnot Google Cloud Run
  • Deploying frontend frameworks from GitHubnot Google Cloud Run
  • Sharing preview links with designersnot Google Cloud Run
  • Adding light server-side logic with Functionsnot Google Cloud Run
  • Running documentation or marketing sites cheaplynot Google Cloud Run

Google Cloud Run

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

Where do Cloudflare Pages and Google Cloud Run fall short?

Cloudflare Pages's most cited limit: cloudflare recommends Workers for new projects, so Pages is in maintenance mode. 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.

Cloudflare Pages

  • Cloudflare recommends Workers for new projects, so Pages is in maintenance mode
  • Free plan caps at 500 builds a month and 20,000 files
  • A single asset is limited to 25 MiB per file
  • Deployments older than 30 days are deleted unless recent

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

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

Cloudflare Pages

Free

No published plan breakdown. See the Cloudflare Pages review.

Google Cloud Run

On request

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

Which should you pick?

Choose Cloudflare Pages if

  • You need git-connected builds and deploys.
  • You want to start without paying.
  • You also want direct upload of prebuilt assets.

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 Pages or Google Cloud Run better?
It depends on the job. Cloudflare Pages fits hosting static sites with unlimited bandwidth; Google Cloud Run fits hosting web APIs and microservices. Cloudflare Pages starts at Free and Google Cloud Run at On request.
Which is cheaper, Cloudflare Pages or Google Cloud Run?
Cloudflare Pages has a free tier; the other does not. Paid plans start at Free for Cloudflare Pages and On request for Google Cloud Run.
Does Cloudflare Pages or Google Cloud Run run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Cloudflare Pages for free?
Yes. Cloudflare Pages has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Cloudflare Pages best used for?
Cloudflare Pages is most often used for hosting static sites with unlimited bandwidth, deploying frontend frameworks from github, sharing preview links with designers, adding light server-side logic with functions. Of those, hosting static sites with unlimited bandwidth and deploying frontend frameworks from github are not what Google Cloud Run is typically brought in for.
What can Cloudflare Pages do that Google Cloud Run cannot?
Cloudflare Pages covers Git-connected builds and deploys, Direct Upload of prebuilt assets, Pages Functions for server-side code, Preview deployments. 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 Pages: Is Cloudflare Pages free?

Yes, there is a Free plan with 500 builds a month, and the vendor says all plans include unlimited sites, seats, requests and bandwidth.

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
Cloudflare Pages: Should I start a new project on Pages?

Cloudflare's documentation says new static sites and full-stack apps should start with Cloudflare Workers.

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
Cloudflare Pages: What are the file limits?

Sites can contain up to 20,000 files on the Free plan, and a single asset can be up to 25 MiB.

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
Cloudflare Pages: How do I deploy to Pages?

Connect a Git provider, upload prebuilt assets with Direct Upload, or use the C3 command line tool.

Source
Share

Related pages

Other head to heads