mistralM

Docs

Limits

Size, duration, and value limits for audio requests and sessions, and what happens when you go over them.

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

These limits apply to file transcription and realtime sessions:

Limit

Value

Over the limit

Details

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)A multiple of 80 from 80 to 1200, or 2400error eventControl latency

Speech generation

These limits apply to the values a speech request accepts:

Limit

Value

Over the limit

Details

expressiveness422 validation errorExpressiveness
Phonemes in phoneme_hintsA closed list of 77 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

This limit applies to chat requests that carry audio inline:

Limit

Value

Over the limit

Details

Request body with input_audio429 error, Rate limit exceededAudio in chat completions

Voice agents

Webhook deliveries to your endpoint follow these limits:

Limit

Value

Details

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

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

Going further

Audio formats
illustrationBolt

Audio formats

Accepted input formats and available output formats across transcription, speech generation, audio in chat, and voice agents.

Latency
illustrationTimer

Latency

What latency means in each Mistral audio mode, the delays it adds up, and how to measure it and weigh speed against quality.

Speech to Text troubleshooting
illustrationSound

Speech to Text troubleshooting

The errors that transcription requests and realtime sessions return, the usual causes of a poor or missing transcript, and the setting that fixes each one.

Text to Speech troubleshooting
illustrationWarning

Text to Speech troubleshooting

The errors that speech requests return, the usual causes of speech that sounds wrong, flat, cut short, or slow to start, and the setting that fixes each one.