R2 origin costs for a video library

An on-demand video service stores 24 TB and delivers 140 TB each month. A warm CDN serves 95% of bytes from cache and charges $0.008 per GB delivered.

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
$2,324.80/ month
R2 Standard TCO
$1,500.52/ month
Candidate savings
$824.28/ month

Both totals include the same edge delivery charge.

Monthly costs by provider
Monthly costs by providerBaseline TCO $2,324.80 / month. R2 Standard TCO $1,500.52 / month. Candidate savings $824.28 / monthBaseline$2,324.80R2 Standard$1,500.52StorageOrigin egressRequestsCDN deliveryOrigin transfer 7 TB · Edge delivery 140 TB
Detailed results
Baseline annual TCO$27,897.60 / year
Candidate annual TCO$18,006.24 / year
CDN-to-viewer delivery140 TB
Origin-to-CDN transfer7 TB
Candidate billable transfer0 TB
Class B origin requests7 million/month
Baseline origin transfer charge$630.00 / month
Candidate origin transfer charge$0.00 / month
Shared CDN delivery charge$1,120.00 / month

What to try

R2 removes origin bandwidth expense in this scenario. The candidate still spends $1,120 delivering cached and uncached traffic from the edge.

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

Should the video hit rate be weighted by objects or bytes?

Use a byte-weighted hit rate for egress. A missed long segment can cost much more than a missed thumbnail, even if each is one request.

How can I estimate origin traffic after a video cache purge?

Model the cold portion separately with a lower cache hit rate. Aggregate forecasts for cache-warm and cache-cold intervals in your billing sheet.

Open Object storage & CDN costs calculator