Billing of TRTC Basic Services

Last updated: 2021-12-06 16:57:17

This document describes how audio call, video call, and interactive live audio/video streaming are billed on a monthly basis.

If you have a contract with TRTC, the billing details in the contract will apply.

Note:

The concept of aggregate resolution mentioned in this document applies to accounts that create their first application in the TRTC console on or after October 27, 2021.

Billable Items

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 three categories based on resolution and priced differently. TRTC offers each account a 10,000-minute free package per month, which will be deducted from your total monthly durations. The remaining durations multiplied by their unit prices are your total monthly cost.

Cost formula:

Monthly cost = Audio duration × Unit price of audio duration + Video durations of different categories × Unit price of the corresponding category

Duration

The audio/video duration of a call is the sum of the durations of all users in the call.

  • Video duration: If a user subscribes to video streams, video duration will be billed. Note that if a user subscribes to both audio and video streams, only video duration will be counted.
  • Audio duration: If a user does not subscribe to video streams, audio duration will be billed regardless of whether he or she subscribes to audio streams.

Unit price

The table below lists the unit prices of audio and video durations:

Duration Unit Price (USD/1,000 Min)
Audio 0.99
SD 1.99
HD 3.99
FHD 14.99

TRTC classifies video durations into three categories based on the aggregate resolution of all videos a user receives and prices them individually, as shown below:

Category Resolution Range
SD Aggregate resolution ≤ 307,200 (640 × 480)
HD 307,200 (640 × 480) < Aggregate resolution ≤ 921,600 (1280 × 720)
FHD Aggregate resolution > 921,600 (1280 × 720)

For example, if a user subscribes to two 960 × 720 video streams, the aggregate resolution would be 960 × 720 + 960 × 720 = 1,382,400, which falls in the category of FHD.

Prepaid Package

TRTC offers general packages, from which audio, SD video, HD video, and FHD video durations are deducted in the proportion of 1:1, 2:1, 4:1, and 15:1 respectively. For example, for 1 minute of HD video duration used, 4 minutes will be deducted from a general package.

Below are the prices of general packages:

Package Type Package Duration (1,000 Min) List Unit Price (USD/1,000 Min) Package Unit Price (USD/1,000 Min) Package Price (USD) Discount
Fixed-time package 25 0.99 0.960 24 3% off
250 0.99 0.908 227 8% off
1000 0.99 0.856 856 13.5% off
3000 0.99 0.805 2416 18.7% off
Custom package 0 < T < 25 0.99 0.99 Package unit price × Package duration (T) -
25 ≤ T < 250 0.99 0.960 3% off
250 ≤ T < 1000 0.99 0.908 8% off
1000 ≤ T < 3000 0.99 0.856 13.5% off
T ≥ 3000 0.99 0.805 18.7% off
Note:

  • The package unit prices in the table are rounded up to 3 decimal places. However, in actual billing, unit prices are rounded to 8 decimal places.
  • Currently, you need to be on our allowlist to use TRTC prepaid packages. You can contact us to add your account to the list.
  • If your monthly usage exceeds 3 million minutes on average, you can contact us for deeper discounts.

Billing Examples

This section describes how TRTC calculates aggregate resolution, durations, and costs.

Assume that 5 users entered the same room and interacted for 60 minutes. Users A, B, and C are in the role of “anchor”. User A sent video at a resolution of 960 × 720, while B and C both sent video at a resolution of 640 × 480. The other two users subscribed to all three anchors’ video streams. User A’s screen was shared with other users in the room. Both the send and receive resolution for screen sharing were 1920 × 1080.

Aggregate resolution

The table below shows how to calculate each user’s aggregate resolution, which determines the category a user’s video duration falls in.

User Streams Subscribed Resolution Calculation Aggregate Resolution Category
Anchor A (shared screen) 2 anchors 640 × 480 × 2 614,400 HD
Anchor B 2 anchors + Anchor A’s screen (960 × 720) + (640 × 480) + (1920 × 1080) 3,072,000 FHD
Anchor C 2 anchors + Anchor A’s screen (960 × 720) + (640 × 480) + (1920 × 1080) 3,072,000 FHD
Audience 1 3 anchors + Anchor A’s screen (960 × 720) + (640 × 480 × 2) + (1920 × 1080) 3,379,200 FHD
Audience 2 3 anchors + Anchor A’s screen (960 × 720) + (640 × 480 × 2) + (1920 × 1080) 3,379,200 FHD

Cost

The table below shows how to calculate the total cost of the streaming session:

Billable Item (Video Duration Category) Total Duration (Min) = Sum of Users’ Durations Unit Price (USD/1,000 Min) Cost by Category (USD) Total Cost (USD, rounded to 2 decimals)
HD 60 3.99 (60/1000) × 3.99 = 0.2394 13.68
FHD 60 × 4 = 240 14.99 (240/1000) × 14.99 = 13.44

Notes

This section provides extra information on billing.

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 generated 59 seconds of audio duration and 61 seconds of video duration 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 big-image stream, the resolution of the big-image stream set by the sender will be used for calculating aggregate resolution.
  • If the user subscribes to the small-image stream, the actual resolution of video received will be used for calculating aggregate resolution.

Resolution of screen sharing

The unit price of a screen sharing duration depends on the resolution set in TRTCVideoEncParam. For how to set the resolution, please 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, please see setScreenProfile.

Cost of using other products/services

If your application scenario involves TRTC products or services other than video call and interactive live streaming, for example, On-Cloud MixTranscoding, you will be charged additional fees. You can refer to the billing document of the corresponding product or service for details.