By default, the billing method is pay-as-you-go after you activate OSS. For some billing items, you can purchase resource plans (subscription) to further minimize OSS costs. This topic describes the billing details for pay-as-you-go instances.

For more information about the billing items and methods of OSS, see Billing items and methods.

Billing cycle

The fees incurred within an hour are deducted from your account balance in the next hour. For example, the billing system bills you at 09:30 for the fees incurred from 08:00 to 09:00.
Notice If you receive a bill at 09:30, the bill may include fees only from 07:00 to 08:00 due to system latencies.

Formula

OSS charges fees based on actual usage. Fees are calculated based on the formula: Fees = Actual usage × Unit price.
Notice Storage fees are calculated in GB/month. When you use pay-as-you-go, fees are calculated based on the formula: Fees = Actual usage × Unit price. For more information, see Object Storage Service Pricing. Therefore, when you calculate storage fees charged based on actual storage usage, you must convert GB/month to GB/hour to calculate the fees based on the formula: Unit price in GB/hour = Unit price in GB/month/30/24. If the unit price of the Standard LRS is CNY 0.12 in GB/month, the unit price in GB/hour is CNY 0.000167 in GB/hour.

Example

Alice creates an OSS bucket in the China (Qingdao) region, uploads objects of 100 GB to it, and activates Alibaba Cloud Content Delivery Network (CDN). When a user accesses OSS data by using CDN, Alice needs to pay the following fees:

  • Storage fees
  • CDN outbound traffic fees that are charged by CDN
  • CDN back-to-origin outbound traffic fees
  • API operation calling fees

If Alice also configures tagging for each object, object tagging fees are incurred. You are charged for the features you use. For more information, see Billing items and methods.