Learning resourcesReviewed · Mistral AI

Mistral realtime transcription: Turn detection

Mistral’s Turn detection guide teaches voice app developers how to detect when a speaker finishes, but the final transcript words may arrive after the end-of-turn event. It explains realtime session configuration, turn events and threshold tuning. The feature cannot be combined with diarization, which labels different speakers.

Researched 15 Nov 2026

In short.

Mistral’s Turn detection guide is a practical reference for developers building voice apps, but an end-of-turn event does not mean the complete transcript has arrived. It documents four turn events, five tuning settings and Python and TypeScript WebSocket examples. Applications must distinguish tentative pauses from confirmed endings, cancel speculative work when speech resumes and collect delayed transcript text before acting on a request. Turn detection supports realtime transcription only and cannot run alongside diarization. The page provides implementation detail, but measured reliability, end-to-end latency, pricing and usage rights remain unknown. No examples or API calls were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete captured Turn detection page at [https://docs.mistral.ai/studio/audio/speech-to-text/turn-detection.md], including its code examples, sample output, state diagram description, event table, configuration values and compatibility notices. Linked pages and the separate diagram asset are excluded. No code examples, API behavior, latency, accuracy or production journeys were tested.

The overview

Identity

Turn detection is a Mistral documentation guide about detecting speech starts and endings during realtime transcription. Its original address is [https://docs.mistral.ai/studio/audio/speech-to-text/turn-detection.md].

The page documents an API feature through session messages, event descriptions, configuration tables and Python and TypeScript examples. Its focus is deciding when a voice application should prepare a response and when it can act.

Assessment

The guide is useful for implementing the boundary between listening and responding. Its strongest details address integration mistakes: treating a sentence pause as a completed request, changing settings after audio starts and assuming that the turn event contains the final transcript.

It provides enough protocol detail to inform an implementation. It does not establish how accurately turn detection handles a particular audience, microphone or acoustic environment, and it supplies no measured latency or accuracy benchmarks.

Users

The intended users are developers building voice agents that answer spoken requests, voice commands that trigger actions and live captions that close a line when someone finishes speaking.

Beginners receive explanations of the events and tuning tradeoffs, while implementation requires familiarity with asynchronous messages, audio chunks and transcript buffering. Applications requiring Mistral’s diarization and turn detection in the same session face an explicit incompatibility.

Capabilities

The documented events are turn.start when speech begins, turn.eager_end when the speaker may have finished, turn.resume when speech continues after that tentative ending and turn.end when the turn closes. Applications can prepare disposable work on an eager end and cancel it on resume.

Each turn event includes time_s, measured in seconds from the beginning of the audio stream. A turn.end also includes end_reason: threshold for a score-based ending or timeout when the maximum pause is reached. These timestamps describe audio position rather than clock time.

Using it

Requirements

The examples use a Mistral API key through MISTRAL_API_KEY and connect to [wss://api.mistral.ai/v1/audio/transcriptions/realtime?model=voxtral-mini-transcribe-realtime-3]. Python uses the websockets package; TypeScript uses ws and Node.js file APIs. Required runtime and package versions are not specified.

The example input is a 16-bit mono PCM WAV file. The session declares pcm_s16le encoding and the file’s sample rate; separate configuration examples show 24,000 Hz. The page does not establish the full range of supported sample rates, account access requirements or service limits.

Mechanism

During transcription, the model assigns a score from 0 to 1 representing whether speech remains semantically active. The server compares this score with thresholds and moves between waiting, speaking and probably finished states. Renewed speech can cancel a tentative ending.

A turn cannot close before the pause reaches min_silence_ms. After that minimum, a sufficiently low score can end it. Reaching end_timeout_ms closes the turn even if the model remains uncertain.

The defaults are start_threshold 0.5, eager_end_threshold 0.5, end_threshold 0.33, min_silence_ms 500 and end_timeout_ms 3000. Lowering end_threshold or increasing minimum silence favors waiting longer; reducing the timeout limits the longest pause before closure.

Setup

Before sending the first audio chunk, send session.update with audio_format and a turn_detection object inside session. An empty turn_detection object requests the defaults. The session.updated event reports the applied settings. Once audio starts, changes to session settings are rejected.

Custom values must satisfy start_threshold >= eager_end_threshold > end_threshold and end_timeout_ms >= min_silence_ms. Invalid ordering produces an error. Configuration names are descriptive labels only: the application must send the actual values.

Example

Both examples read customer_call.wav, divide its audio into approximately 100 ms chunks, encode each chunk as base64 and send input_audio.append messages followed by input_audio.end. They print turn events and the final transcription.done text. The illustrated output shows tentative endings followed by resumed speech before a confirmed ending.

Although the surrounding prose describes streaming at the file’s own pace, neither send loop includes an explicit timing delay. Chunk size alone does not pace transmission. The examples also do not implement the per-turn transcript buffering described elsewhere on the page. Neither example was executed.

Assessment & evidence

Limitations

Turn detection is restricted to the realtime transcription endpoint. A file transcription request with turn_detection returns a 400 error, and a realtime session combining turn_detection with diarize is rejected.

Transcript text can lag behind turn.end. Text delta events have no timestamps, so an application cannot assign them to turns by matching timestamps. The guide instructs developers to keep collecting text after the ending event until the streaming delay has passed or the next turn.start arrives; it does not quantify that delay.

The silence settings govern the turn decision and do not establish complete audio-to-response latency. Performance with noise, overlapping speakers, different languages or hesitant speech is not assessed.

Reasoning

The main design choice is how long to wait before treating a pause as completion. The documented Default configuration is a starting point. Aggressive uses start_threshold 0.5, eager_end_threshold 0.4, end_threshold 0.33, min_silence_ms 300 and end_timeout_ms 2500, favoring faster exchanges at the stated cost of more premature endings.

Speculative reply preparation is appropriate only when it can be discarded. The guide advises waiting for turn.end before irreversible actions and checking whether late transcript words change a prepared response. Correct handling therefore requires both turn state and transcript completeness.

Alternatives

For integrating the same feature, the page names raw WebSockets and the Voice Agents SDK. It states that the SDK passes turn_detection through its stt configuration, but supplies no SDK implementation example.

The page points to diarization for speaker labels, with the stated restriction that it cannot coexist with turn detection. It describes no competing providers or measured comparisons, so their relative suitability is unknown.

Evidence

The documentation supports the protocol details through message examples, event descriptions, default and Aggressive configuration tables, explicit error conditions and an explanation of the turn state transitions.

Its sample output illustrates intended behavior without establishing independently measured results. No code was executed and no live API calls were made. Linked documentation does not supply additional findings here.

Access & freshness

Costs

The page provides no API prices, free allowance, billing units or separate charge for turn detection. Total operating cost and any cost difference between configurations are unknown.

Rights

The page does not state a license for its documentation or code examples, API usage terms, or rights governing submitted audio and resulting transcripts. Permission to redistribute the material is unknown.

Audio retention, training use and other data-handling terms are also absent. Those terms cannot be established from this guide.

Freshness

The page was captured on 15 November 2026 at 12:34:47.532 UTC. It gives no publication date or last-update date. Its examples identify the model as voxtral-mini-transcribe-realtime-3.

The model’s release date, ongoing availability and subsequent changes to API behavior, defaults or terms are unknown.

Actions

Begin with an empty turn_detection object and inspect the settings echoed by session.updated. Implement cancellation on turn.resume, delay consequential actions until turn.end and continue collecting transcript deltas before using the completed request.

Evaluate the defaults with representative user recordings, then change one setting at a time while measuring premature endings and response delay. For file-based evaluation, add deliberate transmission pacing if the goal is to simulate live audio.

Before adopting the feature, establish the applicable streaming delay, model access, package compatibility, pricing and data-handling terms. The page links to further timing guidance at [https://docs.mistral.ai/studio/audio/speech-to-text/transcribe-in-realtime] and [https://docs.mistral.ai/studio/audio/concepts/latency#realtime-transcription]; those pages are outside this report’s scope.

Evidence for this report

selected-page.txtselected · checked 2026-11-15