Pick a category > Realtime Database > Realtime Database billing

Realtime Database billing

Firebase Realtime Database bills based on the data you store and for all outbound traffic, including "access denied" responses. This includes SSL encryption overhead for each separate connection.

For details on billing and how to optimize, check out the Realtime Database billing guide.