Skip to content

Commit c7f16af

Browse files
committed
refactor tables and include speech translation
1 parent 7c7fa16 commit c7f16af

File tree

1 file changed

+35
-18
lines changed

1 file changed

+35
-18
lines changed

articles/cognitive-services/Speech-Service/speech-services-quotas-and-limits.md

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,33 @@ ms.author: alexeyo
1616

1717
This article contains a quick reference and a detailed description of the quotas and limits for the Speech service in Azure Cognitive Services. The information applies to all [pricing tiers](https://azure.microsoft.com/pricing/details/cognitive-services/speech-services/) of the service. It also contains some best practices to avoid request throttling.
1818

19+
For the free (F0) pricing tier, see also the monthly allowances at the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/speech-services/).
20+
1921
## Quotas and limits reference
2022

2123
The following sections provide you with a quick guide to the quotas and limits that apply to Speech service.
2224

25+
For information about adjustable quotas for Standard (S0) Speech resources, see [additional explanations](#detailed-description-quota-adjustment-and-best-practices), [best practices](#general-best-practices-to-mitigate-throttling-during-autoscaling), and [adjustment instructions](#speech-to-text-increase-online-transcription-concurrent-request-limit). Request limits for Free (F0) Speech resources aren't adjustable.
26+
2327
### Speech-to-text quotas and limits per resource
2428

25-
In the following tables, the parameters without the **Adjustable** row aren't adjustable for all price tiers.
29+
This section describes speech-to-text quotas and limits per Speech resource.
2630

2731
#### Online transcription
2832

2933
You can use online transcription with the [Speech SDK](speech-sdk.md) or the [speech-to-text REST API for short audio](rest-speech-to-text-short.md).
3034

31-
| Quota | Free (F0)<sup>1</sup> | Standard (S0) |
35+
> [!IMPORTANT]
36+
> These limits apply to concurrent speech-to-text [online transcription](#online-transcription) requests and [speech translation](#speech-translation-quotas-and-limits-per-resource) requests combined. For example, if you have 50 concurrent speech-to-text requests and 50 concurrent speech translation requests, you'll reach the limit of 100 concurrent requests.
37+
38+
| Quota | Free (F0) | Standard (S0) |
3239
|--|--|--|
3340
| Concurrent request limit - base model endpoint | 1 | 100 (default value) |
34-
| Adjustable | No<sup>2</sup> | Yes<sup>2</sup> |
3541
| Concurrent request limit - custom endpoint | 1 | 100 (default value) |
36-
| Adjustable | No<sup>2</sup> | Yes<sup>2</sup> |
3742

3843
#### Batch transcription
3944

40-
| Quota | Free (F0)<sup>1</sup> | Standard (S0) |
45+
| Quota | Free (F0) | Standard (S0) |
4146
|--|--|--|
4247
| [Speech-to-text REST API](rest-speech-to-text.md) limit | Not available for F0 | 300 requests per minute |
4348
| Max audio input file size | N/A | 1 GB |
@@ -48,7 +53,7 @@ You can use online transcription with the [Speech SDK](speech-sdk.md) or the [sp
4853

4954
#### Model customization
5055

51-
| Quota | Free (F0)<sup>1</sup> | Standard (S0) |
56+
| Quota | Free (F0) | Standard (S0) |
5257
|--|--|--|
5358
| REST API limit | 300 requests per minute | 300 requests per minute |
5459
| Max number of speech datasets | 2 | 500 |
@@ -57,20 +62,16 @@ You can use online transcription with the [Speech SDK](speech-sdk.md) or the [sp
5762
| Max pronunciation dataset file size for data import | 1 KB | 1 MB |
5863
| Max text size when you're using the `text` parameter in the [Models_Create](https://westcentralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Models_Create/) API request | 200 KB | 500 KB |
5964

60-
<sup>1</sup> For the free (F0) pricing tier, see also the monthly allowances at the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/speech-services/).<br/>
61-
<sup>2</sup> See [additional explanations](#detailed-description-quota-adjustment-and-best-practices), [best practices](#general-best-practices-to-mitigate-throttling-during-autoscaling), and [adjustment instructions](#speech-to-text-increase-online-transcription-concurrent-request-limit).<br/>
62-
6365
### Text-to-speech quotas and limits per Speech resource
6466

65-
In the following tables, the parameters without the **Adjustable** row aren't adjustable for all price tiers.
67+
This section describes text-to-speech quotas and limits per Speech resource.
6668

6769
#### General
6870

69-
| Quota | Free (F0)<sup>3</sup> | Standard (S0) |
71+
| Quota | Free (F0) | Standard (S0) |
7072
|--|--|--|
7173
| **Max number of transactions per certain time period** | | |
72-
| Real-time API. Prebuilt neural voices and custom neural voices. | 20 transactions per 60 seconds | 200 transactions per second (TPS) (default value) |
73-
| Adjustable | No<sup>4</sup> | Yes<sup>5</sup>, up to 1000 TPS |
74+
| Real-time API. Prebuilt neural voices and custom neural voices. | 20 transactions per 60 seconds | 200 transactions per second (TPS) (default value)<br/><br/>The rate is adjustable up to 1000 TPS for Standard (S0) resources. See [additional explanations](#detailed-description-quota-adjustment-and-best-practices), [best practices](#general-best-practices-to-mitigate-throttling-during-autoscaling), and [adjustment instructions](#text-to-speech-increase-concurrent-request-limit). |
7475
| **HTTP-specific quotas** | | |
7576
| Max audio length produced per request | 10 min | 10 min |
7677
| Max total number of distinct `<voice>` and `<audio>` tags in SSML | 50 | 50 |
@@ -81,9 +82,9 @@ In the following tables, the parameters without the **Adjustable** row aren't ad
8182

8283
#### Custom Neural Voice
8384

84-
| Quota | Free (F0)<sup>3</sup> | Standard (S0) |
85+
| Quota | Free (F0)| Standard (S0) |
8586
|--|--|--|
86-
| Max number of transactions per second (TPS) | Not available for F0 | See [General](#general) |
87+
| Max number of transactions per second (TPS) | Not available for F0 | 200 transactions per second (TPS) (default value) |
8788
| Max number of datasets | N/A | 500 |
8889
| Max number of simultaneous dataset uploads | N/A | 5 |
8990
| Max data file size for data import per dataset | N/A | 2 GB |
@@ -98,12 +99,28 @@ In the following tables, the parameters without the **Adjustable** row aren't ad
9899
| File size | 3,000 characters per file | 20,000 characters per file |
99100
| Export to audio library | 1 concurrent task | N/A |
100101

101-
<sup>3</sup> For the free (F0) pricing tier, see also the monthly allowances at the [pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/speech-services/).<br/>
102-
<sup>4</sup> See [additional explanations](#detailed-description-quota-adjustment-and-best-practices) and [best practices](#general-best-practices-to-mitigate-throttling-during-autoscaling).<br/>
103-
<sup>5</sup> See [additional explanations](#detailed-description-quota-adjustment-and-best-practices), [best practices](#general-best-practices-to-mitigate-throttling-during-autoscaling), and [adjustment instructions](#text-to-speech-increase-concurrent-request-limit).<br/>
102+
### Speech translation quotas and limits per resource
103+
104+
This section describes speech translation quotas and limits per Speech resource.
105+
106+
> [!IMPORTANT]
107+
> These limits apply to concurrent speech-to-text [online transcription](#online-transcription) requests and [speech translation](#speech-translation-quotas-and-limits-per-resource) requests combined. For example, if you have 50 concurrent speech-to-text requests and 50 concurrent speech translation requests, you'll reach the limit of 100 concurrent requests.
108+
109+
| Quota | Free (F0) | Standard (S0) |
110+
|--|--|--|
111+
| Concurrent request limit - base model endpoint | 1 | 100 (default value) |
112+
| Concurrent request limit - custom endpoint | 1 | 100 (default value) |
104113

105114
## Detailed description, quota adjustment, and best practices
106115

116+
Some of the Speech service quotas are adjustable. This section provides additional explanations, best practices, and adjustment instructions.
117+
118+
The following quotas are adjustable for Standard (S0) resources. The Free (F0) request limits aren't adjustable.
119+
120+
- Speech-to-text [concurrent request limit](#online-transcription) for base model endpoint and custom endpoint
121+
- Text-to-speech [maximum number of transactions per time period](#text-to-speech-quotas-and-limits-per-speech-resource) for prebuilt neural voices and custom neural voices
122+
- Speech translation [concurrent request limit](#speech-translation-quotas-and-limits-per-resource)
123+
107124
Before requesting a quota increase (where applicable), ensure that it's necessary. Speech service uses autoscaling technologies to bring the required computational resources in on-demand mode. At the same time, Speech service tries to keep your costs low by not maintaining an excessive amount of hardware capacity.
108125

109126
Let's look at an example. Suppose that your application receives response code 429, which indicates that there are too many requests. Your application receives this response even though your workload is within the limits defined by the [Quotas and limits reference](#quotas-and-limits-reference). The most likely explanation is that Speech service is scaling up to your demand and didn't reach the required scale yet. Therefore the service doesn't immediately have enough resources to serve the request. In most cases, this throttled state is transient.

0 commit comments

Comments
 (0)