“Unique Transformation” - Images

For Image Transformations, how is it determined for a unique transformation? I keep the original image in a non public R2 bucket. So to have a worker do a transformation I will have to sign a url, which means url will be different and I think I would get charged for it multiple times? Unless the image transformation ignores query params on the source image url? Would love clarifaction
2 Replies
Chaika
Chaika6mo ago
There's more pricing details here: https://developers.cloudflare.com/images/pricing/
A unique transformation is defined as a request to transform an original image with a combination of supported flags, with the exception of the format flag. The format flag being exempted from counting as a unique transformation means that if demo.jpg is resized to 100x100 and is delivered to some of your users as webp and others as avif or png, it will still count as one billable transformation for that month instead of three. Images Transformed count is not impacted by the cache hit rate. This makes estimating pricing more predictable. For example, 1,000 product images that are resized 5 different ways will result in 5,000 unique transformations per month and cost $2.50.
My understanding is its per unique image URL as that's part of the request. @Deanna | Images is the Images PM, when she has a chance during the week perhaps she could shed some more light on how a unique transformation is defined in regards to the source image. Is it per the exact url path, including query string? A hash of the image, etc?
Cloudflare Docs
Pricing · Cloudflare Image Optimization docs
Cloudflare Images lets you store, optimize, and deliver images from one unified API. The Images product consists of three line items:
boywonder350
boywonder3505mo ago
@Deanna | Images - would love clarification here 🙂
Want results from more Discord servers?
Add your server