Dialogflow CX voice agents use
[Speech-to-Text](https://docs.cloud.google.com/speech-to-text/docs.md.txt)
for speech recognition,
which is included in
[Dialogflow CX pricing](https://cloud.google.com/dialogflow/pricing).
Dialogflow CX automatically selects a speech recognition model for you,
but you can optionally specify the model.

## Available models

All available models are listed at
[Speech-to-Text models](https://docs.cloud.google.com/speech-to-text/docs/transcription-model.md.txt).
Select a model that is best suited to your domain and
[supports your agent language and speech features](https://docs.cloud.google.com/speech-to-text/docs/speech-to-text-supported-languages.md.txt).

If a model is not explicitly [specified](https://docs.cloud.google.com/dialogflow/cx/docs/concept/speech-models.md.txt#specify),
then Dialogflow CX auto-selects a model based on
the audio configuration in API requests and agent settings.

The following models typically have the best performance and broad regional
serving capacity:

- `telephony_short` (best for telephony Dialogflow CX)
- `telephony` (best for Agent Assist) (also good for telephony Dialogflow CX when [advanced timeout-based end of speech sensitivity](https://docs.cloud.google.com/dialogflow/cx/docs/concept/advanced-speech.md.txt#advanced-end-of-speech-sensitivity) is enabled)
- `phone_call` (good for Agent Assist and telephony Dialogflow CX)
- `latest_short` (best for non-telephony Dialogflow CX)
- `command_and_search` (best for languages where other models aren't available)

To select Speech-to-Text V2 (`chirp_3`) in the Dialogflow CX console, your
project requires access approval. High-volume production deployments also
require an advance capacity review with your Google Cloud account team.

Dialogflow CX agents in `us-central1` route Speech-to-Text V2 traffic to the `us`
multi-region endpoint, except for `chirp_2` requests. The single-region `chirp`
model isn't available on that endpoint. For 8 kHz `MULAW` telephony audio, use
`chirp_3`, `telephony`, or `telephony_short` instead of the broadband
Speech-to-Text V2 `short` model.

## Specify a model

You can supply the model for an agent, flow, or page with the [model selection setting](https://docs.cloud.google.com/dialogflow/cx/docs/concept/advanced-speech.md.txt#stt-model-selection).

<br />

You can also supply the model when calling the
`Sessions.detectIntent` or `Sessions.streamingDetectIntent` methods;


<button class="devsite-dialog-button cloud-button cloud-button--primary" style="display: block; padding: 10px; margin-top: 10px; margin-bottom: 10px;" data-modal-dialog-id="cx-agent-reference-dialog-Session">Go to the Session API reference</button>
**Select a protocol and version for the Session reference:**

| Protocol | V3 | V3beta1 |
|---|---|---|
| REST | [Session resource](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.sessions.md.txt) | [Session resource](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rest/v3beta1/projects.locations.agents.sessions.md.txt) |
| RPC | [Session interface](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3.md.txt#google.cloud.dialogflow.cx.v3.Sessions) | [Session interface](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3beta1.md.txt#google.cloud.dialogflow.cx.v3beta1.Sessions) |
| C++ | [SessionsClient](https://googleapis.dev/cpp/google-cloud-dialogflow_cx/latest/classgoogle_1_1cloud_1_1dialogflow__cx_1_1SessionsClient.html) | Not available |
| C# | [SessionsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionsClient.md.txt) | Not available |
| Go | [SessionsClient](https://docs.cloud.google.com/go/docs/reference/cloud.google.com/go/dialogflow/latest/cx/apiv3.md.txt#cloud_google_com_go_dialogflow_cx_apiv3_SessionsClient) | Not available |
| Java | [SessionsClient](https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow-cx/latest/com.google.cloud.dialogflow.cx.v3.SessionsClient.md.txt) | [SessionsClient](https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow-cx/latest/com.google.cloud.dialogflow.cx.v3beta1.SessionsClient.md.txt) |
| Node.js | [SessionsClient](https://googleapis.dev/nodejs/dialogflow-cx/latest/v3.SessionsClient.html) | [SessionsClient](https://googleapis.dev/nodejs/dialogflow-cx/latest/v3beta1.SessionsClient.html) |
| PHP | Not available | Not available |
| Python | [SessionsClient](https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/google.cloud.dialogflowcx_v3.services.sessions.SessionsClient.md.txt) | [SessionsClient](https://docs.cloud.google.com/python/docs/reference/dialogflow-cx/latest/google.cloud.dialogflowcx_v3beta1.services.sessions.SessionsClient.md.txt) |
| Ruby | Not available | Not available |

<button class="devsite-dialog-close">Close</button> or when configuring the [`ConversationProfile`](https://docs.cloud.google.com/dialogflow/es/docs/reference/rpc/google.cloud.dialogflow.v2.md.txt#google.cloud.dialogflow.v2.ConversationProfile) for [Agent Assist](https://docs.cloud.google.com/agent-assist/docs). Specifying the model in a detect intent or conversation profile API call will override any model selections applied to the agent, flow, or page, unless you enable the [**Override request-level speech model**](https://docs.cloud.google.com/dialogflow/cx/docs/concept/advanced-speech.md.txt#stt-model-selection) setting.

> [!NOTE]
> **Note:** If you specify the model with a conversation profile, Agent Assist and the associated virtual agent use this model for all speech recognition.