Skip to content
ENExplore Calculators

Cloud Run Cost Calculator

Model Cloud Run vCPU-second and GiB-second billing with concurrency, minimum instances and request-based pricing.

About Cloud Run Cost Calculator

Cloud Run bills the lifetime of an instance, not the sum of request durations, so raising concurrency divides the same request-seconds across fewer instance-seconds and cuts cost almost linearly. Instance-based billing removes the per-request charge but bills the full instance lifetime including idle time, which is why the two models are compared side by side here. Concurrency is the single most powerful cost lever on Cloud Run and it is free to change, while minimum instances buy away cold starts with a fixed monthly floor you should size deliberately. Confirm the per-vCPU-second and per-GiB-second prices for your region in the Google Cloud pricing calculator, since tier-2 regions cost more.

Formula

Cloud Run Cost

instance-seconds = requests × duration ÷ concurrency; cost = instance-seconds × (vCPU × vCPU-second price + GiB × GiB-second price) + idle warm seconds × idle rate + requests ÷ 1,000,000 × request price.

concurrency
Requests one instance handles at the same time, up to 1,000
instance-seconds
Wall-clock seconds an instance exists, not the sum of request durations
idle rate
Reduced rate charged to a minimum instance that is warm but not serving
request price
Per-request meter that applies to request-based billing only

Worked example

With the default values below, Cloud Run Cost Calculator returns Monthly Cost of $32.97. Change any input above and every figure here is recalculated in your browser.

Inputs used

Requests per monthaccepts 0–1,000,000 millions
50 millions
Average request durationaccepts 1–3,600,000 ms
250 ms
Concurrent requests per instanceaccepts 1–1,000 requests
80 requests
vCPU per instanceaccepts 0.08–8 vCPU
1 vCPU
Memory per instanceaccepts 0.125–32 GiB
0.5 GiB
Price per vCPU-secondaccepts 0–1 USD/vCPU-s
0.000024 USD/vCPU-s
Price per GiB-secondaccepts 0–1 USD/GiB-s
0.000003 USD/GiB-s
Price per million requestsaccepts 0–100 USD/million
0.4 USD/million
Billing modelone of Request-based (billed only while handling requests), Instance-based (billed for the whole instance lifetime)
Request-based (billed only while handling requests)
Minimum instances kept warmaccepts 0–1,000 instances
1 instances
Idle CPU discount under request billingaccepts 0–100 %
90 %
Hours in the billing monthaccepts 1–744 hours
730 hours
Peak requests per secondaccepts 0–1,000,000 RPS
200 RPS

Results

Monthly Cost
$32.97
Active Serving Charge
$3.95
Warm Idle Charge
$9.02
Request Charge
$20.00
Billable Instance-Seconds
2,628,000 s
Instances Needed at Peak
1 instances
Cost per Million Requests
$0.6593
Saved by Concurrency vs One-at-a-Time
90.2%

Step by step

  1. 1Values used
  2. 2Cloud Run Cost
  3. 3Monthly Cost= 32.97
  4. 4Active Serving Charge= 3.95
  5. 5Warm Idle Charge= 9.02
  6. 6Request Charge= 20.00
  7. 7Billable Instance-Seconds= 2,628,000 s
  8. 8Instances Needed at Peak= 1 instances

Assumptions and limits

  • The result is derived only from the 13 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 4 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is Cloud Run Cost calculated?

instance-seconds = requests × duration ÷ concurrency; cost = instance-seconds × (vCPU × vCPU-second price + GiB × GiB-second price) + idle warm seconds × idle rate + requests ÷ 1,000,000 × request price. Cloud Run bills the lifetime of an instance, not the sum of request durations, so raising concurrency divides the same request-seconds across fewer instance-seconds and cuts cost almost linearly. Instance-based billing removes the per-request charge but bills the full instance lifetime including idle time, which is why the two models are compared side by side here.

Why does Cloud Run Cost matter?

Concurrency is the single most powerful cost lever on Cloud Run and it is free to change, while minimum instances buy away cold starts with a fixed monthly floor you should size deliberately. Confirm the per-vCPU-second and per-GiB-second prices for your region in the Google Cloud pricing calculator, since tier-2 regions cost more.

What values do I need to enter?

This calculator takes 13 inputs: Requests per month, Average request duration, Concurrent requests per instance, vCPU per instance, Memory per instance, Price per vCPU-second, Price per GiB-second, Price per million requests, Billing model, Minimum instances kept warm, Idle CPU discount under request billing, Hours in the billing month, Peak requests per second. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

When is instance-based billing cheaper?

When your container does useful work outside a request — background processing, streaming, or keeping connections open — or when traffic is steady enough that instances never idle. For spiky traffic, request-based billing with a low minimum instance count almost always wins.

Cloud Run Cost Calculator – Calculate Monthly Cost