Updated on 2026-02-24 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 storage classes, see Storage Classes.

Concepts

  • Minimum storage duration: It refers to the minimum period for which storage costs apply. Even if an object is stored for a shorter time, it is still billed for the full minimum duration. For Infrequent Access objects, the minimum storage duration is 30 days. If you delete an Infrequent Access object or change its storage class before it has been stored for 30 days, you still need to pay for the full 30 days. If the object is stored for more than 30 days, you are billed for the actual number of days stored.

    When an overwrite happens, OBS first deletes the original object and then stores the new object. If Infrequent Access, Deep Archive, or Archive objects are overwritten before their minimum storage duration is reached, you still need to pay for the remaining days.

  • Minimum eligible size: It refers to the minimum object size that is eligible for billing. For example, if the minimum eligible size is 64 KB, objects smaller than 64 KB will be billed as if they were 64 KB. Objects larger than 64 KB will be billed based on their actual size.

Storage Billing

Table 1 Storage billing items

Item

Description

Minimum Storage Duration

Minimum Eligible Size

Billing Mode

Standard storage

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

N/A

64 KB

Pay-per-use

Standard storage resource packages (single-AZ or multi-AZ)

)

Infrequent Access storage

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

30 days

64 KB

Pay-per-use

Archive storage

Space occupied by data in the Archive storage class.

90 days

64 KB

Pay-per-use

Deep Archive storage

Space occupied by data in the Deep Archive storage class.

180 days

64 KB

Pay-per-use

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 the Object Storage Service price in Pricing Details.

Example 1: Billing for Standard single-AZ storage and PUT requests

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

You would pay for the single-AZ storage of Standard data and the PUT 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 × 40 GB × 30 days = $0.92 USD

PUT request cost = $0.0001 USD per 1,000 requests × (100 requests/1,000 requests) = $0.00001 USD

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: Billing for Archive storage and PUT requests

On July 1, 2023, suppose you uploaded 100 GB of Archive data to an OBS bucket in the CN-Hong Kong region, and 100 requests were generated. Of the 100-GB data, there were 10,000 24-KB files, and the rest files are greater 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 $0.4517145 USD. You did not perform any other operations in the rest of July.

You would pay for the storage of Archive data and the PUT 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 × (64 KB – 24 KB) = 100.381 GB

Figure 1 Billing details

The following table shows the storage costs for the first 30 days under both billing modes.

Table 2 Cost calculation details

Item

1-Month Resource Package (100 GB per Day)

Pay-per-Use

Archive storage

$0.4517145 USD + ($0.0045 USD per GB-month)/30 × 0.381 GB × 30 days = $0.453429 USD

($0.0045 USD per GB-month)/30 × 100.381 GB × 30 days = $0.4517145 USD

PUT requests

$0.0050 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0005 USD

$0.0050 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0005 USD

Total cost

$0.453929 USD

$0.4522145 USD

Since you bought a resource package, your total cost in July was $0.453929 USD.