Google Cloud Functions is a serverless compute service that executes arbitrary code. However, at this time Google Cloud Functions is a beta service that does not work with Python.
Amazon Web Services (AWS) Lambda is currently a good alternative until Google Cloud Functions supports Python.
Serverless Cost Calculator estimates the amount that AWS would charge based on Lambda exeuctions, average execution time and memory needed per execution.
Microsoft Azure Functions vs. Google Cloud Functions vs. AWS Lambda gives an overview of these three serverless cloud platforms and compares their current capabilities.
Searching for a complete, step-by-step deployment walkthrough? Learn more about The Full Stack Python Guide to Deployments book.