Updated on 2024-03-04 GMT+08:00

Storage Space

You pay for using OBS based on your objects' size, the object storage class, and how long your objects are stored. The billing items slightly vary depending on the storage classes. For details, see Table 1.

For details about different storage classes, see Storage Classes.

Billing Description

Table 1 Storage space billing

Billing Item

Sub Item

Description

Billing Mode

Storage space

Standard storage

Space occupied by data in the Standard storage class (with single-AZ or multi-AZ redundancy).

  • Storage duration is the number of days during which data is stored in OBS.
  • Minimum storage size: 64 KB. If an object is smaller than 64 KB, it will be billed as if it were 64 KB. Objects larger than 64 KB are billed for their actual size.

Pay-per-use

Yearly/monthly

Infrequent Access storage

Space occupied by data in the Infrequent Access storage class (with single-AZ or multi-AZ redundancy).

  • Minimum storage duration: 30 days. Objects stored for less than 30 days are billed for a full 30 days, while those stored for over 30 days are billed based on their actual storage duration. If objects are deleted or transitioned to another storage class before they have been stored for this minimum storage duration, you still need to pay for the remaining days. The cost for the remaining days is calculated as follows: Unit price of Infrequent Access storage x Used space x Remaining days/30.
  • Minimum storage size: 64 KB. If an object is smaller than 64 KB, it will be billed as if it were 64 KB. Objects larger than 64 KB are billed for their actual size.

Pay-per-use

Archive storage

Space occupied by data in the Archive storage class.

  • Minimum storage duration: 90 days. Objects stored for less than 90 days are billed for a full 90 days, while those stored for over 90 days are billed on their actual storage duration. If objects are deleted or transitioned to another storage class before they have been stored for this minimum storage duration, you still need to pay for the remaining days. The cost for the remaining days is calculated as follows: Unit price of Archive storage x Used space x Remaining days/30.
  • Minimum storage size: 64 KB. If an object is smaller than 64 KB, it will be billed as if it were 64 KB. Objects larger than 64 KB are billed for their actual size.

Pay-per-use

Deep Archive storage (under limited beta testing)

Space occupied by data in the Deep Archive storage class.

  • Minimum storage duration: 180 days. Objects stored for less than 180 days are billed for a full 180 days, while those stored for over 180 days are billed based on their actual storage duration. If objects are deleted or transitioned to another storage class before they have been stored for this minimum storage duration, you still need to pay for the remaining days. The cost for the remaining days is calculated as follows: Unit price of Deep Archive storage x Used space x Remaining days/30.
  • Minimum storage size: 64 KB. If an object is smaller than 64 KB, it will be billed as if it were 64 KB. Objects larger than 64 KB are billed for their actual size.

Pay-per-use

Overwriting objects in the Infrequent Access, or Archive, or Deep Archive storage is to delete them first and then upload them. This generates additional storage costs.

Pricing

For detailed prices, see Product Pricing Details.

Billing Examples

The prices in the following examples are for reference only. For the actual prices, see Pricing Details.

Example 1

On July 1, 2023, suppose you uploaded 40 GB of Standard data to a single-AZ OBS bucket in the CN-Hong Kong region, and there were 100 upload requests generated. Then, on the same day and in the same region, you purchased a 1-month Standard single-AZ storage package of 40 GB at $0.16 USD. You did not perform any other operations in the rest of July.

You would pay for the storage of Standard data and the upload requests. The billing for storage started from July 1, 2023, while the requests were billed on July 1, 2023. Specific billing analysis is given as follows:

Pay-per-use billing:

Standard storage cost = ($0.0230 USD per GB-month)/30 x 40 GB x 30 days = $0.92 USD

Request cost = $0.0001 USD per 1,000 requests x (100 requests/1,000 requests) = $0.00001 USD

Yearly/monthly (resource package) billing:

From July 1, 2023 to July 30, 2023, the purchased package covered the daily storage of 40 GB Standard data in 30 days. The total cost in July was as follows:

Total cost = 0.16 + 0.00001 = $0.16001 USD

Example 2

On July 1, 2023, suppose you uploaded 100 GB Archive data to an OBS bucket in the CN-Hong Kong region, and there were 100 requests generated. In this 100 GB data, there were 10,000 24 KB files, and the rest files are larger than or equal to 64 KB. Then, on the same day and in the same region, you purchased a 1-month Archive storage package of 100 GB at $3 USD. You did not perform any other operations in the rest of July.

You would pay for the storage of Archive data and the upload requests. The billing for storage started from July 1, 2023, while the requests were billed on July 1, 2023. Since a file smaller than 64 KB would be billed as if it were 64 KB, the total Archive storage was calculated as follows:

Archive storage = 100 GB + 10,000 x (64 KB – 24 KB) = 100.381 GB

Specific billing analysis is given as follows:

Pay-per-use billing:

Archive storage cost = ($0.0045 USD per GB-month)/30 x 100.381 GB x 30 days = $0.4517145 USD

Request cost = $0.0050 USD per 1,000 requests x (100 requests/1,000 requests) = $0.0005 USD

Yearly/monthly (resource package) billing:

From July 1, 2023 to July 30, 2023, the purchased package covered the daily storage of 100 GB Archive data in 30 days. The total cost in July was as follows:

Total cost = $0.4517145 USD + ($0.0045 USD per GB-month/30) x 0.381 GB x 30 days + $0.0005 USD = $0.453929 USD