Firebase functions vs google cloud functions pricing

549 views
Skip to first unread message

Kirtan Thakkar

unread,
May 28, 2017, 11:34:19 AM5/28/17
to Firebase Google Group
Hi,

I was creating an application and using firebase auth for login system and realtime database for storing api keys generated for each user. Now, I thought creating an API in functions will be a very big advantage as it will make it is easy to authorize users based on the api key provided by the users for http function invocations. But when I tried to compare pricing, I found a huge difference in the pricing of firebase functions vs cloud functions.

In the free firebase plan 125k invocations per month. This gives 125,000 invocations. And for cloud functions, it is 2,000,000. So, its just 6.25 percent of what is cloud functions free quota.

Why so much of difference in the pricing?

And how do you determine if a function is a firebase one or cloud one. As I seen a bit, I can deploy it using firebase and update/delete from the cloud project console also. What if I create one function from cloud console and one from functions? How the billing or free quota will be calculated then?

Thanks,
Kirtan

Kato Richardson

unread,
May 31, 2017, 2:00:05 PM5/31/17
to Firebase Google Group
Hi Kirtan,

For considering the relationship between Cloud and Firebase for billing, you can consider them the same tool. 

Think of the Firebase Spark and Flame as a special capped plans. This allows us to allocate a smaller set of hardware and scaling tools to maintaining the instances, but in return, you accept a stricter set of limits than normal Cloud pricing.

The Firebase pay-as-you-go (Blaze) plan is ultimately the same as Cloud (Firebase functions are Cloud functions--they don't charge you differently somehow based on where the function was deployed). So the 2 million free ops still applies here, and you're charged at the same rate.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/22a0520b-7e45-4321-8a5e-eddd21e31260%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages