Skip to content
⚡ Serverless Cost Calculator

AWS Lambda vs Azure Functions
vs GCP vs Cloudflare Workers

Real monthly cost comparison across all major serverless platforms. Enter your workload and see which provider wins for your specific invocation + duration mix.

50.0M
250ms
Include Free Tier
AWS/Azure: 1M req + 400K GB-sec free
Cheapest for your workload
Vercel Functions
$51.85/mo

Best for Next.js, 1M req/mo included

Monthly Cost Comparison

CHEAPESTVercel
$51.85
CF Workers
+$4.25/mo$56.10
GCP
+$42.48/mo$94.33
Azure
+$51.55/mo$103.40
Lambda
+$55.45/mo$107.30
💡
Switch to arm64 and save 18%
Lambda arm64 (Graviton2) costs $87.80/mo vs $107.30/mo for x86. Same free tier, 20% cheaper compute. Most runtimes are fully supported (Node.js, Python, Java, Go).

Annual Cost Projection

Vercel
$622.20
per year
CF Workers
$673.20
per year
GCP
$1,132
per year
Azure
$1,241
per year
Lambda
$1,288
per year

When to Use Each Platform

🟠
AWS Lambda: Default choice. Best ecosystem, 200+ triggers, richest tooling (SAM, CDK). ARM saves 20% extra.
🔵
Azure Functions: Microsoft stack (.NET, C#), existing Azure infra, or Durable Functions for orchestration.
🔵
GCP Cloud Functions: BigQuery triggers, GCP-native workloads. Can be more expensive at high volume due to CPU billing.
🟡
CF Workers: Edge computing, <10ms response, no cold starts. Not ideal for heavy compute (50ms CPU cap).
Vercel Functions: Next.js apps. Seamless DX, included in Pro. Avoid for pure compute workloads.
Pricing Notes
  • • AWS/Azure/GCP: us-east-1 / East US / us-east1 region, on-demand pricing
  • • Lambda duration billed in 1ms increments (rounded up)
  • • GCP Cloud Functions 2nd Gen: CPU + memory billed separately
  • • Cloudflare Workers: $5/mo paid plan required for production; 100k req/day free on free plan
  • • Vercel: $20/mo Pro plan includes 1M invocations + 1M execution units
  • • Data transfer / API Gateway costs not included
  • • Prices updated Q1 2026 — verify before making decisions