apigatewaycost.com
SHEET 01 / API GATEWAY COST REFERENCE
Sheet 03 / Provider Detail

AWS API Gateway pricing,
HTTP vs REST vs WebSocket.

Pricing verified against aws.amazon.com/api-gateway/pricing, 9 June 2026

Amazon API Gateway sells three products under one name, and they are priced very differently. HTTP API costs $1.00 per million requests, REST API costs $3.50 per million, and WebSocket APIs meter messages and connection minutes separately. Below: every published tier, all eight cache sizes with monthly costs, regional rate variation, the data transfer charge that nearly doubles most bills, and worked examples from 1 million to 1 billion requests.

Δ Quick verdict

HTTP API is 3.5x cheaper than REST API ($1.00 vs $3.50 per million) and covers most new workloads: Lambda proxies, JWT auth, CORS, plain routing. Pay the REST premium only for usage plans, VTL transformation, response caching, request validation, or native WAF. Use WebSocket APIs for two-way realtime traffic.

Tool / AWS-only calculator

Model your exact workload: API type, volume, payload, cache size, with the per-line math shown.

Open AWS calculator →
Spec / Decision Table

Which API Gateway type should you use?

Your workloadUseFirst-tier price (US East)
Lambda or HTTP backends, JWT/OIDC auth, CORS, plain proxy routingHTTP API$1.00 / million requests
API keys with usage plans, VTL transformation, response caching, request validation, native WAFREST API$3.50 / million requests
Two-way realtime: chat, live dashboards, multiplayer, notificationsWebSocket API$1.00 / million messages + $0.25 / million connection minutes
Spec / Rate Cards

Full pricing tables, June 2026 (US East, N. Virginia)

HTTP API request tiers

Volume bandPrice per million requestsNotes
First 300 million requests / month$1.00Headline rate, applies to the vast majority of workloads
Over 300 million requests / month$0.9010% discount kicks in at the 300 millionth request

REST API request tiers

Volume bandPrice per million requestsNotes
First 333 million requests / month$3.503.5x the HTTP API rate
Next 667 million (333M to 1B)$2.8020% tier discount
Next 19 billion (1B to 20B)$2.38Still 2.6x HTTP API's over-300M rate
Over 20 billion requests / month$1.51Deepest published discount

WebSocket API

DimensionPriceNotes
Messages, first 1 billion / month$1.00 per millionMetered in 32 KB increments; a 33 KB message bills as 2
Messages, over 1 billion / month$0.80 per million20% tier discount
Connection minutes$0.25 per million~43,800 minutes for one connection held open all month

A connection held open 24/7 costs about 43,800 connection minutes/month, roughly $0.011. 10,000 always-on connections cost ~$109.50/month in connection minutes before any messages.

Spec / Cache Sizes

REST API caching: all 8 sizes with monthly cost

Caching is a REST API exclusive, billed per hour for as long as the cache is provisioned, hit or not. There is no free tier for caching. Monthly figures below assume a 730-hour month.

Cache memory sizePrice per hourPrice per month (730 hrs)
0.5 GB$0.020$14.60
1.6 GB$0.038$27.74
6.1 GB$0.200$146.00
13.5 GB$0.250$182.50
28.4 GB$0.500$365.00
58.2 GB$1.000$730.00
118 GB$1.900$1,387.00
237 GB$3.800$2,774.00

US East (N. Virginia) rates. Some regions price caches higher, e.g. the 0.5 GB cache is $0.028/hr in Asia Pacific (Tokyo) and South America (Sao Paulo). A forgotten staging cache is one of the most common surprise line items on AWS bills.

Spec / Regional Rates

Price by region: US East is the floor

RegionHTTP API / M (first 300M)REST API / M (first 333M)WS messages / MWS conn-min / M
US East (N. Virginia)$1.00$3.50$1.00$0.25
US West (Oregon)$1.00$3.50$1.00$0.25
Asia Pacific (Mumbai)$1.05$3.50$1.00$0.25
EU (Ireland)$1.11$3.50$1.14$0.29
EU (London)$1.16$3.50$1.19$0.30
EU (Frankfurt)$1.20$3.70$1.14$0.29
Asia Pacific (Sydney)$1.29$3.50$1.30$0.33
Asia Pacific (Tokyo)$1.29$4.25$1.26$0.32
South America (Sao Paulo)$1.59$4.25$1.55$0.39

First-tier rates from AWS's published per-region price list, fetched 9 June 2026. HTTP API runs up to 59% more expensive in Sao Paulo than in N. Virginia; REST API holds $3.50 in most large regions but rises to $4.25 in Tokyo and Sao Paulo. Data transfer rates also vary by region.

Spec / Data Transfer

Data transfer: the charge that doubles the bill

Every byte API Gateway returns to the internet is billed at EC2 data transfer rates, $0.09/GB in US East. AWS accounts get 100 GB of data transfer out free each month, aggregated across all services, which most production accounts exhaust elsewhere. On payload-heavy APIs, transfer rivals or exceeds the request fees:

Avg response payloadGB at 100M req/moTransfer cost ($0.09/GB)% of HTTP API total
1 KB95 GB$8.588%
5 KB477 GB$42.9230%
10 KB954 GB$85.8346%
20 KB1,907 GB$171.6663%
50 KB4,768 GB$429.1581%
100 KB9,537 GB$858.3190%

GB = requests x payload KB / 1,048,576. Percentages assume HTTP API request fees of $100 at 100M requests. Private APIs incur no data transfer out charges; AWS PrivateLink fees apply instead. By contrast, Cloudflare charges $0 egress.

Worked Examples

The math at 1M, 10M, 100M and 1B requests (10 KB payloads)

1M requests / month

HTTP API requests: 1M x $1.00/M$1.00
Data transfer: 1M x 10 KB = 9.54 GB x $0.09$0.86
HTTP API total$1.86
REST API requests: 1M x $3.50/M$3.50
Data transfer: 9.54 GB x $0.09$0.86
REST API total$4.36

10M requests / month

HTTP API requests: 10M x $1.00/M$10.00
Data transfer: 10M x 10 KB = 95.37 GB x $0.09$8.58
HTTP API total$18.58
REST API requests: 10M x $3.50/M$35.00
Data transfer: 95.37 GB x $0.09$8.58
REST API total$43.58

100M requests / month

HTTP API requests: 100M x $1.00/M$100.00
Data transfer: 100M x 10 KB = 953.67 GB x $0.09$85.83
HTTP API total$185.83
REST API requests: 100M x $3.50/M$350.00
Data transfer: 953.67 GB x $0.09$85.83
REST API total$435.83

1B requests / month

HTTP API tier 1: 300M x $1.00/M$300.00
HTTP API tier 2: 700M x $0.90/M$630.00
Data transfer: 1B x 10 KB = 9,536.74 GB x $0.09$858.31
HTTP API total$1,788.31
REST API tier 1: 333M x $3.50/M$1,165.50
REST API tier 2: 667M x $2.80/M$1,867.60
Data transfer: 9,536.74 GB x $0.09$858.31
REST API total$3,891.41

US East (N. Virginia) list rates, no free tier applied, no caching. GB computed as requests x 10 KB / 1,048,576. Model your own payload and cache in the AWS calculator.

Detail / Hidden Lines

The costs AWS does not show you upfront

Data transfer out

The pricing page leads with per-request rates; egress at $0.09/GB sits in a footnote. At 10 KB payloads it adds 86% on top of HTTP API request fees. Budget it from day one.

CloudWatch logging

Access and execution logs bill separately: $0.50/GB ingested plus $0.03/GB-month stored (US East, 5 GB/month free). 100M requests writing ~1 KB access-log entries ingest ~95 GB, about $48/month, half your request bill again.

Caching runs while you sleep

REST caches bill hourly whether traffic arrives or not. A 6.1 GB cache left on a staging stage costs $146/month. Audit provisioned caches quarterly.

Custom domains: free, with homework

API Gateway custom domain names carry no charge, and public ACM certificates are free. The real costs are operational: DNS hosting, cert renewal automation, and a Route 53 hosted zone if you keep DNS in AWS.

Private APIs swap egress for PrivateLink

Private APIs have no data transfer out charges, but you pay AWS PrivateLink: $0.01 per VPC endpoint per AZ per hour plus $0.01/GB processed. Three AZs run ~$21.90/month before any traffic.

Multi-region multiplies everything

Each region bills its own request tiers at its own rates (Tokyo HTTP API is 29% above US East), plus inter-region data transfer for replication and failover traffic. Two-region active-active roughly doubles the gateway line.

Full breakdown across providers in the hidden costs guide.

Detail / Feature Delta

What you give up for the 3.5x saving

CapabilityHTTP APIREST API
Price (first tier, US East)$1.00 / million$3.50 / million
Lambda proxy + HTTP proxy integrationsYesYes
JWT / OIDC authorizers (built in)YesVia Lambda authorizer
Automatic CORS configurationYesManual
API keys + usage plans + quotasNoYes
Request / response transformation (VTL)NoYes
Per-stage response cachingNoYes ($0.02 to $3.80/hr)
AWS WAF attachment (native)NoYes
Request validationNoYes
Edge-optimized + private endpoint typesRegional onlyEdge, regional, private
X-Ray tracingNoYes

HTTP APIs also ship lower per-request latency because they skip the REST API's heavier request-processing pipeline. Both support custom domains, stage variables and throttling.

Detail / Free Tier

Free tier math: what 12 months actually covers

New AWS accounts get, per month for 12 months: 1 million REST API calls, 1 million HTTP API calls, and 1 million messages plus 750,000 connection minutes for WebSocket APIs. Priced at list rates, that is:

Free allowance (per month)List value
1M HTTP API calls$1.00
1M REST API calls$3.50
1M WebSocket messages$1.00
750,000 WebSocket connection minutes$0.19
Total per month / over 12 months$5.69 / ~$68

■ What it covers well

Side projects, prototypes and low-traffic internal tools. 1M requests/month is about 23 requests per minute sustained; many MVPs never exceed it. Data transfer rides the separate account-wide 100 GB/month free allowance.

■ The month-13 cliff

The allowance expires entirely after 12 months; there is no permanent free tier, no free cache, and the clock starts at account creation, not first API call. Cloudflare and Google Cloud API Gateway keep their free tiers forever. Set a billing alarm before month 12 ends.

Detail / The REST Case

REST API is 3.5x the price: when it is worth it

The honest answer: less often than AWS's defaults suggest, but there are four real cases.

1. You sell metered API access

Usage plans with API keys, quotas and throttling per customer are REST-only. Rebuilding them on HTTP API means a Lambda authorizer plus a DynamoDB metering table; at low volume the $2.50/million premium is cheaper than that engineering.

2. A cache hit costs less than a backend hit

Per-stage response caching is REST-only. If a $27.74/month 1.6 GB cache absorbs half the load on an expensive Lambda or RDS-backed endpoint, it pays for itself many times over, and the REST premium with it.

3. You transform payloads at the gateway

VTL request/response mapping lets REST APIs front legacy backends and AWS services directly (DynamoDB, SQS, Step Functions) without glue Lambdas. Each glue Lambda you avoid saves invocation fees and latency.

4. Compliance demands WAF and request validation at the edge

Native AWS WAF attachment and schema-based request validation are REST-only. If your security review requires both at the gateway layer, HTTP API is not an option yet.

Everyone else: take the HTTP API discount. At 100M requests/month the saving is $250 every month, and migration is mostly a routing and authorizer exercise.

Frequently Specified

Questions answered on this sheet

Q01.What is Amazon API Gateway HTTP API pricing per million requests in 2026?+
$1.00 per million requests for the first 300 million requests per month, then $0.90 per million above 300 million, in US East (N. Virginia). Verified against aws.amazon.com/api-gateway/pricing in June 2026. Rates vary by region: EU (Ireland) is $1.11/million, Asia Pacific (Tokyo) $1.29/million, South America (Sao Paulo) $1.59/million. Data transfer out is billed separately at $0.09/GB.
Q02.What is AWS REST API Gateway pricing per million requests?+
$3.50 per million for the first 333 million requests per month in US East (N. Virginia), then $2.80 per million for the next 667 million, $2.38 per million for the next 19 billion, and $1.51 per million above 20 billion. REST API is 3.5x the price of HTTP API at typical volumes. The premium buys request/response transformation, API keys with usage plans, per-stage caching, request validation, and native AWS WAF integration.
Q03.What is AWS API Gateway WebSocket pricing?+
WebSocket APIs charge $1.00 per million messages for the first 1 billion messages per month, $0.80 per million above 1 billion, plus $0.25 per million connection minutes, in US East (N. Virginia). A connection held open 24/7 for a month consumes about 43,800 connection minutes, roughly $0.011 per connection per month. Messages are metered in 32 KB increments, so a 33 KB message counts as two messages.
Q04.Is HTTP API cheaper than REST API on AWS?+
Yes, 3.5x cheaper at the first tier: $1.00 vs $3.50 per million requests. At 100 million requests per month that is $100 vs $350 in request fees alone. HTTP API covers Lambda proxy integrations, JWT/OIDC authorizers, CORS, and most routing needs. You only pay the REST premium if you need usage plans with API keys, VTL request/response transformation, per-stage response caching, request validation, or built-in AWS WAF attachment.
Q05.Does AWS API Gateway charge for data transfer?+
Yes. Data transferred out of API Gateway to the internet is billed at EC2 data transfer rates, $0.09/GB in US East. AWS accounts get 100 GB of data transfer out free per month, aggregated across services. At scale this charge is significant: 100 million requests with 10 KB average responses generate about 954 GB, roughly $86/month, nearly doubling an HTTP API bill. Private APIs have no data transfer out charges, but AWS PrivateLink fees apply instead ($0.01 per AZ per hour plus $0.01/GB processed).
Q06.Does AWS API Gateway have a free tier?+
Yes, for the first 12 months of a new AWS account: 1 million REST API calls, 1 million HTTP API calls, and 1 million messages plus 750,000 connection minutes for WebSocket APIs, per month. At list prices the whole package is worth about $5.69/month, around $68 over the full 12 months. After 12 months it expires completely and every request is billed, unlike Cloudflare or Google Cloud API Gateway, whose free tiers are permanent.
Q07.How much does AWS API Gateway caching cost?+
REST API caching is billed per hour by cache size, with no free tier: 0.5 GB at $0.02/hour ($14.60/month), 1.6 GB at $0.038/hour ($27.74/month), 6.1 GB at $0.20/hour ($146/month), 13.5 GB at $0.25/hour ($182.50/month), 28.4 GB at $0.50/hour ($365/month), 58.2 GB at $1.00/hour ($730/month), 118 GB at $1.90/hour ($1,387/month), and 237 GB at $3.80/hour ($2,774/month). Caching is only available on REST APIs, not HTTP APIs.
Q08.How do I reduce AWS API Gateway costs?+
In order of impact: (1) migrate REST APIs to HTTP APIs where you do not use REST-only features, an immediate 71% cut in request fees ($3.50 to $1.00/million); (2) shrink response payloads with compression and field filtering, since $0.09/GB egress often rivals request fees; (3) turn off or right-size REST caches you are not hitting, a forgotten 6.1 GB cache costs $146/month; (4) prune CloudWatch access and execution logging, billed at $0.50/GB ingested; (5) at sustained 100M+ requests/month, ask AWS about private pricing.
All request, message, connection-minute, cache and regional rates fetched from aws.amazon.com/api-gateway/pricing (AWS's published price list) on 9 June 2026. Data transfer rate and 100 GB/month free allowance from aws.amazon.com/ec2/pricing/on-demand, CloudWatch Logs rates from aws.amazon.com/cloudwatch/pricing, same date. Not affiliated with AWS. See also: AWS cost calculator, all providers ranked, multi-provider calculator, Google Cloud API Gateway, Azure API Management, hidden costs guide.

Updated 2026-06-09