OSS charges storage fees based on the storage class, size, and duration of objects in a bucket, regardless of access or operations performed.
Unit price
For unit prices of each billable item, see .OSS product pricing
OSS产品定价中明确了存储费用的单价为元/GB/月,但账单中的计费项按小时计费,计算方法为实际资源使用量×每小时单价。因此当您需要计算实际存储费用时,需要先将存储费用的单价转换为元/GB/小时。例如标准型(本地冗余存储)单价为0.12元/GB/月,则按小时结算的单价约为0.000167元/GB/小时(0.12÷30÷24)。
Billable items
-
Storage fees for a specified storage duration
Storage fees are based on the storage class, redundancy type, size, and duration of each object.
-
Storage fees for early deletion (less than minimum duration)
Some storage classes have a minimum storage duration: 30 days for Infrequent Access (IA), 60 days for Archive, and 180 days for Cold Archive and Deep Cold Archive. If an object is converted or deleted before meeting the minimum duration, you are charged for the remaining duration.
Example: If an IA LRS object is deleted after less than 30 days (720 hours), you are charged for the remainder (720 hours - actual duration). The same calculation applies to Archive, Cold Archive, and Deep Cold Archive objects with their respective minimum durations.
Storage usage of LRS objects that are stored for a specific period of time
|
Billable item |
Code |
Minimum billable size |
|
Storage usage of Standard LRS objects |
Storage |
N/A (billed by actual size) |
|
Storage usage of IA LRS objects |
ChargedDatasize |
64 KB (Objects smaller than 64 KB are billed as 64 KB. Objects 64 KB or larger are billed by actual size.) |
|
Storage usage of Archive LRS objects |
ChargedDatasize |
|
|
Storage usage of Cold Archive LRS objects |
ChargedDatasizeCA |
|
|
Storage usage of Deep Cold Archive LRS objects |
ChargedDatasizeDeepCA |
|
|
Anywhere Reserved Capacity |
AnywhereReservedCapacityLRS |
N/A (billed by actual size) |
The billed storage usage of IA, Archive, Cold Archive, or Deep Cold Archive objects is larger than the metered storage usage of these objects because each object has a minimum billable size of 64 KB. For more information about the metered storage usage and billed storage usage of these objects, see Query the storage usage of a bucket using OSS SDK for Java.
Storage usage of ZRS objects that are stored for a specific period of time
|
Billable item |
Code |
Minimum billable size |
|
Storage usage of Standard zone-redundant storage (ZRS) objects |
StorageZRS |
N/A (billed by actual size) |
|
Storage usage of IA ZRS objects |
ChargedDatasizeZRS |
64 KB (Objects smaller than 64 KB are billed as 64 KB. Objects 64 KB or larger are billed by actual size.) |
|
Storage usage of Archive ZRS objects |
ChargedDataSizeArcZRS |
Storage usage of LRS objects that are stored for less than the minimum storage duration
|
Billable item |
Code |
Calculation method of the minimum storage duration |
|
Storage usage of IA LRS objects that are stored for less than the minimum storage duration |
LessthanMonthDatasize |
The minimum storage duration 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 |
|
|
Storage usage of Cold Archive LRS objects that are stored for less than the minimum storage duration |
EarlyDeletionCA |
The minimum storage duration is calculated based on the time when the storage class of the object is converted to Cold Archive or Deep Cold Archive. |
|
Storage usage of Deep Cold Archive LRS objects that are stored for less than the minimum storage duration |
EarlyDeletionDeepCA |
To avoid unnecessary fees, ensure objects meet the minimum storage duration before converting or deleting them. For information, see How can I avoid being charged for the storage usage of objects that are stored for less than the minimum storage duration?
Storage usage of ZRS objects that are stored for less than the minimum storage duration
|
Billable item |
Code |
Calculation method of the minimum storage duration |
|
Storage usage of IA ZRS objects that are stored for less than the minimum storage duration |
LessthanMonthDatasizeZRS |
The minimum storage duration 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 |
Billing methods
The following 5 billing methods are supported: pay-as-you-go, resource plans, reserved capacity, Anywhere Reserved Capacity, and storage capacity units (SCUs).
Instructions on selecting a billing method
The following table compares billing methods to help you select the most cost-effective option.
|
Billing method |
Description |
Feature |
Scenario |
|
Pay-as-you-go |
Default billing method. You pay for actual storage usage after consumption. |
Unpredictable storage usage. |
Startups or early-stage projects with unstable storage needs. |
|
Storage plans |
Prepaid plans that offset fees for specific billable items at discounted rates. |
Stable, predictable storage capacity. |
Large enterprises or long-running projects with stable storage volumes. Storage plan specifications range from 40 GB to 20 PB. |
|
Prepaid product for region-specific storage billable items. Purchase first, then deduct. |
Offsets only Standard LRS storage fees from region-specific buckets and ECS snapshot storage fees. |
For stable, large-scale Standard LRS and ECS snapshot storage in region-specific buckets. Capacity ranges from 500 GB to 1 PB. |
|
|
Prepaid product for region-independent storage billable items. Purchase first, then deduct. |
Offsets only Standard LRS storage fees from region-independent buckets. |
For stable, large-scale Standard LRS storage in region-independent buckets. Capacity ranges from 10 TB to 1 PB. |
|
|
Prepaid SCUs offset storage fees for multiple OSS billable items. Purchase SCUs in advance to apply discounts. |
SCUs offset storage fees for multiple OSS billable items and other Alibaba Cloud storage services. |
|
Billing methods supported by different billable items
The following table lists the billing methods supported by each billable item.
|
Billable item |
Pay-as-you-go |
Storage plan |
Reserved Capacity |
Anywhere Reserved Capacity |
SCU |
|
Standard (ZRS) storage |
√ |
× |
× |
√ |
|
|
Standard (LRS) storage |
√ |
√ |
× |
√ |
|
|
IA (ZRS) storage |
√ |
× |
× |
√ |
|
|
IA (LRS) storage |
√ |
× |
× |
√ |
|
|
Archive (LRS) storage |
√ |
× |
× |
√ |
|
|
Cold Archive (LRS) storage |
√ |
× |
× |
× |
|
|
Deep Cold Archive (LRS) storage |
√ |
× |
× |
× |
× |
|
Anywhere Reserved Capacity |
√ |
× |
× |
√ |
× |
|
Archive (ZRS) storage |
√ |
× |
× |
× |
|
|
IA (LRS) early deletion |
√ |
× |
× |
× |
|
|
Archive (LRS) early deletion |
√ |
× |
× |
× |
|
|
Cold Archive (LRS) early deletion |
√ |
× |
× |
× |
|
|
Deep Cold Archive (LRS) early deletion |
√ |
× |
× |
× |
× |
|
IA (ZRS) early deletion |
√ |
× |
× |
× |
|
|
Archive (ZRS) early deletion |
√ |
× |
× |
× |
× |
Billing examples
FAQ
After I purchase an IA (LRS) storage plan, why do I receive a large bill for the storage usage of IA LRS objects that are stored for less than the minimum storage duration in a specific billing cycle?
After I purchase an Archive (LRS) storage plan, why do I receive a large bill for the storage usage of Archive LRS objects that are stored for less than the minimum storage duration in a specific billing cycle?
Why am I continuously charged for the storage usage of objects that are stored for less than the minimum storage duration?
References
-
By default, the storage class of an uploaded object is Standard. To reduce costs, convert objects to IA, Archive, Cold Archive, or Deep Cold Archive as needed. Convert the storage class of an object.
-
For more information about the billing examples of IA, Archive, and Cold Archive and Deep 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 hourly data of OSS.
-
To learn about billing details with specific examples, see Billing examples.
-
For more information about the billing details of the billable items, see Query bills.