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

# Model selection

The `speech_model` connection parameter lets you specify which model to use for streaming transcription.

## Available models

| Name | Parameter | Description | Best for |
| - | - | - | - |
| **AssemblyAI-STT-3.7-Realtime-Agent** Recommended | `"assemblyai-stt-3-7-realtime-agent"` | The most accurate model for voice agents, with built-in keyterm prompting, context carryover, and conversation memory. Supports 32 languages and Voice Focus. | Real-time voice agents, including multilingual agents with native code-switching and agents in noisy environments. |
| **AssemblyAI-STT-3.7-Realtime** Recommended | `"assemblyai-stt-3-7-realtime"` | For notetakers and ambient transcription, with built-in keyterm prompting, context carryover, and conversation memory. Supports 32 languages and realtime speaker labels. | Meeting notetakers, ambient transcription, and live captions with speaker labels. |
| **Universal-3.6 Pro Realtime** | `"universal-3-6-pro"` | Our previous flagship streaming model, still fully supported. 32 languages with native code-switching, plus prompting and conversational context features. | Existing integrations pinned to `universal-3-6-pro`. |

For detailed setup and configuration of AssemblyAI-STT-3.7-Realtime-Agent, see the [AssemblyAI-STT-3.7-Realtime-Agent quickstart](https://assemblyai.com/docs/streaming/getting-started/transcribe-streaming-audio.md). For prompting guidance, see the [Prompting guide](https://assemblyai.com/docs/streaming/prompting-and-keyterms.md).

## Set the model

Set the `speech_model` connection parameter when you open the WebSocket.

> [tab] Python
>
> ```python theme={null}
> CONNECTION_PARAMS = {
>     "sample_rate": 16000,
>     "speech_model": "assemblyai-stt-3-7-realtime-agent",  # assemblyai-stt-3-7-realtime | universal-3-6-pro
> }
> ```

> [tab] Python SDK
>
> ```python theme={null}
> client.connect(
>     RealTimeParameters(
>         sample_rate=16000,
>         speech_model="assemblyai-stt-3-7-realtime-agent",  # assemblyai-stt-3-7-realtime | universal-3-6-pro
>     )
> )
> ```

> [tab] Javascript
>
> ```javascript theme={null}
> const CONNECTION_PARAMS = {
>   sample_rate: 16000,
>   speech_model: "assemblyai-stt-3-7-realtime-agent", // assemblyai-stt-3-7-realtime | universal-3-6-pro
> };
> ```

> [tab] JavaScript SDK
>
> ```javascript theme={null}
> const transcriber = client.streaming.transcriber({
>   sampleRate: 16_000,
>   speechModel: "assemblyai-stt-3-7-realtime-agent", // assemblyai-stt-3-7-realtime | universal-3-6-pro
> });
> ```
