Requests vs compute
Short, light functions are request-bound, long or memory-heavy ones flip to compute-bound.
Home / Dev & AI / Cloud Cost / Google Cloud Functions Cost Calculator
Cloud Cost
Estimate your Cloud Functions bill. Enter invocations, memory and duration, and see invocation and compute costs with the free tier applied and a growth projection.
Estimated monthly cost
$0
Requests vs compute
Short, light functions are request-bound, long or memory-heavy ones flip to compute-bound.
Cost as invocations grow
Projected monthly spend at 2x, 5x and 10x volume.
Google Cloud Functions runs single purpose functions in response to events or HTTP calls, with no servers to manage. Like other serverless platforms it bills on invocations plus compute, where compute is memory and CPU time measured while the function runs. The free tier covers two million invocations and 400,000 GB-seconds each month.
This Cloud Functions cost calculator computes GB-seconds from your memory and duration, applies the invocation and compute rates, and subtracts the free tier. Functions are ideal for event driven glue work, and this tool shows when that stays cheap and when high volume tips it into meaningful spend.
For 5,000,000 invocations at 300 ms and 256 MB, GB-seconds is 5,000,000 × 0.3 × 0.25 = 375,000. After the free tier, invocations cost 3 × $0.40 = $1.20 and compute is nearly free, for about $1.20 a month.
By invocations at about $0.40 per million plus compute in GB-seconds, with a free tier of 2 million invocations and 400,000 GB-seconds monthly. Enter your usage above.
Cloud Functions targets small event driven functions, while Cloud Run runs full containers with more control. Pricing is similar, but Cloud Run suits larger or long lived services.
Yes, GB-seconds scale with memory. But more memory can shorten duration, so the net effect depends on your workload.
For low to moderate, spiky, event driven workloads where scaling to zero avoids paying for idle capacity.
They are July 2026 estimates. Confirm current pricing on the Google Cloud pricing page for your region.