Cache reserve billing

I’ve been using cache reserve for a week.

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?

Thanks.

Hey,

You need to work it out yourself, it’s all explained here:

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?

Otherwise, I will cancel the cache reserve.

Thank you

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

Then it’s just a matter of applying the billing to those numbers Cache Reserve · Cloudflare Cache (CDN) docs

Storage $0.015 / GB-month
Class A Operations (writes) $4.50 / million requests
Class B Operations (reads) $0.36 / million requests

The billable quantity is rounded up to the nearest million.

​​Storage usage

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

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 (writes)

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.

​​Class B operations (reads)

Class B operations are performed when data needs to be fetched from Cache Reserve to respond to a miss in the edge cache.

For my Cache Analytics reported Cache Reserve usage metrics for 30 days it would be

  • Class A operations = 9.24k = $ 4.50
  • Class B operations = 260.58k = $0.36
  • Storage = 6.97GB x 0.015 = $0.10455
    Total = $4.96

How did you arrive at this calculation?

Also, if you look at this:

Cache Reserve billing examples

​​Example 1

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

Blockquote

From here: Cache Reserve · Cloudflare Cache (CDN) docs

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?

$4.50 per 1 million requests

reads per asset is essentially reads as I understand it

  • If you have 1 asset read a 1000 times = 1 x 1000 = 1000 read requests
  • If you have 1000 assets read 1 time = 1000 x 1 = 1000 read requests
  • If you have 1000 assets each read 1000 times = 1000 x 1000 = 1 million read requests
  • If you have 1 asset read 1000 times and 2 assets each read 100 times = 1 x 1000 + 2 x 100 = 1,200 read requests

Might make it clearer, here’s my CF invoice for last month’s Cache Reserve

I understand you are trying to help, and thank you for that.

However, there’s no math here to arrive at $4.50 based on 9.24k Class A operations.

Where does Cloudflare provide the data for 1) Number of assets, 2) How many times each asset is read?

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

Cache Reserve billing examples

​​Example 1

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.

I disagree.

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.

the actual examples outlined in Cache Reserve · Cloudflare Cache (CDN) docs do the same and mention rounding to 1 million

Cache Reserve billing examples

​​Example 1

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.

Again - there’s no math here to arrive at $4.50 based on 9.24k Class A operations.

Please provide the math otherwise I shall close the thread. Thanks.

Based on the information in this thread we’ve cancelled this product until such time as billing is clear and transparent.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.