Search code examples
firebasegoogle-cloud-platformfirebase-authenticationgoogle-identity-toolkit

How does new Firebase Authentication billing work?


My app supports only login via Email/Password, Google, and Facebook using Firebase Authentication.

Inside the Authentication -> Settings tab, Firebase said to me "Upgrade to Firebase Auth with Identity platform to access this feature."

I upgraded successfully because I want to disable create a new account on the client side and disable delete account. These features are only what I want.

If you interested to know why I want to disable creating a new account on the client side? Please check my question here to know why.

Today I opened Firebase Pricing and I found there are changes in Firebase Authentication, Firebase added 2 new rows in the last as you can see.

enter image description here

I was not charged in Phone verifications because I don't use this provider. I only charged for Firebase Realtime Database and Firebase Storage.

Here are my questions:

  1. Identity Platform Pricing Monthly active users (excluding SAML/OIDC) => If there were 83,000 daily active users (83,000 * 30 = 2,490,000), At the end of the month how much I'll be charged approximately?
  2. Monthly active users - SAML/OIDC => As I said above my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?

I hope everything is clear. Thank you.


Solution

  • If you have 83K monthly active users then you won't be charged for 50K users as it falls in the free tier. But you'll be charged for the next 33K users as per the pricing mentioned in Google Cloud Documentation:

    enter image description here

    From the documentation,

    Any account that has signed in within a given month is considered an active user. Inactive users are stored at no cost.

    For the given example, you bill would be:

    0.0055*33000 = $181.5 / month
    

    my app supports only login via Email/Password, Google, and Facebook, Does that mean I'll not be charged about SAML and OIDC?

    Yes, if you are not using SAML/OIDC (Tier 2 providers) then you'll be charged based on Tier 1 pricing mentioned above only.

    If you use any Tier 2 provider then you only have up to 50 free MAU and $0.015 / MAU / month thereafter.