7 Firebase alternatives in 2026: backends, prices and free tiers
Firebase alternatives compared: Supabase, Appwrite, Convex, AWS Amplify, Nhost, PocketBase and MongoDB Atlas, with free tiers, worked bills and startup credits.
The strongest Firebase alternatives are Supabase (Postgres, auth, storage and functions; Pro from $25 a month), Appwrite (the closest all-in-one match, Pro $25 a month with 200,000 users), Convex (a reactive TypeScript database, free or $25 per developer), AWS Amplify (fixed $0, $20 and $45 plans with serverless Postgres), Nhost (Postgres with GraphQL, Pro $25), PocketBase (free, self-hosted, one file) and MongoDB Atlas (a managed document database, free 512 MB tier). All of them have a free way to start.
Teams usually leave Firebase for one of three reasons: they want SQL instead of Firestore's document model, they want a bill that does not grow with every document read, or they want to be able to self-host. Prices below were checked on each vendor's official page on December 5, 2026.
Firebase alternatives at a glance
| Backend | Database | Free tier | Paid entry | Users included on paid | Self-host | Startup program |
|---|---|---|---|---|---|---|
| Firebase (baseline) | Cloud Firestore (NoSQL) | Spark: 1 GiB, 50K reads and 20K writes a day | Blaze, pay as you go | Identity Platform: 50K MAU free | No | Google for Startups Cloud |
| Supabase | Postgres | 2 projects, 500 MB, 50K MAU | Pro $25/mo + compute | 100K MAU, then $0.00325 each | Yes | $300 via AWS Activate |
| Appwrite | TablesDB, or dedicated Postgres, MySQL or DocumentsDB | 2 projects, 75K MAU, 2 GB storage | Pro $25/mo | 200K MAU, then $3 per 1,000 | Yes | None |
| Convex | Reactive document database | 1M function calls, 0.5 GB database | Professional $25 per developer/mo | Auth included; no MAU pricing | Yes, open-source backend | Convex for Startups |
| AWS Amplify | Serverless PostgreSQL | Basic $0, 1 GB database per backend | Pro $20/mo, Pro Plus $45/mo | Auth included; no MAU pricing listed | No | AWS Activate |
| Nhost | Postgres + Hasura GraphQL | 1 project, 1 GB database | Pro $25/mo with $15 compute credit | Unlimited users | Yes | None |
| PocketBase | Embedded SQLite | Free, open source | Your server cost | Your server's capacity | Self-host only | None |
| MongoDB Atlas | Document database | M0: 512 MB, free forever | Flex $8 to $30/mo; dedicated from $0.08/hr | Database only, no auth | Atlas is managed | MongoDB for Startups |
What Firebase costs, for reference
Firebase's Spark plan is free with no payment method: Firestore gets 1 GiB of storage, 50,000 reads, 20,000 writes and 20,000 deletes a day, and 10 GiB of egress a month. Cloud Functions and Cloud Storage are not available on Spark. The Blaze plan keeps those free quotas and bills usage above them at Google Cloud rates, such as $0.03 per 100,000 Firestore reads and $0.09 per 100,000 writes, and $0.40 per million function invocations after 2 million. Firebase Authentication with Identity Platform is free up to 50,000 monthly active users. Google says eligible accounts get $300 in free credit when they upgrade to Blaze.
The full breakdown is in our Firebase pricing guide, and Supabase vs Firebase prices the same app on both.
1. Supabase
Every Supabase project is a dedicated Postgres database with auth, storage, realtime and Edge Functions included. You pay per organization for the plan and per project for compute.
| Free | Pro | |
|---|---|---|
| Price | $0 | From $25/mo |
| Database | 500 MB, shared CPU | 8 GB disk per project, then $0.125/GB |
| Monthly active users | 50,000 | 100,000, then $0.00325 each |
| File storage | 1 GB | 100 GB, then $0.0213/GB |
| Egress | 5 GB | 250 GB, then $0.09/GB |
| Edge Functions | 500,000 | 2M, then $2 per million |
| Pausing | After 1 week of inactivity | Never |
Compute starts at $10 a month (Micro, 1 GB RAM), and Pro includes $10 of compute credit, so one small project costs $25. Team ($599 a month) adds SOC 2 and ISO 27001 reports, SSO for the dashboard and a HIPAA add-on. Supabase is open source and can be self-hosted with Docker or the CLI.
Good fit for: teams that want SQL, joins and row-level security, and an exit path to any Postgres host. See Supabase pricing or the Supabase pricing calculator.
2. Appwrite
Appwrite is the closest one-to-one replacement for Firebase: auth, databases, storage, functions, messaging, realtime and site hosting in one project.
| Free | Pro | |
|---|---|---|
| Price | $0 | From $25/mo |
| Projects | 2 (shared resources) | 1 included, then $15 each |
| Members | 1 | Unlimited |
| Monthly active users | 75,000 | 200,000, then $3 per 1,000 |
| Database reads / writes | 500K / 250K a month | 1.75M / 750K, then $0.06 per 100K reads, $0.10 per 100K writes |
| Storage | 2 GB | 150 GB, then $2.80 per 100 GB |
| Bandwidth | 5 GB | 2 TB, then $15 per 100 GB |
| Function executions | 750,000 | 3.5M, then $2 per million |
| Pausing | After 1 week of inactivity | Never |
On Pro you can also add dedicated databases, including PostgreSQL, MySQL and DocumentsDB, from $10 a month each; Pro includes $10 of database compute credit a month. A cheaper Start plan from $10 a month is available in some countries, including India, Nigeria, Pakistan, the Philippines, Egypt and Kenya. Free projects freeze when they hit a limit; Pro keeps running and bills overage up to a budget cap you set.
Good fit for: mobile and web apps that want Firebase's breadth with generous user allowances and a self-hosting option.
3. Convex
Convex is a reactive database where queries, mutations and server functions are TypeScript, and clients update live when data changes, the main thing many teams use Firestore for.
| Free and Starter | Professional | |
|---|---|---|
| Price | $0, Starter is pay as you go | $25 per developer a month |
| Developers | 1 to 6 | 1 to 20 |
| Function calls | 1M, then $2.20 per million | 25M, then $2 per million |
| Database storage | 0.5 GB, then $0.22/GB | 50 GB, then $0.20/GB |
| File storage | 1 GB, then $0.033/GB | 100 GB, then $0.03/GB |
| Egress | 1 GB, then $0.132/GB | 50 GB, then $0.12/GB |
Auth, file storage, text and vector search, crons and preview deployments are on every plan. Professional adds daily backups, custom domains, log streaming and HIPAA and SOC 2 reports. You can also self-host the open-source backend.
Good fit for: TypeScript teams building collaborative or real-time apps. Watch: pricing is per developer, unlike the rest of this list.
4. AWS Amplify
Amplify now sells three fixed plans that include hosting, a serverless PostgreSQL database, auth and a data API, with no per-seat charge.
| Basic | Pro | Pro Plus | |
|---|---|---|---|
| Price | $0 | $20/mo | $45/mo |
| Backends | 2 | 10 | 20 |
| Database storage | 1 GB per backend | 10 GB pooled | 20 GB pooled |
| Backend compute | 100 BCU-hours per backend | 300 BCU-hours pooled | 600 BCU-hours pooled |
| Point-in-time recovery | None | 7 days | 14 days |
| Data transfer | 100 GB | 1 TB | 50 TB |
When you hit an allowance, that resource pauses until next month, so Basic never costs anything. Overages are off by default; if you turn them on, backend capacity is $0.10 per BCU-hour and database storage $0.125 per GB-month.
Good fit for: teams already on AWS who want a hard monthly ceiling. Watch: the database is Postgres, so moving from Firestore means remodeling your data.
5. Nhost
Nhost gives each project a dedicated Postgres database with Hasura GraphQL, auth, storage and functions.
| Starter | Pro | Team | |
|---|---|---|---|
| Price | $0 | $25/mo, $15 compute credit | $599/mo, $15 compute credit |
| Projects | 1 active, pauses after 1 week of inactivity | Unlimited | Unlimited |
| Database | 1 GB | 10 GB, then $0.20/GB | Same as Pro |
| Storage | 1 GB | 50 GB, then $0.05/GB | Same as Pro |
| Egress | 5 GB | 50 GB, then $0.10/GB | Same as Pro |
| Users | Unlimited | Unlimited | Unlimited |
Extra compute is billed per minute, at $50 or $15 per vCPU a month depending on the instance type, with 2 GB of memory per vCPU. Point-in-time recovery starts at $100 a month, and custom domains are $10 per project. Nhost says it never stops a project for exceeding limits; it bills the overage.
Good fit for: teams that want Postgres with a GraphQL API out of the box.
6. PocketBase
PocketBase is an open-source backend in a single file: an embedded SQLite database, auth with more than 15 OAuth2 providers, file storage, realtime subscriptions and an admin dashboard. It is free and self-hosted only; there is no hosted version.
Its FAQ is candid about the trade-offs. It scales only vertically on one server, it does not run cloud functions (you extend it as a Go or JavaScript framework instead), and it is a personal open-source project with no company behind it and no promises of maintenance or support. The FAQ also says it can serve 10,000+ persistent realtime connections on a small $4 VPS.
Good fit for: side projects, internal tools and small SaaS apps where one server is enough and you are comfortable operating it.
7. MongoDB Atlas
If you want to keep a document data model like Firestore's, MongoDB Atlas is the managed option. The M0 cluster is free forever with 512 MB of storage. Flex clusters are billed hourly and cost $8 to $30 a month depending on usage, and dedicated clusters start at $0.08 an hour for M10 (MongoDB lists it from $56.94 a month). Free and Flex clusters are not charged for outgoing data.
Atlas is a database only: you add your own auth, file storage and server functions.
Good fit for: teams that want to keep documents and nested data but need real queries, indexes and aggregation.
Worked example: the same app at three sizes
List prices for four backends with comparable models. Convex and PocketBase are left out because they bill differently (per developer, or your own server). Usage figures are assumptions; change them to match your app.
| Prototype | Launched | Scaling | |
|---|---|---|---|
| Monthly active users | 2,000 | 30,000 | 150,000 |
| Database size | 300 MB | 5 GB | 40 GB |
| Files stored | 1 GB | 40 GB | 300 GB |
| Egress | 3 GB | 150 GB | 600 GB |
| Database reads / writes (Appwrite) | 200K / 50K | 1.5M / 600K | 5M / 2M |
| Supabase | $0 (Free) | $25 (Pro, inside quotas) | $277.26 |
| Appwrite | $0 (Free) | $25 (Pro, inside quotas) | $33.52 |
| Nhost | $0 (Starter) | $35, plus compute over $15 | $98.50, plus compute over $15 |
| AWS Amplify | $0 (Basic) | $20 (Pro), if 300 BCU-hours cover the load | $47.50 (Pro Plus with overages on) |
How the scaling column adds up:
- Supabase: $25 plan + 50,000 extra MAU × $0.00325 ($162.50) + Medium compute $60 minus the $10 credit ($50.00) + 32 GB extra disk × $0.125 ($4.00) + 200 GB extra files × $0.0213 ($4.26) + 350 GB extra egress × $0.09 ($31.50) = $277.26.
- Appwrite: $25 plan + 3.25M extra reads ($1.95) + 1.25M extra writes ($1.25) + 190 GB extra storage, counting the 40 GB database, at $2.80 per 100 GB ($5.32) = $33.52, assuming the serverless database keeps up and overage is billed pro rata.
- Nhost: $25 plan + 30 GB extra database × $0.20 ($6.00) + 250 GB extra storage × $0.05 ($12.50) + 550 GB extra egress × $0.10 ($55.00) = $98.50, plus any compute above the $15 credit.
- AWS Amplify: $45 Pro Plus, which includes 20 GB of pooled database storage, + 20 GB extra × $0.125 ($2.50) = $47.50, plus any backend compute above 600 BCU-hours at $0.10 each. File storage for Amplify apps is not in the plan table, so it is not counted here.
Most of Supabase's bill at this size is users: its Pro plan includes 100,000 MAU, against Appwrite's 200,000. For Firebase itself, our Supabase vs Firebase example puts a 60,000-user app at about $30.55 a month on basic Auth, or $85.55 with Identity Platform, depending mostly on Firestore reads.
Choose by situation
- You want SQL and the most mature ecosystem: Supabase.
- You want Firebase's breadth with the most users included: Appwrite.
- You use Firestore for live, real-time data in TypeScript: Convex.
- You are on AWS and want a capped bill: Amplify.
- You want GraphQL on Postgres: Nhost.
- One server and no monthly bill: PocketBase.
- You want to keep documents and replace only the database: MongoDB Atlas.
Migration notes
- Data model. Firestore collections map naturally to MongoDB or Convex documents. Moving to Postgres (Supabase, Nhost, Amplify) means designing tables and foreign keys, which is most of the work.
- Auth. Export your Firebase users before you switch. If you cannot carry password hashes across, plan a forced password reset or keep Firebase Auth running alongside the new backend for a while.
- Security rules. Firebase Security Rules do not port. Rewrite them as Postgres row-level security (Supabase), permissions (Appwrite, Nhost) or server-side checks in functions (Convex).
- What has no direct replacement. Firebase Analytics, Crashlytics and Cloud Messaging are free and you can keep them while moving the backend. For product analytics, see PostHog vs Mixpanel.
- Run both. Dual-write to the old and new database for a few weeks, then cut reads over once the numbers match.
Startup credits for Firebase alternatives
- Convex for Startups: up to 1 year of Professional free, with no seat fees and 30% off usage-based fees up to $30k. You must be Series A or earlier, under 20 employees, under 3 years old and have raised less than $3 million, and be on at least the Starter plan with a card on file.
- MongoDB for Startups: Atlas credits and Voyage AI tokens by stage, for startups 7 years old or younger at Series B or earlier. Credits last 6 months ($500 grants) or 12 months (larger grants).
- Supabase via AWS Activate: $300 in Supabase credits for VC-backed startups with less than $5M raised and an active AWS account.
- AWS Activate for Amplify, and the Google for Startups Cloud Program if you stay on Firebase: Blaze usage is billed through a Google Cloud billing account.
ConvexConvex for StartupsUp to 1 year free of Convex Professional, including no seat fees and 30% off usage-based fees up to $30kApply directlyFree plan
MongoDBMongoDB for StartupsUp to $15,000 in MongoDB Atlas creditsApply directly$15K
SupabaseSupabase credits through AWS Activate$300 in Supabase credits for VC-backed startups in AWS ActivateNeeds an investor$300
Amazon Web ServicesAWS ActivateUp to $200,000 in AWS Activate CreditsNeeds an investor$200K
Google CloudGoogle for Startups Cloud ProgramUp to $350,000 in Google Cloud credits over two years (AI startups); up to $200,000 for other startupsNeeds an investor$350K
If staying on Firebase with Google Cloud credits is cheaper than moving, that is a fine answer too; see Google Cloud credits. For auth on its own, compare Clerk vs Auth0.
Questions
What is the best open-source alternative to Firebase?
Supabase is the most complete, with Postgres, auth, storage, realtime and Edge Functions, and you can self-host it with Docker or the Supabase CLI. Appwrite is also open source with a managed cloud and a Docker self-hosting guide, Convex lets you self-host its open-source backend, and PocketBase is a single-file backend you run on your own server.
Which Firebase alternative has the best free tier?
Appwrite Free includes 75,000 monthly active users, 2 GB of storage and 750,000 function executions, and Supabase Free includes 50,000 monthly active users, a 500 MB Postgres database and 1 GB of files. Both pause projects after a week of inactivity. AWS Amplify's Basic plan never bills you, because resources pause when you hit an allowance.
Is there a Firebase alternative with a NoSQL document database?
Yes. Convex is a reactive document database you query in TypeScript, Appwrite offers a DocumentsDB option on dedicated databases, and MongoDB Atlas is a managed document database with a free 512 MB cluster. MongoDB Atlas is a database only, so you pair it with your own auth and hosting.
Can I keep Firebase Authentication and move only the database?
You can, since Firebase Authentication works on its own, but every alternative here except MongoDB Atlas includes auth. Moving users means exporting them from Firebase and importing them into the new provider, so plan for a password reset or a migration path for password hashes.
Which Firebase alternatives have startup programs?
Convex gives up to 1 year of its Professional plan free to startups under 3 years old that raised less than $3 million. MongoDB for Startups gives Atlas credits by stage. Supabase offers $300 through AWS Activate to VC-backed startups with under $5M raised. AWS Amplify bills through AWS, so AWS Activate applies there. Appwrite, Nhost and PocketBase have no program.
Programs in this guide
SupabaseSupabase credits through AWS Activate$300 in Supabase credits for VC-backed startups in AWS ActivateNeeds an investor$300
ConvexConvex for StartupsUp to 1 year free of Convex Professional, including no seat fees and 30% off usage-based fees up to $30kApply directlyFree plan
MongoDBMongoDB for StartupsUp to $15,000 in MongoDB Atlas creditsApply directly$15K
Amazon Web ServicesAWS ActivateUp to $200,000 in AWS Activate CreditsNeeds an investor$200K
Google CloudGoogle for Startups Cloud ProgramUp to $350,000 in Google Cloud credits over two years (AI startups); up to $200,000 for other startupsNeeds an investor$350K
Sources
- firebase.google.com/pricing
- cloud.google.com/firestore/pricing
- supabase.com/pricing
- supabase.com/go/aws-activate-offer
- appwrite.io/pricing
- appwrite.io/docs/advanced/platform/free
- convex.dev/pricing
- convex.dev/startups
- docs.convex.dev/self-hosting
- aws.amazon.com/amplify/pricing
- nhost.io/pricing
- pocketbase.io/faq
- mongodb.com/pricing
- mongodb.com/solutions/startups
- cloud.google.com/startup
Related guides
- Firebase pricing (December 2026): Spark vs Blaze and every free quota
Firebase pricing for 2026: Spark is free with daily quotas, Blaze is pay as you go. Firestore reads cost $0.03 per 100,000 after 50,000 free a day. Full rates.
- Supabase vs Firebase (2026): pricing, free tiers, database and lock-in
Supabase vs Firebase compared: Supabase Pro is $25 a month plus compute on Postgres, Firebase Blaze bills per read and write on NoSQL. Free tiers, auth and credits.
- Google Cloud credits for startups: tiers, perks and how to apply
Google for Startups gives up to $350,000 in Google Cloud credits. Start vs Scale vs Scale AI tiers, who qualifies, and how to apply step by step.
- 8 Vercel alternatives in 2026: hosting prices and free tiers
Vercel alternatives: Netlify, Cloudflare, Render, Railway, Fly.io, AWS Amplify, DigitalOcean and Firebase App Hosting compared on price, bandwidth and credits.