Cloud Run CPU allocation quota exhausted despite low request traffic and cpuIdle=true

Hi everyone,

I’m experiencing repeated Cloud Run CPU allocation quota exhaustion in a Firebase Cloud Functions 2nd gen project deployed in southamerica-east1.

The problem

Our regional run.googleapis.com/cpu_allocation quota is 20,000. During application testing, utilization reached approximately 93%, and several unrelated functions failed with:

The request failed because the project exceeded its quota limit for run.googleapis.com/cpu_allocation recently.

Some requests were also aborted because no instance was available.

What we investigated

Seven Cloud Run services accounted for approximately 97% of the measured CPU allocation during a six-hour period, despite relatively low application traffic.

For one affected service, the effective configuration is:

  • cpuIdle: true

  • minInstances: 0

  • CPU: 1 vCPU

  • Memory: 256 MiB

  • Concurrency: 80

  • Request timeout: 60 seconds

  • One revision receiving 100% of traffic

During a roughly 31-minute window on October 13, 2026 (02:15–02:46 UTC), we observed:

  • run.googleapis.com/container/billable_instance_time: approximately 120 seconds per minute.

  • run.googleapis.com/container/cpu/allocation_time: similar values.

  • run.googleapis.com/container/instance_count, filtered to state=active: mostly zero, with isolated spikes.

  • run.googleapis.com/request_count: only two completed HTTP requests in the examined period.

We understand that differences in metric aggregation, reporting intervals, instance states, or in-flight requests may explain some of these observations. We have not established that this is a platform bug.

Questions

  1. How should we interpret sustained billable instance time when active instance counts and completed request counts remain low?

  2. Which metrics and aligners are most reliable for determining the actual contributors to regional CPU allocation quota usage?

  3. Could instance startup, shutdown, pending requests, or another documented behavior explain these results?

  4. What would you recommend investigating before requesting a quota increase?

Our priority is to preserve the application’s validated load-handling capacity rather than reduce CPU or concurrency settings without evidence.

Any guidance from the Cloud Run team or community would be greatly appreciated. Thank you!

I ran into something very similar in sa-east1 last year, and a big chunk of our ‘unexplained’ allocation turned out to be cold-start time: instances that failed to start and were immediately replaced still counted their startup seconds toward the quota. cpuIdle=true only zeroes out the idle portion of the container lifecycle, not startup or shutdown, so a crash loop or frequent scale events can quietly eat quota while instance_count looks flat. We caught ours by charting container/instance_count with a max aggregation over one-minute windows instead of the default alignment, and the peaks lined up with our deployments. Worth checking whether that revision had any failing startups in the window.