Google Cloud Function Cost: Pricing and Budget Guide 2026

Costs for Google Cloud Functions vary with usage, including invocations, compute time, and network egress. This guide highlights the typical pricing drivers and provides cost estimates to help budget planning. The price focus is on practical ranges and real-world scenarios.

Item Low Average High Notes
Monthly invocations $0.40 per 1M after free tier $2–$5 per 1M+ after free tier $10+ per 1M at high volume Assumes no sustained heavy traffic beyond free tier
GB-seconds (compute time) $0.0000025 per GB-second $0.000012–0.000025 per GB-second $0.00004+ per GB-second Depends on memory and duration
Outbound data (egress) $0.09 per GB first 1–10 GB $0.12 per GB typical $0.23+ per GB in some regions Regional differences apply
Networking & other $0 $0–$1 $5–$20 Depends on Cloud Run/Function usage mix

Overview Of Costs

Cost components cover invocations, compute time, and network usage. For a typical month, a lightly used function might stay near the free tier, while production workloads with steady traffic incur predictable, per-unit charges. The main cost drivers are function duration, memory allocation, and data egress. The pricing model is designed to scale with usage, making it important to estimate a range rather than a single point.

Cost Breakdown

Table below shows how charges accumulate for Cloud Functions with common assumptions.

Cost Component Low Range Assumptions Average Range Assumptions High Range Assumptions
Invocations $0.40 1M invocations after free $2–$5 2–12M invocations $10+ 25M+ invocations
GB-seconds $0.0000025 128 MB memory, 1s $0.000012–0.000025 256 MB, 2s $0.00004+ 512 MB, 5s+
Outbound data $0.09/GB First 1–5 GB $0.12/GB Typical production $0.23+/GB Regional peak
Other charges $0 Minimal usage $0–$1 Low ancillary services $5–$20 Moderate add-ons

Assumptions: region, specs, labor hours.

What Drives Price

Invocation volume determines the total across-month costs, especially when traffic spikes. Memory allocation and duration per function directly affect GB-seconds, which scales with function complexity. Finally, egress data to external networks and regional pricing differences introduce variability across use cases.

Cost By Region

Regional differences can shift prices by a noticeable margin due to network pricing and data transfer zones. In the U.S., the most common comparisons are Urban, Suburban, and Rural data paths. Expect up to a +/- 10–20% delta between regions for data egress and egress-to-internet charges.

Ways To Save

Architect for reuse by designing a small set of optimized function times and memory profiles. Batch requests or use asynchronous processing to reduce peak invocation counts. Minimize data transfer by co-locating services or using regional endpoints to cut egress costs. Consider keeping idle compute minimal to avoid paying for unnecessary GB-seconds.

Regional Price Differences

Three-region comparison shows how egress and regional pricing can shift costs. Urban areas tend to incur higher data transfer costs than Rural paths when traffic crosses major network hubs. Suburban paths often fall between urban and rural values. In practice, design workloads to minimize cross-region calls where possible to stabilize budgets.

Real-World Pricing Examples

Three scenario cards illustrate typical budgets across common usage patterns.

Basic Scenario

Specs: 128 MB RAM, 1s average duration, 1,000,000 monthly invocations, one regional endpoint. data-formula=”invocations + (GB_seconds)”> Total: roughly $0.40 (invocations) + $0.128 (GB-seconds) = $0.528 plus minor egress. Monthly estimate: $1–$2 after free tier.

Mid-Range Scenario

Specs: 256 MB RAM, 2s average duration, 5,000,000 invocations, moderate egress. Total: $2–$5 for invocations + $0.012–$0.025 per 2s window for GB-seconds, plus $0.60–$1.50 data transfer. Monthly estimate: $15–$60.

Premium Scenario

Specs: 512 MB RAM, 5s average duration, 20,000,000 invocations, high egress. Total: $8–$20 for invocations + $0.015–$0.040 per 5s window for GB-seconds + $2–$5 data transfer. Monthly estimate: $50–$200.

Assumptions: region, specs, labor hours.