Skip to content
ByteMath

How much bandwidth does an API with 50 million requests use?

50 million API responses of 5 KB transfer about 250 GB a month, under 1 Mbps on average. Why request count, not bytes, usually drives API costs.

Last updated:

Inputs

Monthly transfer

0.25TB

Monthly transfer (GB)
250 GB
Served from origin
250 GB
Average throughput
0.8 Mbps
Peak throughput
2 Mbps
Origin egress cost
$22.50

Results are engineering estimates for planning. Final designs must follow your local code and be checked by a qualified professional.

This scenario at a glance

Input
Page views / requests50,000,000 per month
Transfer size per view0.005 MB
CDN cache hit ratio0 %
Peak-to-average factor3
Origin egress price0.09 $/GB
Calculated
Monthly transfer0.25 TB
Monthly transfer (GB)250 GB
Served from origin250 GB
Average throughput0.8 Mbps
Peak throughput2 Mbps
Origin egress cost$22.50

Engineering notes for this workload

APIs move many small payloads rather than a few large ones. Fifty million requests a month, about 19 per second on average, with a 5 KB JSON response each, add up to only 250 GB of transfer. At an example egress price of $0.09 per GB, that is about $22.50 a month.

For most APIs, the bandwidth bill is minor next to the per-request costs: API gateway charges, serverless invocations, database reads and compute. Fifty million requests on a managed API gateway priced per million calls or on a serverless platform priced per invocation can cost many times the egress. Model both sides when you estimate the cost of an API.

Average throughput is under 1 Mbps, but request rate matters for capacity. Nineteen requests per second average with a peak factor of 3 means about 58 requests per second at peak. Size connection pools, rate limits and autoscaling for the peak rate and for latency, not for bandwidth.

Payload size still deserves attention for mobile clients and for cost at higher volume. Enable gzip or Brotli on JSON responses; repetitive JSON keys often compress by 70–90 %. Return only the fields the client needs, paginate lists, and use conditional requests with ETags so unchanged resources return a 304 with no body.

Caching is underused for APIs. Public, read-heavy endpoints such as product catalogs, prices or configuration can be cached at the CDN with short TTLs of a few seconds to a few minutes, which removes most of the origin load during spikes. Set the cache hit ratio in the calculator to see the effect on origin egress.

Logs grow with request count too: 50 million requests can produce tens of gigabytes of access logs a month, with their own storage and ingestion costs.

Review response sizes per endpoint quarterly.

Reference table

Typical transfer sizes
ItemTypical sizeNotes
Median web page (all resources)2–3 MBHTTP Archive median, mobile slightly lower
HTML document (compressed)20–100 KBBrotli/gzip
Hero image (WebP/AVIF)50–300 KBResponsive sizes help
JavaScript bundle300–800 KBOften the largest cost on mobile
JSON API response1–50 KBCompress and paginate
1080p video, 1 minute30–60 MB4–8 Mbps bitrate
4K video, 1 minute110–190 MB15–25 Mbps bitrate

Measure your own pages in the browser’s network panel (transferred, not resource size).

Questions about this scenario

How much bandwidth do 50 million API calls use?

About 250 GB per month at 5 KB per response, before compression.

What drives API hosting costs?

Usually request-based charges for gateways, serverless invocations and databases, more than bandwidth.

How can I reduce API payload size?

Compress responses, return only needed fields, paginate, and use ETags so unchanged data returns 304 Not Modified.