Cloud Run functions
New Cloud Run functions on request-based billing include 2 million requests a month with a Cloud Billing account, while first-generation functions have a separate invocation allowance and paid accounts incur overages.
Cloud Run functions, the new name for Google Cloud Functions, runs small pieces of code in response to HTTP requests or events. It is for developers who want Google Cloud to run and scale the code.
By Google CloudComputeChecked ✓ 23 Nov 2026
Is it a fit?
Good fit
Use it to run event-driven code or small HTTP handlers on Google Cloud without managing servers.
- event-driven workloads
- rapid prototyping
- microservices
- automation
Not a fit
Avoid it if you cannot attach a Cloud Billing account to your project, or if you want to run a full container instead of a function.
- no Cloud Billing account
- a full container instead of a function
You deploy a Cloud Run function from the Google Cloud console with the Write a function button, or with the gcloud CLI. Triggers can be HTTP calls or events from services such as Pub/Sub and Cloud Storage. It suits developers who want small event handlers on Google Cloud.
What the free plan gives you
Google's Free Tier page lists Cloud Run functions with 2 million invocations per month, covering both background and HTTP calls. It also lists 400,000 GB-seconds and 200,000 GHz-seconds of compute time, plus 5 GB of outbound data transfer per month. The same page links this entry to the 1st gen pricing page.
New functions run on Cloud Run. Cloud Run's own free tier for request-based billing is 2 million requests, 360,000 GiB-seconds of memory, and 180,000 vCPU-seconds of compute, based on us-central1 pricing. It also gives 1 GiB of free data transfer within North America. The Free Tier has no end date, and it is calculated per billing account.
When you hit a limit
Nothing stops your function at the free amounts. Google says usage above the Free Tier limits is billed at standard rates on a Paid billing account. On a Free Trial billing account, your $300 welcome credit pays for the overage, and the trial closes when the credit runs out or 90 days pass unless you upgrade.
You need a Cloud Billing account to use any Free Tier product. Google can also change or remove Free Tier limits with 30 days of advance notice.
Gotchas
- Free Tier limits are per billing account, not per project. All your projects share one allowance.
- The numbers differ between Cloud Run functions (1st gen) and Cloud Run. Check which one your function uses before you plan around a limit.
- Cloud Build, Artifact Registry, and Eventarc event delivery are billed separately from Cloud Run execution. A function can incur deployment or event costs while its execution remains within the free tier. The quickstart asks you to verify that billing is enabled and to enable the Artifact Registry, Cloud Build, Cloud Run Admin API, and Cloud Logging APIs.
Alternatives in this atlas
- Cloud Run: when you want to run a full container, not just a function.
- Firebase Cloud Functions: when your app already uses Firebase.
- Cloudflare Workers: when you want a free plan that does not need a billing account.
Questions people ask
Is Cloud Run functions free?
New functions use Cloud Run pricing with 2 million requests, 360,000 GiB-seconds of memory, and 180,000 vCPU-seconds included each month under request-based billing. The first-generation allowance uses different memory and CPU units, and paid billing accounts incur charges past the applicable allowance.
Does Cloud Run functions need a credit card?
You need a Cloud Billing account to use the Free Tier. Eligible new customers can start with $300 in trial credit and need a credit card or another valid payment method.
What happens when I go over the Cloud Run functions free tier?
Google bills the overage at standard rates on a Paid billing account. On a Free Trial account, the $300 welcome credit pays for it.
How to get started
- Sign in to Google Cloud; new customers also get $300 in free credits.
- Select or create a Google Cloud project and verify that billing is enabled.
- Enable the Artifact Registry, Cloud Build, Cloud Run Admin API, and Cloud Logging APIs, and give the Cloud Build service account the Cloud Run Builder role.
- In the Cloud Run page of the console, click Write a function, enter a service name, pick a region and runtime, and allow public access.
- Click Create, then Save and redeploy on the Source tab, and open the URL shown after deployment.
Other free compute options
Same category, safest first.