Pro
Databases · Google

Firebase

Google's backend-as-a-service: Firestore, Auth, Hosting, and Cloud Functions behind one client SDK.

Proprietary · Released 2012 · Mature
Reviewed 39d ago
Stackmaven verdict

Firebase remains the fastest way to ship a mobile or web app with a realtime backend, no server to run, and auth, hosting, and push in the same SDK. The trade is structural: NoSQL forces denormalization, per-operation Blaze billing surprises read-heavy apps at scale, and there is no exit from Google Cloud. Postgres arrived via SQL Connect, but the gravity still pulls toward Firestore. For Flutter and Android teams who value speed over portability, it is a solid default.

Strengths
  • Realtime sync out of the box: Firestore and Realtime Database
  • Auth, Hosting, Functions, and FCM ship behind one client SDK
  • Generous Spark free tier, no credit card required
  • Deep Flutter and Android integration, first-party Google support
  • Firebase AI Logic calls Gemini from clients without a server
Trade-offs
  • Per-operation billing on Blaze can surprise at read-heavy scale
  • NoSQL data model forces denormalization and query workarounds
  • Not self-hostable, real vendor lock-in to Google Cloud
  • Limited ad hoc querying compared to SQL backends
  • Cost forecasting is hard once traffic grows past the free tier

Firebase is Google’s backend-as-a-service platform for mobile and web apps. It bundles two managed databases (Cloud Firestore and the older Realtime Database) with authentication, static hosting, serverless Cloud Functions, and push messaging, all reachable through a single client SDK. It is broader than a database: the database is the entry point to a full app backend.

Where it fits

Firebase is the default for teams that want a working backend without running infrastructure. The realtime sync model, where client reads update automatically as data changes, suits chat, collaboration, live dashboards, and anything mobile-first. Firestore and the Realtime Database cover storage, Firebase Authentication handles sign-in across providers, Hosting serves the static frontend, Cloud Functions run server logic, and Firebase Cloud Messaging (FCM) delivers notifications.

The pairing with Flutter and Android is the strongest argument. Google ships first-party SDKs and tight tooling for both, so a Flutter team can stand up auth, storage, and notifications in an afternoon. Firebase AI Logic now calls Gemini models directly from iOS, Android, web, and Flutter clients without a proxy server or embedded API keys.

Pricing in practice

The Spark plan is free with no payment method: roughly 1 GiB Firestore storage, 50K reads and 20K writes per day, 10 GB Hosting storage, and 2M Cloud Functions invocations per month. It is enough for a prototype or a small production app.

The Blaze plan is pay-as-you-go and bills on Google Cloud rates: Firestore is priced per document read, write, and delete, plus storage and network egress. That per-operation model is where bills surprise teams. A read-heavy screen that fetches many documents per page view can scale costs faster than expected, since you pay per document rather than per query. Cloud Functions run about $0.40 per million invocations beyond the free tier. Forecasting spend is genuinely hard, and because nothing is self-hostable, there is no fallback off Google Cloud.

How it compares

  • Supabase, Postgres-native with SQL, row-level security, and an open-source core you can self-host. Pick when relational queries or portability matter.

  • Convex, Reactive backend with typed server functions and end-to-end TypeScript. Pick when you want realtime sync with a stronger consistency and code model.

  • MongoDB, Document database with richer querying, aggregation, and Atlas as the managed layer. Pick when you need NoSQL flexibility without the full BaaS bundle.

What changed recently

Firebase spent 2025 and 2026 reframing as an AI app platform. Firebase Studio, an agentic cloud development environment powered by Gemini 2.5, launched in 2025, and Vertex AI in Firebase became Firebase AI Logic, reaching general availability so apps can call Gemini from clients in production. Data Connect, the Cloud SQL Postgres backend-as-a-service, hit GA at Cloud Next 2025, then evolved into Firebase SQL Connect at Cloud Next 2026 (April 2026) with realtime sync, offline cache, and native Postgres. Genkit, the open-source AI framework, expanded past Node.js to Python and Go.

Sources

  1. Firebase Pricing, firebase.google.com, June 2026
  2. What’s new from Firebase at Cloud Next 2026, firebase.blog, April 2026
  3. What’s new in Firebase at Cloud Next 2025, firebase.blog, April 2025
  4. Firebase AI Logic docs, firebase.google.com, 2026
  5. Firebase - Wikipedia (history: founded 2011, launched April 2012, Google acquired 2014)
esc