Compute flexible committed use discounts (flexible CUDs) and committed use discounts (CUDs) for Cloud Run provide deeply discounted prices in exchange for committing to continuously use Cloud Run for a specified term.
Depending on your usage requirements, you can purchase commitments for Cloud Run resources in any of the following ways:
Compute flexible committed use discounts (flexible CUDs) | Committed use discounts (CUDs) | |
---|---|---|
Use case | You have predictable spend on any of the following products:
|
You have predictable spend on Cloud Run services that have CPU only allocated during request processing. |
Resources in Cloud Run | Cloud Run services with CPU always allocated, and Cloud Run jobs. | All Cloud Run services and Cloud Run jobs. |
Region | Applies to any region and any project in a Cloud Billing account. | Applies to all projects within a specific region in a Cloud Billing account. |
Discount |
|
17% discount off on-demand pricing for a one-year commitment. |
You can purchase commitments from any Cloud Billing account, and the discount applies to any eligible usage in projects paid for by that Cloud Billing account:
- Any usage overage after you exhaust all your commitments is charged at the on-demand rate.
- When you purchase Cloud Run committed use discounts, you pay the same commitment fee for the entirety of the commitment term, even if the pric of applicable usage changes.
- You still receive the same discount percentage on applicable usage in the event of a price change.
- The commitment fee is billed monthly.
For more information about your bill, see Analyze the effectiveness of your spend-based committed use discounts.
Order of discount application
Google Cloud first applies and exhausts discounts on your CUD commitments, and any eligible usage not covered by the existing CUD commitments becomes eligible for new flexible CUDs.
Purchase commitments
You can purchase commitments only at a Cloud Billing account level. For more information about how to purchase a commitment, see Purchasing spend-based commitments.
Before you purchase a commitment, read the Service Specific Terms.
After you purchase a commitment, you can't cancel it. For more information, see Cancelling commitments.
Flexible CUDs
Flexible CUDs add flexibility to your spending capabilities by eliminating the need to restrict your commitments to a single project, or region. Flexible CUDs are applicable to Cloud Run services with CPU always allocated or jobs.
Pricing
When you purchase a flexible commitment for your Cloud Billing account, you commit to a minimum amount of hourly spend on Cloud Run services with CPU always allocated or jobs for a 1-year or 3-year term. You do this by committing to spend on resources that are worth a specified minimum amount of on-demand price, every hour, throughout the commitment term. In return for committing to an hourly spend amount, you receive the following discounts:
- A 28% discount off on-demand pricing for a one-year commitment.
- A 46% discount off on-demand pricing for a three-year commitment.
The commitment that you purchase becomes active within the first hour of its purchase. The discounted hourly spend amount becomes your commitment fee and you are billed this fee monthly. Your commitment fee remains your minimum hourly expenditure throughout the commitment term and you have to pay it even if you don't use resources whose on-demand prices total up to your committed hourly spend. If you use any additional resources that take your hourly spend amount beyond your committed hourly spend amount, then the overage usage is not covered by flexible CUDs.
Your commitment fee remains the same even if the on-demand prices for your resources change during your commitment term. You can purchase Cloud Run flexible commitments only at a Cloud Billing account level.
Calculate hourly on-demand commitment
You calculate the baseline per hour cost of CPU always allocated services and jobs in the region you want to benefit from a flexible committed use discount. Any usage beyond that limit will be charged at the regular on-demand price.
Once you make the commitment, you're charged that amount even if you decide to stop or scale down your Cloud Run usage during the rest of the commitment period.
Example
You commit to spend $1 per hour on Cloud Run for 3 years in
us-central1
across all projects.You are charged a minimum of
$1 * 54%
= $0.54 per hour for 3 years, independently from actual usage.If, in a given hour, Cloud Run usage in
us-central1
before the discount is $1.50, then you pay only1 * 54% + (1.50 - 1) = $1.04
.
Limitations
The following limitations apply to flexible CUDs:
Cloud Run flexible CUDs only apply to all Cloud Run services with CPU always allocated, or jobs.
Cloud Run flexible CUDs don't apply to networking charges.
Committed use discounts
Cloud Run committed use discounts automatically apply to all aggregated Cloud Run CPU, memory, and request usage in a region.
Pricing
Cloud Run committed use discounts give you a 17% discount off on-demand pricing for a one-year commitment. When purchasing a CUD in the Google Cloud console, you are presented with the option of a 1 or a 3 year term. Choosing a three year term instead of a 1 year term doesn't change the discount rate, but is equivalent to purchasing a bundle of three 1 year terms in a single transaction to be served sequentially.
This discount percentage is the same in every region.
See the Cloud Run pricing tables for CUD (committed use discount pricing) pricing details.
Calculate hourly on-demand commitment
You calculate the baseline per hour cost of CPU + Memory + requests across all services in the region you want to benefit from a committed use discount. Any usage above that limit will be charged at the regular on-demand price.
Once you make the commitment, you're charged that amount even if you decide to stop or scale down your Cloud Run usage during the rest of the commitment period.
Example
You commit to spend $1 per hour on Cloud Run for one year in
us-central1
across all projects.You are charged a minimum of
$1 * 83%
= $0.83 per hour for the whole year, independently from actual usage.If, in a given hour, Cloud Run usage in
us-central1
before the discount is $1.50, then you pay only1 * 83% + (1.50 - 1) = $1.33
.
Limitations
The following limitations apply to resource-based CUDs:
- Cloud Run committed use discounts only apply to CPU, memory and request counts.
- Cloud Run committed use discounts don't apply to networking charges.
- Cloud Run committed use discounts apply to all Cloud Run resources in a given region across all projects of the Cloud Billing account.
- Cloud Run committed use discounts are measured in dollars per hourly on-demand commitment.
- CUD recommendations don't apply to Cloud Run.
- If you have any active commitments, then the
FinOps hub and CUD analysis graphs show accurate data
only when your eligible spend is limited to Cloud Run. If your
eligible spend also spans other services, then you won't see accurate data for Cloud Run on these dashboards.