Compare providers·Tools

AWS (serverless) vs Cloudflare

Monthly hosting costs for typical app profiles — computed with the same recommendation engine as StackPlan stack reports. Assumes balanced budget and ops preferences unless noted.

Pricing data:AWS (serverless) · updated Jun 2025Cloudflare · updated Jun 2025

Web app

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$25.44/mo$66/mo
Cost at 100 DAU$12.68/mo$0/mo
Cost at 1K DAU$25.44/mo$66/mo
Cost at 10K DAU$165.84/mo$735.65/mo
Cost at 100K DAU$1571.52/mo$7508.40/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
Fit score90/10080/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

SaaS product

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$25.84/mo$66.40/mo
Cost at 100 DAU$12.68/mo$0/mo
Cost at 1K DAU$25.84/mo$66.40/mo
Cost at 10K DAU$171.44/mo$741.25/mo
Cost at 100K DAU$1631.12/mo$7568/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • Cloudflare · Queues · Paid
  • AWS (serverless) · EventBridge Scheduler · Free
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
  • Cloudflare · Queues · Paid
  • Cloudflare · Cron Triggers · Free
Fit score70/10080/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

E-commerce store

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$40.90/mo$67.96/mo
Cost at 100 DAU$14.23/mo$0/mo
Cost at 1K DAU$40.90/mo$67.96/mo
Cost at 10K DAU$320.38/mo$755.19/mo
Cost at 100K DAU$3116.84/mo$7703.72/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • AWS (serverless) · S3 · Standard
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
  • Cloudflare · R2 · Standard
Fit score82/10088/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

API / backend service

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$25.44/mo$66/mo
Cost at 100 DAU$12.68/mo$0/mo
Cost at 1K DAU$25.44/mo$66/mo
Cost at 10K DAU$165.84/mo$735.65/mo
Cost at 100K DAU$1571.52/mo$7508.40/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
Fit score100/10080/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

Mobile app backend

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$40.90/mo$67.96/mo
Cost at 100 DAU$14.23/mo$0/mo
Cost at 1K DAU$40.90/mo$67.96/mo
Cost at 10K DAU$320.38/mo$755.19/mo
Cost at 100K DAU$3116.84/mo$7703.72/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • AWS (serverless) · S3 · Standard
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
  • Cloudflare · R2 · Standard
Fit score92/10088/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

Realtime / collaborative

MetricAWS (serverless)Cloudflare
Cost at 1k DAUNot a fit for this app type$66/mo
Cost at 100 DAUNot a fit for this app type$0/mo
Cost at 1K DAUNot a fit for this app type$66/mo
Cost at 10K DAUNot a fit for this app type$735.65/mo
Cost at 100K DAUNot a fit for this app type$7508.40/mo
Services usedNot a fit for this app type
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
Fit score80/100
Verdict: Cloudflare is the only viable option for this app type.

Jobs & pipelines

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$25.84/mo$66.40/mo
Cost at 100 DAU$12.68/mo$0/mo
Cost at 1K DAU$25.84/mo$66.40/mo
Cost at 10K DAU$171.44/mo$741.25/mo
Cost at 100K DAU$1631.12/mo$7568/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • Cloudflare · Queues · Paid
  • AWS (serverless) · EventBridge Scheduler · Free
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
  • Cloudflare · Queues · Paid
  • Cloudflare · Cron Triggers · Free
Fit score80/10080/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

AI app

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$40.90/mo$67.96/mo
Cost at 100 DAU$14.23/mo$0/mo
Cost at 1K DAU$40.90/mo$67.96/mo
Cost at 10K DAU$320.38/mo$755.19/mo
Cost at 100K DAU$3116.84/mo$7703.72/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • AWS (serverless) · S3 · Standard
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
  • Cloudflare · R2 · Standard
Fit score92/10088/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

Internal tool

MetricAWS (serverless)Cloudflare
Cost at 1k DAU$25.44/mo$66/mo
Cost at 100 DAU$12.68/mo$0/mo
Cost at 1K DAU$25.44/mo$66/mo
Cost at 10K DAU$165.84/mo$735.65/mo
Cost at 100K DAU$1571.52/mo$7508.40/mo
Services used
  • AWS (serverless) · Lambda + API Gateway · Pay as you go
  • AWS (serverless) · RDS Postgres · db.t4g.micro
  • Cloudflare · Workers · Free
  • Cloudflare · D1 · Paid (Workers Paid)
Fit score90/10080/100
Verdict: Costs trade off by traffic level — compare the table above for your expected scale.

These numbers assume a typical profile

Get numbers for YOUR app — traffic, storage, database, jobs, and budget — in about two minutes.

Get numbers for your app