Home / Dev & AI / Cloud Cost / AWS API Gateway Cost Calculator

Cloud Cost

AWS API Gateway Cost Calculator

Estimate your API Gateway bill. Pick REST, HTTP or WebSocket, enter monthly requests, and see the cost with the big REST versus HTTP price difference made clear.

Estimated monthly cost

$0

Gateway request cost
Cost per million requests
Data transferred
Requests per month
Annual estimate

Cost as traffic grows

Gateway spend if request volume doubles, 5x or 10x.

What the AWS API Gateway Cost Calculator does

Amazon API Gateway sits in front of your backend and is billed per request. The important detail is that the type matters a great deal: REST APIs cost about $3.50 per million requests, while HTTP APIs deliver similar core features for roughly $1.00 per million. Choosing HTTP where you do not need REST specific features can cut this line by two thirds.

This API Gateway cost calculator applies the rate for the type you choose to your monthly request volume and projects how the cost grows with traffic. WebSocket APIs bill per message and connection minutes, priced near the HTTP rate per million messages.

Heads up on pricing. The rates built into this tool are public list estimates for July 2026 and can change without notice. Providers also offer batch discounts, prompt caching and volume tiers that lower real costs, so treat the output as a planning estimate, not a quote.

The formula

cost = requests ÷ 1,000,000 × rate per million
REST $3.50/M, HTTP $1.00/M, WebSocket $1.00/M messages

Worked example

For 20,000,000 requests a month on a REST API at $3.50 per million, cost is 20 × $3.50 = $70 a month. The same traffic on an HTTP API at $1.00 per million is just $20.

Ways to lower your cloud costs

Frequently asked questions

How much does AWS API Gateway cost?

REST APIs are about $3.50 per million requests and HTTP APIs about $1.00 per million. Twenty million requests is $70 on REST or $20 on HTTP. Enter your volume above.

Should I use REST or HTTP API?

Use HTTP APIs unless you need REST only features like request validation, API keys with usage plans or edge caching. HTTP is cheaper and faster for most cases.

Is there a free tier?

AWS offers a limited API Gateway free tier for the first year. This tool estimates net billed requests, so subtract any free allowance if it applies.

Does API Gateway add latency cost?

It adds a small per request fee and slight latency. For very high volume, some teams front their backend with a load balancer instead, which prices differently.

Are these rates current?

They are July 2026 estimates. Confirm current pricing and any data transfer charges on the AWS pricing page for your region.

Related calculators