Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

Firebase

by Google

Google's ready back end for web and mobile apps.

Databases and backends

WebsitePricingGitHub

1. Price

“Monthly active users 50K MAUs No-cost up to 50K MAUs”

Free tier: Spark plan with generous no-cost limits (1 GiB storage, 20K writes/day, 50K reads/day, 2M function invocations/month, etc.). As reported on the official pricing page, checked Oct 9, 2026.

firebase.google.com/pricing

Checked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error

What Firebase does

Firebase is a set of ready online services from Google for apps and websites, including a database, sign-in for your users, file storage, hosting and server code. Your app talks to them straight from the browser or phone, and rules you write decide who may read or change what. Small apps fit the free Spark plan; bigger ones pay as they go.

  • Firebase is one of 29 APIs in the Databases and backends category on AgentGid.
  • It is one of 26 that can be started for free.
  • 8 of them ship an official MCP server; Firebase does not.
  • Its official SDK is the 4th most downloaded in the category (15.3M a week).

What people build with it

Sign-up and login for your app

Let people create an account with email and password, or with Google and other providers, without writing your own login system.

Save each user's data

Store profiles, notes, orders or game progress in a cloud database that the app reads and writes directly.

Live chat and live status

Show new chat messages or an order's status the moment they change, without reloading the page.

Put your website online

Publish a static site or single-page app to fast global hosting with one command, with your own domain and free SSL.

Push notifications to phones

Send reminders and news to your app's users as push messages, at no cost.

Profile photos and uploads Idea

Let users upload an avatar or attach files, and show them back in the app from cloud storage.

Firebase popularity

14.4M
SDK downloads a week
+20.4% on the 4-week average
443
public agent repos use its SDK
5,161
GitHub stars, firebase/firebase-js-sdk
SDK downloads per weeknpm firebase 14,395,629

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

Spark plan with generous no-cost limits (1 GiB storage, 20K writes/day, 50K reads/day, 2M function invocations/month, etc.)

Cheapest plan

No monthly plan

Usage price

Varies by service (e.g., $0.20/GiB bandwidth, $0.10/GB storage, $0.40/million invocations, $5/GB Realtime DB)

Plans

Added automatically: its SDK was in 195 of the public agent repos we sampled when it was added; integrations in LlamaIndex. Prices read from the official pricing page.

What one action costs

ActionPrice
1 million Cloud Functions invocations above 2 million a month (Blaze)$0.40
1 GB stored in Realtime Database above 1 GB$5
1 GB of Hosting data transfer above 360 MB a day$0.15
1 GiB of uncached App Hosting outgoing bandwidth above 10 GiB a month$0.20
1 GB of App Hosting storage above 5 GB$0.10
Price history
  • A year of the pricing page in the Internet Archive (13 months): the lowest monthly figure went from $9.37 (2025-10) to $9.37 (2026-10).

As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. firebase.google.com/pricing

Limits

Spark (free)

Firestore: 1 GiB stored, 50,000 document reads and 20,000 writes per day

All plans

A Firestore document can be at most 1 MiB

Spark (free)

Hosting: 10 GB stored and 360 MB of data transfer per day

Spark (free)

Cloud Functions are not available; they need the pay-as-you-go Blaze plan

From the official docs. firebase.google.com/docs/firestore/quotas

Key and access

How it signs in

Apps: the project's web API key and config object identify the project, and users sign in with Firebase Authentication; servers: a service account key used by the Admin SDK

Environment variable
GOOGLE_APPLICATION_CREDENTIALS (path to the service account key file, for the Admin SDK on a server)
Safe in browser code
Yes
Card at sign-up

No

Steps only a person can do

  • Create a Firebase project and register the web app in the Firebase console. Paste the firebaseConfig object into the app's Firebase setup file.
  • Turn on the sign-in methods you want (email and password, Google and so on) under Authentication. Use createUserWithEmailAndPassword and the other Auth calls in the app.
  • For Cloud Functions or usage above the free limits, upgrade the project to the Blaze plan and set a budget alert. Deploy functions with firebase deploy; no change in app code.

Commercial use and your data

Firebase is a Google service for business use, free on the Spark plan and paid by use on Blaze. The JavaScript and Admin packages are open source under Apache-2.0.

In a paid app
With conditions

Allowed and expected; Firebase services are for business use under Google's Firebase and Google Cloud terms.

“I agree that my use of any Firebase service is for purposes related to my trade, business, craft, or profession, and that my use is subject to the applicable terms below.” source

inside-app-bundle
Yes

The firebase and firebase-admin packages are Apache-2.0; ship only the web config, never a service account key.

“"license":"Apache-2.0"” source

client-work
With conditions

Fine; under GDPR Google acts as a processor for your client's users, so the client's privacy terms should name Firebase.

“When customers use Firebase, Google is generally a data processor under GDPR and processes personal data on their behalf.” source

Keeps your data

Authentication keeps logged IP addresses for a few weeks; other sign-in data stays until you delete the user, then leaves live and backup systems within 180 days.

“Firebase Authentication keeps logged IP addresses for a few weeks.” source

Where data is stored

Unless a service lets you choose a location, data may be stored anywhere Google has facilities; Authentication runs only in US data centers.

“Unless a service or feature offers data location selection, Firebase may process and store your data anywhere Google or its agents maintain facilities.” source

Errors to handle

EMAIL_EXISTS

Someone already signed up with this email address.

Offer sign-in or password reset instead of creating a new account.

OPERATION_NOT_ALLOWED

This sign-in method (for example password or anonymous) is turned off for the project.

Turn the sign-in method on under Authentication in the Firebase console.

TOO_MANY_ATTEMPTS_TRY_LATER

Firebase blocked requests from this device after unusual activity.

Wait and try again later; do not retry in a loop.

permission-denied (Security Rules)

The Security Rules do not allow this read or write, so the whole request fails.

Check that the user is signed in and that the rules allow this path; test the rules before deploying.

Free quota used up

The daily no-cost Firestore quota on the Spark plan is used up; it resets around midnight Pacific time.

Wait for the reset or switch the project to the Blaze plan with billing.

Use it from an agent

Our agent check

3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

Firebase MCP server (local, from firebase-tools)

claude mcp add firebase npx -- -y firebase-tools@latest mcp

npm
npm install firebase

Instructions in its docs to check first

The docs say

“For other agents, run npx skills add firebase/agent-skills. Always try to use Firebase agent skills for Firebase-related tasks.”

Ask the person before installing third-party agent skills; the command is not pinned to a version.

The docs say

“claude mcp add firebase npx -- -y firebase-tools@latest mcp”

The MCP setup runs an unpinned @latest package with access to the person's Firebase projects; ask first and prefer a pinned firebase-tools version.

Alternatives

Firebase This page

from $0.1/GB storageFree tier

Supabase (pgvector)

Pick Supabase when you want hosted Postgres with SQL tables, plus auth, storage and ready APIs in one place.

See its pageNo free tier

Appwrite

Pick Appwrite when you want a similar back-end platform that is also open source and can run on your own server.

See its pageNo free tier

Convex

Pick Convex for a reactive database with back-end functions, file storage and vector search written in TypeScript.

See its pageNo free tier

All databases and backends APIs

Get started

Tell your AI assistant

“Add Firebase to my web app with the modular firebase package: email sign-up with Authentication, user data in Firestore, and Security Rules that let each signed-in user read and write only their own documents.”

  1. Create a Firebase project in the console and register your web app to get its config object.

    From firebase.google.com/docs/web/setup

  2. Install the JavaScript package.

    npm install firebase

    From firebase.google.com/docs/web/setup

  3. Initialize Firebase with the config, then add the services you use, such as Firestore and Authentication.

    import { initializeApp } from 'firebase/app';
    // TODO: Replace the following with your app's Firebase configuration
    const firebaseConfig = {
      //...
    };
    const app = initializeApp(firebaseConfig);

    From firebase.google.com/docs/web/setup

First request

Works only after anonymous sign-in is turned on for the project; most apps use the JavaScript package instead of raw REST calls.

curl 'https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=[API_KEY]' \
-H 'Content-Type: application/json' --data-binary '{"returnSecureToken":true}'

Mistakes to avoid

Leaving Firestore in test mode, or rules like allow read, write if true, after launch.
Start in production mode or write rules that check request.auth and the user's own document path.

Test mode lets anyone read and overwrite your data.

Hiding the Firebase web key on a server and thinking the data is now safe.
Keep the web key in the app config and protect data with Security Rules and App Check.

Firebase web keys are public by design; they only identify the project.

Allowing the Gemini Developer API on the same public Firebase web key.
Use a separate, restricted key for other Google APIs, or call Gemini through Firebase AI Logic.

A public key with Gemini enabled lets anyone spend your quota.

Putting the service account key file in the repository or the front end.
Keep it on the server and point GOOGLE_APPLICATION_CREDENTIALS at it.

The Admin SDK with this key bypasses all Security Rules.

Old namespaced code such as firebase.firestore().collection('users').add(...).
Use the modular API: import { collection, addDoc } from "firebase/firestore".

The modular API is the recommended one and keeps the bundle smaller.

Questions

Is Firebase free?

The Spark plan is free with daily limits and needs no payment method; the Blaze plan adds more services and pay as you go.

Is it safe that my Firebase key is in the web page?

Yes, the Firebase web key only identifies your project; protection comes from Security Rules and App Check.

Can I use Cloud Functions on the free plan?

No. Functions are listed as not applicable on Spark; on Blaze the first 2 million invocations a month cost nothing.

How big can one database record be?

A Firestore document can be up to 1 MiB.

Can my AI coding assistant work with my Firebase project?

Yes. Firebase ships an MCP server that runs locally and works with Claude Code, Cursor and other assistants.