Billing

Updated on 2025-03-05 GMT+08:00

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.

APIG provides two billing modes: pay-per-use and yearly/monthly. The pay-per-use mode is recommended if you cannot accurately predict your future service needs and want to avoid paying for unused resources. However, if you can accurately predict your future service needs, the yearly/monthly mode is more cost-effective.

  • Yearly/Monthly: Provides a larger discount than the pay-per-use mode and is recommended for long-term users.
  • 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.
  • Change of the billing mode: You can switch between the yearly/monthly and pay-per-use modes.

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.

NOTE:
  • 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.

Expiration and Overdue Payment

If your account is in arrears, you can view the arrears details in the Billing Center. To prevent related resources from being stopped or released, top up your account at the earliest. For details, see Top-Up and Repayment.

Unsubscription

To stop using yearly/monthly gateways, unsubscribe from them on the Cloud Service Unsubscriptions page of the Billing Center or in the gateway list of the APIG console.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback