Firebase offers a pay-as-you-go pricing model with two main plans:
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Reads | 50,000/month | $0.06 per 100,000 |
Writes | 20,000/month | $0.18 per 100,000 |
Deletes | 20,000/month | $0.02 per 100,000 |
Storage | 1GB Free | $0.18 per GB/month |
Network Egress | 10GB Free | $0.12 per GB |
* Optimization Tip: Minimize reads by using caching, pagination, and selective field queries.
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Simultaneous Connections | 100 | 200,000+ |
Data Storage | 1GB Free | $5 per GB/month |
Download Costs | 10GB Free | $1 per GB |
* Optimization Tip: Use Firestore for scalable queries; Realtime DB is better for frequent real-time updates.
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Email/Google/Auth Providers | Free | Free |
Phone Authentication | 10K verifications/month | $0.01–$0.05 per verification |
* Optimization Tip: Prefer email/password for authentication to reduce costs.
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Storage | 1GB Free | $0.026 per GB |
Download (Egress) | 10GB Free | $0.12 per GB |
* Optimization Tip: Use compression, optimize file sizes, and store images in lower resolutions.
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Hosting Storage | 10GB Free | $0.026 per GB |
Bandwidth | 10GB Free | $0.15 per GB |
* Optimization Tip: Use caching, lazy loading, and CDN for lower bandwidth usage.
Feature | Spark (Free) | Blaze (Pay-as-you-go) |
---|---|---|
Invocations | 2M Free/month | $0.40 per million |
CPU & Memory | 400K GB-seconds Free | $0.0000025 per GB-s |
Network Egress | 10GB Free | $0.12 per GB |
* Optimization Tip: Use scheduled functions to batch tasks instead of triggering functions too frequently.
* Unlimited free push notifications across Android, iOS, and web.