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 item | Description |
| Instance fees | Charged by hour or by month based on the instance type and the region that you select |
| Data processing fees | Charged per GB based on the volume of data processed through the gateway (request and response data combined) |
| Internet traffic costs | Charged 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.
| Region | Instance type | Pay-as-you-go price (USD/hour) | Subscription price (USD/month) |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.small.x1 | 1.11069 | 559.65 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.small.x2 | 2.124948 | 1,071.084 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.small.x4 | 4.022018 | 2,026.794 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.medium.x1 | 7.854 | 3,958.64 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.medium.x2 | 15.46776 | 7,795.76 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.medium.x3 | 23.08096 | 11,632.88 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.large.x1 | 29.927352 | 15,083.25 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.large.x2 | 59.619378 | 30,048.018 |
| The Chinese mainland (excluding Hong Kong (China), Macao (China), and Taiwan (China)) | aigw.large.x3 | 89.31195 | 45,013.332 |
| China (Hong Kong), Japan (Tokyo) | aigw.small.x1 | 1.666322 | 839.475 |
| China (Hong Kong), Japan (Tokyo) | aigw.small.x2 | 3.187422 | 1,606.626 |
| China (Hong Kong), Japan (Tokyo) | aigw.small.x4 | 6.033314 | 3,040.191 |
| China (Hong Kong), Japan (Tokyo) | aigw.medium.x1 | 11.78128 | 5,937.96 |
| China (Hong Kong), Japan (Tokyo) | aigw.medium.x2 | 23.20192 | 11,693.64 |
| China (Hong Kong), Japan (Tokyo) | aigw.medium.x3 | 34.62144 | 17,449.32 |
| China (Hong Kong), Japan (Tokyo) | aigw.large.x1 | 44.891028 | 22,624.875 |
| China (Hong Kong), Japan (Tokyo) | aigw.large.x2 | 89.428794 | 45,072.027 |
| China (Hong Kong), Japan (Tokyo) | aigw.large.x3 | 133.968198 | 67,519.998 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.small.x1 | 1.53258 | 772.317 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.small.x2 | 2.932566 | 1,478.09592 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.small.x4 | 5.55058 | 2,796.97572 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.medium.x1 | 10.8388 | 5,462.9232 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.medium.x2 | 21.34552 | 10,758.1488 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.medium.x3 | 31.85168 | 16,053.3744 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.large.x1 | 41.299986 | 20,814.885 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.large.x2 | 82.274556 | 41,466.26484 |
| Singapore, Indonesia (Jakarta), Germany (Frankfurt) | aigw.large.x3 | 123.250764 | 62,118.39816 |
| US (Virginia), US (Silicon Valley) | aigw.small.x1 | 1.332828 | 671.58 |
| US (Virginia), US (Silicon Valley) | aigw.small.x2 | 2.549708 | 1,285.3008 |
| US (Virginia), US (Silicon Valley) | aigw.small.x4 | 4.826192 | 2,432.1528 |
| US (Virginia), US (Silicon Valley) | aigw.medium.x1 | 9.4248 | 4,750.368 |
| US (Virginia), US (Silicon Valley) | aigw.medium.x2 | 18.5612 | 9,354.912 |
| US (Virginia), US (Silicon Valley) | aigw.medium.x3 | 27.69704 | 13,959.456 |
| US (Virginia), US (Silicon Valley) | aigw.large.x1 | 35.912604 | 18,099.9 |
| US (Virginia), US (Silicon Valley) | aigw.large.x2 | 71.543472 | 36,057.6216 |
| US (Virginia), US (Silicon Valley) | aigw.large.x3 | 107.17434 | 54,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
| Region | Network type | Unit price (USD/GB) |
| Public Cloud | Internet | 0.005 |
| Public Cloud | Private network | 0.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.