Updated on 2026-04-17 GMT+08:00

Data Retrievals

Accessing objects in the Deep Archive, Archive and Infrequent Access storage classes will incur data retrieval costs depending on the restore speed and objects' size. You need to pay for data retrievals regardless of whether you access the objects over an intranet or the Internet. If you access the restored objects over the Internet, you will also be billed for the outbound Internet traffic generated.

Data Retrieval Billing

Item

Description

Billing Mode

The amount of data retrieved

  • The traffic generated for restoring Infrequent Access objects. It is billed based on the amount of data restored.
  • The traffic generated for restoring Archive objects. It is billed based on the amount of data restored and the restore speed (either expedited or standard). If an object is already in its restored state, making another restore will not incur any additional costs.
  • Downloading or replicating Archive objects from a bucket with direct reading enabled generates data read traffic. The traffic is billed based on the amount of data retrieved.
    CAUTION:

    The amount of data restored is determined by the range specified in the request header when the HTTP connection is established. Even if the transmission is interrupted early, the system calculates usage based on the full range defined in the original request. For example, if the request specifies a range from 50 MB to 100 MB, the system still bills you for the range of 50 MB to 100 MB, even if only one byte is actually transmitted.

You need to pay for data retrievals regardless of whether you access the objects over an intranet or the Internet. If you access the restored objects over the Internet, you will also be billed for the outbound Internet traffic generated. During the validity period, no more restore traffic costs are generated when you access the restored objects.

NOTE:

You can repeatedly restore Archive or Deep Archive data if you want to:

  • Prolong the validity: If you do this, the new restore will be also billed. After a second restore, the validity period of Standard object copies will be prolonged, and you will be billed a one-time storage cost for these copies during the prolonged period.

    Suppose you restored an object yesterday and set its validity period to seven days. Today, at the same time, you made a second restore on the same object and set a new validity period of eight days. In this case, the final cost includes the cost for two restore operations, the cost for requests involved in both restore operations, and the cost for storing the Standard object copy over a total of nine days.

  • Shorten the validity: If you do this, error code "409 ObjectHasAlreadyRestored" will be reported. In such case, no restoration costs or additional costs for storing Standard object copies are incurred.

Pay-per-use

The following table lists all billing items involved in a full restore process.

Table 1 Billing for object restore

Action

Billing Item

Description

Billing Mode

Restore objects

Requests

You are billed for the number of successfully restored objects.

Specifically, if N objects are successfully restored, you are billed for N requests.

When you access Infrequent Access objects, OBS automatically restores them. The restore requests incur costs, which are the same as those for restoring Archive and Deep Archive objects.

Pay-per-use

Restore traffic

  • The traffic generated for restoring Infrequent Access objects. It is billed based on the amount of data restored.
  • The traffic generated for restoring Archive objects. It is billed based on the amount of data restored and the restore speed (either expedited or standard). If an object is already in its restored state, making another restore will not incur any additional costs.
CAUTION:

The amount of data restored is determined by the range specified in the request header when the HTTP connection is established. Even if the transmission is interrupted early, the system calculates usage based on the full range defined in the original request. For example, if the request specifies a range from 50 MB to 100 MB, the system still bills you for the range of 50 MB to 100 MB, even if only one byte is actually transmitted.

Pay-per-use

Outbound Internet traffic (when objects are accessed over the Internet)

If you access the restored objects over the Internet, you will be billed for the outbound Internet traffic based on the object size.

Pay-per-use

Temporary storage

After an object is restored, an object copy in the Standard storage class will be generated. This way, there is both the original Archive or Deep Archive object and its Standard object copy in the bucket. When you restore an object, you will be billed a one-time storage cost for its Standard copy. After the validity period expires, the Standard copy is automatically deleted.

Retrieving Infrequent Access objects or retrieving Archive objects from a bucket with direct reading enabled does not create object copies, so there will not be additional costs on Standard storage.

Pay-per-use

Pricing

For detailed prices, see Product Pricing Details.

Billing Example: Infrequent Access Single-AZ Storage + Retrievals of Infrequent Access Data + Outbound Internet Traffic + Requests

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

Assume that on July 1, 2023, you uploaded 100 Infrequent Access objects to a single-AZ OBS bucket in the CN-Hong Kong region. The total size of the objects was 10 GB, and 100 upload requests were generated (one for each object). On the second day, you read the 100 objects between 08:00 and 24:00 (busy hours), which generated 100 read requests. For the rest of July, you did not perform any other operations on the objects. Since Infrequent Access objects must be restored before they can be read, there were 100 restore requests (one for each object) in addition to 100 read requests. You would be billed as follows:

Bills are settled by hour.

Infrequent Access storage: billed at 00:00 on July 1, 2023

Infrequent Access data restore: billed on July 2, 2023

Infrequent Access requests: billed on July 1 and 2, 2023

Outbound Internet traffic: billed on July 2, 2023

There are no resource packages applicable to data retrievals, so pay-per-use billing applied.

Pay-per-use billing:

Infrequent Access storage cost = ($0.0140 USD per GB-month/30 days/24 hours) × 10 GB × 48 hours = $0.0093 USD

Infrequent Access data restore cost = $0.0075 USD/GB × 10 GB = $0.075 USD

Infrequent Access read request cost = $0.0010 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0001 USD

Infrequent Access write request cost = $0.0050 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0005 USD

Infrequent Access restore request cost = $0 USD per 1,000 requests × (100 requests/1,000 requests) = $0 USD

Outbound Internet traffic cost = $0.1180 USD/GB × 10 GB = $1.180 USD (busy hours)

Total cost in July: 0.0093 + 0.075 + 0.0001 + 0.0005 + 1.180 = $1.2649 USD

Billing Example: Archive Single-AZ Storage + Archive Data Restore + Outbound Internet Traffic + Requests + Object Copy Storage

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

Assume that on July 1, 2023, you uploaded 100 Archive objects to a single-AZ OBS bucket in the CN-Hong Kong region. The total size of the objects was 10 GB, and 100 upload requests were generated (one for each object). On the second day, you restored the 100 objects to the Standard storage class. Each object stayed in its restored state for 30 days, and 100 restore requests were generated (one for each object). After the restore finished, you read the 100 objects between 08:00 and 24:00 (busy hours), which generated 100 read requests. For the rest of July, you did not perform any other operations on the objects. You would be billed as follows:

Bills are settled by hour.

Archive storage: billed at 00:00 on July 1, 2023

Archive data restore: billed on July 2, 2023

Archive requests: billed on July 1 and 2, 2023

Outbound Internet traffic: billed on July 2, 2023

Temporary object copy storage: billed at 00:00 on July 2, 2023

There are no resource packages applicable to data retrievals, so pay-per-use billing applied.

Pay-per-use billing:

Archive storage cost = ($0.0045 USD per GB-month/30 days/24 hours) × 10 GB × 48 hours = $0.0003 USD

Temporary object copy storage cost = $0.0230 USD per GB-month/30 days × 10 GB × 30 days = $0.23 USD

Archive data restore cost = $0.0100 USD/GB × 10 GB = $0.1 USD

Archive read request cost = $0.0010 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0001 USD

Archive restore request cost = $0.0100 USD per 10,000 requests × (100 requests/10,000 requests) = $0.0001 USD

Archive write request cost = $0.0050 USD per 1,000 requests × (100 requests/1,000 requests) = $0.0005 USD

Outbound Internet traffic cost = $0.1180 USD/GB × 10 GB = $1.180 USD (busy hours)

Total cost in July: 0.0003 + 0.23 + 0.1 + 0.0001 + 0.0001 + 0.0005 + 1.180 = $1.511 USD