API Gateway Cost Calculator

Model AWS API Gateway monthly cost from request volume, payload size, and API type (HTTP, REST, or WebSocket).

API Gateway Cost Calculator

Estimate monthly AWS API Gateway request + data transfer costs for HTTP APIs and REST APIs (us-east-1 list pricing model).

Uses simplified public price points: HTTP API $1.00/M requests, REST $3.50/M, WebSocket $1.00/M messages + $0.25/M connection-minutes. Free tier and regional discounts are not applied — check AWS Pricing Calculator for quotes.

HTTP vs REST vs WebSocket

TypeBest forCost posture
HTTP APIJWT/Lambda proxy APIsUsually lowest per-request price
REST APIAPI keys, usage plans, request validationHigher per-request price
WebSocketChat, notifications, live feedsConnection-minutes often dominate

Cost Levers

  • Prefer HTTP APIs when you do not need REST-only features.
  • Shrink JSON payloads and enable compression at the edge where possible.
  • Put CloudFront in front for cacheable GETs to cut origin/API calls.
  • Watch WebSocket connection-minutes for always-on mobile clients.

Prices in this tool are simplified public list-style numbers for planning — confirm with the AWS Pricing Calculator for your region and tier.