Billing Examples

Billing Scenarios

A customer enabled CDN on January 10, 2023 and chose to be billed by traffic. The customer added three acceleration domain names.

Domain Name

Service Type

Service Area

A

Whole site acceleration

Global

B

File download acceleration

Chinese mainland

C

On-demand service acceleration

Outside the Chinese mainland

After using CDN for a period of time, the customer found that traffic packages were more cost-effective and purchased the following two traffic packages at 09:00 (Beijing time) on April 5, 2023.

  • 500 GB traffic package in the Chinese mainland valid for one month
  • 1 TB traffic package outside the Chinese mainland valid for one year

The following table lists traffic and number of requests generated from April to May.

Domain Name

Usage Before 05:00 on April 5

Usage After 05:00 on April 5

Usage in May

A

  • Traffic in the Chinese mainland: 40 GB
  • Traffic outside the Chinese mainland: 20 GB
  • Requests in the Chinese mainland: 40,000
  • Requests outside the Chinese mainland: 30,000
  • Traffic in the Chinese mainland: 320 GB
  • Traffic outside the Chinese mainland: 180 GB
  • Requests in the Chinese mainland: 160,000
  • Requests outside the Chinese mainland: 130,000
  • Traffic in the Chinese mainland: 400 GB
  • Traffic outside the Chinese mainland: 200 GB
  • Requests in the Chinese mainland: 200,000
  • Requests outside the Chinese mainland: 150,000

B

Traffic in the Chinese mainland: 40 GB

Traffic in the Chinese mainland: 200 GB

Traffic in the Chinese mainland: 230 GB

C

Traffic outside the Chinese mainland: 50 GB

Traffic outside the Chinese mainland: 210 GB

Traffic outside the Chinese mainland: 260 GB

How did the customer pay for the fees of April 2023 and May 2023?

Billing Analysis

According to the CDN traffic-based billing rules, the bill of the traffic generated in an hour will be generated 4 hours later. If a traffic package is purchased, it takes effect immediately and can be used to deduct the traffic generated after the purchase. Therefore:

  • Fee for traffic generated before 05:00 on April 5, 2023 was deducted from the account balance, and that for traffic generated after 05:00 on April 5, 2023 was deducted from the traffic package.
  • The fee for whole site acceleration requests was deducted from the account balance.

Assume that the unit price for traffic in the Chinese mainland is ¥0.2/GB, that for traffic outside the Chinese mainland is ¥0.79/GB, and that for whole site acceleration requests is ¥0.15/10,000 requests. The fee that the customer needed to pay in April and May was calculated as follows:

The preceding prices are for reference only. The actual prices and the number of decimal places after the settlement amount are subject to the Pricing Details.