#1826 · Startup & SaaS Tool

API Gateway Cost Forecast Calculator

Forecast API Gateway spending as request volume compounds over time, including request charges, fixed platform cost, cumulative requests, and the ending monthly run rate.

Calculator

Requests, pricing, and growth
million
$/million
$
%
months

How to use this calculator

  1. Enter current monthly API request volume.
  2. Enter the effective price per million requests and fixed monthly cost.
  3. Set expected monthly request growth and the forecast length.
  4. Review cumulative cost, request volume, and ending run rate.

Formula

Requests in month m = Starting requests × (1 + growth)m−1
Monthly cost = Requests (millions) × Rate + Fixed cost

What the result means

The main result is total API Gateway spend over the forecast period. Ending monthly cost helps translate compounding request growth into a future budget run rate.

Pricing is modeled with one effective rate and one fixed monthly cost. Add downstream compute, data transfer, caching, and support only when included in the entered fixed cost or effective rate.

Example calculation

Starting at 100 million requests, $1.20 per million, $250 fixed monthly cost, 10% monthly growth, and 12 months produces $5,566.11 in cumulative cost. Month 12 costs $592.37, with 2,138.43 million cumulative requests.

Tips for better results

  • Use billing-export data rather than rounded dashboard totals.
  • Keep traffic volume and pricing units aligned before comparing scenarios.
  • Recalculate after a contract, architecture, or retention-policy change.
  • Forecast retries and non-billable calls consistently with the billing basis.
  • Run low, base, and high growth cases for budget planning.

Frequently asked questions

Does API Gateway fixed cost grow with requests?

No. The entered fixed monthly cost stays constant while request charges grow with volume.

Can API request growth be negative?

Yes. A value above −100% models declining monthly request volume.

Does the forecast include free-tier API requests?

Only indirectly if your effective price already reflects the free allowance.

Are downstream compute charges included?

Only if you include them in the fixed monthly cost or effective request rate.

How are fractional forecast months handled?

They are not; the forecast period must be a whole number from 1 to 120 months.

Variables and units

VariableMeaningUnit
Q₁Starting monthly requestsmillions
rEffective request price$/million
gMonthly request growth%
mForecast monthmonth

Browse calculator categories

22 category hubs