Home / Companies / Vantage / Blog / Post Details
Content Deep Dive

Cloudflare Workers vs AWS Lambda with New Pricing from Cloudflare

Blog post from Vantage

Post Details
Company
Date Published
Author
Emily Dunenfeld
Word Count
2,331
Language
English
Hacker News Points
-
Summary

Cloudflare's new pricing model for Cloudflare Workers introduces a simplified and transparent approach that charges based on CPU time rather than idle time, potentially offering significant cost savings and ease in cost estimation compared to AWS Lambda. Cloudflare's previous pricing options, Bundled and Unbound, have been replaced with a single subscription model that charges $5 per month, $0.30 per million requests, and $0.02 per million CPU milliseconds, without limiting duration. In contrast, AWS Lambda's pricing is more detailed, accounting for memory allocation, execution duration, and the number of requests, with pricing varying by region and architecture. Two example scenarios demonstrate that Lambda can be more cost-effective for high-processing tasks, while Cloudflare Workers offer greater savings for low-processing, high-volume requests. Cloudflare's Workers feature faster response times without cold start issues, unlike Lambda, which has introduced SnapStart to reduce latency for Java applications. While Lambda supports a broader range of programming languages and offers more configuration options, Cloudflare Workers now appear as a cheaper option for JavaScript-based projects.