For the complete documentation index, see llms.txt. This page is also available as Markdown.

What should I set my HTTP request timeout to?

By default, many programming languages' HTTP request packages have a default timeout. You'll want to increase the default timeout for audio transcription.

For STT prerecorded requests that do not use a callback URL, it is important to reconfigure the default HTTP request timeout in your code. If your request timeout is too small, your client code may prematurely end the connection before the response is returned.

Deepgram's timeout window for STT request is 10 minutes for all non-Whisper models, and 20 minutes for Whisper models. You should set your HTTP request timeout to either 10 or 20 minutes, depending on the model you use.

Last updated