All Products
Search
Document Center

API Gateway:Billing details

Last Updated:Aug 24, 2026

AI Gateway dedicated instances run on exclusive physical resources, which suits scenarios that require high performance and isolation. The costs of a dedicated instance consist of instance fees, data processing fees, and Internet traffic costs.

Billing methods

AI Gateway dedicated instances support the following billing methods. Fees are automatically deducted from your Alibaba Cloud account balance.

  • Pay-as-you-go (postpaid) — Billed by hour. Usage of less than one hour is charged as one hour. Fees are settled every hour, and a bill is generated every 24 hours. Actual billing time may vary.

  • Subscription (prepaid) — Billed by month. An annual subscription is calculated as 12 months. Actual billing time may vary.

Billable items

A dedicated instance has the following billable items. Instance fees are charged based on the billing method that you select for the instance, either pay-as-you-go or subscription. Data processing fees and Internet traffic costs are always billed on a pay-as-you-go basis, regardless of the billing method selected for the instance.

Billable itemDescription
Instance feesCharged by hour or by month based on the instance type and the region that you select
Data processing feesCharged per GB based on the volume of data processed through the gateway (request and response data combined)
Internet traffic costsCharged through Cloud Data Transfer (CDT) based on outbound Internet traffic

Instance fees

Instance fees are determined by the region and the instance type that you select.

RegionInstance typePay-as-you-go price (USD/hour)Subscription price (USD/month)
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.small.x11.11069559.65
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.small.x22.1249481,071.084
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.small.x44.0220182,026.794
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.medium.x17.8543,958.64
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.medium.x215.467767,795.76
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.medium.x323.0809611,632.88
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.large.x129.92735215,083.25
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.large.x259.61937830,048.018
The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China))aigw.large.x389.3119545,013.332
China (Hong Kong), Japan (Tokyo)aigw.small.x11.666322839.475
China (Hong Kong), Japan (Tokyo)aigw.small.x23.1874221,606.626
China (Hong Kong), Japan (Tokyo)aigw.small.x46.0333143,040.191
China (Hong Kong), Japan (Tokyo)aigw.medium.x111.781285,937.96
China (Hong Kong), Japan (Tokyo)aigw.medium.x223.2019211,693.64
China (Hong Kong), Japan (Tokyo)aigw.medium.x334.6214417,449.32
China (Hong Kong), Japan (Tokyo)aigw.large.x144.89102822,624.875
China (Hong Kong), Japan (Tokyo)aigw.large.x289.42879445,072.027
China (Hong Kong), Japan (Tokyo)aigw.large.x3133.96819867,519.998
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.small.x11.53258772.317
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.small.x22.9325661,478.09592
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.small.x45.550582,796.97572
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.medium.x110.83885,462.9232
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.medium.x221.3455210,758.1488
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.medium.x331.8516816,053.3744
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.large.x141.29998620,814.885
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.large.x282.27455641,466.26484
Singapore, Indonesia (Jakarta), Germany (Frankfurt)aigw.large.x3123.25076462,118.39816
US (Virginia), US (Silicon Valley)aigw.small.x11.332828671.58
US (Virginia), US (Silicon Valley)aigw.small.x22.5497081,285.3008
US (Virginia), US (Silicon Valley)aigw.small.x44.8261922,432.1528
US (Virginia), US (Silicon Valley)aigw.medium.x19.42484,750.368
US (Virginia), US (Silicon Valley)aigw.medium.x218.56129,354.912
US (Virginia), US (Silicon Valley)aigw.medium.x327.6970413,959.456
US (Virginia), US (Silicon Valley)aigw.large.x135.91260418,099.9
US (Virginia), US (Silicon Valley)aigw.large.x271.54347236,057.6216
US (Virginia), US (Silicon Valley)aigw.large.x3107.1743454,015.9984

Data processing fees

When you create an AI Gateway dedicated instance, you can select Internet, private network, or both as the network type. Data processing is billed separately for each network type. Within one billing cycle, the data processing volume is the sum of the request and response data volume. Fees are settled on an hourly basis.

Data processing unit prices

RegionNetwork typeUnit price (USD/GB)
Public CloudInternet0.005
Public CloudPrivate network0.007

Billing formulas

  • Internet: Hourly fee = Data processing volume × Unit price.

    For example, you use a gateway instance for two hours. The instance processes 5 GB of data in the first hour and 10 GB in the second hour. The total data processing fee is 0.005 × 5 + 0.005 × 10 = 0.075 USD.

  • Private network: Hourly fee = Data processing volume × Unit price.

    For example, you use a gateway instance for two hours. The instance processes 5 GB of data in the first hour and 10 GB in the second hour. The total data processing fee is 0.007 × 5 + 0.007 × 10 = 0.105 USD.

Internet traffic costs

Internet traffic is billed throughWhat is Cloud Data Transfer?at the rates listed inCDT public network traffic pricing.