I currently calculate the cost using Firebase for blaze plan.
The size of Firestore storage is $0.18/GiB and the size of storage is $0.026/GB.
Is the pricing for Firebase storage calculated and charged per month?
If I have 1000GB images stored, then in a month I have to pay $26?
I just want to make sure, because it is not stated in the pricing page. https://firebase.google.com/pricing
All limits and pricing indicated on the Firebase pricing page apply to each separate project. So in your example neither project would be exceeding the limits of its free plan.
Firebase bills for the data you store in your database and all outbound network traffic at the session layer (layer 5) of the OSI model. Storage is billed at $5 for each GB/month, evaluated daily. Billing is not affected by the location of your database.
Most Firebase products and features have quotas and pricing based on a daily usage, but some are based on monthly or hourly usage. Cloud Functions, for example, has a no-cost usage tier that resets every month, but Cloud Firestore and Cloud Storage have no-cost tiers that reset every day. Read more in this FAQ.
The simplest way to reduce the cost is by reducing the downloads. You can do that by caching the data on local storage as much as possible and continuously sync sensitive data.
The pricing of Cloud Storage on the Blaze plan is:
GB stored: 5GB free, then $0.026/GB
This charge is per month indeed. So if you have 10GB stored in a month, you'll pay (10-5) * $0.026 = $0.13 that month. If you still have the 10GB stored in the next month, you'll again pay $0.13 for it.
GB downloaded: 1 GB/day free, then $0.12/GB
So if 5GB is downloaded from your project in a day, you'll pay (5-1) * $0.12 = $0.48 for that day.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With