API Gateway

API Gateway provides you with high-performance and highly available API hosting services to deploy and release your APIs on Alibaba Cloud products.

API Gateway Pricing

API Gateway provides two types of instances: shared and dedicated instances.

a) Shared instances are suitable for development and testing production environments.

b) Dedicated instances provide guaranteed high performance and strict SLA compliance. These instances are suitable for production environments.

You can use the API Gateway console to schedule APIs to run on shared or dedicated instances at any time, which can meet the needs of various business scenarios.

[Shared Instance] Billing Instructions

Billing method: billed by API calls and outbound traffic to the Internet.

Billed by API Calls

a) The following table lists the tiered prices in all regions for pay-as-you-go instances.

Tiered Billing Total Monthly Calls Over Specified Amount Units: US$/million Calls
Tier 1 > 0, < 10 million (including) 0.9
Tier 2 > 10 million, < 100 million (including) 0.6
Tier 3 > 100 million 0.45

b) Free quota: You can make one million calls for free each calendar month for the first year.

c) Effective API calls: All API requests received by API Gateway are considered effective calls and are charged.

d) Billing cycle: billed on a daily basis.

e) Billing time: A bill is issued within one to three hours after the end of the current billing cycle.

Billed by Outbound Traffic to the Internet

For more information, see [Outbound Traffic to the Internet] Billing Instructions.

Billing Examples

For example, if you make 12 million API requests to a shared instance and consume 100 GB of outbound traffic within a month in China(Hong Kong), you need to pay a total of USD 22.5 (the fee for API calls is USD 6.9 (10 × 0.6 + 1 × 0.9 = 6.9), and the traffic fee is USD 15.6 (100 × 0.156 = 15.6)).

[Dedicated Instance] Billing Instructions

Billing method: billed by instance specifications and outbound traffic to the Internet.

Billed by Instance Specifications
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.87 541.00 5518.20
api.s1.medium 5000 99.95% 2.37 1468.00 14973.60
api.s2.large 10000 99.95% 6.78 4206.00 42901.20
api.s2.large.x2 20000 99.95% 13.56 8412.00 85802.40
api.s2.large.x3 30000 99.95% 20.34 12618.00 128703.60
api.s2.large.x4 40000 99.95% 27.12 16824.00 171604.80
api.s2.large.x5 50000 99.95% 33.9 21030.00 214506.00
api.s2.large.x6 60000 99.95% 40.68 25236.00 257407.20
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 0.93 560.00 5712.00
api.s1.medium 5000 99.95% 2.6 1560.00 15912.00
api.s2.large 10000 99.95% 7.43 4460.00 45492.00
api.s2.large.x2 20000 99.95% 14.86 8920.00 90984.00
api.s2.large.x3 30000 99.95% 22.29 13380.00 136476.00
api.s2.large.x4 40000 99.95% 29.72 17840.00 181968.00
api.s2.large.x5 50000 99.95% 37.15 22300.00 227460.00
api.s2.large.x6 60000 99.95% 44.58 26760.00 272952.00
Dedicated Instance Type Maximum Number of Requests per Second SLA Pay-as-you-go Price (US$/hour) Monthly Subscription Price (US$/month) Annual Subscription Price (US$/month)
api.s1.small 2500 99.95% 1.63 980.00 9996.00
api.s1.medium 5000 99.95% 4.15 2488.00 25377.60
api.s2.large 10000 99.95% 9.48 5688.00 58017.60
api.s2.large.x2 20000 99.95% 18.96 11376.00 116035.20
api.s2.large.x3 30000 99.95% 28.44 17064.00 174052.80
api.s2.large.x4 40000 99.95% 37.92 22752.00 232070.40
api.s2.large.x5 50000 99.95% 47.4 28440.00 290088.00
api.s2.large.x6 60000 99.95% 56.88 34128.00 348105.60

Description:

a) Charges are generated for pay-as-you-go instances immediately after the instances are created and started. You can choose to release a pay-as-you-go dedicated instance at any time. You are not charged for released instances.

b) The minimum billing cycle of pay-as-you-go instances is one hour. You are charged for an hour even if your usage period is not a full hour.

c) For more information about additional specifications of each instance type, refer to the purchase page.

Billed by Outbound Traffic to the Internet

For more information, see [Outbound Traffic to the Internet] Billing Instructions.

Billing Examples

a) Pay-as-you-go billing method: For example, a pay-as-you-go dedicated instance of the api.s1.small type is created in Singapore. If you use the instance for 9.5 hours and consume 10 GB of outbound traffic, you need to pay a total of USD 10.47 (the instance fee is USD 9.3 (10 × 0.93 = 9.3), and the traffic fee is USD 1.17 (10 × 0.117 = 1.17)).

b) Subscription billing method: For example, a subscription dedicated instance of the api.s1.small type is created in Singapore. If you use the instance for one month and consume 10 GB of outbound traffic, you need to pay a total of USD 561.17 (the instance fee is USD 560, and the traffic fee is USD 1.17 (1000 × 0.117 = 1.17)).

[Outbound Traffic to the Internet] Billing Instructions

Outbound Traffic to the Internet

a) The following table lists the traffic costs for pay-as-you-go instances.

Units: US$/GB
0.113
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.125
Units: US$/GB
0.156
Units: US$/GB
0.117
Units: US$/GB
0.096
Units: US$/GB
0.112
Units: US$/GB
0.117
Units: US$/GB
0.087
Units: US$/GB
0.078
Units: US$/GB
0.078
Units: US$/GB
0.07
Units: US$/GB
0.07
Units: US$/GB
0.447

b) Billing cycle: billed on a daily basis.

c) Billing time: A bill is issued within one to three hours after the end of the current billing cycle.

d) If your backend service is not in the same region as API Gateway or not hosted on Alibaba Cloud, you are charged for the traffic between API Gateway and the backend service. The billing standards are the same as the preceding table.

Usage Instructions

a) Overdue Alert

The system estimates an amount based on the average amount payable over the last week for API Gateway and checks whether you have sufficient balance for the next seven days. If the account balance is insufficient, the system notifies you by SMS or email.

If you have enabled balance alert, you will receive an SMS or email reminder when the account balance is less than the specified alert threshold.

b) Overdue Payment
If the available balance in your account is less than the bill amount of the previous billing cycle, the payment for API Gateway becomes overdue. You will receive an SMS message or email that reminds you to make a payment to renew the service.

c) Service Suspension

If you have overdue bills, API calls rather than API management operations fail. You will receive SMS or email reminders to pay your overdue bills.

d) Service Restoration

If you recharge your account within six months of the service suspension, the service will be automatically re-activated for use. If you do not recharge your account within six months, Alibaba Cloud reserves the right to clear all your API configuration information.

phone Contact Us