When you store objects in Object Storage Service (OSS), you are charged storage fees based on the storage class, size, and storage duration of the objects.
This topic describes the billable items and billing methods of OSS. For more information, visit the OSS pricing page.
Billable items
Billable item | Billing rule | Billing cycle | Billing method |
Storage usage of Standard LRS objects (Storage) | You are charged based on the total size and storage duration of Standard LRS objects. | You are billed on an hourly basis. Bills are generally generated after a billing cycle ends. The time when bills are generated is determined by the system. |
|
Storage usage of Standard ZRS objects (StorageZRS) | You are charged based on the total size and storage duration of Standard zone-redundant storage (ZRS) objects. |
| |
Storage usage of IA LRS objects (ChargedDatasize) | You are charged based on the total size and storage duration of Infrequent Access (IA) LRS objects. Important IA LRS objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of IA ZRS objects (ChargedDatasizeZRS) | You are charged based on the total size and storage duration of IA ZRS objects. Important IA ZRS objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of Archive LRS objects (ChargedDatasize) | You are charged based on the total size and storage duration of Archive LRS objects. Important Archive LRS objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of Archive ZRS objects (ChargedDataSizeArcZRS) | You are charged based on the total size and storage duration of Archive ZRS objects. Important Archive ZRS objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of Cold Archive LRS objects (ChargedDatasizeCA) | You are charged based on the total size and storage duration of Cold Archive LRS objects. Important Cold Archive LRS objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of Deep Cold Archive LRS objects (ChargedDatasizeDeepCA) | You are charged based on the total size and storage duration of Deep Cold Archive LRS objects. Important Deep Cold Archive objects have a minimum billable size of 64 KB. Objects that are smaller than 64 KB in size are charged as 64 KB. Objects that are larger than or equal to 64 KB in size are charged based on their actual sizes. |
| |
Storage usage of IA LRS objects that are stored for less than the minimum storage duration (LessthanMonthDatasize) | If an IA LRS object is overwritten or deleted after it is stored for less than 30 days (720 hours), you are charged for the remainder (720 hours - Actual storage duration) of the minimum storage duration. Note The minimum storage duration (30 days) of IA LRS objects is calculated based on the last modified time of the objects. |
| |
Storage usage of IA ZRS objects that are stored for less than the minimum storage duration (LessthanMonthDatasizeZRS) | If an IA ZRS object is overwritten or deleted after it is stored for less than 30 days (720 hours), you are charged for the remainder (720 hours - Actual storage duration) of the minimum storage duration. Note The minimum storage duration (30 days) of IA LRS objects is calculated based on the last modified time of the objects. |
| |
Storage usage of Archive LRS objects that are stored for less than the minimum storage duration (LessthanMonthDatasize) | If an Archive LRS object is overwritten or deleted after it is stored for less than 60 days (1,440 hours), you are charged for the remainder (1,440 hours - Actual storage duration) of the minimum storage duration. Note The minimum storage duration (60 days) of Archive LRS objects is calculated based on the last modified time of the objects. |
| |
Storage usage of Archive ZRS objects that are stored for less than the minimum storage duration (LessthanMonthDatasizeArcZRS) | If an Archive ZRS object is overwritten or deleted after it is stored for less than 60 days (1,440 hours), you are charged for the remainder (1,440 hours - Actual storage duration) of the minimum storage duration. Note The minimum storage duration (60 days) of Archive ZRS objects is calculated based on the last modified time of the Archive ZRS objects. |
| |
Storage usage of Cold Archive objects that are stored for less than the minimum storage duration (EarlyDeletionCA) | If a Cold Archive object is overwritten or deleted after it is stored for less than 180 days (4,320 hours), you are charged for the remainder (4,320 hours - Actual storage duration) of the minimum storage duration. Note Cold Archive objects have a minimum storage duration of 180 days. The minimum storage duration of a Cold Archive object is calculated based on the time when the storage class of the object is converted to Cold Archive. |
| |
Storage usage of Deep Cold Archive objects that are stored for less than the minimum storage duration (EarlyDeletionDeepCA) | If a Deep Cold Archive object is overwritten or deleted after it is stored for less than 180 days (4,320 hours), you are charged for the remainder (4,320 hours - Actual storage duration) of the minimum storage duration. Note Deep Cold Archive objects have a minimum storage duration of 180 days. The minimum storage duration of a Deep Cold Archive object is calculated based on the time when the storage class of the object is converted to Deep Cold Archive. |
|
References
For more information about the billing examples of IA, Archive, and Cold Archive objects that are stored for less than the minimum storage duration, see How am I charged for objects whose storage duration is less than the minimum storage duration?
You are charged for the parts that are generated during multipart upload based on the storage class, actual size, and storage duration of the parts. For more information, see How am I charged for parts?
For more information about how to query OSS hourly billing data, see Query OSS billing data generated on an hourly basis.
For more information about the billing details of the billable items, see Query bills.