1
votes

I created a new GCP Project, and created a hello-world serverless cloud function from GCP Console.

I immediately get a mail that a Firebase project has been created as well, and my Cloud Function has been upgraded to 'Blaze' plan of firebase.

My question is, which pricing model should I refer?

https://cloud.google.com/functions/pricing - GCP

OR

https://firebase.google.com/pricing - Firebase

There is a difference in both pricing, where if you see in firebase pricing, 125K invocations/month are free, while in GCP Pricing, 2M invocations/month are free.

I am confused on which pricing is applicable if I simply want to use Cloud Functions, because even if I create a function from GCP Console, firebase console also shows the function in its console.

1

1 Answers

2
votes

You're misunderstanding the Firebase pricing page. The 125K/month refers to the Spark plan in the left most column, all of which is completely free for the month. If your plan is Blaze, you would use the right most column to assess cost. That column doesn't show the free allowance, just the actual costs beyond the free limit. If you hover your mouse over the question mark next to "Cloud Functions" on that row, you will see a description that says the first 2,000,000 invocation are free. This matches the Cloud pricing. So I believe they are in sync.

If you have questions about billing, you should reach out to Firebase support directly rather than Stack Overflow, which is for programming questions.