Class B request density for small web assets

A static asset CDN serves 240 million monthly reads across 15 TB of delivery. Cache hits are high, but each small object makes request fees worth checking.

Jump to results

Inputs

Content and traffic
TB
TB
%
million/month
million/month
USD/GB
Baseline rates
USD/GB-month
USD/GB
USD/million
USD/million
Candidate rates

Choose a preset to load its rates. Every rate remains editable. Prices always use decimal GB.

USD/GB-month
USD/GB
×
USD/million
USD/million

Results

Runs in your browser
Baseline TCO
$184.82/ month
R2 Standard TCO
$150.98/ month
Candidate savings
$33.84/ month

Both totals include the same edge delivery charge.

Monthly costs by provider
Monthly costs by providerBaseline TCO $184.82 / month. R2 Standard TCO $150.98 / month. Candidate savings $33.84 / monthBaseline$184.82R2 Standard$150.98StorageOrigin egressRequestsCDN deliveryOrigin transfer 0.3 TB · Edge delivery 15 TB
Detailed results
Baseline annual TCO$2,217.84 / year
Candidate annual TCO$1,811.74 / year
CDN-to-viewer delivery15 TB
Origin-to-CDN transfer0.3 TB
Candidate billable transfer0 TB
Class B origin requests4.8 million/month
Baseline origin transfer charge$27.00 / month
Candidate origin transfer charge$0.00 / month
Shared CDN delivery charge$135.00 / month

What to try

At a shared 98% cache-hit assumption, 4.8 million Class B reads reach origin. Record cache-byte and cache-request hit rates independently before extrapolating a provider invoice.

How the estimate works

Origin traffic = edge delivery × (1 − cache hit rate)

The edge delivers all viewer traffic. Origin transfer and Class B origin requests use the same cache-miss share. Class A requests are already measured at origin. A volume-weighted hit rate and a request-weighted hit rate can differ in production.

Prices are modeled linearly in decimal GB and millions of requests. The R2 Standard preset uses $0.015 per GB-month, $4.50 and $0.36 per million Class A and B calls, and zero origin egress. The B2 pay-as-you-go preset uses $0.00695 per GB-month, free Class A and B calls, and $0.01/GB after 3× stored data.

The estimate includes one editable CDN rate, shared by both options. Provider free tiers other than the B2 transfer allowance, rounding, retrieval, partner waivers, discounts, and taxes are outside this estimate. Enter a zero candidate egress rate to model an eligible partner waiver.

Frequently asked questions

Do 240 million asset reads all receive an R2 Class B charge?

The modeled CDN serves 98% from cache, so only 4.8 million reads reach origin. R2 also has a free tier and billable-unit rounding that this linear estimate omits.

Could cache revalidation increase asset origin calls without more bytes?

Yes. Conditional requests and header lookups can reach origin while transferring less data than a full response.

Open Object storage & CDN costs calculator