Free Tier

The Amazon API Gateway free tier includes one million API calls received for HTTP/REST APIs, and one million messages and 750,000 connection minutes for WebSocket APIs per month for up to 12 months. If you exceed this number of calls per month, you will be charged the API Gateway usage rates.

1M API CALLS RECEIVED | 1M MESSAGES | 750,000 CONNECTION MINUTES

per month

These free tier offers are only available to new AWS customers, and are available for 12 months following your AWS sign-up date. When your 12 month free usage term expires or if your application use exceeds the tiers, you simply pay standard, pay-as-you-go service rates.

HTTP/REST APIs

Pay only for the API calls you receive and the amount of data transferred out. There are no data transfer out charges for Private APIs. However, AWS PrivateLink charges apply when using Private APIs in API Gateway. API Gateway also provides optional data caching charged at an hourly rate that varies based on the cache size you select. For HTTP/REST APIs, the API Gateway free tier includes one million API calls per month for up to 12 months.

  • US East (N. Virginia, Ohio) | US West (Oregon) | Asia Pacific (Mumbai)
  • US West (Northern California)
  • Canada (Central)
  • EU (Ireland) | Asia Pacific (Seoul)
  • EU (London, Paris)
  • EU (Frankfurt)
  • EU (Stockholm)
  • Asia Pacific (Sydney)
  • Asia Pacific (Singapore)
  • Asia Pacific (Tokyo)
  • South America (Sao Paulo)
  • AWS GovCloud (US-East)
  • AWS GovCloud (US-West)
  • US East (N. Virginia, Ohio) | US West (Oregon) | Asia Pacific (Mumbai)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $2.80
    Next 19 billion $2.38
    Over 20 billion $1.51

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • US West (Northern California)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.47
    Next 19 billion $2.95
    Over 20 billion $1.87

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • Canada (Central)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.08
    Next 19 billion $2.62
    Over 20 billion $1.66

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • EU (Ireland) | Asia Pacific (Seoul)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.19
    Next 19 billion $2.71
    Over 20 billion $1.72

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • EU (London, Paris)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.33
    Next 19 billion $2.83
    Over 20 billion $1.80

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • EU (Frankfurt)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.70
    Next 667 million $3.19
    Next 19 billion $2.71
    Over 20 billion $1.72

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • EU (Stockholm)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.03
    Next 19 billion $2.58
    Over 20 billion $1.64

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • Asia Pacific (Sydney)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 1 billion $3.50
    Next 19 billion $2.98
    Over 20 billion $1.89

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • Asia Pacific (Singapore)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $4.25
    Next 667 million $3.53
    Next 19 billion $3.00
    Over 20 billion $1.91

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.028
    1.6 $0.054
    6.1 $0.245
    13.5 $0.29
    28.4 $0.56
    58.2 $1.10
    118.0 $2.20
    237.0 $4.40
  • Asia Pacific (Tokyo)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $4.25
    Next 667 million $3.53
    Next 19 billion $3.00
    Over 20 billion $1.91

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.028
    1.6 $0.054
    6.1 $0.245
    13.5 $0.29
    28.4 $0.56
    58.2 $1.10
    118.0 $2.20
    237.0 $4.40
  • South America (Sao Paulo)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 1 billion $4.25
    Next 19 billion $3.61
    Over 20 billion $2.29

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.028
    1.6 $0.054
    6.1 $0.245
    13.5 $0.29
    28.4 $0.56
    58.2 $1.10
    118.0 $2.20
    237.0 $4.40
  • AWS GovCloud (US-East)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.35
    Next 19 billion $2.86
    Over 20 billion $1.81

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80
  • AWS GovCloud (US-West)
  • API Calls

    Number of Requests (per month) Price (per million)
    First 333 million $3.50
    Next 667 million $3.35
    Next 19 billion $2.86
    Over 20 billion $1.81

    Caching

    For better performance and faster API execution, you can optionally provision a dedicated cache for each stage of your APIs. After you specify the size of the cache you require, you will be charged the following hourly rates for each stage’s cache, without any long-term commitments.

    Cache Memory Size (GB) Price per Hour       
    0.5 $0.020
    1.6 $0.038
    6.1 $0.20
    13.5 $0.25
    28.4 $0.50
    58.2 $1.00
    118.0 $1.90
    237.0 $3.80

WebSocket APIs

Pay only for messages sent and received and the total number of connection minutes. You may send and receive messages up to 128 kilobytes (KB) in size. Messages are metered in 32 KB increments. So, a 33 KB message is metered as two messages.

For WebSocket APIs, the API Gateway free tier includes one million messages (sent or received) and 750,000 connection minutes for up to 12 months.

  • US East (N. Virginia, Ohio) | US West (Oregon) | Asia Pacific (Mumbai)
  • EU (Ireland) | EU (Frankfurt) | Asia Pacific (Seoul)
  • Asia Pacific (Tokyo)
  • EU (London) | EU (Paris)
  • US West (N. California)
  • Canada (Central)
  • Asia Pacific (Sydney)
  • Asia Pacific (Singapore)
  • South America (São Paulo)
  • EU (Stockholm)
  • AWS GovCloud (US-East)
  • AWS GovCloud (US-West)
  • US East (N. Virginia, Ohio) | US West (Oregon) | Asia Pacific (Mumbai)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.00
    Over 1 billion $0.80

    Connection Minutes

    $0.25 per million connection minutes

  • EU (Ireland) | EU (Frankfurt) | Asia Pacific (Seoul)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.14
    Over 1 billion $0.94

    Connection Minutes

    $0.285 per million connection minutes

  • Asia Pacific (Tokyo)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.26
    Over 1 billion $1.06

    Connection Minutes

    $0.315 per million connection minutes

  • EU (London) | EU (Paris)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.19
    Over 1 billion $0.99

    Connection Minutes

    $0.297 per million connection minutes

  • US West (N. California)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.24
    Over 1 billion $1.04

    Connection Minutes

    $0.31 per million connection minutes

  • Canada (Central)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.10
    Over 1 billion $0.90

    Connection Minutes

    $0.275 per million connection minutes

  • Asia Pacific (Sydney)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.30
    Over 1 billion $1.10

    Connection Minutes

    $0.325 per million connection minutes

  • Asia Pacific (Singapore)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.15
    Over 1 billion $0.95

    Connection Minutes

    $0.288 per million connection minutes

  • South America (São Paulo)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.55
    Over 1 billion $1.35

    Connection Minutes

    $0.388 per million connection minutes

  • EU (Stockholm)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.083
    Over 1 billion $0.893

    Connection Minutes

    $0.271 per million connection minutes

  • AWS GovCloud (US-East)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.20
    Over 1 billion $1.00

    Connection Minutes

    $0.300 per million connection minutes

  • AWS GovCloud (US-West)
  • Message Transfers

    Number of Requests (per month) Price (per million)
    First 1 billion $1.20
    Over 1 billion $1.00

    Connection Minutes

    $0.300 per million connection minutes

Additional Charges

You may incur additional charges if you use Amazon API Gateway in conjunction with other AWS services or transfers data.

For details on AWS service pricing, see the pricing section of the relevant AWS service detail pages. Links to pricing for some of the commonly used services are listed below.

Data transfer

If you use external data transfers, you will be charged at the EC2 data transfer rate

AWS PrivateLink

Includes pricing for each hour that your VPC endpoint is provisioned in each Availability Zone

AWS Lambda

Includes pricing for requests and duration

Amazon CloudWatch

Includes pricing for metrics and dashboards

Pricing Examples

Edge Optimized and Regional APIs

An Edge Optimized or Regional API that receives five million API calls per month, with each API call returning responses of 3 kilobytes (KB) in size with no caching.

Example below reflects pricing for US East (N. Virginia, Ohio), US West (Oregon), Asia Pacific (Mumbai)

Amazon API Gateway API call charges = 5 million * $3.50/million = $17.50

Total size of data transfers = 3 KB * 5 million = 15 million/KB = 14.3 GB

Amazon API Gateway data transfer charges = 14.3 GB * $0.09 = $1.29

Total Amazon API Gateway charges = $17.50 + $1.29 = $18.79

Edge Optimized and Regional APIs

An Edge Optimized or Regional API that receives 15 billion API calls per month, with each API call returning responses of 4 kilobytes (KB) in size with no caching.

Example below reflects pricing for US East (N. Virginia, Ohio), US West (Oregon), Asia Pacific (Mumbai)

Amazon API Gateway API call charges = 333 million * $3.50/million = $1,165.50

                                                                     667 million * $2.80/million = $1,867.60

                                                                     14 billion * $2.38/million = $33,320.00

Total Amazon API call charges = $1,165.50 + $1,867.60 + $33,320.00 = $36,353.10

Total size of data transfers = 4 KB * 15 billion = 57,220.46 GB

Amazon API Gateway data transfer charges = 57,220.46 GB * $0.09 = $5,149.84

Total Amazon API Gateway charges = $36,353.10 + $5,149.84 = $41,502.94

Private APIs

A Private API that receives five million API calls, with each API call having a request size of 0.3 kilobytes (KB) and returning responses of 3 kilobytes (KB) and a VPC endpoint provisioned in 1 Availability Zone (AZ) for the whole month (720 hours).

Example below reflects pricing for US East, US West (Oregon)

Amazon API Gateway API call charges = 5 million * $3.50/million = $17.50

Total Amazon API Gateway charges = $17.50

Total size of data transfers (Request + Response) = (3 KB + 0.3 KB) * 5 million = 16.5 million/KB = 15.7 GB

VPC Endpoint charges = 720 hours * $0.01/AZ/hr = $7.20

VPC Endpoint data processing charges = 15.7 GB * $0.01/GB = $0.16

Total Amazon VPC (AWS PrivateLink) charges = $7.20 + $0.16 = $7.36

Total charges = $17.50 + $7.36 = $24.86

WebSocket APIs

Chat Application: 1000 users connected to the chat application for 12 hours in a day. Each user sends 100 messages and receives 500 messages per day. Each message size is 3KB.

Example below reflects pricing in US East (N. Virginia)

Messaging Cost

Total messages per month = (100 (sent msgs) + 500 (received msgs)) * 1000 (users) * 30 (days) = 18M

Total messaging cost = 18,000,000/1,000,000 * $1.00 (per million) = $18

Connectivity Cost

Total connection minutes per month = 1000 (users) * 12 (hrs) * 60 (mins) * 30 (days) = 21,600,000

Total connectivity cost = 21,600,000/1,000,000 * 0.25 (cost per million) = $5.40

Total Cost = $18 (Messaging cost) + $5.40 (Connectivity cost) = $23.40

Pricing Example with Caching Required (US East, US West, EU (Ireland))

If your API needs 1.5 GB of cache for its data, you can provision a 1.6 GB cache at $0.038/hr.

$0.038 * 24 = $0.912/day

Pricing Resources

TCO Calculator

Calculate your total cost of ownership (TCO)

Simple Monthly Calculator

Easily calculator your monthly costs with AWS

Economics Resource Center

Additional resources for switching to AWS

Get started with Amazon API Gateway