Cloud Run Cost Calculator
Model Cloud Run vCPU-second and GiB-second billing with concurrency, minimum instances and request-based pricing.
Inputs
Cloud Run allows up to 1,000 concurrent requests per instance; the default is 80.
Minimum instances remove cold starts but are billed even when idle.
Idle minimum instances are billed at a reduced CPU rate.
Monthly Cost
$32.97
Active Serving Charge
$3.95
Warm Idle Charge
$9.02
Request Charge
$20.00
Billable Instance-Seconds
2,628,000s
Instances Needed at Peak
1instances
Cost per Million Requests
$0.6593
Saved by Concurrency vs One-at-a-Time
90.2%
Step by step
Values used
Requests per month = 50 millions; Average request duration = 250 ms; Concurrent requests per instance = 80 requests; vCPU per instance = 1 vCPU; Memory per instance = 0.5000 GiB; Price per vCPU-second = 0.0000 USD/vCPU-s; Price per GiB-second = 0.0000 USD/GiB-s; Price per million requests = 0.4000 USD/million; Billing model = Request-based (billed only while handling requests); Minimum instances kept warm = 1 instances; Idle CPU discount under request billing = 90 %; Hours in the billing month = 730 hours; Peak requests per second = 200 RPS
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.
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
How it works
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
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.
You might also need
- Cloud Build Cost CalculatorCommonly used together
- Cloud Functions Cost CalculatorCommonly used together
- Cloud Monitoring Cost CalculatorCommonly used together
- Cloud Scheduler Cost CalculatorCommonly used together
- Pub/Sub Cost CalculatorCommonly used together
- Vertex AI Cost CalculatorCommonly used together