STEP 1: Check Agora’s Pricing
– Please check the pricing from Agora here
As of the publication date of this article,
The cost for audio call is 0.99$ per 1,000 participant minutes
The cost for Video (HD) call is 3.99$ per 1,000 participant minutes
Note: For Video calls, only HD quality is supported

STEP 2: Calculate the Cost of Voice/Video Call
Cost of Voice Call:
0.99$ per 1,000 participant minutes equivalent to 0.00099$ per 1 participant minute.
A voice call with 2 participants, the cost for a minute would be = 0.00198$:

Cost of Voice Call:
3.99$ per 1,000 participant minutes equivalent to 0.00399$ per 1 participant minute.
A video call with 2 participants, the cost for a minute would be = 0.00798$:

Note: This is the cost you pay for Agora when user use call services on your system , You need to add other fees to determine a reasonable price to charge the client to ensure that you cover the fees you have to pay Agora and make a profit.
STEP 3: Exchange the cost to Credit
– Credit is an alternative currency to pay in this system. For more info please read What is Credit system?
– Setting exchange rate of Credits:
Access to Admin Dashboard => Plugin Manager => Credit => input Exchange rate => Save Setting
Note: for use Credit to pay Call Services, the Exchange rate should be 1000 Credits / 1$ or higher

Then we calculate the Cost in Credits
The Cost of Voice call: 0.00189 * 1000 = 1.98 Credits/Minute
The Cost of Video call: 0.00798 * 1000 = 7.98 Credits/Minute
STEP 4: Setting the Cost for each user role
Access to Admin Dashboard => Plugin Manager => Message => Permission tab.
Input the price (in Credit) in Audio/Video call for each role as you want.

STEP 5: Click Save button then clear global cache