Learning resourcesReviewed · Mistral AI

Mistral realtime transcription guide

Mistral's realtime transcription guide helps developers turn live speech into text, but session settings become fixed when audio streaming starts. It explains WebSocket connections, Python and TypeScript integration, incremental transcripts, and the choice between labeling speakers and detecting speaking turns.

Researched 15 Nov 2026

In short.

Mistral's realtime transcription guide helps developers add live captions and voice input, but settings must be chosen before audio starts. It documents the voxtral-mini-transcribe-realtime-3 model's connection lifecycle, audio messages, transcript events and configurable delay. Speaker labeling and turn detection cannot share a session. The supplied file-streaming examples illustrate the protocol but do not pace audio in real time. Recognition accuracy, actual latency, prices and runtime compatibility are not established; no examples were executed.

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

Coverage includes the complete supplied page at [https://docs.mistral.ai/studio/audio/speech-to-text/transcribe-in-realtime.md]: lifecycle, authentication, both SDK and raw WebSocket examples, session fields, event handling, delay settings, the variable transcription rate note, common errors and related notices. Linked pages are excluded. No code or API calls were executed. Runtime compatibility, recognition quality, actual latency, reliability, pricing and legal terms remain unverified or unknown where the page supplies no evidence.

The overview

Identity

This is Mistral's Realtime transcription documentation at [https://docs.mistral.ai/studio/audio/speech-to-text/transcribe-in-realtime.md]. It teaches developers to send live audio to a hosted speech-to-text API and receive text while speech continues.

The page names voxtral-mini-transcribe-realtime-3 and covers both SDK connections and raw WebSocket messages. It also describes passing the resulting transcript to a model that generates an assistant's response; implementing that response generation is outside this page.

Assessment

The guide is useful for understanding the integration contract: when to configure a connection, which messages to send, how to display text and how to finish without losing the final transcript. Its event tables and specific error messages make it useful for troubleshooting implementation mistakes.

Its practical limits are the absence of measured recognition quality, end-to-end latency results and production reliability evidence. The examples were not executed, so their runtime compatibility and the documented API behavior remain unverified.

Users

The intended readers are developers building microphone or telephone transcription, voice assistants, live captions and note-taking features. Beginners get an ordered connection lifecycle and examples in two languages, but still need familiarity with asynchronous programming, JSON messages and audio formats.

Experienced developers can use the field and event tables to choose language handling, specialist vocabulary hints, speaker labeling or speaking-turn events. Microphone capture, telephone integration and application deployment are not implemented by the examples.

Capabilities

The API returns transcript pieces as audio arrives and a complete transcript after the application signals the end of audio. Language can be detected automatically or specified with a two-letter ISO 639-1 code. Context bias accepts names and terms to help spelling.

Diarization, meaning speaker labeling, produces segments containing text, speaker identity and start and end times. Known speakers can be named through up to eight reference clips, each lasting 3 to 15 seconds; this requires diarization.

Turn detection reports when speech starts, appears to end, resumes and ends. It cannot operate alongside diarization in one session. The page describes these options but provides no accuracy measurements for language detection, speaker labeling or turn detection.

Using it

Requirements

A connection requires a Mistral API key sent in the Authorization bearer header and network access to [wss://api.mistral.ai/v1/audio/transcriptions/realtime?model=voxtral-mini-transcribe-realtime-3]. The examples read the key from MISTRAL_API_KEY. Key creation is linked at [https://console.mistral.ai/api-keys].

The documented audio format is mono, 16-bit signed little-endian PCM, identified as pcm_s16le. The default sample rate is 16000 Hz, and configuration can specify the source rate. The page also says the format can be inferred when omitted; that behavior was not verified.

The SDK examples use mistralai in Python and @mistralai/mistralai/extra/realtime in TypeScript. The raw examples use Python websockets or the TypeScript ws package. Required package versions, runtime versions and installation commands are not supplied.

Mechanism

Each session is one WebSocket connection. Open it and wait for session.created, send session.update with the desired settings, inspect session.updated, then send base64-encoded audio chunks through input_audio.append. Settings become fixed with the first audio chunk. When audio stops, send input_audio.end, receive transcription.done and close the connection.

Ordinary transcription.text.delta events contain final additions to the displayed text. Append them exactly, preserving their spaces and punctuation; they never revise earlier text. Save the text field from transcription.done as the transcript of record. With diarization enabled, transcription.segment replaces ordinary text-delta events.

The target_streaming_delay_ms setting accepts any integer from 80 through 1200, or 2400. The default and recommended starting point is 480 ms. The page describes shorter delays as faster but less accurate and longer delays as providing more context. This setting is not evidence of a measured end-to-end response time.

Setup

Choose the Python or TypeScript interface, provide MISTRAL_API_KEY and prepare audio in the documented PCM format. Configure the actual sample rate, target delay and any language, vocabulary or speaker options before sending audio.

Follow the lifecycle's instruction to inspect session.updated before audio begins. The raw examples send audio immediately after sending session.update, without explicitly waiting to inspect the acknowledgement; applications that need to validate applied settings should add that wait.

For the Voice Agents SDK, the page says language, context_bias and turn_detection belong in the stt configuration. Raw WebSocket integrations send these through session.update. After streaming, handle the final transcript and error events explicitly.

Example

The longer examples read customer_call.wav as 16-bit mono PCM, obtain its sample rate and send chunks containing 100 ms of audio. They configure a 480 ms target delay, English transcription and vocabulary hints including Northwind and Rotterdam, then print transcript text as events arrive.

These are file-streaming demonstrations. Neither example deliberately waits 100 ms between chunks, so chunk duration does not establish real-time pacing. The page warns that sending a file faster than real time gives misleading live-latency measurements. A latency evaluation needs audio delivery paced to its duration.

The examples show message handling rather than a completed microphone or telephone application. Their output and behavior were not tested.

Assessment & evidence

Limitations

Changing settings after the first audio chunk returns an error and requires opening a new session. Diarization and turn detection are mutually exclusive, and speaker references require diarization. An invalid language code or unsupported delay value also produces an error event.

A single session's text deltas cannot correct earlier text. The page says fast preliminary text followed by more accurate replacements requires two sessions using the same audio, but the variable transcription rate subsection does not provide implementation instructions.

The page does not establish maximum session duration, concurrency limits, supported language coverage, reconnection or resume behavior, or recovery from interrupted audio. These limits remain unknown within this resource.

Reasoning

Append-only transcript events imply a straightforward display implementation: add each incoming piece without maintaining a revision system. The trade-off is that an application cannot obtain corrected preliminary text from that same stream.

The documented restrictions imply choosing a session mode around the application's purpose. An assistant that responds when a person finishes speaking can use turn detection; notes that identify different speakers can use diarization. Supporting both needs would require additional design beyond the single-session configuration described here.

The 480 ms setting is a documented starting point, rather than a demonstrated optimum for a particular application. Choosing another value should depend on measured transcription quality and perceived delay with representative audio.

Alternatives

For audio that is already recorded, the page directs readers to file transcription at [https://docs.mistral.ai/studio/audio/speech-to-text/transcribe-files]. That linked guide was not assessed.

For initial onboarding, it points to a realtime quickstart at [https://docs.mistral.ai/studio/audio/speech-to-text/quickstarts/transcribe-in-realtime]. Within the supplied page, Python and TypeScript SDK connections and raw WebSocket messages provide different integration approaches.

No competing providers or self-hosted transcription systems are compared. Relative accuracy, latency and cost across alternatives are unknown.

Evidence

The evidence is the complete supplied Mistral documentation page at [https://docs.mistral.ai/studio/audio/speech-to-text/transcribe-in-realtime.md]. It includes explanatory text, configuration and event tables, Python and TypeScript examples, and common error messages.

Statements about supported behavior are documentation claims. There are no execution results, measured benchmarks or independent observations in the supplied evidence. Linked pages on languages, latency, speaker labeling, turn detection and troubleshooting were not assessed.

Access & freshness

Costs

The page gives no prices, billing units, free allowance or spending requirements. Cost is unknown.

The final transcription.done event includes a usage field, but this page does not explain its structure or relationship to billing. It also gives no cost estimate for the suggested approach of using two sessions on the same audio.

Rights

The supplied page states no license for redistributing its documentation or code examples. Commercial reuse and redistribution permissions are unknown from this evidence.

It also does not establish service terms governing submitted audio or resulting transcripts, including retention, training use or processing location. Those terms would need separate examination before using sensitive recordings.

Freshness

The supplied page was captured on 15 November 2026 at 10:03:38.462 UTC. It names voxtral-mini-transcribe-realtime-3 but provides no publication date, last-update date, model release date or SDK package versions.

The capture establishes what this copy documents at that time. Current service availability, subsequent changes and compatibility with later SDK releases are unknown.

Actions

Before implementing, confirm the source audio format and sample rate, decide whether the application needs speaker labels or turn detection, and choose all settings before streaming. Start with the documented 480 ms delay and preserve transcription.done as the final transcript.

Evaluate representative audio at real-time pace to assess recognition quality and user-perceived delay. Include configuration errors and interrupted connections in application-level evaluation; the page provides no demonstrated recovery strategy.

Confirm current pricing, language coverage, service limits and audio-processing terms separately before deployment. Applications needing fast preliminary captions followed by corrected text will also need a design for coordinating the two sessions described by the guide.

Evidence for this report

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