Public DataService resource group billing

Updated at:

DataService lets you generate, manage, and publish APIs from data tables. Public DataService resource groups are billed by API call count and execution time. This topic explains their billing.

Billable items

Public DataService resource group charges consist of API calls and execution time. Each user receives a monthly free quota. Only valid DataService API calls are billed, including calls made by online tests on the DataService page.

  • Valid call: A request whose response has errCode 0.

  • Invalid call: A request whose response has a nonzero errCode.

Billing granularity

Billable items are charged based on the Alibaba Cloud account to which the billable items belong and the region in which the billable items reside. The billable items in each region of each Alibaba Cloud account are independently charged.

Pricing

Each user receives a monthly free quota for public DataService resource groups. RAM users share this quota with the Alibaba Cloud account owner:

  • API calls: The first 1 million calls per user each month are free.

  • Execution time:

    • Normal execution time: The first 400,000 GB·s of execution per user each month are free.

    • Accelerated execution time: No free quota.

Note
  • The free quota resets at the start of each calendar month and does not carry over.

  • Accelerated service became commercially billable on March 1, 2023 in China (Hangzhou), China (Shanghai), China (Beijing), and China (Shenzhen). Public DataService resource group usage is billed by API calls and accelerated execution time on a pay-as-you-go basis.

Usage beyond the free quota is billed at the rates in the following table.

Region

Billable items

Unit

Unit price

Remarks

China (Hangzhou)

China (Shanghai)

China (Beijing)

China (Shenzhen)

China (Chengdu)

China (Zhangjiakou)

China (Hong Kong)

Germany (Frankfurt)

US (Silicon Valley)

US (Virginia)

Singapore

Japan (Tokyo)

UK (London)

UAE (Dubai)

Malaysia (Kuala Lumpur)

Indonesia (Jakarta)

API calls

Million calls

1.33 CNY per million calls

None

execution time

Memory × seconds (GB·s)

  • Normal execution time: 0.00011108 CNY/GB·s

  • Accelerated execution time: 0.00355456 CNY/GB·s

Note

Accelerated service is available in China (Hangzhou), China (Shanghai), China (Beijing), and China (Shenzhen).

The minimum billable duration is 100 ms; shorter executions are rounded up to 100 ms.

Government Cloud

API calls

Million calls

2.66 CNY per million calls

None

execution time

Memory × seconds (GB·s)

0.00022216 CNY/GB·s

The minimum billable duration is 100 ms; shorter executions are rounded up to 100 ms.

China (Shanghai) Finance Cloud and China (Shenzhen) Finance Cloud

API calls (0 to 1)

Million calls

0 CNY per million calls

None

API calls (more than 1)

2.527 CNY per million calls

Execution time (0 to 400,000)

Memory × seconds (GB·s)

0 CNY/GB·s

The minimum billable duration is 100 ms; shorter executions are rounded up to 100 ms.

Execution time (more than 400,000)

0.000211052 CNY/GB·s

For example, suppose you make 10 million API calls this month. The API is allocated 2 GB of memory and each call runs for 1,060 ms. The charges are as follows:

  • Monthly API calls and charges

    The first 1 million calls each month are free, so 10 million − 1 million = 9 million calls are billable. At 1.33 CNY per million calls, the monthly API call charge is 900/100*1.33=11.97 CNY.

  • Monthly execution time and charges

    Execution time is measured as memory (GB) multiplied by seconds, or GB·s. The minimum duration is 100 ms; shorter executions are rounded up to 100 ms.

    Total execution time = call count × memory per call (GB) × run time per call (seconds), or 10,000,000*2*1.1=22,000,000 GB·s. The first 400,000 GB·s of execution each month are free, so the billable execution time is 22,000,000-400,000=21,600,000 GB·s. At 0.00011108 CNY/GB·s, the monthly execution time charge is 21,600,000*0.00011108=2399.33 CNY.

  • Monthly total

    Monthly total = API call charge + execution time charge, or 11.97+2399.33=2411.3 CNY.

Charges

Public DataService resource groups are billed hourly. At the start of each hour, the billing system calculates the previous hour's usage and generates a bill, then deducts the amount from the Alibaba Cloud account balance.

Overdue payments

If your account is overdue, service continues for 24 hours. Notifications are sent at 12 and 23 hours after the account becomes overdue to remind you to add funds.

  • If the account remains overdue for more than 24 hours, the service is suspended and published APIs can no longer be called normally.

  • If you add funds within 24 hours of becoming overdue, the service is not suspended.

  • If the account becomes overdue again after you clear the balance, a new 24-hour period starts from the new overdue time before service is suspended.

  • Alibaba Cloud provides the extended suspension-free benefit. When a pay-as-you-go resource is overdue, you can continue to use cloud services for a certain amount or duration. Normal fees apply during the extended period. For more information, see Extended Suspension-Free Benefit.