AWS BillExplained
← Services

Integration

Amazon API Gateway

  • Timebilled
  • Bytesbilled
  • Callsbilled

In one line

REST and HTTP bill per request. WebSocket bills per message and per minute a socket stays open.

What gets missed

HTTP API requests meter in 512KB increments and WebSocket messages in 32KB, so one fat payload becomes several billed units. Connection minutes accrue on idle sockets carrying no traffic at all.

Find it on your bill

Filter Cost Explorer or your Cost and Usage Report by these usage types. A usage type with no region prefix means us-east-1.

  • ApiGatewayRequest
  • ApiGatewayHttpRequest
  • ApiGatewayMessage
  • ApiGatewayMinute

Bills the same way

These services turn exactly the same meters, so what you learn here transfers.