CheckPre

GCP vs Cloudflare Egress Cost Calculator

Google Cloud egress and Cloud CDN against Cloudflare's free-bandwidth CDN and zero-egress R2, on your own traffic.

Updated · By Niraj Kumar · 14 sources

Providers

Where

Servers and users inServers and users in
Enter volumes inEnter volumes in

Traffic to users

GB / month

Everything your servers, storage and CDN send to users and other services on the internet.

%
No CDNAll of it

Each provider's own CDN: CloudFront, Cloud CDN, Front Door, Cloudflare or Spaces CDN.

Traffic inside the cloud

GB / month

Replication, backups and calls to services in a different region.

GB / month

Service-to-service calls, load balancing and database replicas in other zones of the same region.

NAT and servers

GB / month

Outbound calls, package and image pulls from private subnets.

Usually one per availability zone.

Sets pooled transfer allowances and Cloud NAT's per-VM fee.

Cheaper for this trafficCloudflareSaves $1,182 a month, $14,185 a year
Google Cloud
$1,182 a month
$14,185 a year · 8th cheapest of 8
Cloudflare
$0.00 a month
$0.00 a year · 1st cheapest of 8
Cheapest cloud with servers
DigitalOcean
$0.00 a month
Every provider on this traffic, per month, North AmericaHover or focus a row for its line items.
  1. 1Cloudflarebandwidth only$0.00Cloudflare runs no servers, so region, zone and NAT traffic is priced on whatever compute sits behind it.
  2. 2DigitalOcean$0.00DigitalOcean has no managed NAT gateway to bill; servers reach the internet on their own addresses.
  3. 3Akamai Cloud (Linode)$0.00Linode has no managed NAT gateway to bill; servers reach the internet on their own addresses.
  4. 4Oracle Cloud$4.25
  5. 5Hetzner Cloud$8.51Uses 10.5 TB against a pooled allowance of 3 TB across 3 servers.
  6. 6Microsoft Azure$948
  7. 7AWS$998
  8. 8Google Cloud$1,182
Line by line, per month
ProviderInternet egressInter-regionCross-AZNAT gateway hoursNAT data processedTotal
Cloudflare–––––$0.00
DigitalOcean–––––$0.00
Akamai Cloud (Linode)–––––$0.00
Oracle Cloud$4.25––––$4.25
Hetzner Cloud$8.51––––$8.51
Microsoft Azure$882$10.00–$32.85$22.50$948
AWS$913$10.00$20.00$32.85$22.50$998
Google Cloud$1,137$10.00$10.00$3.07$22.50$1,182

How is cloud data transfer billed?

monthly = tiered(internet egress) + CDN delivery + misses × origin fetch + inter-region GB × rate + cross-AZ GB × rate + NAT gateways × hourly × 730 + NAT GB × processing rate

This page uses the same method as the Cloud Egress Cost Calculator, which explains each term and assumption in full.

Worked example

A workload in North America: 10 TB a month to the internet, 500 GB to another region, 1,000 GB across zones, 500 GB through NAT, on 3 servers.

  1. 1Google Cloud: internet egress $1,137, inter-region $10.00, cross-az $10.00, nat gateway hours $3.07, nat data processed $22.50 = $1,182
  2. 2Cloudflare: nothing billable = $0.00
  3. 3Difference: $1,182 a month

Cloudflare is $1,182 a month cheaper for this workload, $14,185 a year.

Frequently asked questions

Is Google Cloud or Cloudflare cheaper for egress?

For internet egress from North America on 3 servers at list rates, at 1 TB a month Cloudflare costs $0.00 against $123; at 10 TB a month Cloudflare costs $0.00 against $1,137; and at 100 TB a month Cloudflare costs $0.00 against $8,509. Zone, NAT and CDN charges can change the answer, so enter your own traffic.

Is Cloudflare cheaper than Google Cloud CDN?

For bandwidth, always: Cloudflare charges nothing per GB, while Cloud CDN starts at $0.08 per GB in North America and Europe and adds cache fill on misses. Google's Media CDN and Cloud CDN do offer tighter integration with Google load balancers and IAM. Many teams keep compute on Google and put Cloudflare in front, paying Google egress only on cache misses.

Sources

Related calculators

More in AI, Cloud & Developer