Softwr

Cloud · head to head

Google Cloud Run vs Valkey

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Valkey is free; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only Valkey lists BSD licensed.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do Google Cloud Run and Valkey differ?

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

Attributes where Google Cloud Run and Valkey differ
AttributeGoogle Cloud RunValkey
Starting priceOn requestFree
Pricing modelUsage-basedOpen source, no licence fee; managed cloud billed separately
Free tierNoYes
PlatformsWebLinux, macOS, Self-hosted
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 4 only for Valkey. 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 Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

Google Cloud Run is most often brought in for hosting web APIs and microservices; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

Google Cloud Run

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

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot Google Cloud Run
  • Caching and session storage where a foundation-governed project is a procurement requirementnot Google Cloud Run
  • Migrating from Redis without rewriting application codenot Google Cloud Run

Where do Google Cloud Run and Valkey fall short?

Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. Valkey's: younger project, so its track record is short even though the codebase is not. 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

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do Google Cloud Run and Valkey cost?

Valkey 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.

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

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

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is Google Cloud Run or Valkey better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Google Cloud Run starts at On request and Valkey at Free.
Which is cheaper, Google Cloud Run or Valkey?
Valkey has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for Valkey.
Does Google Cloud Run or Valkey run on more platforms?
Google Cloud Run runs on Web. Valkey runs on Linux, macOS, Self-hosted.
Can I use Valkey for free?
Yes. Valkey 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 Valkey is typically brought in for.
What can Google Cloud Run do that Valkey 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. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

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
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

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
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

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
Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

Share

Related pages

Other head to heads