Infrastructure economics
Camille Forster7 min read14 views

Firebase Pricing in 2026: What You Actually Pay

Firebase pricing in 2026 is free to start (Spark plan: 50K Firestore reads, 20K writes, and 20K deletes per day, 1 GiB stored), then pay-as-you-go on Blaze at $0.06 per 100K reads, $0.18 per 100K writes, and $0.02 per 100K deletes. A typical 5,000-DAU app costs about $12/month, but there is no hard spending cap, so one unbounded query or a looping Cloud Function can turn a $12 bill into thousands overnight.

Deep green illustration of an invoice scroll with a sharply rising cost line and an amber flame, symbolizing a Firebase surprise bill
Deep green illustration of an invoice scroll with a sharply rising cost line and an amber flame, symbolizing a Firebase surprise bill
On this page

Firebase Firebase pricing starts at zero and stays there for a lot of apps. The free Spark plan is genuinely generous, and Google hands you a $300 credit the day you upgrade. The trouble starts later, when a real app crosses the free quota, discovers that Firestore charges per read, and learns that Firebase has no hard spending cap. This teardown walks the 2026 rate card, then builds three real 30-day bills, including the runaway one that shows up in every horror-story thread.

What does Firebase cost in 2026?

Firebase has two plans. Spark is free and stays free within daily quotas. Blaze is pay-as-you-go: you keep the same free allowances, then pay per unit above them. Here is what the free tier covers in 2026, pulled from Firebase's 2026 pricing page.

Scroll to see more

ProductFree (Spark) allowanceBlaze overage
Cloud Firestore50K reads, 20K writes, 20K deletes per day; 1 GiB storedper operation, see next table
Cloud Storage5 GB stored, 1 GB/day download$0.026/GB stored, $0.12/GB downloaded
Cloud Functions2M invocations/month$0.40 per million invocations
Hosting10 GB stored, 360 MB/day transfer$0.026/GB stored, $0.15/GB transferred
Realtime Database1 GB stored, 10 GB/month downloaded$5/GB stored, $1/GB downloaded

Two products dominate almost every Firebase bill: Cloud Firestore and Cloud Functions. The rest are usually rounding error until you serve large files or heavy traffic. So the number that matters is the Firestore rate card.

The Firestore rate card that actually drives your bill

Firestore does not charge for storage the way most databases do. It charges for operations: every document your app reads, writes, or deletes is metered. Here are the 2026 Blaze rates from Google's own worked billing example, for the United States multi-region.

Scroll to see more

MeterFree daily quotaBlaze price above quota
Document reads50,000 / day$0.06 per 100,000
Document writes20,000 / day$0.18 per 100,000
Document deletes20,000 / day$0.02 per 100,000
Stored data1 GiB$0.18 per GiB / month
Network egress10 GiB / month$0.12 per GiB

Reads are the cheapest per unit and the most dangerous, because a real app does far more reads than writes, and it is trivially easy to read thousands of documents by accident. Hold that thought.

Three real 30-day Firebase bills

Sticker rates mean nothing without usage. Here are three cohorts, built on the same per-user intensity Google uses in its official example: about 80 reads and 20 writes per daily active user per day.

Cohort 1: a hobby app, 5,000 DAU, about $12/month

This is Google's own published example, so the arithmetic is theirs, not mine.

  • Reads: 400,000/day, minus 50K free, = 3.5 units at $0.06 = $0.21/day, so $6.30/month
  • Writes: 100,000/day, minus 20K free, = 0.8 units at $0.18 = $0.14/day, so $4.20/month
  • Deletes and storage: about $1.64/month
  • Total: about $12.14/month

At this scale the free daily quota absorbs a big slice of usage, so the effective rate is roughly $2.43 per 1,000 DAU per month.

Cohort 2: a growing app, 50,000 DAU, about $134/month

Same per-user intensity, ten times the users. Now the free quota is a rounding error.

  • Reads: 4,000,000/day, minus 50K free, = 39.5 units at $0.06 = $2.37/day, so $71.10/month
  • Writes: 1,000,000/day, minus 20K free, = 9.8 units at $0.18 = $1.76/day, so $52.92/month
  • Deletes: about $1.08/month
  • Storage (40 GiB) plus egress (25 GB): about $8.82/month
  • Total: about $134/month

Effective rate: about $2.68 per 1,000 DAU per month. Notice reads alone are $71 of the $134, which is 53% of the bill. On a healthy Firestore app, reads are the line item to watch.

Cohort 3: the runaway, 50,000 DAU, about $5,540/month

Same app. One difference: the home screen calls getDocs() on a 2,000-document collection with no limit(), and it runs every time the app opens, about three times per user per day.

  • Extra reads: 50,000 times 3 times 2,000 = 300,000,000 reads/day
  • Billable: 3,000 units at $0.06 = $180/day, so $5,400/month, from one screen
  • Plus the $134 baseline, about $5,540/month

That is a 40x jump from a single missing .limit(). Reads do not show up in code review the way a slow query does, so this pattern ships to production constantly.

Why Firebase has no hard spending cap

Cohort 3 is the tame version. The threads are worse. One developer posted a $121,000 bill in two days after a Cloud Function using the Translate API looped on itself. Others have woken up to five-figure bills after a denial-of-service attack hammered an unprotected endpoint. There is a long-running community petition asking Google for a hard billing limit, and the answer is still no.

Here is the mechanic every new Firebase developer eventually learns: a budget alert is not a spending cap. It emails you after money is spent, often hours late. The only real hard cap is a workaround you build yourself: a Cloud Function subscribed to a budget Pub/Sub alert that calls the Cloud Billing API and disables billing when spend crosses a line. It is a documented pattern, and it should be the first thing you deploy on any Blaze project.

Firebase vs the flat-fee alternatives

Usage-based pricing is a feature when traffic is small and a liability when it spikes. If predictability matters more than scale-to-zero, flat-fee backends change the risk shape.

Supabase Supabase runs on Postgres and prices its flat Pro tier at $25/month with defined usage allowances, so your worst case is bounded by the plan, not by an unbounded read loop. AWS AWS Amplify with DynamoDB is also usage-based and carries the same variance risk as Firestore. Appwrite Appwrite, self-hosted, is a fixed server cost with no per-read meter at all, at the price of running your own infrastructure.

None of these is strictly cheaper. Firebase's free tier and scale-to-zero are genuinely hard to beat for early apps. The real question is whether you would rather pay a known monthly number or a metered one that can spike while you sleep.

How to actually keep the Firebase bill down

The bill is reads, so the fixes are about reads.

  1. Put a .limit() on every query. An unbounded getDocs() on a growing collection is the single most common runaway.
  2. Cache reads on the client and paginate. Do not re-read a whole collection on every screen mount.
  3. Denormalize counters. Store a count field and increment it; do not read 10,000 documents to show a total.
  4. Watch Cloud Functions for loops. A function that writes to a collection it also listens to is an infinite bill.
  5. Deploy the billing kill-switch function on day one. It is the only real hard cap Firebase has.

Do those five things and a 50,000-DAU app stays near the $134 line instead of the $5,540 one.

Sources

Related teardowns on BudgetForge: the MongoDB Atlas pricing teardown and the Supabase pricing teardown run the same 30-day-bill math for their databases.

Math check: on a healthy Firestore app, document reads are about 53% of the bill and hold the effective rate near $2.50 per 1,000 DAU; on a runaway app they are 100% of it. Budget the variance, not the average.

C

Written by

Camille Forster

Camille Forster breaks down cloud and SaaS pricing into real 30-day bills for BudgetForge, so builders can see what a tool actually costs before they commit.

Frequently asked questions

Is Firebase free?

Firebase has a free Spark plan that stays free within daily quotas: as of 2026 that is 50,000 Firestore reads, 20,000 writes, and 20,000 deletes per day, 1 GiB stored, 2 million Cloud Functions invocations per month, and 10 GB of Hosting storage. Many hobby and prototype apps never leave the free tier. You only start paying when you upgrade to the pay-as-you-go Blaze plan and cross those quotas.

How much does Firebase cost per month?

It depends almost entirely on Firestore usage. Google's own 2026 billing example puts a 5,000 daily-active-user app at about $12.14/month. Scaling the same usage pattern to 50,000 daily active users works out to roughly $134/month, of which reads are about 53%. The effective rate holds near $2.50 per 1,000 daily active users per month for a well-behaved app.

Why is my Firebase bill so high?

For most apps the culprit is Firestore document reads. Reads cost $0.06 per 100,000 in 2026, which sounds tiny, but an unbounded query such as getDocs() on a large collection with no limit() can read millions of documents per day. A 2,000-document collection read on every app open by 50,000 users is 300 million reads a day, about $5,400/month from one screen. Looping Cloud Functions and denial-of-service traffic cause the extreme cases.

Does Firebase have a spending limit?

No. Firebase and Google Cloud have no hard spending cap in 2026, only budget alerts, which notify you after money is spent and are often delayed by hours. Developers have reported bills of $98,000 and $121,000 from runaway usage. The community workaround, and the only real hard cap, is a Cloud Function subscribed to a budget Pub/Sub alert that calls the Cloud Billing API to disable billing at a threshold.

What is the most expensive part of Firebase?

Cloud Firestore document reads for the typical app, and Cloud Functions for compute-heavy ones. Firestore charges per operation rather than per gigabyte, so read volume, not stored data, drives the bill. On a healthy 50,000-DAU app, reads are around 53% of the total Firestore cost.

Is Firebase cheaper than Supabase?

For small and spiky workloads Firebase is often cheaper because of its generous free tier and scale-to-zero pricing. For predictable production workloads, Supabase's flat $25/month Pro tier caps your worst case in a way Firebase's usage-based model does not. Firebase optimizes for a low average cost; flat-fee backends optimize for a bounded maximum cost.

What happens if I exceed the Firebase free tier?

Nothing breaks, but you must be on the Blaze plan for usage above the Spark quotas, and every unit above the free allowance is billed at the published rates: $0.06 per 100,000 reads, $0.18 per 100,000 writes, and $0.02 per 100,000 deletes for Firestore in 2026. On the free Spark plan, apps are simply blocked once they hit the daily quota rather than billed.

Infrastructure economics

MongoDB Atlas Pricing in 2026: What You Actually Pay

MongoDB Atlas pricing in 2026 runs from a free 512 MB M0 cluster, to a usage-based Flex tier capped at $30/month, to dedicated clusters that start at $0.08/hour (about $58/month for an M10) and climb with RAM. The surprise is the jump from the $30 Flex cap to a dedicated cluster that bills 24/7 whether traffic flows or not.

8 min read33
Infrastructure economics

Clerk Pricing in 2026: What You Actually Pay Per User

Clerk's Free plan covers 50,000 monthly retained users (MRU) in 2026, so most side projects and early-stage SaaS pay $0. Pro is $25/month with 50,000 MRU included, then $0.02 per user in the 50,001 to 100,000 band. The bill that surprises teams is not per-user overage; it is the feature add-ons, B2B Auth at $100/month, Administration at $100/month, and extra Enterprise SSO connections at $75/month each. Clerk also bills retained users, not signups, so anyone who does not return 24 hours after signing up costs nothing.

7 min read25