AWS vs Cloudflare: pricing compared
The same workloads priced on AWS and Cloudflare with the cheapest plan that fits on each. Cloudflare is cheaper in 8 of 10 scenarios. Prices come from each provider's published, dated price sheet - see the AWS price sheet and the Cloudflare price sheet.
Monthly cost by workload
| Workload | AWS | Cloudflare | Cheaper |
|---|---|---|---|
| Small app (1M req/mo) | $14.79 | $8.90 | Cloudflare (40% less) |
| Growing (20M req/mo) | $251 | $97.50 * | Cloudflare (61% less) |
| At scale (200M req/mo) | $3,051 | $1,088 * | Cloudflare (64% less) |
| Modern SaaS Starter | $13.99 | $5.20 | Cloudflare (63% less) |
| Video Streaming App | $416 | $142 * | Cloudflare (66% less) |
| High-Scale E-Commerce | $742 | $173 * | Cloudflare (77% less) |
| Serverless Mobile Backend | $20.28 | $27.25 | AWS (26% less) |
| AI RAG Chatbot | $989 | $984 | Cloudflare (1% less) |
| Big Data Pipeline | $74.77 | $79.18 | AWS (6% less) |
| Budget Web Hosting | $27.82 | $5.00 * | Cloudflare (82% less) |
* The plan prices every piece but something is too small for the workload, a compute style is substituted, or a requested piece is unavailable on that provider.
Where the money goes - Growing (20M req/mo)
20M requests/mo · 40 ms CPU each · 100 GB database · 200 GB files · 1 TB egress. AWS uses Lambda, S3, RDS Postgres, CloudFront, Route 53, CloudWatch Logs, API Gateway; Cloudflare uses Workers, R2 Storage, D1.
| Cost category | AWS | Cloudflare |
|---|---|---|
| Serverless | $37.13 | $23.40 |
| Storage | $4.60 | $2.85 |
| Database | $186 | $71.25 |
| Networking | $0.50 | $0.00 |
| Observability | $22.50 | $0.00 |
| Total | $251 | $97.50 |
Service by service
Each provider's cheapest product per service at the Growing (20M req/mo) workload.
| Service | AWS | Cloudflare |
|---|---|---|
| Kubernetes | EKS Cluster Control Plane $84.17 | Not offered |
| SQL database | RDS for PostgreSQL (db.r8g.large, Single-AZ, gp3) $186 | Cloudflare D1 (serverless SQL, SQLite-based) $71.25 |
| NoSQL database | DynamoDB (On-Demand Capacity) $32.50 | Cloudflare Workers KV (Paid plan rates) $94.50 |
| Cache (Redis) | ElastiCache for Redis OSS (cache.m8g.large) $115 | Not offered |
| Serverless functions | AWS Lambda $17.13 | Cloudflare Workers $23.40 |
| Containers | ECS Fargate (Linux/x86) $10.97 | Cloudflare Containers (lite: 1/16 vCPU, 256 MiB; Workers Paid plan) $28.33 |
| Virtual machines | EC2 Application Server (t3.small) $15.18 | Not offered |
| Object storage | S3 Standard Storage $4.60 | Cloudflare R2 Storage $2.85 |
| Message queues | SQS Standard Queue $7.60 | Cloudflare Queues $7.60 |
| Managed Kafka | MSK Broker (kafka.m5.large, Provisioned Standard) $307 | Not offered |
| Search | OpenSearch Service (t3.small.search) $26.28 | Not offered |
| CDN | CloudFront HTTPS Requests $12.00 | Cloudflare CDN (included on every plan) $0.00 |
| WAF | AWS WAF (Web ACL base fee, per-rule fees not included) $17.00 | Not offered |
| Load balancer | Application Load Balancer $16.43 | Not offered |
| GPU | EC2 g4dn.xlarge (1x NVIDIA T4 GPU) $384 | Not offered |
Plug in your traffic, database and cache needs to see AWS, Cloudflare and 14 other providers side by side.
Price your own stack