If you have a contract with TRTC, the billing details in the contract will apply.
Note:
Aggregate video resolution applies to accounts whose first TRTC application is created on or after October 27, 2021. Billing Details
TRTC adds up the audio and video durations of all projects under your account at the end of each month. Note that video durations are classified into four categories based on "aggregate video resolution" and are priced differently. TRTC offers each account a 10,000-minute free package per month. The system will first deduct your usage using the free minutes and the bonus minutes of packages you purchase. The remaining durations multiplied by their unit prices are your total pay-as-you-go cost for the month. Formula
Monthly cost = Audio duration x Unit price of audio duration + Video durations of different categories x Unit price of the corresponding category
Audio and video durations
The audio/video duration of a call is the sum of the durations of all users.
Video duration: If a user subscribes to video streams, regardless of whether they also receive audio streams, their duration will only be billed as video duration.
Audio duration: If a user does not subscribe to video streams, their duration will be counted as audio duration, regardless of whether they subscribe to audio streams. In other words, if a user subscribes to video streams, their duration will be billed as video duration; if a user does not subscribe to any stream, their duration will still be billed as audio duration.
Pricing
|
| | |
| | Resolution ≤ 921,600 (1280 x 720) |
| | 921,600 (1280 x 720)< Resolution ≤ 2,073,600 (1920 x 1080) |
| | 2,073,600 (1920 x 1080) < Resolution ≤ 3,686,400 (2560 x 1440) |
4K | | 3,686,400 (2560 x 1440) < Resolution ≤ 8,847,360 (4096 x 2160) |
For example, if a user subscribes to two 960 x 720 video streams, the user's aggregate video resolution is 960 x 720 + 960 x 720 = 1,382,400, which falls in the category of FHD.
Billing Example 1
This section uses an example to show you how TRTC calculates pay-as-you-go fees.
Assume that six users entered a room at the same time and communicated over video for 60 minutes.
There were three anchors (A, B, and C) in the room. The video resolution of A was 960 x 720, and that of B and C were both 640 x 480. Two of the audience members subscribed to the video streams of all anchors, while the other subscribed to audio only. Anchor A also shared the screen at a resolution of 1920 x 1080.
Aggregate video resolution and duration of each user
The table below shows the aggregate resolution of videos received by each user, the categories the resolutions fall in, and their prices.
|
| B's and C's video streams | | | | |
| A's video and screen sharing streams + C's video stream | (960 x 720) + (640 x 480) + (1920 x 1080) | | | |
| A's video and screen sharing streams + B's video stream | (960 x 720) + (640 x 480) + (1920 x 1080) | | | |
| A's video and screen sharing streams + B's and C's video streams | (960 x 720) + (640 x 480 x 2) + (1920 x 1080) | | | |
| A's video and screen sharing streams + B's and C's video streams | (960 x 720) + (640 x 480 x 2) + (1920 x 1080) | | | |
| | | | | |
The figure below shows the billing details:
Cost calculation
Formula: Monthly cost = Audio duration x Unit price of audio duration + Video durations of different categories x Unit price of the corresponding category
Billable Item | Total Duration (Min) = Sum of Each User's Duration | Price (USD/1,000 Min) | Cost by Category (USD) | Total Cost (USD, rounded to 2 decimals) |
HD | 60 x 1 = 60 | 3.99 | (60/1000) × 3.99 = 0.2394 | 4.14 |
| 2K | 60 x 4 = 240 | 15.99 | (240/1000) x 15.99 = 3.8376 |
| Audio | 60 x 1 = 60 | 0.99 | (60/1000) x 0.99 = 0.0594 |
Billing Example 2
This section uses an example to show you how TRTC calculates pay-as-you-go fees.
Assume that six users entered a room at the same time and communicated over video for 60 minutes.
There were four anchors (A, B, C, and D) in the room. The video resolution of A, B, and C was 480 x 480, while D published only audio. One of the audience members subscribed to the video streams of all anchors, and the other subscribed to audio only.
Aggregate video resolution and duration of each user
The table below shows the aggregate resolution of videos received by each user, the categories the resolutions fall in, and their prices.
|
| B's and C's video streams + D's audio stream | | | | |
| A's and C's video streams + D's audio stream | | | | |
| A's and B's video streams + D's audio stream | | | | |
| A's, B's, and C's video streams | | | | |
| A's, B's, and C's video streams + D's audio stream | | | | |
| | | | | |
Cost calculation
Formula: Monthly cost = Audio duration x Unit price of audio duration + Video durations of different categories x Unit price of the corresponding category
Billable Item | Total Duration (Min) = Sum of Each User's Duration | Price (USD/1,000 Min) | Cost by Category (USD) | Total Cost (USD, rounded to 2 decimals) |
HD | 60 x 5 = 300 | 3.99 | (300/1000) x 3.99 = 1.197 | 1.26 |
| Audio | 60 x 1 = 60 | 0.99 | (60/1000) x 0.99 = 0.0594 |
|
Must-Knows
There are some other matters that merit your attention.
Price calculator
Accuracy of durations
TRTC calculates durations in seconds and converts monthly cumulative seconds to minutes for billing. Specifically, it adds up the audio and video durations (in seconds) for a month and divides them by 60. The results are rounded up to the nearest whole number. For example, if your account consumed 59 seconds of audio duration and 61 seconds of video duration in a month, you would be billed for 1 minute of audio duration and 2 minutes of video duration. The margin of error for monthly durations is smaller than 1 minute.
Dual-stream resolution
In the dual-stream mode, a user's resolution is calculated as follows:
If the user subscribes to the high-quality stream, the resolution of the high-quality stream set by the sender will be used for the calculation of the aggregate resolution.
If the user subscribes to the low-quality stream, the actual resolution of the video received will be used for the calculation of the aggregate resolution.
Resolution of screen sharing
The resolution set in TRTCVideoEncParam
is used for the billing of screen sharing duration. For how to set the resolution, see the documents below:
On web, a target resolution may be unattainable due to device and browser restrictions, in which case the browser will adjust the resolution automatically to make it as close as possible to the target, and the actual resolution will be used for billing. For details, see setScreenProfile. Robot duration
If a media processing task (recording, moderation, relay, etc.) is initiated for a room, the system will assign a robot to the room (if multiple tasks are initiated, there will be multiple robots). The robot will enter the room as a user and will subscribe to streams of the room. This will incur audio/video duration fees.
The duration of subscription generated by the robot pulling and relaying the stream to the RTC room is billed normally. Since it does not pull the stream in the room, only the duration of audio received in the room is charged.
In other cases (for example, if you relay to another TRTC room or a third-party platform), the robot's audio/video duration will be billed.
Cost of using other products/services
If you use other Tencent Cloud products or TRTC services that are not audio/video call or interactive live streaming, for example, on-cloud recording, additional fees will be incurred. For details, see the billing documents of the corresponding products or TRTC services.
Was this page helpful?