API Gateway bills dedicated instances and serverless instances differently. Dedicated instances charge specification fees plus outbound Internet traffic fees, while serverless instances charge per API call plus outbound Internet traffic fees.
API Gateway supports two instance types: dedicated instances and serverless instances. Each type suits different workloads. For a comparison of the two types, see Choose an instance type.
Dedicated instances provide high performance and a high service level agreement (SLA). They are suitable for production environments.
Serverless instances are suitable for small- and medium-scale production environments.
The following list describes how you are charged for each instance type:
Dedicated instances charge specification fees and outbound Internet traffic fees. For more information, see Dedicated instances.
The billing method for Serverless instances is based on the number of API calls and outbound Internet traffic. For more information, see Serverless instances.