This topic describes the billing information for value-added features of Drive and Photo Service (PDS).
PDS value-added features use the pay-as-you-go billing method. The following table describes the billable items:
For more information, see Basic billable items.
Billing category | Billable item | Unit price (Chinese mainland) | Unit price (International regions) | Pricing unit |
Document processing | Document - Online preview | 0.00182 | 0.00182 | USD/time |
Document - Online editing | 0.00283 | 0.00283 | USD/time | |
Document - Document conversion | 0.01132 | 0.01132 | USD/time | |
Intelligent Media Services (Audio and video transcoding generates value-added data storage fees. See the billing category description 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/time | |
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.0008 | 0.00080 | USD/second | |
Transcoding - H.264 transcoding - 2K | 0.0003 | 0.00030 | USD/second | |
Transcoding - H.264 transcoding - HD | 0.00014 | 0.00014 | USD/second | |
Transcoding - H.264 transcoding - SD | 0.000076 | 0.00008 | USD/second | |
Transcoding - H.264 transcoding - LD | 0.000055 | 0.00006 | USD/second | |
Transcoding - Container format conversion | 0.000018 | 0.00002 | USD/second | |
Transcoding - Audio transcoding | 0.000018 | 0.00002 | USD/second | |
Media information acquisition | 0.00001132 | 0.00018 | USD/time | |
Metadata management | Data query - Advanced query | 0.00029 | 0.00029 | USD/time |
Data query - Standard query | 0.00012 | 0.00012 | USD/time | |
Data query - Basic query | 0.0000011 | 0.0000011 | USD/time | |
Intelligent image service | Image - Reverse geocoding | 0.00003262 | 0.00182 | USD/time |
Image - Image quality scoring | 0.00001132 | 0.000055 | USD/time | |
Image - Face clustering | 0.00022597 | 0.0091 | USD/time | |
Image - Similar face search | 0.00091000 | 0.00091 | USD/time | |
Image - Basic face image | 0.00001236 | 0.0000364 | USD/time | |
Image - Image label detection | 0.00001132 | 0.000182 | USD/time | |
Global Accelerator | Upload acceleration (AccO2MIn) | 0.19 | 0.19 | USD/GB |
Download acceleration (AccO2MOut) | 0.076 | 0.076 | USD/GB | |
Upload acceleration (AccM2MIn) | 0.076 | 0.076 | USD/GB | |
Download acceleration (AccM2MOut) | 0.19 | 0.19 | USD/GB |
Document processing billing description
Document preview and online editing are billed based on the number of times links are opened, not the number of API calls.
When the GetWebofficeURL interface has Permission.Readonly set to true, document preview fees apply. Otherwise, online editing fees apply.
Intelligent Media Services billing description
After value-added services are enabled, the system intelligently processes files in the Domain that match the selected file types (images, videos, audio, documents). The specific rules are as follows:
Creating new files: Triggers asynchronous tasks to intelligently process files. Applicable scenarios include but are not limited to normal uploads, overwrite uploads, instant uploads, file copying, retrieving files from the recycle bin (requiring reprocessing), and cross-Drive file movement (considered as creating new files for the target Drive).
Deleting files: Triggers asynchronous tasks to delete metadata information generated by intelligent processing. Applicable scenarios include but are not limited to normal deletion, moving to the recycle bin, cross-Drive file movement (considered as deleting files for the source Drive), overwrite uploads (original files are considered deleted), and deleting Drives or Domains.
Audio and video transcoding
The default interface uses LiveTranscoding for playback. Transcoding service is not triggered if the video is not played.
Transcoded videos use the H.264 encoder by default.
The resolution of transcoded videos is determined by the source video resolution. The default transcoding resolution is ≤(1920 × 1080). For higher definition services, please contact us.
Transcoded data is saved to the tenant Domain's value-added data space for end users to play audio and video online. Transcoded data generates storage volume and storage fees. Storage fees are related to the amount of data generated by transcoding. For unit prices, see Basic billable items.
LiveTranscoding
Fee composition:
Billable items generated when creating playlists: Billable item and Billable item, where LiveTranscoding is generated during initial transcoding. The initial transcoding duration can be controlled using the InitialTranscode parameter.
Billable items generated when playing videos: Billable item (only generated when playing and triggering actual transcoding of TS files).
Fees generated on the OSS side: fees generated by reading source videos from Object Storage Service (OSS) for transcoding and writing transcoded video files to OSS and by reading video files from OSS for video playback. For details about OSS fees, see OSS Billable items.
Metering rules for LiveTranscoding billing:
Video
The efficiency (referred to as eff in the following formula) for different video output codecs: H.264: 0.3, H.265: 1.8.
Calculation formula:
Ceiling (eff * Ceiling(Height/240) * Ceiling(Width/240) * Ceiling(FrameRate/30) + 1 ) * Ceiling(VideoStreamDuration).Audio
The efficiency (eff) is 0.3
Calculation formula:
Ceiling(eff * Ceiling(AudioStreamDuration)).Billing rules: Each processed video stream (specified by TargetVideo.Stream) and each processed audio stream (specified by TargetAudio.Stream) are separately billed. A billing example is provided for each of the following billing rules to help you understand LiveTranscoding billing:
Example 1 (No fee for the LiveTranscoding billable item is generated if no video in a generated playlist is played):
You call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. No video in the playlist is played.
The fee for the following billable item is generated: MediaMeta: The operation generates a fee for the MediaMeta billable item only once.
Example 2 (A fee for the LiveTrancoding billable item for initial transcoding is generated if a generated playlist has an initial transcoding configuration and no video in the playlist is played):
You call the GenerateVideoPlaylist operation with InitialTranscode set to 30 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. No video in the playlist is played.
The fees for the following billable items are generated:
MediaMeta: The operation generates a fee for the MediaMeta billable item only once.
LiveTranscoding (CU calculation formula):
Ceiling((0.3 * Ceiling(800/240) * Ceiling(600/240) * Ceiling(30/30) + 1 ) * (Ceiling(30)) + Ceiling(0.3 * Ceiling(30)) = 159 (CountUnit).
Example 3 (A fee for the LiveTranscoding billable item is generated for the played segments of video content in a generated playlist):
You call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps. Then, you play the video from the beginning to the 5th minute (transcoded to 2 minutes ahead by default) and skip to the 15th minute, from which the playback continues to the end.
The fees for the following billable items are generated:
MediaMeta: The operation generates a fee for the MediaMeta billable item only once.
LiveTranscoding (CU calculation formula):
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 (CountUnit).
Example 4 (A fee for the LiveTranscoding billable item is generated only once if the video is played by multiple users):
You call the GenerateVideoPlaylist operation with InitialTranscode set to 0 and TranscodeAhead left empty to create a video playlist for a 38-minute H.264 output video at a resolution of 800 × 600 pixels and a frame rate of 30 fps.
User A uses the playlist to play the video from the beginning to the 5th minute and then exits playback.
User B uses the playlist to play the video starting from the 15th minute to the end.
User C uses the playlist to play the video from the beginning to the end.
The fees for the following billable items are generated:
MediaMeta: The operation generates a fee for the MediaMeta billable item only once.
LiveTranscoding (CU calculation formula):
Ceiling((0.3 * Ceiling(800/240) * Ceiling(600/240) * Ceiling(30/30) + 1) * Ceiling(38*60) + Ceiling(0.3 * Celling(38 * 60)) = 12084 (CountUnit).
Terms:
Width: The width of the output video resolution.
Height: The height of the output video resolution.
FrameRate: The video frame rate.
VideoStreamDuration: The length of the video stream.
AudioStreamDuration: The length of the audio stream.
eff: The CU coefficient.
Ceiling(x) function: Returns the smallest integer value that is greater than or equal to x.
Intelligent image processing
When creating new files or calling other APIs that may cause file uploads or retrieving files from the recycle bin, automatic intelligent processing of images is triggered, including the following billable items:
Billable item
Description
Media information acquisition
Extracts metadata from images, including width, height, format, capture time, geographic coordinates of the capture location, etc.
Reverse geocoding
If the geographic coordinates of the image capture location are successfully extracted, the specific geographic location can be obtained based on the coordinates. (No fee is charged if no geographic location is available)
Image label detection
Performs intelligent tag recognition on images to identify scenes, objects, events, and other content in the images, enabling automatic tagging of images.
Image quality scoring
Evaluates the visual quality of input images from multiple aspects such as clarity, noise and distortion, color saturation, exposure, etc., and provides a comprehensive score.
Basic face image
Based on image AI technology, detects faces and face information in images. If there are multiple faces in an image, the system will detect multiple faces and their information.
Face clustering
If faces are detected in an image, face clustering will be performed to group similar faces into the same cluster. If an image contains multiple different faces, it may belong to multiple different face groups. (No fee is charged if no face is detected)
For file deletion scenarios, Data query - Advanced query fees are generated.
In addition, querying and modifying metadata generated from intelligent image processing will incur metadata management fees.
Billable item
Related APIs
Data query - Standard query
Data query - Basic query
Global Accelerator billing description
Transfer acceleration fees are calculated separately based on the outbound traffic over the Internet.
Transfer acceleration billing description
Upload acceleration (AccO2MIn):
Accelerated upload traffic generated when accessing PDS in regions outside the Chinese mainland from the Chinese mainland through transfer acceleration endpoints.
Accelerated upload traffic generated when accessing PDS in the Chinese mainland from regions outside the Chinese mainland through transfer acceleration endpoints.
Download acceleration (AccO2MOut):
Accelerated download traffic generated when accessing PDS in regions outside the Chinese mainland from the Chinese mainland through transfer acceleration endpoints.
Accelerated download traffic generated when accessing PDS in the Chinese mainland from regions outside the Chinese mainland through transfer acceleration endpoints.
Upload acceleration (AccM2MIn):
Accelerated upload traffic generated when accessing PDS in the Chinese mainland from the Chinese mainland through transfer acceleration endpoints.
Accelerated upload traffic generated when accessing PDS in regions outside the Chinese mainland from regions outside the Chinese mainland through transfer acceleration endpoints.
Download acceleration (AccM2MOut):
Accelerated download traffic generated when accessing PDS in the Chinese mainland from the Chinese mainland through transfer acceleration endpoints.
Accelerated download traffic generated when accessing PDS in regions outside the Chinese mainland from regions outside the Chinese mainland through transfer acceleration endpoints.