HomeBlogComparison

Google Cloud Run vs AWS Lambda: 3 Ways a Container Service and a Function Service Bill and Behave Differently

A friendly white robot with a black visor assembles a three tier stack of cloud blocks in a bright engineering lab

Google Cloud Run runs a container you build and lets one instance serve many requests at once; AWS Lambda runs a function and bills each run on its own. That can make Cloud Run cheaper for a busy web API whose requests overlap while they wait on databases, and Lambda the easier fit for event handlers such as "a file arrived, process it" where runs do not overlap. For a small business the tiebreaker is usually which cloud already holds your data.

The workbook phrase "aws lambda vs google cloud functions" points to the same choice: Google's functions product is now Cloud Run functions and runs on Cloud Run.

Which requirement changes the decision between Cloud Run and Lambda?

Three requirements decide it: whether requests overlap, how long a single request can run, and how you want to package the code. Figures below were read from Google's and AWS's pages on December 2, 2026; prices are list prices from Google's Cloud Run pricing page for Tier 1 regions such as Iowa (us-central1) and AWS's Lambda pricing page for US East (N. Virginia), x86, as of December 2026.

Google Cloud Run (services and functions)AWS Lambda
What you deployA container image, or source code that Google builds into oneFunction code as a .zip package or a container image
Requests per instanceMany: up to 1,000 concurrent requests per function instanceBilled per invocation; each instance of an execution environment can serve up to 10 synchronous requests per second
Longest request5 minutes by default, up to 60 minutesUp to 30 minutes (1,800 seconds)
Billed timeInstance time from the start of the first request to the end of the last, rounded up to 100 msDuration of each invocation
Price (request-based billing)$0.000024 per vCPU-second, $0.0000025 per GiB-second, $0.40 per million requests$0.0000166667 per GB-second (x86), $0.20 per million requests
Free monthly allowance180,000 vCPU-seconds, 360,000 GiB-seconds, 2 million requests400,000 GB-seconds, 1 million requests

1. Overlapping requests share one bill on Cloud Run

Google's Cloud Run pricing page says that with concurrency above one, multiple requests share the CPU and memory of an instance, and that billable instance time runs from the start of the first request to the end of the last. If five requests are in flight on one instance for a second, you pay for one second of that instance. Lambda's pricing bills the duration of each invocation, so five overlapping requests are five durations.

This favors Cloud Run for APIs and web back ends that spend most of each request waiting on a database or another service. It makes no difference for jobs where requests rarely overlap.

2. Time limits: 60 minutes against 30

Cloud Run's request timeout defaults to 5 minutes and can be raised to 60. Lambda's quotas allow 30 minutes per invocation. Both are long enough for most business automations; a monthly report that takes 45 minutes fits Cloud Run as one request and needs to be split on Lambda.

3. A container you own against a function the platform wraps

With Cloud Run you hand Google a container, so anything that runs in a Linux container runs there, including a small existing web application. Lambda accepts container images too, but the code still has to follow the Lambda invocation model. If you are moving an existing app rather than writing new event handlers, Cloud Run usually needs less rework. Google's functions comparison also notes traffic splitting between revisions, which makes a staged rollback straightforward.

A priced example: one business API

Illustrative assumptions: 3 million requests a month, 200 milliseconds each, 512 MB of memory, and on Cloud Run 1 vCPU per instance. List prices as of December 2026.

ScenarioCloud RunLambda
Requests after free allowance1 million × $0.40 = $0.402 million × $0.20 = $0.40
Compute when no requests overlap600,000 vCPU-seconds minus 180,000 free = 420,000 × $0.000024 = $10.08; memory 300,000 GiB-seconds, within the free 360,000300,000 GB-seconds, within the free 400,000 = $0
Month when no requests overlap$10.48$0.40
Month if about five requests overlap per instanceAbout 120,000 vCPU-seconds, inside the free tier: about $0.40Unchanged: $0.40

At this size both are close to free, and the comparison shows the mechanism rather than a winner: Cloud Run's cost falls as overlap rises, Lambda's does not change. At ten times the traffic the same arithmetic scales, so measure how many requests are actually in flight before you assume either case. Note too that Cloud Run charges for container builds and image storage under Cloud Build and Artifact Registry, which its pricing page lists separately.

Service limits and recovery to check before you commit

  • Payload size. Lambda caps synchronous requests and responses at 6 MB each. If users upload large files through the API, send them to object storage first on either platform.
  • Concurrency limits. Lambda starts new accounts with reduced quotas and a default of 1,000 concurrent executions per Region; AWS raises them with usage or on request.
  • Warm capacity. Cloud Run bills a lower idle rate for minimum instances you keep warm; Lambda sells Provisioned Concurrency at $0.0000041667 per GB-second, outside the free tier.
  • Recovery. Keep the container definition or function code in source control with its configuration, and rehearse deploying it to a second region. Neither service backs up the database your API writes to.

Which to choose

Choose Cloud Run if your data and staff are already in Google Cloud or Google Workspace, or if you are lifting an existing web app in a container. Choose Lambda if your other systems are on AWS or the work is a set of event handlers. For containers that stay busy all day, see AWS Fargate vs Google Cloud Run or AWS Fargate vs Azure Kubernetes Service; for the Microsoft functions side see AWS Lambda vs Azure Functions. If the broader platform question is still open, start with AWS vs Google Cloud for business.

NetSys provides AWS consulting, including sizing serverless workloads against their limits before launch. To have yours reviewed, Scope my AWS workload.

More on this topic: AWS operations guides.

Frequently asked questions

Is Google Cloud Functions the same as Cloud Run?

Google now calls it Cloud Run functions. Google's documentation says these functions were formerly Cloud Functions (2nd gen) and are deployed as services on Cloud Run, billed at Cloud Run rates. The first generation remains available with its own pricing and a 9 minute limit.

How does AWS Lambda vs Google Cloud Functions pricing compare?

Lambda charges $0.20 per million requests and $0.0000166667 per GB-second (x86). Cloud Run functions charge $0.40 per million requests plus vCPU-seconds and GiB-seconds of instance time, with requests that overlap on one instance sharing that time. Low-volume workloads fit inside both free allowances.

Can Cloud Run scale to zero like Lambda?

Yes. With request-based billing Cloud Run charges for an instance only while it is starting, shutting down or handling a request, unless you set minimum instances, which are billed at an idle rate.

Which has the longer time limit, Cloud Run or Lambda?

Cloud Run allows a request to run up to 60 minutes; Lambda allows an invocation up to 30 minutes, as of December 2026.

Sources

Read on December 2, 2026:

AWS Consulting for Business

Discuss AWS Consulting for Business for your business.

Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.

Explore AWS Consulting for Business 845-203-3914