API Gateway Serverless instances suit small to medium-sized production environments. Usage fees consist of API call fees and public outbound traffic fees.
Billing for API calls
-
This service uses pay-as-you-go billing. Tiered prices for all regions:
Tiered pricing
Total Monthly Exceedances
USD/million calls
Per calendar month
First 1 million calls
Free
Tier 1
0 to 10 million (inclusive)
0.9
Tier 2
10 million to 100 million (inclusive)
0.6
Tier 3
Over 100 million
0.45
-
Free quota: the first one million calls per calendar month are free for the first year.
-
Billable calls: all API requests received by API Gateway.
-
Billing cycle: daily.
-
Bill generation: typically within one hour after each billing cycle ends. Maximum delay: three hours.
Billing for outbound public network traffic
Traffic is billed on a pay-as-you-go basis. The following table lists the traffic prices.
Region
USD/GB
China (Hangzhou), China (Shanghai), China (Shenzhen), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Chengdu)
0.125
China (Qingdao)
0.113
China (Hong Kong)
0.156
Singapore, Indonesia (Jakarta)
0.117
Australia (Sydney)
0.096
Malaysia (Kuala Lumpur)
0.112
Japan (Tokyo)
0.087
US (Silicon Valley), US (Virginia)
0.078
Germany (Frankfurt), UK (London)
0.07
UAE (Dubai)
0.447
Billing cycle: Daily.
Billing time: Bills are typically generated within one hour after the current billing cycle ends, and no later than three hours after.
If your backend service and API Gateway are in different regions, or if your backend service is not hosted on Alibaba Cloud, you are charged for the traffic from API Gateway to your backend service. The pricing is the same as the pricing in the preceding table.
Billing example
For example, a Serverless instance in the China (Hong Kong) region with 12 million API calls and 100 GB of public network egress traffic costs 22.5 USD per month. Call cost: 10 × 0.6 + 1 × 0.9 = 6.9 USD. Traffic cost: 100 × 0.156 = 15.6 USD.
Usage notes
Overdue payment alerts
The system checks whether your account balance is sufficient to cover the fees for the next seven days. This check is based on the average amount of your API Gateway bills over the preceding week. If your balance is insufficient, you receive a text message or email alert.
If you enable balance alerts, you receive a text message or email alert when your account balance falls below the threshold you set.
Overdue payments
If the available balance in your account is less than the billed amount for the previous billing cycle, your API Gateway service has an overdue payment. You will receive a text message or email that reminds you to top up your account.
Service suspension
If your payment is overdue, your APIs can no longer be called. However, API management operations are not affected. You will receive a text message or email that reminds you to top up your account.
Service resumption
If you top up your account within six months after the service is suspended, the service is automatically re-enabled and you can continue to use it. If the payment is overdue for more than six months, Alibaba Cloud reserves the right to release your API configurations.