Estimating pricing for Twilio Programmable Video

Pay only for what you use with no minimum fees. The prices quoted here are rack rates and discounts are available, take a look at the Programmable Video pricing.

Rooms and Participants

Twilio Programmable Video is based on two core concepts:

  • A Participant represents client applications that are connected to a Room and sharing audio and/or video media to the Room.
  • A Room represents a real-time audio, video, and/or screen-share session, and is the basic building block for a Programmable Video application.

To learn more about Programmable Video concepts, take a look at our Getting Started tutorial.

Peer-to-Peer Rooms Billing

Peer-to-Peer Rooms usage is billed as follows:

  • $0.0015 per Participant minute

Participants are billed only for the time they are connected to a room. Participants are not charged for the number and/or bandwidth of the media tracks they publish to the room or subscribe from the room.

Peer-to-Peer Pricing Examples

Two Participants in a 15 minute Room:

  • Price: $0.0015 x 2 x 15 = $0.045

Two Participants communicating HD video in a 15 minute Room:

  • Price: $0.0015 x 2 x 15 = $0.045 (Again)

Two Participants communicating only audio in a 15 minute Room:

  • Price: $0.0015 x 2 x 15 = $0.045 (Again)

Two Participants behind a Symmetric NAT or Firewall that requires TURN relay to be utilized in a 15 minute Room:

  • Price: $0.0015 x 2 x 15 = $0.045 (Again)

A Room with 3 Participants where the first publishes audio and video during 30 minutes and the rest just listen without publishing anything:

  • Price: $0.0015 x 3 x 30 = $0.135

A Room with 3 Participants where the first is connected for 30 minutes, the second is connected for 15 minutes and the third is connected for 20 minutes:

  • Price: $0.0015 x (30 + 15 + 20) = $0.0975

Group Rooms Billing

There are two types of Group Rooms based on the number of participants that can be connected to the Room which determines the cost. We define the maximum Room size as the maximum number of simultaneous Participants that can be connected to the Room at the same time.

 For Group Rooms of up to 4 Participants (i.e. maximum Room Size is 4). We call these “Small Group Rooms” and they are priced at:

  • $0.004 per participant minute

 For Group Rooms of up to 50 Participants (i.e. maximum Room Size is 50). They are priced at:

  • $0.01 per participant minute

 The Room type set during Room creation determines the per Participant per minute unit price on the Room. If the room type is set to `group-small` then the Small Group Rooms price of $0.004 per participant per minute is selected. If the room type is set to `group` (default) then price set is $0.01 per participant per minute.

Examples

Two Participants connect to a Small Group Room for 15 minutes

  • Price: $0.004 x 2 x 15 = $0.12 

Two Participants connect to a Group Room (i.e. up to 50) during 15 minutes

  • Price: $0.01 x 2 x 15 = $0.30

A set of Participants connect to a Small Room following this pattern:

  • Participants 1 and 2 connect during the first 15 minutes and then disconnect.
  • Participants 3 and 4 connect on minute 10 and stay connected for 20 additional minutes until the end of the Room.
  • Participants 5 and 6 connect only during the last 5 minutes of the room.
  • Note that although there has been 6 Participants in this Room, only a maximum of 4 of them have been connected at the same time. The total cost of this room will be calculated based on the aggregate of the total number of minutes each participant was connected to the Room.
    • Price: $0.004 x (15 + 15 + 20 + 20 + 5 + 5) = $0.32

15 Participants connect to a Group Room for the entire Room duration of 60 minutes:

  • Price: $0.01 x 15 x 60 = $9

4 Participants connect to a Small Group Room for the entire Room duration of 20 minutes. A 5th Participant tries to join during the last 5 minutes:

  • The 5th Participant connection is rejected by the system because there cannot be more than 4 simultaneous Participants in a Small Group Room.
  • Price: $0.004 x 4 x 20 = $0.32

Group Rooms Recording Billing

On Room creation you must specify whether that Room is to be recorded and all Participants of that Room will have all the tracks they publish recorded. Group Rooms Recordings are billed based on the time a participant is publishing tracks (media e.g. audio or video) at the unit price of:

  • $0.01 per recorded Participant minute

Note that we consider a Participant to be recorded as soon as the participant publishes a media track. Also, the Participant minute recording may include multiple media types (e.g. webcam, screencast, audio)

Recordings Pricing Examples

In a Group Room that lasts for 20 minutes and has recordings activated, two Participants publish audio and video tracks for the entire duration of the Room:

  • Price: $0.01 x 20 x 2 = $0.40 for the recording

In a Group Room that lasts for 20 minutes and has recordings activated, three Participants publish audio, video and screen share tracking in the following sequence:

  • The first Participant publishes only an audio track for 5 minutes and then unpublishes it.
  • The second Participant publishes audio, webcam and screen share for 20 minutes.
  • The third participant publishes an audio track for 20 minutes, but the audio track is muted for 18 minutes and unmuted for 2 minutes.
    • Price: $0.01 x (5 + 20 + 20) = $0.45 for the recording

Compositions Billing in Group Rooms

Compositions are media files where multiple Group Room recordings can be mixed together to form a single file for playback or archive. Compositions are billed by the duration of the composed output media file at the following rate:

  • $0.01 per Composition minute

 Note that Compositions billing does not depend on the duration, or on the number and nature of the source media recordings but the duration of the outputted recording.

Compositions Pricing Examples

A 10 minutes long Composition mixing audio and video tracks from 12 different Participants

  • Price: $0.01 x 10 = $0.1

 A 10 minutes long Composition transcoding 1 audio track from 1 Participant

  • Price: $0.01 x 10 = $0.1

DataTrack Billing in Group Rooms

DataTracks enable the exchange of low latency messages in Group Rooms. DataTracks are billed in messages sent. DataTracks usage is billed at the following price:

  • $4 per million sent messages in Small Group Rooms
  • $10 per million sent messages in Group Rooms

 Note that the maximum DataTrack message size is 16KB (Kilobytes).

Examples

1 Participant publishes DataTrack messages at a rate of 10 messages per second in a Small Group Room for the entire Room duration of 10 minutes:

  • Number of messages sent: 10 x 60 x 10 = 6000
  • Price: $4 x (6000) / 1,000,000 = $0.024

1 Participant publishes DataTrack messages at a rate of 10 messages per second in a Group Room for the entire Room duration of 10 minutes:

  • Number of messages sent: 10 x 60 x 10 = 6000
  • Price: $10 x (6000) / 1,000,000 = $0.06

2 participants publishes DataTrack messages at a rate of 5 messages per second in a Group Room with a Room duration of 20 minutes, :

  • Number of messages sent: 20 x 60 x 5 x 2 = 12,000
  • Price: $10 x (12,000) / 1,000,000 = $0.12

5 Participants publishes DataTrack messages at a rate of 15 messages per second in a Group Room with a Room duration of 60 minutes.

  • Number of messages sent: 60 x 60 x 15 x 5 = 270,000
  • Price: $10 x (270,000) / 1,000,000 = $2.7

Volume Pricing Available

If you have questions about these prices, or you would like to discuss volume pricing for your use case, contact a Twilio Video expert.



 

Have more questions? Submit a request
Powered by Zendesk