https://retellai.com/?utm_source=discord&utm_medium=seo logo
Could you explain how concurrency works and how th...
# ❓・ai-evy-support
d
@AI Evy Could you explain how concurrency works and how the pricing is structured for concurrency?
a
Thanks for tagging me @dzei2234. I'll look through relevant sources and get back to you shortly.
### Answer ## How Concurrency Works Concurrency refers to the number of simultaneous active voice calls that can be handled by your system at any given moment [(1) ]() . For example, if 15 users are engaged in voice calls with your agents at the same time, that counts as 15 concurrent calls . Each agent within your plan is capable of handling an unlimited number of calls, provided that the total concurrency remains within your designated quota . This means you don't need to create multiple agents to manage multiple calls concurrently . You can check your current concurrency status using the Get Concurrency API [(2) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const concurrency = await client.concurrency.retrieve() ;
console.log(concurrency.base_concurrency) ;
The API returns information about your concurrency limits : - `current_concurrency`: The current number of ongoing calls - `concurrency_limit`: The total concurrency limit (sum of base and purchased concurrency) - `base_concurrency`: The free concurrency limit - `purchased_concurrency`: The amount of concurrency already purchased ## Pricing Structure Pay-As-You-Go users are allocated a quota of 20 concurrent calls by default [(1) ]() . If your operational needs require additional concurrency, you can upgrade your plan through the "Billing" page . Based on community discussions, additional concurrency can be purchased at $5 per additional concurrent call per month [(3) ]() . The concurrency model includes [(2) ]() : - A `concurrency_purchase_limit`: The maximum amount of concurrency that can be purchased - A `remaining_purchase_limit`: The remaining amount of concurrency available for purchase This scalable approach allows businesses to start with the base allocation and expand as their call volume grows [(4) ]() [(5) ]() .
​ To learn more, see the sources I considered: [[1] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[2] Get Concurrency](https://docs.retellai.com/api-references/get-concurrency) [[3] Scalable concurrency model](https://discord.com/channels/1186424376300679209/1289329667555201115) [[4] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) [[5] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.