News for hackers. Stuff that matters.
Re:Cloudflare Images Now Available to Everyone by kiza on Friday September 17, 2021 @06:33AM (#28563602)
> $1 per 100,000 delivered images

Breakdown of delivery costs based on your image sizes:

Image size | Total bandwidth used | Effective cost per GB

10MB = 1000GB = $0.001 per GB

5MB = 500GB = $0.002 per GB

1MB = 100GB = $0.01 per GB

200KB = 20GB = $0.05 per GB

50KB = 5GB = $0.2 per GB

Re:Cloudflare Images Now Available to Everyone by tyingq on Friday September 17, 2021 @07:45AM (#28564285)
Typo on the last one, should be:

50KB = 5GB = $0.20 per GB

Which would make you want to break out the old school spriting tools :) I guess don't serve thumbnail galleries from CF.

Re:Cloudflare Images Now Available to Everyone by uyt on Friday September 17, 2021 @10:53AM (#28566152)
IIRC regular cloudflare will still cache assets for free. This tool is specifically for people who don't want to write a pipeline to do image resizing/optimization themselves. If you're able to write your own pipeline to do sprite sheets, you probably don't need this service to begin with. Just preprocess everything yourself and serve those at $0 per gb.
Re:Cloudflare Images Now Available to Everyone by tyingq on Friday September 17, 2021 @11:43AM (#28566790)
Yes, that makes sense. But it is interesting that this product becomes crazy expensive as the image size gets smaller. $1 per 100,000 served images is a weird pricing model unless you're serving exclusively large images.
Re:Cloudflare Images Now Available to Everyone by zaidf on Friday September 17, 2021 @04:27PM (#28570528)
This is true but remember, we also have volume pricing. If you're storing tens of millions of images or delivering hundreds of millions of images, talk to us :)
Re:Cloudflare Images Now Available to Everyone by OJFord on Friday September 17, 2021 @11:03AM (#28566276)
The 'variants' include different sizes, and:

> You only pay for original images; not variants

https://developers.cloudflare.com/images/faq

Re:Cloudflare Images Now Available to Everyone by tyingq on Friday September 17, 2021 @11:41AM (#28566766)
That's for the storage though. You'll still paying $1 per 100,000 served images, including variants. Which makes small images expensive.
Re:Cloudflare Images Now Available to Everyone by OJFord on Friday September 17, 2021 @01:59PM (#28568752)
Hm.. the 'Do I get charged for creating and storing variants?' FAQ certainly is, but I was actually looking at the top one 'How much does Cloudflare Images cost?' which is a bit ambiguous:

> Cloudflare Images costs $5 per month per 100,000 stored images and $1 per 100,000 delivered images. Storage must be purchased in advance in blocks of 100,000 images.

> You only pay for original images; not variants. If you have one million original images and define five variants, you would only pay $50 per month for storing your one million original images.

On my first reading I took that to be general, but then the example is about storage... I think you're probably right, I was thinking each served image (or variant) would only be charged once per payment period (because they can cache aggressively) but that'd be really cheap, depending on usage.

Re:Cloudflare Images Now Available to Everyone by Animux on Friday September 17, 2021 @11:45AM (#28566825)
It's per "delivered image". I think that it will count each variant as one delivery.
Re:Cloudflare Images Now Available to Everyone by kiza on Friday September 17, 2021 @08:31AM (#28564676)
Thanks, fixed