Updated on 2024-10-29 GMT+08:00

Billing Examples

Billing Scenario

You purchased a general-computing pod (2 vCPUs and 4 GiB of memory) at 15:30:00 on March 18, 2023.

After a period of time, you found that the pod no longer met your service requirements and upgraded the specifications to 4 vCPUs and 8 GiB of memory at 09:00:00 on March 20, 2023. So how much will you be billed for this pod in March?

Billing Analysis

The price of CCI can be divided into two parts based on specifications:

From 15:30:00 on March 18, 2023 to 9:00:00 on March 20, 2023, you are billed for 2 vCPUs and 4 GiB of memory for 41.5 hours.

From 9:00:00 on March 20, 2023 to 23:59:59 on March 31, 2023, you are billed for 4 vCPUs and 8 GiB of memory for 279 hours.

The total price of this pod is calculated as follows:

  • Price in the first period: $0.0000339 USD x 41.5 hours x 60 x 60 = $5.065 USD
  • Price in the second period: $0.0000678 USD x 279 hours x 60 x 60 = $68.098 USD

Total price: $5.065 USD + $68.098 USD = $73.163 USD