Limits

This page lists the limits of each audio request and session, and what you get when you go over one. Request rates and monthly quotas are workspace settings, covered in Rate limits and quotas.

Transcription

Transcription

These limits apply to file transcription and realtime sessions:

LimitValueOver the limitDetails
Audio URL length (file_url)2,083 charactersValidation errorFile transcription
Uploaded file (file_id)Upload rejectedFile transcription
Context window, shared by the audio and context_bias65,536 tokens400 error, nothing is cutLimits and errors
TimestampsPer segment only: timestamp_granularities=segmentword returns a 400 errorTimestamps
Speaker referencesUp to 8 clips, 3 to 15 seconds each, with diarize set to trueThe request is rejected with a 400 error: "At most 8 speaker references are supported, got {n}".Name speakers with reference clips
Streaming delay (target_streaming_delay_ms)Any integer from 80 to 1200, or 2400error eventControl latency
Speech generation

Speech generation

These limits apply to the values a speech request accepts:

LimitValueOver the limitDetails
expressiveness422 validation errorExpressiveness
Phonemes in phoneme_hintsA closed list of 50 phonemes422 error listing the accepted phonemesPhonemes
Emotion tags34 valuesNo error: the tag isn't spoken, and has no documented effectSupported emotions
Pace tagsslow or fastNo error: the tag isn't spoken, and has no documented effectPace tags
Voice cloning reference clipA few seconds to a few minutes400 error for a file that isn't MP3 or WAVPrepare a reference clip
Audio in chat completions

Audio in chat completions

This limit applies to chat requests that carry audio inline:

LimitValueOver the limitDetails
Request body with input_audio429 error, Rate limit exceededAudio in chat completions
Voice agents

Voice agents

Webhook deliveries to your endpoint follow these limits:

LimitValueDetails
Webhook response timeYour endpoint must answer within 10 secondsDelivery and retries
Webhook attemptsUp to 3 in total, on 5xx and 429 responses and on network errorsDelivery and retries
Rate limits and quotas

Rate limits and quotas

Request rates and monthly quotas are set per workspace, and shared by all its API keys. See Workspace usage and limits.

Going further

Going further