hi.
the first time I want to explain that I have 1 domain with statistics per day more than 4 million hits. this domain contains image assets, and about 70% of hits are crawler crawlers like google bing and others.
I want to use Cloudflare workers but I can’t imagine how much I have to pay for each month.
what I want to ask is, do Cloudflare workers have a rule to exclude bots from triggering Cloudflare workers? or if it is not possible, is it possible for me to be able to request a special price considering that every month I have around 150 million hits.
thank you for all who are willing to answer my problem.
~75$ that is your estimated bill.
Workers will always process for set routes.
Perhaps, you need to limit bots crawling rate, assess why this is happening.
2 Likes
What did you want to use a worker for? If you don’t want the worker to run on crawler requests, are you able to host the worker on a route pattern that isn’t highly frequented by crawlers? This is currently the only way I’m aware of to bypass workers entirely without blocking the request. Routes · Cloudflare Workers docs
If your domain has unwanted traffic from bad bots, you can limit their access using bot management: https://developers.cloudflare.com/bots/about
But keep in mind that while you could create a custom rule to also block even good bots, blocking good bot might have SEO implications. Firewall Rules FAQ · Cloudflare Firewall Rules docs