New Workers pricing — never pay to wait on I/O again
Cloudflare has announced changes to its Workers serverless platform's pricing model, moving from a request-based pricing system to one based on CPU time for each Worker function execution. This change aims to address the issue of surprise bills and provide more predictable costs for developers building serverless applications. The new pricing will allow users to set a maximum limit on CPU time for individual Workers as an added cost control measure, ensuring that they won't be charged excessively even if there is an error or performance issues with their code. In addition, Cloudflare introduced the Hibernation API for Durable Objects to help users avoid being billed for idle connections when clients are connected but not actively using them. This feature allows developers to maintain open WebSocket connections while "hibernating" Durable Objects, which helps prevent unnecessary costs without impacting application performance. New Workers pricing will be available starting October 31, 2023, for individual projects on accounts that choose to opt-in. Newly created projects will default to new pricing, and existing users have until March 1, 2024 (or the end of their Enterprise contract), whichever comes later, to switch over at their convenience. Cloudflare is seeking feedback from developers about this change through a survey on their website.
Company
Cloudflare
Date published
Sept. 28, 2023
Author(s)
Rita Kozlov, Brendan Irvine-Broque
Word count
2530
Hacker News points
None found.
Language
English