Azure CDN pricing: estimate bandwidth, requests, and cache fill

CDN pricing becomes predictable when you split traffic into three drivers: edge bandwidth, edge requests, and origin egress (cache fill). Most surprise bills come from cache misses and cold-cache events, not from steady-state hits.

0) Define the boundary (edge vs origin)

  • Edge bandwidth: bytes delivered from CDN to end users.
  • Origin egress: bytes from your origin to CDN on cache miss/fill.
  • Requests: count requests at the edge, and keep a separate estimate for origin requests if your origin pricing cares.

In many architectures you pay for both legs: CDN edge delivery plus origin egress on cache fill.

1) Edge bandwidth (GB/month)

Use a representative traffic window. If you only have RPS, estimate transfer from response size and request volume. If you have a few very large endpoints (downloads, exports), model them separately.

Tools: CDN bandwidth, Response transfer.

2) Requests (per month)

Requests matter for lots of small objects and API-heavy traffic. Convert RPS to monthly requests and keep pricing units explicit (per 10k vs per 1M).

Tools: RPS to monthly requests, CDN request cost.

  • Split into at least two buckets if needed: API-like (high RPS, small payloads) and download-like (lower RPS, large payloads).
  • Keep a peak scenario for bot spikes and incident traffic.

3) Origin egress (cache fill)

Origin egress is driven by cache misses. A practical estimate is: origin GB ≈ edge GB * (1 - hit rate). Purges, deploys, and low TTLs reduce hit rate and increase cache fill.

Tool: Egress cost.

  • Model large objects separately: one media/export path can dominate origin GB even when overall hit rate looks good.
  • Track hit rate during deploys/purges. Cold cache events are often the root cause of origin spikes.

Worked estimate template (copy/paste)

  • Edge requests/month = baseline + peak
  • Edge GB/month = requests/month * avg response size (GB) (split big endpoints separately)
  • Origin GB/month ≈ edge GB/month * (1 - hit rate)

Common pitfalls

  • Double-counting edge bandwidth and origin egress.
  • Using one blended response size when a few endpoints dominate bytes.
  • Ignoring purge/deploy behavior and cold-cache events.
  • Mixing request pricing units (per 10k vs per 1M).
  • Assuming hit rate is stable; it varies by path, TTL, and cache key configuration.

How to validate

  • Validate hit rate and top endpoints by bytes and requests (avoid blended averages).
  • Validate origin egress separately from edge bandwidth.
  • After one billing cycle, reconcile edge vs origin legs and keep a peak scenario for incident windows.

Related tools

Sources


Related guides

Azure Front Door pricing: model requests, bandwidth, and origin traffic
A practical Azure Front Door cost model: edge bandwidth, request volume, logging, and origin traffic (cache fill). Includes a checklist to validate hit rate and avoid double-counting egress.
Cloud CDN pricing (GCP): bandwidth, requests, and origin egress (cache fill)
A practical Cloud CDN cost model: edge bandwidth, request volume, and origin egress (cache fill). Includes validation steps for hit rate by path, heavy-tail endpoints, and purge/deploy events that reduce hit rate.
Azure API Management pricing: model requests, transfer, and log volume
A practical API Management estimate: request volume, response transfer, and logs/observability. Includes a checklist to validate retries, payload size, and usage tiers.
Azure bandwidth and egress costs: how to estimate outbound data transfer
A practical method to estimate outbound bandwidth costs: split by destination (internet, cross-region, CDN origin), validate units, and avoid double-counting.
CDN Cost & Pricing Guide (bandwidth, requests, origin egress)
Step-by-step CDN cost breakdown: bandwidth $/GB, request fees, and origin egress. Includes estimation tips and pitfalls.
CloudFront vs Cloudflare CDN cost: compare the right line items (bandwidth, requests, origin egress)
A practical comparison checklist for CloudFront vs Cloudflare pricing. Compare bandwidth ($/GB), request fees, region mix, origin egress (cache fill), and add-ons like WAF, logs, and edge compute. Includes a modeling template and validation steps.

Related calculators


FAQ

What usually drives CDN cost?
Bandwidth is usually the biggest driver. Requests matter for API/CDN-heavy workloads and for large volumes of small objects.
How do I estimate quickly?
Estimate monthly edge GB and edge requests, then estimate origin GB from cache hit rate (misses drive cache fill).
How do I validate?
Validate cache hit rate and top endpoints by bytes, and validate that purges and deploys don't trigger large cache misses.
What is the most common mistake?
Double-counting edge bandwidth and origin egress as the same GB, or using one blended average response size for endpoints with a heavy tail.

Last updated: 2026-01-27