Cloud Functions are priced according to how long your function runs, how many times it is invoked and how many resources you provision for the function . If your function makes an outbound network request, there are also additional data transfer fees.