This topic describes the composition of Alibaba Cloud OSS service fees and the billing methods of Alibaba Cloud OSS.

Note This topic only describes the composition of Alibaba Cloud OSS service fees and the billing methods of Alibaba Cloud OSS. For more information about the price, see the OSS pricing page.

Billing method

OSS is charged based on the actual usage. The fees incurred within an hour is deducted from your account balance in the next hour. For example, the fees incurred from 8:00 to 9:00 is deducted at 9:30.
Notice The billing list may delay in the current system. For example, the bill that you see in the system at 9:30 may indicates the fees incurred from 7:00 to 8:00.

Composition of OSS fees

OSS service fees include Storage fees, Traffic fees, API calling fees, and Data retrieval fees.

Notice The preceding fees are charged individually. For example, storage fees are incurred when you store 100 GB of data in OSS, and additional API calling fees and internet outbound traffic fees are incurred if customers access your data in OSS through the Internet.

Storage fees

OSS provides three storage classes: Standard, Infrequent Access (IA), and Archive. For more information about the storage classes, see Introduction.

Storage fees are charged based on the actual used storage volume. The following table describes the billing methods for different storage classes.
Notice On the OSS pricing page, storage fees are calculated by GB/month. When calculating the actual storage fees, you need to convert the price unit into GB/hour as follows: Storage unit price (GB/hour) = Storage unit price (GB/month)/30/24. For example, the storage unit price for the IA storage class in the US East 1 region is 0.01 US$/GB/month, the storage unit price in GB/hour can be calculated as follows: 0.01/30/24.
Storage class Billing item Billing method
Standard
  • Storage volume: Measured based on the actual used storage volume.
  • Storage period: Measured based on the actual storage period.
The storage fees for the objects of the Standard storage class are calculated each hour based on the storage volume at the time when the system calculates the fees.
Storage fees are calculated as follows:
  • Storage volume ≤ 5 GB: Free
  • Storage volume >5 GB: (Storage volume (GB) - 5 (GB)) * Storage unit price (GB/hour)
IA
  • Storage volume:
    • Objects smaller than 64 KB are charged as 64 KB. For example, ten objects of 32 KB are charged as ten objects of 64 KB.
    • Objects larger than 64 KB are charged based on their actual sizes.
    Note In the Finance Cloud, objects smaller than 128 KB are charged at 128 KB.
  • Storage period:
    • Objects stored for less than 30 days are charged as they are stored for 30 days.
    • Objects stored for more than 30 days are charged based on the actual storage period.
    Notice If you upload an object with the same name as an existing object, the existing object is deleted and the uploaded object is stored. However, the storage periods of the original object and the uploaded object are calculated individually. For example, if the storage class of the original object is IA, and the object is overwritten by a new object with the same name after it is stored for 10 days, the storage fees for the original object for 20 days and the storage fees for the new object are calculated together next time.
The storage fees for objects of the IA storage class are calculated each hour based on the storage volume at the time when the system calculates the fees.
Storage fees are calculated as follows: Storage volume (GB) * Storage unit price for the IA storage class (GB/hour)
Notice If an object of the IA storage class is stored for less than 30 days, the storage fees for the remaining days are calculated next time. For example, if you delete 100 GB of objects of the IA storage class after the objects are stored for 20 days, the storage fees for the objects for 10 days are calculated next time as follows: 100 (GB) * 10 (days) * 24 (hours) * Storage unit price for the IA storage class (GB/hour).
Archive
  • Storage volume:
    • Objects smaller than 64 KB are charged as 64 KB. For example, ten objects of 32 KB are charged as ten objects of 64 KB.
    • Objects larger than 64 KB are charged based on their actual sizes.
    Note In the Finance Cloud, objects smaller than 128 KB are charged at 128 KB.
  • Storage period:
    • Objects stored for less than 60 days are charged as they are stored for 60 days.
    • Objects stored for more than 60 days are charged based on the actual storage period.
    Notice If you upload an object with the same name as an existing object, the existing object is deleted and the uploaded object is stored. However, the storage periods of the original object and the uploaded object are calculated individually. For example, if the storage class of the original object is Archive, and the object is overwritten by a new object with the same name after it is stored for 10 days, the storage fees for the original object for 50 days and the storage fees for the new object are calculated together next time.
The storage fees for objects of the Archive storage class are calculated each hour based on the storage volume at the time when the system calculates the fees.
Storage fees are calculated as follows: Storage volume (GB) * Storage unit price for the Archive storage class (GB/hour).
Notice If an object of the Archive storage class is stored for less than 30 days, the storage fees for the remaining days are calculated next time. For example, if you delete 100 GB of objects of the Archive storage class after the objects are stored for 40 days, the storage fees for the objects for 20 days are calculated next time as follows: 100 (GB) * 20 (days) * 24 (hours) * Storage unit price for the Archive storage class (GB/hour).

Traffic fees

Traffic indicates the accumulated traffic that you use, including: outbound Internet traffic, outbound intranet traffic, inbound Internet traffic, inbound intranet traffic, CDN back-to-origin traffic, and cross-region replication traffic. For more information, see the OSS pricing page.
Billing items Description Billing method
Outbound Internet traffic Indicates the traffic generated when you view OSS data or download OSS data to local disks through the Internet. Traffic fees are calculated on an incremental basis and are charged monthly. After your traffic exceeds a certain amount, you will be billed based on fees for the next increment. Fees for outbound Internet traffic are calculated in an hourly basis.
  • Outbound Internet traffic ≤ 5 GB: Free
  • Outbound Internet traffic > 5 GB: The fees are calculated as follows: Traffic unit price of the current segment * Accumulated traffic in the current billing period. For example, 100 GB of outbound Internet traffic is generated for a bucket in the US East 1 region in the current month, in which 2 GB of traffic is generated in the current billing period. The unit price for the 5 GB - 10 GB segment (US$0.076/GB) applies and the fees for the outbound Internet traffic can be calculated as follows: US$0.076/GB * 2 (GB) = US$0.152.
Outbound intranet traffic Indicates the traffic generated when you view OSS data or download OSS data to ECS servers through the intranet of Alibaba Cloud. Free
Inbound Internet traffic Indicates the traffic generated when you upload data to OSS through the Internet. Free
Inbound intranet traffic Indicates the traffic generated when you upload data from ECS servers to OSS through the intranet of Alibaba Cloud. Free
CDN back-to-origin traffic Indicates the traffic generated when you view or download OSS data from the CDN service layer. The fees for the CDN back-to-origin traffic is billed in an hourly basis.

Fees for CDN back-to-origin traffic are calculated as follows: CDN back-to-origin traffic per hour (GB) * Unit price for the CDN back-to-origin traffic

API calling fees

All your OSS operations are ultimately OSS API calls and you will be billed based on the number of times you call the OSS APIs. The calling fees for different OSS APIs are different. For more information, see the OSS pricing page.

Billing items Description Billing method
Number of OSS API calls Indicates the number that you call OSS APIs. Operations in the OSS consoles are performed by calling OSS APIs. Therefore, API calling fees are incurred when you use the OSS console. API calling fees are billed in an hourly basis.
API calling fees are calculated as follows: Unit price for 10,000 API calls * Number of API calls in an hour/10,000
Notice In the China North 2 and China South 1 regions, you can call OSS APIs for free for 50,000 times. API calls that exceed 50,000 are charged based on the actual number.

Data retrieval fees

Data retrieval fees are incurred when you access objects of the IA or Archive storage class. For more information, see the OSS pricing page.

Storage class Billing items Billing method
IA Additional data retrieval fees are incurred when you access objects of the IA storage class. Data retrieval fees are billed in an hourly basis as follows: Size of the accessed object (GB) * Data retrieval unit price per GB
Archive Objects of the Archive storage class must be restored before it can be accessed, which incurs restoration fees. No restoration fees are charged when you access restored objects before they are archived again. Data retrieval fees are billed in an hourly basis as follows: Size of the restored object (GB) * Data retrieval unit price per GB