API Gateway supports different billing modes. This document describes the default pay-as-you-go billing mode.
Billable items of API Gateway include call fees and traffic fees as shown below:
- If you use the private network API Gateway service, both the outbound and inbound traffic generated on the private network is free of charge.
- If you use the public network API Gateway service, the public network inbound traffic will be free of charge, while the public network outbound traffic will incur traffic fees. For more information on the specific traffic fees, please see the "Traffic Fees" section below.
|Tier||Monthly Accumulative Excessive Calls (N)||Unit Price (USD/10,000 Calls)|
|Free tier||The first one million calls in each calendar month in the first year are free of charge||0|
|Tier 1||1 million < N ≤ 10 million||0.0089|
|Tier 2||10 million < N ≤ 100 million||0.0059|
|Tier 3||N > 100 million||0.0045|
|Region||Unit Price (USD/GB)|
|Mainland China, Singapore, Seoul, Frankfurt, Moscow, and Tokyo||0.12|
|Hong Kong (China)||0.15|
|Toronto, Silicon Valley, Virginia, Bangkok, and Mumbai||0.074|
After the API Gateway service is activated, the first one million calls in each calendar month in the first year are free of charge, and excessive calls will be billed at the tiered prices.
Traffic fees are calculated based on the accumulated traffic. The traffic billable items and their descriptions are as shown below:
|Billable Item||Meaning||Billing Description|
|Private network outbound traffic||Traffic generated by data transferred from API Gateway to the backend business over the Tencent Cloud private network||Free of charge|
|Private network inbound traffic||Traffic generated by data transferred from the client to API Gateway over the Tencent Cloud private network||Free of charge|
|Public network outbound traffic||Traffic generated by response data returned from API Gateway after data is transferred from the client to API Gateway over the internet||It is billed hourly and calculated by multiplying the unit price of each GB by the accumulative outbound traffic in an hour. For more information on the unit price, please see Public Network Billing Mode (Bill-by-Traffic)|
|Public network inbound traffic||Traffic generated by data transferred from the client to API Gateway over the internet||Free of charge|
If your backend business and API Gateway are in different regions, or the backend business is not in Tencent Cloud, the fees generated by the traffic from API Gateway to your backend business will be billed additionally according to Traffic Fees.
Billing for the Guangzhou region is as shown in the following example:
The backend business is in a different region from API Gateway and receives five million API calls accumulatively in a month, each of which returns a response of about 3 KB in size, and the size of each request of data forwarded from API Gateway to the backend business is 1 KB.
This pricing document is for reference only. See your bill for the actual price.