The following situation: I have programmed and set up a worker. The worker works very well so far. I use the bundled pricing model.
95% of the requests need only 20ms CPU time. However, the remaining 5% consume about 150ms CPU time.
Is this okay in the bundled model? What is taken into account here? Is it enough if the median CPU time stays below 50ms or is this request already too long?
Hello!
50ms is the max CPU time per request on the Bundled plan — if you go beyond this, your Worker will throw an error. Right now, the Unbound plan has no such limitation, and would likely be the best option if you are needing 150ms minimum. If you would like to upgrade you can switch your Worker subscription from Bundled to Unbound pricing at any time in the dashboard.
Please find further information on what is taken into account for how workers is billed here: Pricing · Cloudflare Workers docs