Workers Is a Usage-Based Product
You will be billed on the number of requests made to your Cloudflare-powered domains which trigger Workers. Since Cloudflare Workers run before the Cloudflare cache, the caching of a request still incurs cost.
You will be charged a minimum monthly fee of $5.00 per domain with Workers enabled. That fee includes the first 10 million Worker-powered requests made to that domain. After the first ten million, requests are billed at $0.50 per million. Workers pricing is not dependent on how much CPU time your Workers use, but we do raise the CPU time limits based on which Cloudflare plan you are on.
We are working on releasing analytics for Workers in the very near future - this will help with calculating the price. In the meantime the best way to estimate how much Workers will cost is done in the Cloudflare Analytics dashboard.
Your Worker can be configured to only run on specific routes within your site. For example you may only wish your Worker ran on URLs within a specific subdomain or the index page of your site. Only requests which actually trigger Workers count against your billed usage.