All Products
Search
Document Center

Anti-DDoS:Billing of burstable QPS

Last Updated:Aug 27, 2025

If your Clean queries per second (QPS) is typically stable and spikes only during events such as sales promotions or new service launches, you can set your clean QPS to a normal level when you purchase an Anti-DDoS instance. You can then enable burstable QPS. This feature helps prevent packet loss or traffic throttling when your QPS exceeds the limit. This topic describes how burstable QPS is billed for Anti-DDoS Pro and Anti-DDoS Premium instances.

Scenarios

After you add your services to an Anti-DDoS Pro or Anti-DDoS Premium instance for protection, random packet loss occurs when service traffic is forwarded if your QPS exceeds the instance's clean QPS. If your QPS exceeds the limit for an extended period, traffic throttling is triggered. This affects normal access to your services. To handle cases where the QPS limit is exceeded, consider the following solutions:

  • If the clean QPS is insufficient for your daily business requirements, you can upgrade your instance to increase the clean QPS. For more information, see Upgrade instance.

  • If the clean QPS meets your daily service requirements but cannot handle QPS fluctuations or sudden traffic spikes, you can enable burstable QPS for your Anti-DDoS Pro or Anti-DDoS Premium instance. Examples include the following:

    • Holiday sales promotions: large-scale promotions such as Black Friday.

    • New service launches: a new server is launched for a game or a new product is released.

    • Website services with high-traffic windows: a sudden increase in traffic to a campus course selection system or a government lottery system during specific periods.

    After you enable burstable QPS, if the actual QPS exceeds the clean QPS but not the burstable QPS limit, the Anti-DDoS Pro or Anti-DDoS Premium instance processes requests as normal but incurs pay-as-you-go fees. If the actual QPS does not exceed the clean QPS, no pay-as-you-go fees are incurred.

Important

If you are a proof of concept (POC) user, do not enable burstable QPS. This helps prevent unexpected pay-as-you-go bills.

Burstable QPS values

After you enable burstable QPS, the burstable QPS limit is three times the clean QPS. However, the burstable QPS cannot exceed the following values. If your clean QPS already exceeds these values, you cannot enable burstable QPS.

  • Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland): The burstable QPS limit is 300,000 for an Anti-DDoS Proxy instance that uses an IPv4 address and 100,000 for an Anti-DDoS Proxy instance that uses an IPv6 address.

  • Anti-DDoS Pro and Anti-DDoS Premium (outside the Chinese mainland): The burstable QPS limit is 150,000.

Instance types that support burstable QPS

  • Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland): Professional Edition and Premium Edition

  • Anti-DDoS Pro and Anti-DDoS Premium (outside the Chinese mainland): Insurance mitigation plan, Unlimited mitigation plan, and Sec-MCA (including Sec-MCA 1.0, Sec-MCA 1.0 (Basic Edition), Sec-MCA 2.0 (Insurance), and Sec-MCA 2.0 (Unlimited))

Relationship between burstable QPS and connections

QPS

Number of new connections

Number of concurrent connections

0 < QPS ≤ 5,000

5,000

100,000

5,000 < QPS ≤ 10,000

10,000

200,000

10,000 < QPS ≤ 30,000

30,000

500,000

30,000 < QPS ≤ 50,000

50,000

1,000,000

50,000 < QPS ≤ 100,000

80,000

1,500,000

100,000 < QPS ≤ 150,000

100,000

2,000,000

150,000 < QPS ≤ 200,000

Note

Only supported by Anti-DDoS Proxy (Chinese Mainland).

150,000

3,000,000

200,000 < QPS ≤ 300,000

Note

Only supported by Anti-DDoS Proxy (Chinese Mainland).

200,000

4,000,000

Billing modes

Important

The burstable QPS feature takes effect immediately after it is enabled.

Burstable QPS is a pay-as-you-go feature. Two billing modes are supported: the daily 95th percentile metering method and the monthly 95th percentile metering method. You can switch between the billing modes. The new mode takes effect at 00:00 on the first day of the next calendar month.

Item

Daily 95th percentile metering method

Monthly 95th percentile metering method

Billing method

Billed on a daily basis.

Important

If you enable burstable QPS for the first time on Day T of a calendar month and select the daily 95th percentile metering method, no fees are generated on Day T. Fees are generated starting from Day T+1, and a bill is generated on Day T+2.

Billed on a monthly basis.

Billing conditions

Fees are incurred when the daily 95th percentile QPS is greater than the clean QPS.

The daily 95th percentile QPS is calculated as follows:

In a calendar day, the system collects the actual QPS of the Anti-DDoS instance at 5-minute intervals. This results in 288 data points per day. The system removes the data points collected during DDoS attacks and the top 5 highest data points. The highest remaining value is the daily 95th percentile QPS.

Fees are incurred when the monthly 95th percentile QPS is greater than the clean QPS.

The monthly 95th percentile QPS is calculated as follows:

  1. Obtain the daily peak QPS: In a calendar day, the system collects the QPS of the Anti-DDoS instance at 5-minute intervals. This results in 288 data points per day. The system removes the data points collected during DDoS attacks. The highest remaining value is the daily peak QPS.

  2. Calculate the monthly 95th percentile QPS: The daily peak QPS values are sorted in descending order. The average of the top 5 values is the monthly 95th percentile QPS.

Unit price

USD 0.13/QPS/day

USD 1.8/QPS/month

Billing formula

Burstable QPS fee = Metered daily 95th percentile QPS × Unit price of the daily 95th percentile metering method.

Metered daily 95th percentile QPS = min(Daily 95th percentile QPS, Burstable QPS) - Clean QPS.

Important

If the daily 95th percentile QPS exceeds the burstable QPS limit, your services are at risk of being throttled. Upgrade the clean QPS of the instance promptly.

Burstable QPS fee = Metered monthly 95th percentile QPS × Validity factor × Unit price of the monthly 95th percentile metering method (USD/QPS/month).

  • Metered monthly 95th percentile QPS = min(Monthly 95th percentile QPS, Burstable QPS) - Clean QPS.

    The clean QPS is the clean QPS on the last day of the month when burstable QPS is enabled.

    Important

    If the monthly 95th percentile QPS exceeds the burstable QPS limit, your services are at risk of being throttled. Upgrade the clean QPS of the instance promptly.

  • Validity factor = Number of valid days in the current month ÷ Total number of days in the current month.

    Important

    If you enable burstable QPS for the first time on Day T of a calendar month and select the monthly 95th percentile metering method, Day T is not counted as a valid day.

    For example, you enable burstable QPS on July 15, 2024, and do not disable the feature in July. The valid days are from July 16, 2024 to July 31, 2024, which is 16 days. The total number of days in the month is 31. The validity factor is 16 ÷ 31 = 0.51612903.

Conditions

  • You can disable the daily 95th percentile metering method only once per calendar month.

  • You cannot switch the billing mode on the last day of a calendar month.

  • You can disable the Monthly 95th Percentile billing method only once per calendar month.

  • You cannot switch the billing mode on the last day of a calendar month.

Enable burstable QPS

Billing and settlement

You can query and confirm the fee details for burstable QPS on the System Logs page. For more information, see System Logs.

Metering method

Bill generation time

Settlement time

Daily 95th percentile

The bill for the burstable QPS that is used in a calendar day is displayed on the System Logs page at 10:00 on the next day, and Alibaba Cloud sends notifications to the contacts of your Alibaba Cloud account by email.

At 16:00 on the next day the burstable QPS is used, Alibaba Cloud deducts the fee of the burstable QPS feature from your account balance.

Monthly 95th percentile

The bill for the burstable QPS that is used in a calendar month is displayed on the System Logs page at 11:00 on the first day of the next month, and Alibaba Cloud sends notifications to the contacts of your Alibaba Cloud account by email.

At 11:00 on the third day of the next month, Alibaba Cloud deducts the fee of the burstable QPS feature from your account balance.

Billing example

This section uses the monthly 95th percentile metering method as an example. Assume that you enable burstable QPS from March 1 to March 6. The following graph shows that the clean QPS is 3,000 and the burstable QPS is 9,000. The graph shows the QPS trend for the period when burstable QPS was enabled.

Note

The graph shows data only for the period when burstable QPS was enabled. Data for the period when burstable QPS was disabled is not shown.

image..png

According to the billing formula: Burstable QPS fee = Metered monthly 95th percentile QPS × Validity factor × Unit price of the monthly 95th percentile metering method (USD/QPS/month). The fee is calculated as follows:

  1. Calculate the metered monthly 95th percentile QPS

    In this billing cycle, the average of the top 5 daily peak QPS values is (10,000 + 9,000 + 9,000 + 6,000 + 6,000) ÷ 5 = 8,000. Metered monthly 95th percentile QPS = 8,000 - 3,000 (clean QPS on the last day of the month when burstable QPS was enabled) = 5,000.

  2. Calculate the validity factor

    Validity factor = 6 (Number of valid days in the month) ÷ 31 (Total number of days in the month) = 0.19354839

  3. Find the unit price of burstable QPS

    Based on the burstable QPS pricing, the unit price for the monthly 95th percentile metering method is USD 1.8/QPS/month.

Based on the preceding results, your burstable QPS fee is 5,000 × 0.19354839 × 1.8 = USD 1,741.9355.

References