Text to speech: Streaming vs REST Rate limit #960
-
I am currently evaluating the use of Deepgram's text-to-speech capabilities for my backend application, which involves stt/llm/tts functionalities. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @nitin-airindia, the websocket API allows for more flexible concurrency, and is a good choice for higher-volume applications. While the batch API supports 2 concurrent requests, the average TTS REST API call is only 250 milliseconds, which can cover tens of seconds of a conversation, so in practice two concurrent requests can support dozens or hundreds of concurrent conversations, depending on how often the TTS speaks in the conversation. |
Beta Was this translation helpful? Give feedback.
Hi @nitin-airindia, the websocket API allows for more flexible concurrency, and is a good choice for higher-volume applications.
While the batch API supports 2 concurrent requests, the average TTS REST API call is only 250 milliseconds, which can cover tens of seconds of a conversation, so in practice two concurrent requests can support dozens or hundreds of concurrent conversations, depending on how often the TTS speaks in the conversation.