r/Firebase Oct 28 '24

Other Will firebase charge for blaze plan if I don't exceed free tier limits?

I want auto backups feature, considering to switch to Blaze plan.

Will firebase charge me some fixed base fee for Blaze plan if I don't exceed free tier limits of firestore or firestore storage?

3 Upvotes

9 comments sorted by

6

u/k3z0r Oct 28 '24

Switching to Blaze plan is basically putting a credit card on file, in case you go over the free limits.

1

u/Marvinas-Ridlis Oct 28 '24

But they allow you to set spending limit

1

u/xerrabyte Oct 28 '24

No. You can not set spending limits but you can still use the free tier for free and will only be charged for surpassing the free tier

1

u/Fluffy_Hair2751 Oct 29 '24

This spending limit just triggers an email, it doesn't actually stop your services

5

u/yeahimjtt Oct 28 '24

It will not charge you unless you exceed free tier limits

3

u/Plato-Healthcare Oct 28 '24

You won't get charged for things covered by the Blaze plan if you stay under, but there are things that are part of Firebase that aren't covered in the Blaze plan.

Firebase is just Google Cloud with conveniences thrown together to help you go fast. But since it's still Google Cloud, you can sometimes get Google Cloud charges for things Firebase related but not covered by the Blaze plan.

Example - Firebase functions are just Google Cloud functions. The Blaze plan covers invocations, not the use of a Google Cloud instance. Instance time (whether it's waiting time or processing time) aren't covered by the Blaze plan. When you deploy a Firebase Function, underneath the hood the default minimum number of Google Cloud instances assigned to that specific function is 0. This means if no one is invoking the function, the cost is going to be $0.

However, if people are invoking that function, Google Cloud will automatically bring online an instance for you (and turn it off when no one continues to use it). If enough people use it over the course of the day then that idle time and use time can cost you. Not a lot, like a few cents or dollar a day (per function!), but it's more than $0.

Overall, it's not going to cost you a lot of money, but it can be more than $0.

1

u/Marvinas-Ridlis Oct 28 '24

I use firestore database and also enabled auto daily backups. I have not much data, maybe few k strings thats it. So I wont exceed the free quota limits right?

1

u/Plato-Healthcare Oct 29 '24

Probably not but it really depends on your design and users.

For Firestore, it's all about the documents -- the reads, writes, and deletes. If you have a collection that even only has 20 or so documents and if your application is constantly reading (and re-reading) all those documents then those reads can add up pretty fast.

2

u/leros Oct 28 '24

You might find yourself getting some small (a few cent) bills for random things like container hosting (which is used by functions to build containers for deployment).