All Products
Search
Document Center

ApsaraVideo Live:Stream pulling and relay billing

Last Updated:Mar 03, 2026

Stream pulling and relay lets you pull video streams from a source and push them to a destination URL. You do not need to ingest the streams manually. This topic describes the billing rules for this feature.

Billing rules

Note

Billing for this feature starts on December 5, 2025, at 00:00 (UTC+8). All stream pulling and relay tasks created and executed on or after this time are billed based on their duration.

  • Billable item: Duration of stream pull and relay tasks.

  • Formula : Total fee = Unit price × Task duration

  • Billing method : Pay-as-you-go. Fees are calculated based on the cumulative duration of tasks.

  • Billing cycle : Daily. A bill for the previous day's usage is generated and fees are deducted from your account within one hour after 00:00 on the next day.

  • Billing precision : Per minute. A duration of less than one minute is counted as one minute.

  • Task status and billing : Billing starts when a task begins and stops when it is terminated. Fees are based on the actual runtime. If the source stream has an error, the system automatically retries. This retry period is billable. You can configure the retry behavior using the API. By default, the system retries three times at 60-second intervals.

Pricing

Billable item

Unit price (USD/minute)

Stream pulling and relay task duration

0.0003

Billing examples

Example 1: Normal task execution

Assume you create a stream pulling and relay task on December 6, 2025. You set the task to start at 10:00 and end at 12:00. The task runs normally without any errors during this period.

The duration is calculated as follows:

  • Scheduled duration: 12:00–10:00 = 120 minutes

  • Actual runtime: 120 minutes

Therefore, the fee for this task on the bill generated on December 7, 2025 is calculated as follows:

0.0003 USD/minute × 120 minutes = 0.036 USD

Example 2: Task with errors and manual operations

Assume you create a stream pulling and relay task on December 6, 2025. You set the task to start at 10:00 and end at 12:00. The following events occur during task execution:

  • 10:00–11:00: The task runs normally. The actual runtime is 60 minutes.

  • 11:00–11:03: The source stream is interrupted by an error. The system automatically retries three times at 60-second intervals. This 3-minute retry period is billable.

  • 11:03–11:10: The task is aborted due to the source stream error. This downtime is not billed.

  • 11:10–11:40: You manually restart the task. The task runs normally. The actual runtime is 30 minutes.

  • 11:40–12:00: You manually pause the task. This paused period is not billed.

Task duration calculation:

  • Scheduled duration = 12:00–10:00 = 120 minutes

  • Actual runtime = 60 minutes (normal execution) + 3 minutes (source stream error retries) + 30 minutes (execution after manual restart) = 93 minutes

  • Non-billable period = 7 minutes (downtime due to source stream error) + 20 minutes (manual pause)

The fee for this stream pulling and relay task on the bill generated on December 7, 2025 is calculated based on the actual runtime as follows:

0.0003 USD/minute × 93 minutes = 0.0279 USD