AWS API Gateway Cost Calculator

Estimate API Gateway-style cost with a simple model: request fees + response transfer. Compare baseline vs peak traffic with your effective pricing and response size.

Maintained by CloudCostKit Editorial Team. Last updated: 2026-01-28. Editorial policy and methodology.

Best next steps

Use this calculator for the first estimate, then validate the answer with the closest guide or companion tool.

Inputs

Requests (per month)
Avg 114.22 req/sec.
Avg RPS
Use a realistic baseline RPS.
Est 315,187,200 requests/month.
Request price ($ / 1M requests)
Avg response size (KB)
Use the typical compressed payload size over the wire.
Egress price ($ / GB)
Use your effective price for internet egress or the relevant transfer path.
Scenario presets

Results

Estimated monthly total
$1,436.24
Request fees
$1,050.00
Transfer
$386.24
Estimated transfer (GB/month)
4,292
Cost per 1M requests
$4.79
Transfer per request
15 KB

Start by separating API type and traffic path

The quickest way to break an API Gateway estimate is to treat all traffic as one blended stream. Before trusting the total, split traffic by API type and by delivery path: public internet responses, private integration traffic, cached responses, and any large-payload endpoints that behave differently from the median route.

  • Measure monthly requests from CloudWatch, access logs, or billing exports rather than from one recent day.
  • Break out endpoints with unusually large response bodies instead of using one global average response size.
  • Write down whether transfer is really internet egress, private connectivity, or mostly absorbed by CDN caching.

Where API Gateway estimates usually drift

API Gateway pages often look request-driven at first, but the bill drifts when one of the hidden multipliers grows faster than request count.

  • Retry storms: timeouts, client retries, and webhook redelivery can multiply request volume quickly.
  • Log-heavy endpoints: access logs and downstream observability are adjacent costs that this page does not include.
  • Large responses: file-like or report-like endpoints can turn transfer into the dominant line item.
  • Cache miss behavior: a cache that is cold during launches or incidents can make peak months look nothing like baseline months.

Reconcile the estimate with a real bill

If the calculator and the bill disagree, do not start by editing prices. First confirm the traffic shape and the boundary you are paying for.

  1. Pull one representative billing period and compare billed requests with your measured request count.
  2. Check whether the routes with the highest payload size are also the routes with the highest call count.
  3. Confirm whether CDN, WAF, custom domains, or private integrations are adding adjacent charges outside this page.
  4. Re-run the calculator with separate baseline and launch or incident scenarios instead of one monthly average.

What to do after the first estimate

If request fees dominate, focus on caching, batching, and noisy clients. If transfer dominates, reduce payload size, compress aggressively, or hand off large responses to a CDN workflow. If both move together, this page is a planning checkpoint and the next review should include logs, WAF, and backend dependencies.

Next steps

Example scenario

  • 300M requests/month at $3.50 per 1M requests with 15 KB avg response and $0.09/GB egress.
  • Peak 220% scenario helps budget for launch windows and incident spikes.

Included

  • Request fee estimate from requests/month and $ per 1M requests.
  • Transfer estimate from requests/month and average response KB (then $/GB).
  • Request volume estimator for baseline and peak traffic.
  • Baseline vs peak scenario table for request spikes.

Not included

  • Caching, WAF, custom domains, and other add-ons unless you model them separately.
  • Upstream/downstream service costs (Lambda, databases, logs, etc).

How we calculate

  • Request cost = (requests per month / 1,000,000) x $ per 1M requests.
  • Transfer GB/month ~= requests per month x avg response KB / 1024 / 1024.
  • Transfer cost = transfer GB/month x $ per GB.
  • Total = request cost + transfer cost.

FAQ

Do I always pay egress for API Gateway responses?
Not always. Transfer pricing depends on where traffic goes (internet, VPC, regions) and your architecture. Use your effective transfer rate for the path that applies.
What should I use for average response size?
Use the typical compressed payload size over the wire. Large responses can make transfer dominate total cost.
How do I reduce API Gateway cost?
Reduce request volume (caching, batching), reduce response size, and use a CDN for large payloads when appropriate.

Related tools

Related guides

Disclaimer

Educational use only. Not legal, financial, or professional advice. Results are estimates based on the inputs and assumptions shown on this page. Verify pricing and limits with your providers and documentation.

Last updated: 2026-01-28. Reviewed against CloudCostKit methodology and current provider documentation. See the Editorial Policy .