by Nnnes · 1w ago · 0 comments
Bunny's volume tier costs $5/TB served, i.e. $1 gets you 2~6.7 million tiles served, probably closer to 3.
But Cloudflare also allows public R2 buckets so we could potentially ignore the Workers cost, i.e. $1 gets you 2.8 million tiles served. I think caching just works in front of R2? So you get significant gains if your visitors are mostly looking at the same areas and not zooming in all the way to their house every time.
So they come out pretty evenly or with Cloudflare a bit on top depending on the scenario. Bunny does has the advantage of easy data replication across regions (I don't know of a good way to achieve this with R2, although D1 has some kind of replication feature in beta).
Both are still far, far cheaper than almost any vector tile subscription I've come across. And, of course, more expensive than self-hosting (at least at the hobbyist level).
[0]: https://bruceroettgers.eu/blog/benchmarking-r2-head-requests...