Although I can see the number of class A and class B operations, I cannot find any ongoing billing info or billing estimate for the cache reserve usage. Argo, workers and image resizing - for example - has predicted billing in the ‘billing’ section - but cache reserve does not.
How do I find an estimate for the cache reserve billing?
I had already viewed that page, and it’s because that page is so unclear that I posted here.
I actually have an undergraduate Math degree and was unable to calculate the billing based on that information. Specifically, the variables required for the calculation are not present in the analytics data provided, and not all of the elements of any potential equation to calculate the billing, as indicated in the billing example, are defined.
So, again, is there any way of calculating the billing?
Please could someone from Cloudflare reply with a billing calculator, an Excel formula or an estimation formula?
Yeah it isn’t easy to calculate Cache Reserve usage like for Workers usage. But Cache Reserve analytics do show up in Cache Analytics page - screenshot of Cache Analytics page
The current data stored number matches one on Cache Reserve page while Aggregrate storage usage and read/write operations don’t match exactly - seems Cache Analytics reported stats are slightly more up to date
Storage is billed using gigabyte-month (GB-month) as the billing metric. A GB-month is calculated by recording total bytes stored for the duration of the month.
For example:
Storing 1 GB for 30 days will be charged as 1 GB-month.
Storing 2 GB for 15 days will be charged as 1 GB-month.
Operations are performed by Cache Reserve on behalf of the user to write data from the origin to Cache Reserve and to pass that data downstream to other parts of Cloudflare’s network. These operations are managed internally by Cloudflare.
Class A operations are performed based on cache misses from Cloudflare’s CDN. When a request cannot be served from cache, it will be fetched from the origin and written to cache reserve as well as our edge caches on the way back to the visitor.
Assuming 1,000 assets (each 1 GB) are written to Cache Reserve at the start of the month and each asset is read 1,000 times, the estimated cost for the month would be:
The “reads per asset” are not defined in the Cache Reserve analytics. Therefore I don’t see how you can calculate an estimate in the manner described here Cache Reserve · Cloudflare Cache (CDN) docs since the value is missing?
It’s billed like a prepaid mobile plan - you’re paying $4.50 for up to the first 1 million requests. So any usage within a block of 1 million requests is still charged at $4.50.
So if your prepaid mobile plan is $10/month for 10GB of mobile data. If you use 1GB of mobile data for the month, you’re still being charged $10/month.
CF documentation example doesn’t really give a good example confusing with number of assets, it’s really irrelevant for the total requests calculation. You only need to know total requests to calculate your billing.
Nowhere in the Cloudflare documentation does it say that.
However, what you say does seem to be likely given your billing receipt.
Cloudflare needs to be aware that if there is a flat fee or minimum payment per month, this must be declared clearly in the billing information, otherwise, there is likely to be an FTC violation. https://www.ftc.gov/legal-library/browse/rules/deceptive-pricing
Might be your interpretation - for me I always interpreted it as that to begin with. Especially considering the actual examples outlined in Cache Reserve · Cloudflare Cache (CDN) docs do the same and mention rounding to 1 million
Assuming 1,000 assets (each 1 GB) are written to Cache Reserve at the start of the month and each asset is read 1,000 times, the estimated cost for the month would be:
Usage
Billable Quantity
Price
Class B Operations
(1,000 assets) * (1,000 reads per asset)
1,000,000
$0.36
Class A Operations
(1,000 assets) * (1 write per asset)
1,000
$4.50
Storage
(1,000 assets) * (1GB per asset)
1,000 GB-months
$15.00
TOTAL
$19.86
The billable quantity is rounded up to the nearest million.
From the Billing Examples:
Storage (1,000 assets) * (1GB per asset) 1,000 GB-months $15.00
conflicts with this:
Class A Operations (writes) $4.50 / million requests
It appears Cloudflare is advertising pricing as $4.50 / million requests, giving a billing example per 1000 operations and actually charging a minimum $4.50 for 0-unknown write operations.
That’s deceptive.
We’ve decided to cancel based on this lack of information.
Assuming 1,000 assets (each 1 GB) are written to Cache Reserve at the start of the month and each asset is read 1,000 times, the estimated cost for the month would be:
Usage
Billable Quantity
Price
Class B Operations
(1,000 assets) * (1,000 reads per asset)
1,000,000
$0.36
Class A Operations
(1,000 assets) * (1 write per asset)
1,000
$4.50
Storage
(1,000 assets) * (1GB per asset)
1,000 GB-months
$15.00
TOTAL
$19.86
The billable quantity is rounded up to the nearest million.