Infrastructure economics
Camille Forster8 min read10 views

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.

Updated on July 6, 2026

Cream database cylinder beside a rising gold cost arrow and coin stack on a deep green background, illustrating MongoDB Atlas costs climbing as they scale
Cream database cylinder beside a rising gold cost arrow and coin stack on a deep green background, illustrating MongoDB Atlas costs climbing as they scale
On this page

MongoDB MongoDB Atlas pricing looks simple on the marketing page: a free tier, a cheap shared tier, and dedicated clusters "starting at $0.08/hour." Then your first real invoice arrives and the number is nothing like the sticker. This teardown walks the 2026 rate card, then builds three real 30-day bills so you know what you actually pay before you provision anything.

What does MongoDB Atlas cost in 2026?

Atlas has three price ladders. Here is the 2026 rate card, pulled straight from MongoDB's own pricing page.

Scroll to see more

TierWhat it is2026 priceSpecs
M0 (Free)Sandbox / learning$0 forever512 MB storage, shared RAM and vCPU
FlexDev, testing, small apps$8 to $30 per month (usage-based, hard cap)5 GB storage, shared, up to 500 ops/sec
M10 (Dedicated)Smallest production cluster$0.08/hour (about $58/month)2 GB RAM, 2 vCPU, 10 to 128 GB storage
M20Bigger production$0.20/hour (about $146/month)4 GB RAM, 2 vCPU
M30Scaling production$0.54/hour (about $394/month)8 GB RAM, 2 vCPU
M50Heavy production$2.00/hour (about $1,460/month)32 GB RAM, 8 vCPU

Two things about that table drive almost every "why is my Atlas bill this high" question.

First, dedicated tiers (M10 and up) are priced by RAM and vCPU, not storage. You pick an instance size, and storage rides along on top. Second, the Flex tier is billed hourly ($0.011/hour at the base) but hard-capped at $30/month, so it can never surprise you. Dedicated clusters have no such cap.

The M0-to-M10 cliff nobody warns you about

Here is the gap that catches people. Atlas used to have a gentle staircase: M0 free, then M2 at $9, M5 at $25, then dedicated. MongoDB consolidated the old shared and serverless tiers into a single Flex tier, capped at $30/month and roughly 500 operations per second.

That is fine until your app sustains more than about 500 ops/sec. At that point Flex is maxed out and your only move is a dedicated M10 at roughly $58/month. So the practical ladder in 2026 looks like this:

  • $0 (M0, 512 MB, a toy)
  • $8 to $30 (Flex, one small production app)
  • then a wall
  • $58+ (M10 dedicated, 24/7 billing)

There is no $35 or $45 middle rung. The moment you outgrow Flex, your database line item roughly doubles from the $30 cap to $58, and the billing model changes underneath you. That jump, not the raw rates, is what the r/SaaS thread "Hosting MongoDB online for SaaS seems too expensive" is really about. Most of the sticker shock is people provisioning an M10 for a project that would have run all year on Flex for $8.

The real Atlas bill = compute + storage + backup + egress

The hourly instance price is only the first of four meters on a dedicated cluster:

  1. Compute (the instance-hours). Firm and predictable: hours in the month times the tier rate.
  2. Storage above the included baseline, charged per GB-month at your cloud provider's rate.
  3. Backup. Continuous cloud backup and point-in-time recovery store snapshots, and snapshot storage is billed per GB. Longer retention windows cost more. Backup is not available on M0 and is where a lot of "hidden" dollars live.
  4. Egress (data transfer out). Ingress is free; egress is a pass-through at your cloud's standard rate. Cross-region or public-internet traffic is where this bites.

MongoDB is explicit that backup and egress are "charged based on cloud provider rates," which is exactly why the calculator sticker and your invoice diverge. Plan for the sticker plus roughly 20 to 30 percent once backup and a little egress are layered on.

Three real 2026 monthly bills

Rates are abstract. Bills are not. Here are three cohorts running the same numbers.

Cohort A: the indie side project

A solo builder with a live app doing about 50 ops/sec and 3 GB of data. This sits comfortably inside Flex's base band.

  • Flex base: $8.00/month
  • Storage: inside the 5 GB included
  • Data transfer: not charged on Flex

30-day bill: about $8. If traffic occasionally bursts toward 150 ops/sec, the usage meter lifts it toward $15. It never exceeds $30. This is the cohort that should never touch a dedicated cluster.

Cohort B: the growing SaaS

A real production app that needs a replica set and sustained throughput above Flex's ceiling. Smallest sensible option is an M10.

  • M10 compute: $0.08/hr times 730 hours = $58.40/month
  • Storage: 25 GB provisioned, ~15 GB over the included baseline, a few dollars
  • Backup with a 7-day PITR window: low-double-digit dollars
  • Egress: a few dollars for a normal API workload

30-day bill: roughly $75 to $85, versus the $58 sticker. Effective overage above the headline number: about 29 percent. Nothing here is a hidden fee; it is four meters instead of one.

Cohort C: the scaling app

A busier app that has outgrown 2 GB of RAM. The working set no longer fits, so queries hit disk and latency climbs. The fix is more RAM, which means M30.

  • M30 compute: $0.54/hr times 730 hours = $394.20/month
  • Storage: 80 GB provisioned, meaningful GB-month charge
  • Backup with a longer retention window: tens of dollars
  • Egress: real traffic, real transfer

30-day bill: roughly $450 to $500. The lesson buried in this cohort: on dedicated Atlas you scale by RAM, because the price ladder is a RAM ladder. Going from M10 to M30 is a 6.7x compute jump ($58 to $394) for 4x the RAM. If your problem is storage rather than RAM, you are on the wrong axis and overpaying.

Why dedicated clusters cost more than you expect

Flex is usage-based and idles cheaply. Metered platforms like Railway Railway bill per second, so an idle service costs a fraction of its ceiling. A dedicated Atlas cluster does the opposite. M10 and up bill for all 730 hours in the month whether or not a single query runs. A staging M10 left on over a quiet weekend still costs the full $58/month at 3 AM with zero traffic.

You can pause a dedicated cluster for up to 30 days, but paused clusters still incur storage charges and auto-resume when the window ends. This is the single most common source of "surprise" Atlas bills: non-production clusters provisioned as dedicated and then forgotten. The same trap shows up on any always-on managed service, which is why the Supabase pricing teardown makes the same point about compute that never sleeps.

MongoDB Atlas vs the alternatives

Atlas is not the only way to run MongoDB-compatible data in 2026.

Scroll to see more

Option2026 cost shapeTrade-off
MongoDB AtlasFree M0, Flex to $30, M10 from $58/moManaged, official, the reference implementation; 24/7 dedicated billing
AWS Amazon DocumentDBNo free tier; small instances from ~$0.28/hr, large ones far moreMongoDB-compatible API, AWS-native, but not MongoDB and no free rung
Self-hosted on a VMCheap raw computeYou own backups, scaling, patching, and on-call

Vantage's DocumentDB-vs-Atlas breakdown walks a large-instance example at $3.95/hour, which is $2,844 for a 720-hour month. The honest read: at small scale, Atlas Flex undercuts DocumentDB (which has no free tier); at large scale the comparison depends entirely on instance choice and reserved commitments. Compatibility is not the same as being MongoDB, so test your queries before switching for price alone.

Five ways to lower your Atlas bill

  1. Stay on Flex until you genuinely exceed 500 ops/sec sustained. The $8 base band covers more real apps than people assume. Do not jump to a dedicated cluster for a project Flex can carry.
  2. Scale RAM, not storage. Dedicated tiers are priced by RAM and vCPU. If your working set fits in 2 GB, you stay on M10. Buying M30 to hold cold data you rarely query is the classic overpay.
  3. Pause or downgrade non-production clusters. Dev and staging do not need dedicated 24/7. Run them on Flex or pause them, since M10+ bills around the clock.
  4. Keep app servers in the same cloud region as the cluster. Egress is a pass-through; cross-region and public-internet traffic is where a quiet API bill turns loud.
  5. Tune backup retention. Continuous backup snapshot storage scales with your PITR window. A 7-day window costs less than a 35-day one, and most apps do not need the longer horizon.

Sources

Math check: M10 at $0.08/hour times 730 hours is $58.40; add 25 GB storage, a 7-day backup window, and light egress and a real M10 lands near $75 to $85. Price the meters, not the sticker.

Camille Forster

C

Written by

Camille Forster

Frequently asked questions

Is MongoDB Atlas free?

Yes, the M0 tier is free forever: 512 MB of storage on shared RAM and vCPU, as of 2026. It is a genuine sandbox for learning and prototypes, not a production database.

How much does MongoDB Atlas cost per month in 2026?

A free M0 is $0. The Flex tier runs $8 to $30/month and is hard-capped at $30. The smallest dedicated cluster, an M10, is $0.08/hour, about $58/month before storage, backup, and egress, which typically push a real M10 bill to $75 to $85.

What is the difference between Flex and a dedicated cluster?

Flex is shared, usage-based, capped at $30/month and about 500 ops/sec, and idles cheaply. A dedicated cluster (M10+) gives you isolated resources priced by RAM, but it bills for all 730 hours in the month whether or not traffic flows.

Why is my MongoDB Atlas bill higher than the sticker price?

Because a dedicated cluster has four meters, not one: compute, storage above the baseline, backup snapshot storage, and egress. Backup and egress are charged at your cloud provider's rates, so plan for the instance sticker plus roughly 20 to 30 percent.

Does a dedicated Atlas cluster stop billing when idle?

No. M10 and up bill for every hour regardless of traffic. You can pause a cluster for up to 30 days, but paused clusters still incur storage charges and auto-resume. This is the most common source of surprise bills.

Is MongoDB Atlas cheaper than self-hosting?

For most teams, yes, once you price in the engineer time to run backups, upgrades, and on-call. Self-hosting wins on raw compute at large scale or under strict compliance constraints where you already staff a DBA.

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 read23