MongoDB Pricing Hero

The Three Plans at a Glance

MongoDB Atlas comes in three tiers designed to match different stages of development — from your weekend side project to a production app serving thousands of users. Here's what each plan actually gives you.

Free
$0
Forever free

512 MB storage
Shared RAM & vCPU
Great for prototypes
No scaling
No custom storage
Dedicated
from $57
/ month (M10+)

Dedicated RAM & vCPU
Scalable storage
Advanced monitoring
High availability
Production-grade SLA

Free Plan — 512 MB

The Free tier gives you a shared cluster with 512 MB of storage, shared RAM, and shared vCPU. It's completely free — no credit card required — and it doesn't expire.

💡
Best for: Learning, hackathons, very early prototypes, personal projects with minimal data. Think of it as your sandbox — not production.

The 512 MB limit fills up faster than you'd expect. A few thousand user records with embedded documents, some logs, and maybe some product data — and you're already brushing the ceiling.


Flex Plan — Usage-Based Pricing

The Flex plan is MongoDB's pay-as-you-go tier. You're charged based on how many operations per second your cluster handles. The base rate is $0.011/hour, which roughly equals $8/month at idle.

⚠️
Storage limit: Flex gives you a fixed 5 GB of storage. You cannot increase this — it is a hard ceiling. If you need more, you must upgrade to a Dedicated cluster.

Flex Pricing Tiers

Ops / Second Hourly Rate Est. Monthly Cost
0 – 100 (Base) $0.0110 ~$8.00
100 – 200 $0.0205 ~$15.00
200 – 300 $0.0288 ~$21.00
300 – 400 $0.0356 ~$26.00
400 – 500 $0.0411 ~$30.00

Costs scale with usage. If your app mostly idles at night and spikes during business hours, you'll naturally stay at the lower tiers — making Flex quite cost-effective for early-stage apps.


Real Usage Examples & Cost Estimates

Here's what Flex actually costs for two typical early-stage products. These examples are calculated based on realistic usage patterns — not 24/7 peak load.

🛍️
Small SaaS App
Low Usage
Daily active users ~200
Active hours/day 8 hrs
Idle hours/day 16 hrs
Peak ops/sec ~80–120
Active hours rate $0.0205/hr
Idle hours rate $0.0110/hr
Active cost/month 8h × 30d × $0.0205 ≈ $4.92
Idle cost/month 16h × 30d × $0.0110 ≈ $5.28
Estimated Monthly ~$10

Mostly idle nights keep costs near the base tier — great for MVPs.

📊
Growing Startup
Medium Usage
Daily active users ~1,000
Active hours/day 12 hrs
Idle hours/day 12 hrs
Peak ops/sec ~250–350
Active hours rate $0.0356/hr
Idle hours rate $0.0110/hr
Active cost/month 12h × 30d × $0.0356 ≈ $12.82
Idle cost/month 12h × 30d × $0.0110 ≈ $3.96
Estimated Monthly ~$17

Higher ops during the day, but idle hours cushion the bill significantly.

📌
Key insight: Because Flex is usage-based, apps that aren't running 24/7 at full throttle will naturally sit in lower tiers. Off-peak hours at the base rate of $0.011/hr are your best friend when budgeting.

Hitting the Storage Limit

Both Free and Flex plans have hard storage limits. The Free plan offers just 512 MB, and Flex gives you a fixed 5 GB — with no option to increase it within either plan.

🚫
Hard limit on Flex: 5 GB is the ceiling. MongoDB will not allow you to exceed it. If your data needs more space, you have exactly two options.

Option 1 — Upgrade to Dedicated

If your data volume genuinely needs to grow beyond 5 GB inside MongoDB, upgrading to a Dedicated cluster (M10 and above) gives you configurable storage, dedicated resources, and proper production guarantees.

Option 2 — Use External Storage (The Smart Workaround)

For most early-stage apps, the 5 GB MongoDB limit isn't actually the bottleneck — it's the large files like images and videos sitting in your database that are consuming space. The fix: don't store files in MongoDB at all.

AWS S3
Industry standard. Scales infinitely. Free tier includes 5 GB/month.
Cloudinary
Purpose-built for images & video. Free tier is generous. Auto-optimization built in.
Firebase Storage
Simple Google-backed storage. 5 GB free. Great if you're already on Firebase.

The pattern is simple: store only references (a URL string) in MongoDB, and keep the actual binary data in a dedicated storage service. This lets you stay on Flex for a very long time without hitting storage constraints.


Which Plan Should You Pick?

Here's the simple rule: start with Free, graduate to Flex when you're ready to accept real users, and move to Dedicated when you're generating revenue and need reliability guarantees.

🎯
Our recommendation for MVP builders: Start on Free while building. Switch to Flex when you launch (~$8–17/month for most early apps). Only consider Dedicated once you have paying users and need the uptime guarantees.
craftmvp.in

Practical guides for indie hackers and startup builders — covering infrastructure, tools, and the technical decisions that actually matter when you're shipping fast.

Read more guides →