Updated on 2023-12-20 GMT+08:00

Billing

For dedicated gateways, you will be billed based on the gateway edition and the usage duration of the outbound access bandwidth.

To learn about the pricing of APIG and calculate the prices for using this service, go to the Product Pricing Details page.

Dedicated Gateway

Dedicated gateways are billed based on the gateway edition and bandwidth.

Billing for the Gateway Edition

Dedicated gateways are available in four editions: basic, professional, enterprise, and platinum. You need to pay the corresponding prices when purchasing these editions.

  • Pay-per-use (hourly): You can start and stop dedicated gateways as needed. You will be billed based on the duration for which you use the gateways. Billing starts when a dedicated gateway is purchased and ends when the gateway is stopped due to arrears or is deleted. The minimum time unit is one second.

Billing for Bandwidth

If your API backend service is deployed on the public network, you will be charged for the bandwidth for forwarding API requests to the public network. The prices are calculated based on the bandwidth and the duration for which you use the gateway.

  • If your backend service is deployed in the same VPC as your dedicated gateway, the backend service can be accessed using a private IP address, and you do not need to purchase bandwidth for the gateway.
  • If your dedicated gateway contains APIs that will be called from public networks, you need to purchase an EIP and bind it to the gateway.
  • If the APIs in your dedicated gateway will be called within the VPC, you do not need to purchase or bind an EIP to the gateway.