|Validity||Within one year after API Gateway is activated|
|Free tier||A certain number of calls and public network outbound traffic provided by API Gateway. For more information, see Free Tier|
|How to get||A free resource pack will be added to your account after API Gateway is activated. Activate API Gateway now|
API Gateway supports the following billing modes: pay-as-you-go, resource pack, and dedicated instances. See below for details:
|Pay-as-You-Go||Default billing mode of API Gateway|
|Resource Pack||Resource packs are only available to beta users now. If you want to use it, please contact your sales rep.|
The billable items of API Gateway include the call count, instances, and public outbound traffic.
Call count: available for shared instances. For details, see Pay-as-You-Go.
Public outbound traffic: available for both shared instances and dedicated instances. For details, see Pay-as-You-Go.
For information on the difference between shared instances and dedicated instances, see Instance Selection.
The following table describes the billing cycles and sequences of API Gateway billable items.
|Billable Item||Billing Cycle||Description||Billing Sequence|
|Call count||Hourly||Fees for an hour are calculated and billed in the next hour||Free tier > resource pack > pay-as-you-go|
|Public outbound traffic||Hourly||Fees for an hour are calculated and billed in the next hour||Free tier > resource pack > pay-as-you-go|