Skip to main content

Pricing

This article introduces the billing policy for the Media Push service provided by Agora.

Your billing details may differ if you have signed a contract with Agora.

Overview

Agora calculates the billing of all projects under your Agora account on a monthly basis.

Billing for Media Push begins once you enable the Media Push service. At present, the Media Push service only charges you for pushing media streams to the CDN, which consists of subscription fees and transcoding fees.

For details, see What are Agora’s policies on billing, fee deductions, and account suspension.

Calculation

The procedure for pushing streams to the CDN is as follows:

  1. The host publishes audio or video streams, and the streams are transmitted through Agora SD-RTN™.
  2. The Agora streaming server subscribes to the streams transmitted through Agora SD-RTN™.
  3. The Agora streaming server transcodes the subscribed streams.
  4. The Agora streaming server pushes the transcoded streams to the CDN.

Agora only charges you for subscribing to streams and transcoding the subscribed streams.

Subscription fee

1646028221318

The fee you pay for stream subscription is divided into audio stream charges and video stream charges:

  • Audio stream charges = unit price for audio × audio subscription minutes
  • Video stream charges = unit price for video × video subscription minutes

When you begin publishing streams in your channel, the Agora streaming server joins your channel as an audience member and subscribes to the streams you publish. This process is the same as an audience member subscribing to the streams published by the host in the channel. You can refer to Pricing for Real-time Communication for more information about subscription fees.

The subscription minutes for audio and video streams are included in the audio and video service minutes calculated when you implement an Video SDK function. Agora's free-of-charge policy for the first 10,000 minutes applies to these subscription fees. See Agora's free-of-charge policy for the first 10,000 minutes for details.

In a dual-stream scenario, Agora only subscribes to the high-quality video streams published by the host. In this case, the subscription fee for video streams is calculated based on the aggregate resolution of the high-quality video.

Transcoding fee

The Agora streaming server charges you when transcoding the subscribed streams. The transcoding fee is accumulative, depending on the category and type of the output media stream.

Agora's free-of-charge policy for the first 10,000 minutes does not apply to the transcoding fee.

The transcoding fee includes:

  • Audio transcoding fee: occurs when the Agora streaming server transcodes audio streams. Audio transcoding fee = unit price for audio transcoding × total length of transcoded audio streams
  • Video transcoding fee: occurs when the Agora streaming server transcodes video streams. Video transcoding fee = unit price for video transcoding × total length of transcoded video streams.

Agora only charges a video transcoding fee when the Agora streaming server transcodes audio and video streams at the same time.

Unit price for transcoding

In a multi-hosted interactive streaming scenario:

CategoryPricing ($US/1,000 minutes)
Audio streams3.99
H.264 video stream
  • High-Definition (HD): 7.99
  • Full High-Definition (Full HD): 15.99
  • H.265 video stream
  • High-Definition (HD): 19.99
  • Full High-Definition (Full HD): 39.99
  • TypeThe resolution of the output video after transcoding
    High-Definition (HD)Up to 921,600 (1280 × 720)
    Full High-Definition (Full HD)From greater than 921600 (1280 × 720) to 2073600 (1920 × 1080)

    You can set the resolution of output video in the width and height properties of the LiveTranscoding class. The resolution of output video transcoded by Agora is no higher than 1920 × 1080.

    When there is more than one host publishing streams in a channel, the transcoding fee is charged according to the multi-hosted interactive streaming scenario. For example, if there are two hosts in a channel, and they choose to only transcode their own media streams, the transcoding fee is calculated based on the unit price for transcoding streams in a multi-hosted interactive streaming scenario.

    In an interactive streaming scenario where there is only one host:

    The following table shows the unit price for transcoding streams in an interactive streaming scenario where there is only one host, and the properties (resolution, framerate, and bitrate) of the video streams remain unchanged after transcoding:

    CategoryPricing ($US/1,000 minutes)
    Audio streams1.99
    H.264 video stream1.99

    When the Agora streaming server transcodes streams in an interactive streaming scenario where there is only one host, and the properties (resolution, framerate, and bitrate) of the video streams need to be changed, the transcoding fee is charged according to the multi-hosted interactive streaming scenario.

    Length of time for transcoding streams

    Agora monitors the whole process of you pushing media streams to the CDN. The transcoding fee is charged based on the amount of time you use from successfully pushing streams to the end of your push.

    Agora calculates the amount of time you use for transcoding in seconds.

    The length of time for transcoding is shown in minutes in the Agora Console and in seconds in your billing details. If the length of time you use for transcoding is less than 1 second, Agora calculates it as 1 second; if less than 1 minute, Agora calculates it as 1 minute.

    The length of time for transcoding can be divided into the following two types:

    • Time for transcoding video streams: the length of time that the Agora streaming server transcodes video streams.
    • Time for transcoding audio streams: the length of time that the Agora streaming server transcodes audio streams.

    Examples

    Cohosted audio streaming

    Scenario description: In a cohosted audio streaming scenario, the audio streams are mixed as one stream after transcoding and pushed to the CDN. The cohosted audio streaming lasts for 20 minutes, Subsequently, one host leaves the channel, and the other continues the audio streaming for another 20 minutes.

    Billing plan: Audio transcoding fee occurs during the first 20 minutes when there is co-hosted audio streaming, and during the last 20 minutes when the host continues the audio streaming and pushes streams.

    Transcoding fee = 3.99 ($US/1,000 minutes) × 20/1,000 + 1.99 ($US/1,000 minutes) × 20/1,000

    Cohosted audio and video streaming

    Scenario description:In an audio and video streaming cohosted by A and B, the media streams published by these two hosts are processed according to the following settings:

    • Host A is the left side of the screen and host B is on the right side of the screen. The Agora streaming server performs the transcoding according to this screen layout, outputs a media stream with a resolution of 1280 × 720, and pushes the stream to a CDN address.
    • Host A is on the right side of the screen and host B is on the left side of the screen. The Agora streaming server performs the transcoding according to this screen layout, outputs another media stream with a resolution of 1920 × 1080, and pushes the stream to another CDN address.

    H.264 encoding is used when transcoding both of the streams, and the cohosted audio and video streaming lasts for 20 minutes.

    Billing plan: In the cohosted audio and video streaming, audio and video streams are transcoded at the same time, and Agora only charges a video transcoding fee. One of the output streams is in HD, while the other is in Full HD, and both streams incur transcoding fees.

    Transcoding fee = 7.99 ($US/1,000 minutes) × 20/1,000 + 15.99 ($US/1,000 minutes) × 20/1,000