shiichan

Cloudflare Images binding billing now counts repeat transformations once a month!

Hey there, it's Shii! I found some good news for anyone calling Cloudflare Images from Workers, so let me share it right away!

Cloudflare Changelog developers.cloudflare.com

What was announced?

Cloudflare's changelog announced a billing change for the Images binding, the mechanism you use to call image transformations from Workers. According to the post, requests for the same combination of source image and parameters are now counted only once within the same calendar month. This brings it in line with the billing model already used for URL-based transformations. On top of that, calls to .info() are no longer billed at all.

The story so far

Until now, every single call to the binding counted as a separate transformation, no matter whether the image or the parameters were identical to a previous call. That meant calling the binding on a busy hot path kept racking up charges even when it was effectively repeating the same transformation over and over.

What changes

From now on, reusing the same transformation combination within a month only counts once for billing. You can call the binding freely on high-traffic endpoints without worrying about the request count driving up your bill. It's also a nice small win that checking image metadata with .info() is now free.

Wrap-up

  • The Images binding now bills the same source image and parameter combo once per calendar month
  • This matches the billing model already used for URL-based transformations
  • Calls to .info() are now free

If you're running high-traffic image processing through Workers, this is a small but very welcome cost improvement!