> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistralai

> Python API reference for the mistralai speech-to-text provider.

> [card] [Usage guide](https://docs.zeroruntime.ai/runtime-sdk/plugins/stt/mistralai.md)
>
> Setup, environment variables, and Python/JavaScript/Go usage examples.

## MistralAISTT

Live speech-to-text with Mistral's Voxtral realtime model, using your own Mistral
key. Detects the language automatically, or can be pinned to one.

Authenticates with MISTRALAI\_API\_KEY from your environment, or an explicit
`api_key`.

```python theme={null}
from zeroruntime.plugins import MistralAISTT  # direct to the vendor, with your key
```

### Fields

**model** `str` (default: UNSET)

Voxtral realtime transcription model. Defaults to 'voxtral-mini-transcribe-realtime-3-0'.

**language** `Optional[str]` (default: UNSET)

Two-letter language code, e.g. "en" or "ar". Leave unset to detect the language automatically. Defaults to None (not set).

**target\_streaming\_delay\_ms** `int` (default: UNSET)

How long the model may wait for context, 80 to 1200 or 2400 milliseconds. Lower is faster but less accurate. Defaults to 480.

**context\_bias** `Optional[list[str]]` (default: UNSET)

Names and terms to spell correctly, e.g. product or place names. Defaults to None (not set).

**turn\_detection** `Optional[Mapping[str, Any]]` (default: UNSET)

Mistral's own end-of-turn detection, e.g. \{"min\_silence\_ms": 300}. Use it when the pipeline has no VAD; leave unset to finalize on the VAD alone. Defaults to None (not set).

**interim\_results** `bool` (default: UNSET)

Emit partial transcripts while the user is still speaking. Defaults to True.

**base\_url** `str` (default: UNSET)

WebSocket address of the realtime endpoint. Change it only when routing through a proxy. Defaults to 'wss\://api.mistral.ai/v1/audio/transcriptions/realtime'.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.