This page explains how Agora calculates your monthly bill for Interactive Live Streaming.
If you have already signed a contract with Agora, the billing terms and conditions within that contract take precedence.
Billing occurs monthly. At the end of each month, Agora calculates the total duration of the audio and video usage (in minutes) for that month in all projects under your Agora account.
Video usage is divided into four different types based on aggregate resolution and priced individually. After deducting the monthly 10,000 free-of-charge minutes that Agora grants to every account, Agora multiplies any remaining usage by its corresponding unit price and adds up the costs to get the total cost for that month.
The basic formula is shown here:
Monthly cost = audio minutes × audio unit price + video minutes of each type × video unit price of each type
In each Interactive Live Streaming, users communicate with each other in a Interactive Live Streaming channel. Agora measures the usage for each user from the moment they join a channel to the moment they leave it. If a user subscribes to video from other users in the channel, the usage is counted as video usage (of the applicable type); otherwise, the usage is counted as audio usage.
Agora calculates usage based solely on a user’s subscriptions in the channels they join. Whether they publish streams does not matter.
Audio usage is the default rate at which users are billed for joining a channel. Any time a user spends in a channel where they do not subscribe to video is counted as audio usage, regardless of whether they actually subscribe to audio from another user.
Note that in channels with only one user, this usage is counted as audio usage, because the user does not subscribe to any video.
Video usage is the amount of time that a user in a channel subscribes to video (of any type) from other users. When a user subscribes to both audio and video at the same time, Agora only counts this as video usage.
Agora calculates video usage for each user based on aggregate resolution. Aggregate resolution is the sum of the resolutions of all the video streams a user subscribes to at the same time, that is, the total number of pixels in the video streams the user receives. This calculation applies when a user subscribes to one video stream or multiple video streams.
Based on the aggregate resolution of all the video streams received, Agora divides video into the following types and calculates the usage duration of each type separately:
|Video type||Aggregate resolution (px)|
|High-definition (HD)||Less than or equal to 921,600 (1280 × 720)|
|Full High-definition (Full HD)||From greater than 921,600 (1280 × 720) to 2,073,600 (1920 × 1080)|
|2K||From greater than 2,073,600 (1920 × 1080) to 3,686,400 (2560 × 1440)|
|2K+||From greater than 3,686,400 (2560 × 1440) to 8,847,360 (4096 × 2160)|
For example, if a user subscribes to two 960 × 720 video streams at the same time, the aggregate resolution is (960 × 720) + (960 × 720) = 1,382,400. Because 1,382,400 is greater than 921,600 but less than 2,073,600, Agora counts this video usage as Full HD type and bills it at the Full HD unit price.
Typically, about 5% to 10% of the audio and video traffic may require Cloud Proxy. For Cloud Proxy, automatic mode is free of charge. Agora offers Force UDP and Force TCP cloud proxy modes with tiered capacity,
There is a minimum monthly base fee for each tier:
|Capacity tier||PCU||Minimum monthly base fee (US$)|
|Tier 1 - Default||200 or fewer||500|
|Tier 2||From 201 to 1,000||1,000|
|Tier 3||From 1,001 to 2,000||2,000|
|Tier 4||2,001 or more||Contact Sales or request support through the Agora Console|
You activate Cloud Proxy for Tier 1 directly in Agora Console. Once Force UDP or Force TCP Cloud Proxy is activated, you are billed according to the minimum monthly base fee or based upon minutes of usage, whichever is greater. Billing occurs at the end of each calendar month. For other tiers, contact Agora Customer Support. Agora offers a 10% overage allowance for all tiers of PCU at no additional charge. Agora notifies you when your PCU exceeds the 10% overage allowance. Upon receiving this notice, contact Agora Customer Support to upgrade to the next tier to ensure you have sufficient capacity in the future. Before your upgrade, Agora does try to provide the required capacity beyond the 10% overage allowance; however, the quality of service for an overage of greater than 10% is not guaranteed.
You can deactivate the Cloud Proxy Force UDP or Force TCP modes at any time in the Agora Console. Deactivation takes effect immediately.
When Force UDP or Force TCP is enabled at a specified capacity, Agora charges according to the following rules:
- Minimum monthly fee - monthly usage-based fee including volume discounts is lower than the minimum monthly base fee.
- Usage montly fee - monthly usage-based fee including volume discounts exceeds the minimum monthly base fee.
The usage of the Force UDP or Force TCP cloud proxy service is measured in minutes and is calculated separately based on the media type. The unit prices are as follows:
|Force UDP or Force TCP usage||Unit price (US$/1,000 minutes)|
|Video HD (720P or below)||3.99|
|Video Full HD (above 720p, up to 1080p)||8.99|
|Video 2K (above 1080p, up to 2K)||15.99|
|Video 2K+ (above 2K)||35.99|
Agora automatically offers the following tiered discounts for total monthly usage that exceeds 100,000 minutes:
|Minutes used||Discount level|
|100,000 to 499,999||5%|
|500,000 to 999,999||7%|
|1,000,000 to 3,000,000||10%|
These discounts apply to the usage within each tier. For example, if Agora bills an account for 600,000 minutes, the usage from 1 to 99,999 minutes receives no discount, the usage from 100,000 to 499,999 minutes receives a 5% discount, and the usage from 500,000 to 600,000 minutes receives a 7% discount.
If you expect your total monthly usage to exceed 3,000,000 minutes, contact email@example.com for additional discounts.
This section illustrates how Agora calculates aggregate video resolution, total usage per service type, and the associated costs.
Suppose that five users join a channel at the same time and have interactive live video streaming for 60 minutes. In the video streaming, there are three hosts (Host A, B, and C), each with a video resolution set to 960 × 720. Two audience members subscribe to the video streams from the hosts. Additionally, Host A shares their screen with all other users in the channel. The video resolution of the screen-sharing stream is set to and received at 1920 × 1080.
The following table shows the calculations for the aggregate resolution for each user’s video stream subscriptions. These determine the unit prices for their video usage:
|User||Video streams subscribed||Aggregate video resolution||Total||Video type|
|Host A + screen sharing||2 hosts||960 × 720 × 2||1,382,400||Full HD|
|Host B||2 hosts + Host A’s screen sharing||(960 × 720 × 2) + (1920 x 1080)||3,456,000||2K|
|Host C||2 hosts + Host A’s screen sharing||(960 × 720 × 2) + (1920 x 1080)||3,456,000||2K|
|Audience Member 1||3 hosts + Host A’s screen sharing||(960 × 720 × 3) + (1920 x 1080)||4,147,200||2K+|
|Audience Member 2||3 hosts + Host A’s screen sharing||(960 × 720 × 3) + (1920 x 1080)||4,147,200||2K+|
The following table shows the calculation of the total cost of the live video streaming session:
This section provides additional information for your reference.
Agora bills usage by the minute but records usage by the second. Monthly usage for billing is actually calculated by totaling each type of usage (in seconds) and then dividing by 60, rounding up to the nearest integer. For example, if the audio usage for a month is 59 seconds, then this is billed as 1 minute; if the HD video usage for a month is 61 seconds, then this is billed as 2 minutes. Therefore, the margin of error for usage of each type per month is less than 1 minute.
In dual-stream mode, the aggregate video resolution for each user is calculated as follows:
If the user subscribes to the high-quality video stream, their aggregate resolution is calculated based on the resolution of the high-quality video.
If the user subscribes to the low-quality video stream, their aggregate resolution is calculated based on the resolution of the video received by the user.
In scenarios involving screen sharing, the unit price of the screen-sharing stream is calculated on the basis of the video dimension that you set in ScreenCaptureParameters.
When calculating aggregate resolution, Agora counts the 640 × 352 (225,280) resolution as if it is 640 × 360 (230,400).
If your scenario involves another Agora product other than Interactive Live Streaming, expect additional charges. For details, see the pricing page for that product.