Pay only for what you use

Customer-friendly pricing

Pricing components
You are charged based on the number of requests to your functions and compute resources consumption, billed to the nearest 100 milliseconds only while your code is running.
Compute configurations
While deploying Cloud Functions, you only have to specify the amount of memory your function needs and CPU resource is allocated proportionally. Cloud Functions can be provisioned as one of the following types.
128 MB
200 MHz
256 MB
400 MHz
512 MB
800 MHz
1 GB
1.4 GHz
2 GB
2.4 GHz
Testing
Small simple functions
Functions with moderate resource needs
Balance of speed and cost
Compute-intensive tasks
Free usage tier
You can leverage the Cloud Functions free tier to experiment with the platform at no charge. The free tier includes 400,000 GB-seconds, 200,000 GHz-seconds of compute time.
2 Million Up to 1 Million 5 Gigabytes
free invocations per month seconds of free compute per month free Internet egress traffic per month
Pricing Examples
Pricing Calculator

Trial project

$0
per month
  • 256MB memory (400MHz CPU) provisioned
  • 1 million invocations per month
  • 300 ms runtime per invocation
  • No billable networking/egress (only uses Google APIs)
Metric Units Free Tier Billable Units Unit Price Total Price
Invocations 1,000,000 2,000,000 0 $0.0000004 $0.00
GB-seconds 75,000 400,000 0 $0.0000025 $0.00
GHz-seconds 120,000 200,000 0 $0.0000100 $0.00
Networking 0 5 0 $0.12 $0.00
Total/Month $0.00

Simple function

$14
per month
  • 256MB memory (400MHz CPU) provisioned
  • 10 million invocations per month
  • 300 ms runtime per invocation
  • No billable networking/egress (only uses Google APIs)
Metric Units Free Tier Billable Units Unit Price Total Price
Invocations 10,000,000 2,000,000 8,000,000 $0.0000004 $3.20
GB-seconds 750,000 400,000 350,000 $0.0000025 $0.88
GHz-seconds 1,200,000 200,000 1,000,000 $0.0000100 $10.00
Networking 0 5 0 $0.12 $0.00
Total/Month $14.08

Higher-volume function

$164
per month
  • 512MB memory (800MHz CPU) provisioned
  • 30 million invocations per month
  • 500 ms runtime per invocation
  • 5KB data sent back to the caller per invocation (HTTP invocation)
Metric Units Free Tier Billable Units Unit Price Total Price
Invocations 30,000,000 2,000,000 28,000,000 $0.0000004 $11.20
GB-seconds 7,500,000 400,000 7,100,000 $0.0000025 $17.75
GHz-seconds 12,000,000 200,000 11,800,000 $0.0000100 $118.00
Networking 143.05 5 138.05 $0.12 $16.57
Total/Month $163.52