This topic covers billing information for the value-added services of Drive and Photo Service (PDS).
PDS value-added services are billed on a pay-as-you-go basis. See the table below for details on billable items.
For additional billing information, see basic billable items.
Category | Billable item | Price (Chinese mainland) | Price (International) | Unit |
Document processing | Document - Online preview | 0.00182 | 0.00182 | USD/request |
Document - Online editing | 0.00283 | 0.00283 | USD/request | |
Document - Document conversion | 0.01132 | 0.01132 | USD/request | |
Intelligent Media Services (Audio and video transcoding incurs storage fees for the data it generates. For details, see the billable items on this page.) | 0.00001 | 0.00001 | USD/CU | |
Video - Logo removal | 0.00118 | 0.00118 | USD/second | |
Video - Video synthesis | 0.00005 | 0.00005 | USD/second | |
Video - Video tag detection | 0.00129 | 0.00129 | USD/request | |
Transcoding - H.265 transcoding - 4K | 0.00226 | 0.00226 | USD/second | |
Transcoding - H.265 transcoding - 2K | 0.00132 | 0.00132 | USD/second | |
Transcoding - H.265 transcoding - HD | 0.00083 | 0.00083 | USD/second | |
Transcoding - H.265 transcoding - SD | 0.00041 | 0.00041 | USD/second | |
Transcoding - H.265 transcoding - LD | 0.00025 | 0.00025 | USD/second | |
Transcoding - H.264 transcoding - 4K | 0.00080 | 0.00080 | USD/second | |
Transcoding - H.264 transcoding - 2K | 0.00030 | 0.00030 | USD/second | |
Transcoding - H.264 transcoding - HD | 0.00014 | 0.00014 | USD/second | |
Transcoding - H.264 transcoding - SD | 0.000076 | 0.000076 | USD/second | |
Transcoding - H.264 transcoding - LD | 0.000055 | 0.000055 | USD/second | |
Transcoding - Transmuxing | 0.000018 | 0.000018 | USD/second | |
Transcoding - Audio transcoding | 0.000018 | 0.000018 | USD/second | |
Media information retrieval | 0.00001132 | 0.00018 | USD/request | |
Metadata management | Data query - Advanced query | 0.00029 | 0.00029 | USD/request |
Data query - Standard query | 0.00012 | 0.00012 | USD/request | |
Data query - Basic query | 0.0000011 | 0.0000011 | USD/request | |
Intelligent Image Service | Image - Reverse geocoding | 0.00003262 | 0.00182 | USD/request |
Image - Image quality scoring | 0.00001132 | 0.000055 | USD/request | |
Image - Face clustering | 0.00022597 | 0.0091 | USD/request | |
Image - Similar face search | 0.00091 | 0.00091 | USD/request | |
Image - Basic face processing | 0.00001236 | 0.0000364 | USD/request | |
Image - Image label detection | 0.00001132 | 0.000182 | USD/request | |
Global Accelerator | Upload acceleration (AccO2MIn) | 0.19 | 0.19 | USD/GB |
Download acceleration (AccO2MOut) | 0.19 | 0.19 | USD/GB | |
Upload acceleration (AccM2MIn) | 0.076 | 0.076 | USD/GB | |
Download acceleration (AccM2MOut) | 0.076 | 0.076 | USD/GB |
Document processing billing
Document preview and online editing are billed per link open, not per API call.
For the GetWebofficeURL API, a call is billed as a document preview if Permission.Readonly is set to true, and as online editing otherwise.
Billing for intelligent media services
After you enable the value-added service, the system automatically processes eligible files within a Domain based on the file types you select, such as images, videos, audio, or documents. The following rules apply:
Creating a new file: Triggers an asynchronous task to intelligently process the file. This applies to scenarios such as uploading, overwriting, instant uploading, copying, restoring a file from the recycle bin (which requires reprocessing), and moving a file to a different Drive (which is treated as creating a new file in the destination Drive).
Deleting a file: Triggers an asynchronous task to delete the metadata generated during intelligent processing. This applies to scenarios such as regular deletion, moving a file to the recycle bin, moving a file across Drives (which is treated as deleting the file from the source Drive), overwriting a file (where the original file is considered deleted), and deleting a Drive or Domain.
Audio and video transcoding
By default, the user interface uses LiveTranscoding for playback. The service does not transcode content until it is played.
The output video from transcoding uses the H.264 encoder by default.
The source video resolution determines the resolution of the transcoded output. By default, the output resolution is less than or equal to 1920 × 1080. For higher-resolution transcoding, contact us.
Data from transcoding is saved to the value-added data space of the tenant's Domain for online playback by end users. This process consumes storage volume and incurs storage fees based on the amount of data generated. For unit prices, see Basic billable items.
LiveTranscoding
Billing components:
Billable items generated when you create a playlist: billable item and billable item. LiveTranscoding costs are incurred during initial transcoding. You can control the duration of the initial transcoding using the
InitialTranscodeparameter.Billable item generated when you play a video: billable item. This fee is incurred only when playback triggers transcoding of a TS file.
Fees are incurred for reading source files from Object Storage Service (OSS) for transcoding, writing transcoded files to OSS, and reading files from OSS during playback. For more information about OSS-related fees, see billable items for OSS.
Formula for calculating LiveTranscoding CUs:
Video
The efficiency (referred to as
effin the formula) for different video output codecs is0.3for H.264 and1.8for H.265.Formula:
Ceiling (eff * Ceiling(Height/240) * Ceiling(Width/240) * Ceiling(FrameRate/30) + 1 ) * Ceiling(VideoStreamDuration).Audio
The efficiency (
eff) is0.3.Formula:
Ceiling(eff * Ceiling(AudioStreamDuration)).Billing rules: Each video stream specified by
TargetVideo.Streamand each audio stream specified byTargetAudio.Streamthat is processed is billed separately. The following examples show how LiveTranscoding fees are calculated:Example 1: Generating a playlist without playback
You call
GenerateVideoPlaylistto create a playlist for a 38-minute H.264 video with a resolution of 800×600 and a frame rate of 30. TheInitialTranscodeduration is set to 0 seconds, and the defaultTranscodeAheadvalue is used. The video is not played.Billed items:
MediaMeta(1 request).
Example 2: Generating a playlist with pre-transcoding but no playback
You call
GenerateVideoPlaylistto create a playlist for a 38-minute H.264 video with a resolution of 800×600 and a frame rate of 30. TheInitialTranscodeduration is set to 30 seconds, and the defaultTranscodeAheadvalue is used. The video is not played.Billed items:
MediaMeta: 1 request.LiveTranscoding(The number of CUs is calculated as follows):Ceiling((0.3 * Ceiling(800/240) * Ceiling(600/240) * Ceiling(30/30) + 1 ) * (Ceiling(30)) + Ceiling(0.3 * Ceiling(30)) = 159 CUs.
Example 3: Playing specific segments after generating a playlist
You call
GenerateVideoPlaylistto create a playlist for a 38-minute H.264 video with a resolution of 800×600 and a frame rate of 30. TheInitialTranscodeduration is set to 0 seconds, and the defaultTranscodeAheadvalue is used. You use the M3U8 playlist to play the video. You start from the beginning and play for 5 minutes (the system pre-transcodes the next 2 minutes by default). Then, you skip to the 15-minute mark and play until the end.Billed items:
MediaMeta: 1 request.LiveTranscoding(The number of CUs is calculated as follows):Ceiling((0.3 * Ceiling(800/240) * Ceiling(600/240) * Ceiling(30/30) + 1) * (Ceiling((5+2)*60) + Ceiling((38-15)*60)) + Ceiling(0.3 * Ceiling((5+2) * 60)) + Ceiling(0.3 * Ceiling((38-15) * 60)) = 9540 CUs.
Example 4: Billing for multiple users and repeated playback
You call
GenerateVideoPlaylistto create a playlist for a 38-minute H.264 video with a resolution of 800×600 and a frame rate of 30. TheInitialTranscodeduration is set to 0 seconds, and the defaultTranscodeAheadvalue is used.User A uses the M3U8 playlist to play the video from the beginning for 5 minutes and then stops.
User B uses the M3U8 playlist to start playing the video from the 15-minute mark until the end.
User C uses the M3U8 playlist to play the video from beginning to end.
Billed items:
MediaMeta: 1 request.LiveTranscoding(The number of CUs is calculated as follows):Ceiling((0.3 * Ceiling(800/240) * Ceiling(600/240) * Ceiling(30/30) + 1) * Ceiling(38*60) + Ceiling(0.3 * Ceiling(38 * 60)) = 12084 CUs.
Terms:
Width: The width of the output video resolution.Height: The height of the output video resolution.FrameRate: The video frame rate.VideoStreamDuration: The duration of the video stream.AudioStreamDuration: The duration of the audio stream.eff: The CU coefficient.Ceiling(x)function: Returns the smallest integer that is greater than or equal to x.
Intelligent image processing
Intelligent image processing is automatically triggered when creating new files or calling other APIs that upload files or retrieve them from the recycle bin. You are charged for the following billable items:
Billable item
Description
media information acquisition
Extracts metadata from images, such as width, height, format, capture time, and geographic coordinates.
reverse geocoding
Converts extracted image coordinates to a specific geographic location. You are not charged if location data is unavailable.
image label detection
Identifies scenes, objects, and events in your images to enable automatic tagging.
image quality scoring
Evaluates the visual quality of an image based on multiple aspects such as clarity, noise, distortion, color saturation, and exposure, and provides a comprehensive score.
face detection
Uses AI to detect all faces and their attributes in an image.
face clustering
Groups similar faces detected in an image into the same face group. An image with multiple distinct faces can belong to several face groups. You are not charged if no faces are detected.
The file deletion action incurs a data query - advanced query fee.
In addition, querying and modifying the metadata generated by intelligent image processing incurs metadata management fees.
Billable item
Related APIs
data query - standard query
data query - basic query
Global Accelerator billing
Transfer acceleration fees are charged in addition to outbound traffic fees.
Transfer acceleration billing
Upload acceleration (AccO2MIn):
Upload traffic generated when accessing PDS in regions outside the Chinese mainland from the Chinese mainland via a transfer acceleration endpoint.
Upload traffic generated when accessing PDS in the Chinese mainland from regions outside it via a transfer acceleration endpoint.
Download acceleration (AccO2MOut):
Download traffic generated when accessing PDS in regions outside the Chinese mainland from the Chinese mainland via a transfer acceleration endpoint.
Download traffic generated when accessing PDS in the Chinese mainland from regions outside it via a transfer acceleration endpoint.
Upload acceleration (AccM2MIn):
Upload traffic from data transfers between regions within the Chinese mainland via a transfer acceleration endpoint.
Upload traffic from data transfers between regions outside the Chinese mainland via a transfer acceleration endpoint.
Download acceleration (AccM2MOut):
Download traffic from data transfers between regions within the Chinese mainland via a transfer acceleration endpoint.
Download traffic from data transfers between regions outside the Chinese mainland via a transfer acceleration endpoint.