Firebase offers a free and paid pricing plan, so you can develop for free and only pay for what you need. Use the Firebase console to monitor your usage, see your plan's limits, change the frequency of usage alerts, and upgrade your plan.
Check your Realtime Database usage
Monitor your database usage and check your plan's limits from the Usage tab in the Firebase console. You can check usage over the current billing period, the last 30 days, or the last 24 hours.
Firebase shows usage statistics for the following limits:
- Connections: The number of simultaneous, currently open, realtime connections to your database. This includes the following realtime connections: WebSocket, long polling, and HTML server-sent events. It does not include RESTful requests.
- Storage: How much data is stored in your database. This doesn't include Firebase hosting or data stored through other Firebase products.
- Downloads: All bytes downloaded from your database, including protocol and encryption overhead.
Set usage alerts
You can choose to receive email alerts when your Realtime Database usage is approaching one of the limits for your plan. Firebase sends email alerts by default when you've reached or exceeded a plan limit, but you can opt-in to these earlier notifications to adjust your plan or usage and avoid any service disruptions.
- Go to the Alert subscriptions section of the Firebase console and select your project from the list.
- Select the Email option in the section for Database alerts.