Updated on 2024-10-09 GMT+08:00

Billing

APIG helps you build, manage, and deploy APIs at any scale.

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

Billing

Gateways are billed based on the gateway edition and bandwidth.

Billing for the Gateway Edition

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 gateways as needed. You will be billed based on the duration for which you use the gateways. Billing starts when a 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 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 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 gateway will be called within a VPC, you do not need to purchase or bind an EIP to the gateway.