You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/how-to-guides/use-rest-api-programmatically.md
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.service: cognitive-services
8
8
ms.subservice: translator-text
9
9
ms.custom: event-tier1-build-2022
10
10
ms.topic: overview
11
-
ms.date: 03/24/2023
11
+
ms.date: 04/17/2023
12
12
ms.author: lajanuar
13
13
recommendations: false
14
14
---
@@ -30,7 +30,7 @@ Document Translation is a cloud-based feature of the [Azure Translator](../trans
30
30
31
31
> [!NOTE]
32
32
> When translating documents with content in multiple languages, the feature is intended for complete sentences in a single language. If sentences are composed of more than one language, the content may not all translate into the target language.
33
-
> For more information on input requirements, *see*[content limits](get-started-with-document-translation.md#content-limits)
33
+
> For more information on input requirements, *see*[Document Transaltion request limits](../request-limits.md#document-translation)
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/request-limits.md
+36-17Lines changed: 36 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,41 @@
1
1
---
2
-
title: Request limits - Translator
2
+
title: Request limits - Translator Service
3
3
titleSuffix: Azure Cognitive Services
4
-
description: This article lists request limits for the Translator. Charges are incurred based on character count, not request frequency with a limit of 50,000 characters per request. Character limits are subscription-based, with F0 limited to 2 million characters per hour.
4
+
description: This article lists request limits for the Translator text and document translation. Charges are incurred based on character count, not request frequency with a limit of 50,000 characters per request. Character limits are subscription-based, with F0 limited to 2 million characters per hour.
5
5
services: cognitive-services
6
6
author: laujan
7
7
manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: translator-text
10
10
ms.topic: conceptual
11
-
ms.date: 08/17/2022
11
+
ms.date: 04/17/2023
12
12
ms.author: lajanuar
13
13
---
14
14
15
-
# Request limits for Translator
15
+
# Request limits for Azure Translator Service
16
16
17
-
This article provides throttling limits for the Translator translation, transliteration, sentence length detection, language detection, and alternate translations.
17
+
This article provides both a quick reference and detailed description of Azure Translator Service character and array limits for text and document translation.
18
18
19
-
## Character and array limits per request
19
+
## Text translation
20
20
21
-
Each translate request is limited to 50,000 characters, across all the target languages you're translating to. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3000x3 = 9,000 characters, which satisfy the request limit. You're charged per character, not by the number of requests. It's recommended to send shorter requests.
21
+
Charges are incurred based on character count, not request frequency. Character limits are subscription-based.
22
22
23
-
The following table lists array element and character limits for each operation of the Translator.
23
+
### Character and array limits per request
24
+
25
+
Each translate request is limited to 50,000 characters, across all the target languages. For example, sending a translate request of 3,000 characters to translate to three different languages results in a request size of 3,000 × 3 = 9,000 characters and meets the request limit. You're charged per character, not by the number of requests, therefore, it's recommended that you send shorter requests.
26
+
27
+
The following table lists array element and character limits for each text translation operation.
24
28
25
29
| Operation | Maximum Size of Array Element | Maximum Number of Array Elements | Maximum Request Size (characters) |
26
30
|:----|:----|:----|:----|
27
-
| Translate | 50,000| 1,000| 50,000 |
28
-
| Transliterate | 5,000| 10| 5,000 |
29
-
| Detect | 50,000 |100 |50,000 |
30
-
| BreakSentence | 50,000| 100 |50,000 |
31
-
| Dictionary Lookup| 100 |10| 1,000 |
32
-
| Dictionary Examples | 100 for text and 100 for translation (200 total)| 10|2,000 |
31
+
|**Translate**| 50,000| 1,000| 50,000 |
32
+
|**Transliterate**| 5,000| 10| 5,000 |
33
+
|**Detect**| 50,000 |100 |50,000 |
34
+
|**BreakSentence**| 50,000| 100 |50,000 |
35
+
|**Dictionary Lookup**| 100 |10| 1,000 |
36
+
|**Dictionary Examples**| 100 for text and 100 for translation (200 total)| 10|2,000 |
33
37
34
-
## Character limits per hour
38
+
###Character limits per hour
35
39
36
40
Your character limit per hour is based on your Translator subscription tier.
37
41
@@ -56,9 +60,24 @@ Limits for [multi-service subscriptions](./reference/v3-0-reference.md#authentic
56
60
57
61
These limits are restricted to Microsoft's standard translation models. Custom translation models that use Custom Translator are limited to 3,600 characters per second, per model.
58
62
59
-
## Latency
63
+
### Latency
64
+
65
+
The Translator has a maximum latency of 15 seconds using standard models and 120 seconds when using custom models. Typically, responses *for text within 100 characters* are returned in 150 milliseconds to 300 milliseconds. The custom translator models have similar latency characteristics on sustained request rate and may have a higher latency when your request rate is intermittent. Response times vary based on the size of the request and language pair. If you don't receive a translation or an [error response](./reference/v3-0-reference.md#errors) within that time frame, check your code, your network connection, and retry.
66
+
67
+
## Document translation
68
+
69
+
This table lists the content limits for data sent using Document Translation:
70
+
71
+
|Attribute | Limit|
72
+
|---|---|
73
+
|Document size| ≤ 40 MB |
74
+
|Total number of files.|≤ 1000 |
75
+
|Total content size in a batch | ≤ 250 MB|
76
+
|Number of target languages in a batch| ≤ 10 |
77
+
|Size of Translation memory file| ≤ 10 MB|
60
78
61
-
The Translator has a maximum latency of 15 seconds using standard models and 120 seconds when using custom models. Typically, responses *for text within 100 characters* are returned in 150 milliseconds to 300 milliseconds. The custom translator models have similar latency characteristics on sustained request rate and may have a higher latency when your request rate is intermittent. Response times will vary based on the size of the request and language pair. If you don't receive a translation or an [error response](./reference/v3-0-reference.md#errors) within that timeframe, check your code, your network connection, and retry.
79
+
> [!NOTE]
80
+
> Document Translation can't be used to translate secured documents such as those with an encrypted password or with restricted access to copy content.
0 commit comments