(🇪🇸 Cambiar a la Calculadora Serverless vs Contenedor/VM en español aquí)
Pinpoint the exact traffic crossover (break-even RPS) where pay-per-request Serverless functions (AWS Lambda / Cloud Run GB-seconds) lose their cost advantage and start costing several times more than always-on fixed containers or VPS nodes.
Serverless Billing Math (Request + GB-Second Reference)
Modeling standard per-invocation plus duration-memory pricing outlined in Google Cloud Run Pricing and equivalent Lambda tiers using standard baseline rates ($0.20 per 1M invocations + $0.0000166667 per x86 GB-second, excluding NAT/egress overhead):
GB_Seconds = Monthly_Requests * (Duration_ms / 1000) * (Memory_MB / 1024)
Serverless_Cost = (Monthly_Requests / 1e6) * $0.20 + GB_Seconds * $0.0000166667
Break_Even_RPS = Container_Cost / ( 2,592,000 * ($0.20/1e6 + (Dur_s * Mem_GB * $0.0000166667)) )
Monthly Cost Crossover (200ms · 512MB vs $50/mo Fixed Cluster)
| Mean Traffic (RPS) | Invocations / mo | Serverless ($) | Fixed Cluster ($50) | Cheaper Option |
|---|
FAQ & Cloud Cost Diagnostics
When does serverless stop making financial sense? Serverless wins for bursty crons and low-traffic APIs thanks to scale-to-zero—but once sustained concurrency climbs past ~15–30 RPS, fixed HA containers slash compute spend sharply and drop cold starts completely. Size your concurrency via our Little's Law RPS Calculator or compare egress bills in Cloud Egress vs Bare Metal.