Updated on 2025-10-30 GMT+08:00

Billing Modes

Description

  • Yearly/Monthly

    Yearly/Monthly is a prepaid billing mode. You pay in advance for a subscription term, and in exchange, you get a discounted rate. Yearly/Monthly billing is a good option for long-term, stable services.

  • Pay-per-use

    Pay-per-use is a postpaid billing mode. You are billed for how long you use each ECS. You can purchase or delete such an ECS at any time.

  • Spot pricing

    Spot pricing is a postpaid billing mode where you are billed for your service usage at a discounted price compared to pay-per-use billing.

    Spot ECSs: Billed at the market price, which varies according to the changes in supply and demand. The maximum price you are willing to pay is not used as a billing basis. A higher price ensures a greater success rate for you to purchase such an ECS.

    A spot ECS can be used only when your maximum price is greater than or equal to the market price and inventory resources are sufficient. When the market price exceeds the maximum price, the ECS will be reclaimed.

    Spot block ECSs: Billed based on the predefined duration, which is the duration that you specify for your spot block ECS. Prices vary depending on the predefined duration.

    During the predefined duration, if your spot block ECS is automatically terminated by the system, you will not be billed for the resource usage within the predefined duration. If you release your spot block ECS within the predefined duration, you will be billed based on the usage duration.

    Spot ECSs and spot block ECSs may be reclaimed at any time and are not suitable for services that require high stability. When the inventory resources are insufficient, or the market price is higher than the maximum price you are willing to pay, the ECSs will be reclaimed. Therefore, back up data when using such ECSs.

    The ECSs purchased on the Quick Config page support yearly/monthly and pay-per-use billing modes.

  • Differences among the three billing modes

    Billing Mode

    Yearly/Monthly

    Pay-per-Use

    Spot Pricing (for Spot Instances)

    Spot Pricing (for Spot Block Instances)

    Scenarios

    A cost-effective option for scenarios where the resource usage duration is predictable. Recommended for resources expected to be in use long term.

    Recommended when the resource demands are likely to fluctuate and you want more flexibility.

    Ideal for stateless, cost-sensitive applications that can tolerate interruptions. Not recommended for workloads that need to run for a long time or that require high stability.

    Ideal for stateless, cost-sensitive applications that can tolerate interruptions. Not recommended for workloads that need to run for a long time or that require high stability.

    Payment

    Prepaid

    Billed by the subscription term you purchase

    Yearly/Monthly

    Postpaid

    Billed by usage duration.

    Pay-per-Use

    Postpaid

    Billed at the market price, which varies according to the changes in supply and demand. The start price is the market price when the ECS was purchased. The ECS is then billed at the market price every hour.

    Spot Pricing (for Spot Instances)

    Postpaid

    Billed based on the usage duration and predefined duration. After the ECS is released, a new line item is generated on each hour.

    Spot Pricing (for Spot Block Instances)

    Conditions for Purchase

    N/A

    N/A

    You need to set a maximum price you are willing to pay for a spot instance.

    • If your maximum price is greater than or equal to the market price and the inventory resources are sufficient, you will be provisioned with a spot instance. This spot instance will be billed at the current market price.
    • If your maximum price is less than the market price, you will not be provisioned with a spot instance.

    You need to set a predefined duration and the number of durations. Prices vary depending on the predefined duration.

    Billing Cycle

    Billed by the subscription term you purchase

    Calculated by the second but billed every hour

    Calculated by the second but billed every hour

    Calculated by the second but billed every hour

    Billed Items

    Compute resources (vCPUs and memory), images, EVS disks, and EIPs

    Compute resources (vCPUs and memory), images, EVS disks, and EIPs

    Compute resources (including vCPUs and memory)

    Compute resources (including vCPUs and memory)

    Billing for Stopped ECSs

    Stopping an ECS has no impact on the billing of a yearly/monthly ECS.

    ECSs are billed based on the subscription term you purchase.

    • After a common ECS is stopped, basic resources (vCPUs, memory, and image) will not be billed. Other resources (EVS disks, EIPs, and bandwidth) associated with the ECS instance will continue to be billed.
    • After a special ECS instance is stopped, its resources will be retained and continue to be billed.
    NOTE:
    • Common instances include:
      • Non-bare-metal instances
      • Instances without local disks
      • Instances without FPGA cards
    • Special instances include:
      • Bare metal instances
      • ECSs attached with local disks, such as disk-intensive ECSs and ultra-high I/O ECSs
      • ECSs with FPGA cards
    • After a common ECS is stopped, basic resources (vCPUs, memory, image, and GPUs) will not be billed. Other resources (EVS disks, EIPs, and bandwidth) associated with the ECS instance will continue to be billed.
    • After a special ECS instance is stopped, its resources will be retained and continue to be billed.
    NOTE:
    • Common instances include:
      • Non-bare-metal instances
      • Instances without local disks
      • Instances without FPGA cards
    • Special instances include:
      • Bare metal instances
      • ECSs attached with local disks, such as disk-intensive ECSs and ultra-high I/O ECSs
      • ECSs with FPGA cards

    The ECS will continue to be billed after it is stopped. To stop the ECS from being billed, delete it and its associated resources.

    Billing Mode Change

    Yearly/Monthly can be changed to pay-per-use.

    For details, see Yearly/Monthly to Pay-per-Use.

    Pay-per-use can be changed to yearly/monthly.

    For details, see Pay-per-Use to Yearly/Monthly.

    Spot pricing cannot be changed to pay-per-use or yearly/monthly.

    Spot pricing cannot be changed to pay-per-use or yearly/monthly.

    Specification change

    Supported

    Supported

    Not supported

    Not supported

    Conditions for Reclaiming

    N/A

    N/A

    • The market price is higher than the maximum price you are willing to pay.
    • The inventory resources are insufficient.
    • You release the ECS instances voluntarily.
    • The inventory resources are insufficient.
    • You release the ECS instances voluntarily.
  • Combined billing

    In addition to the yearly/monthly, pay-per-use, and spot pricing billing modes, you can also combine billing items with the following to reduce costs.

    Shared data package: is a prepaid package for EIP traffic. It is more cost-effective than postpaid traffic. A shared data package is available immediately after your purchase. It automatically offsets the traffic expenditures generated by the pay-per-use EIP bandwidth (billed by traffic) until the package is used up or expires. For details, see Shared Data Package.

    Reserved instance (RI): An RI is a discount that can be applied to the use of pay-per-use ECSs. When the attributes of your pay-per-use ECSs match those of an RI, the RI's discounted rate is automatically applied to your ECSs. You can use RIs and pay-per-use ECSs together to maximize the flexibility of pay-per-use resources and save costs. For details, see Reserved Instance Overview.

FAQs