Process Flow - Cloud Functions pricing
Function Triggered
Count Invocations
Measure Execution Time
Calculate Memory Used
Apply Free Tier Credits
Calculate Cost
Bill User
When a cloud function runs, GCP counts how many times it runs, how long it runs, and how much memory it uses. Then it subtracts free usage and calculates the cost.