Help Center/ IoT Device Access/ Billing/ Billing Examples
Updated on 2025-04-22 GMT+08:00

Billing Examples

Yearly/Monthly Billing

A user purchased a monthly IoTDA instance of the standard edition at 15:30:00 on March 18, 2023. The instance configuration is as follows:

  • Service unit type: SU1
  • Number of service units: 5
  • Required duration: 5 months

After a period of time, the user found that the current instance specifications no longer met service requirements and updated the instance specifications to ten SU2 units at 09:00:00 on May 20, 2023. What is the total cost after the five-month subscription duration expires?

The fees can be divided into two parts: those for the old specifications and those for the specifications upgrade.

Price difference for the specifications upgrade = Price for the new specifications × Remaining period - Price for the original specifications × Remaining period

  • Fee of the old specifications: 50 × 5 × 5 = USD1,250 (five SU1 units for five months).
  • Upgrade fee:
    • The user upgraded the specifications at 09:00:00 on May 20, 2023. Remaining period = 11 (the remaining days in May, excluding the change day)/31 (the maximum number of days in May) + 2 (June and July) + 18 (the remaining days in August)/31 (the maximum number of days in August) = 2.9355 months
    • Price of the new specifications: 350 × 10 = 3,500
    • Price of the old specifications: 50 × 5 = 250
    • Upgrade fee: (3,500 - 250) x 2.9355 = USD9540.38
  • Total fee: Old specifications fee + Upgrade fee = 1250 + 9540.38 = USD10790.38

Pay-per-Use Billing

A user purchased a pay-per-use IoTDA instance of the standard edition at 15:30:00 on March 18, 2023. The instance configuration is as follows:

  • Service unit type: SU1
  • Number of service units: 5

After a period of time, the user found that the current instance specifications no longer met service requirements and updated the instance specifications to ten SU2 units at 15:30:00 on March 22, 2023. How much is the total cost by the end of March?

The fee can be divided into two parts.

  • From March 18, 2023, 15:30:00 to March 22, 2023, 15:30:00, the usage duration is 4 days, and the billing is based on 5 SU1 units: 0.81 (per unit per day) × 5 × 4 = USD16.2.
  • From March 22, 2023, 15:30:00 to March 23, 2023, 00:00:00, the usage duration is 8.5 hours, and the billing is based on 10 SU2 units: 5.32 (per unit per day) × 10 × (8.5/24) = USD18.84.
  • From March 23, 2023 00:00:00 to April 1, 2023 00:00:00, the usage duration is 9 days, and the billing is based on 10 SU2 units: 5.32 (per unit per day) × 10 × 9 = USD478.8.

Therefore, the total cost is: 16.2 + 18.84 + 478.8 = USD513.84.