Skip to content

Commit b4b4d8c

Browse files
authored
Merge pull request #58165 from erhopf/translator-throttling
[CogSvcs]Translator Text throttling limits
2 parents 0b9d3a6 + ce415cc commit b4b4d8c

File tree

2 files changed

+69
-2
lines changed

2 files changed

+69
-2
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: Request limits - Translator Text API
3+
titleSuffix: Azure Cognitive Services
4+
description: This article lists request limits for the Translator Text API. Charges are incurred based on character count, not request frequency with a limit of 5,000 characters per request. Character limits are subscription based, with F0 limited to 2 million characters per hour.
5+
services: cognitive-services
6+
author: erhopf
7+
manager: cgronlun
8+
ms.service: cognitive-services
9+
ms.component: translator-text
10+
ms.topic: conceptual
11+
ms.date: 11/15/2018
12+
ms.author: erhopf
13+
---
14+
15+
# Request limits for Translator Text
16+
17+
This article provides throttling limits for the Translator Text API. Services include translation, transliteration, sentence length detection, language detection, and alternate translations.
18+
19+
## Character limits per request
20+
21+
Each request is limited to 5,000 characters. You're charged per character, not by the number of requests. It's recommended to send shorter requests, and to have some requests outstanding at any given time.
22+
23+
There's no limit on the number of outstanding requests to the Translator Text API.
24+
25+
## Character limits per hour
26+
27+
Your character limit per hour is based on your Translator Text subscription tier. If you reach or surpass these limits, you'll likely receive an out of quota response:
28+
29+
| Tier | Character limit |
30+
|------|-----------------|
31+
| F0 | 2 million characters per hour |
32+
| S1 | 40 million characters per hour |
33+
| S2 | 40 million characters per hour |
34+
| S3 | 120 million characters per hour |
35+
| S4 | 200 million characters per hour |
36+
37+
These limits are restricted to Microsoft's generic systems. Custom translation systems that use Microsoft's Translator Hub are limited to 1,800 character per second.
38+
39+
## Latency
40+
41+
Translator Text has a maximum latency of 13 seconds. By this time you'll have received a result or a timeout response. Typically, responses are returned in 150 milliseconds to 300 milliseconds. Response times will vary based on the size or the request and language pair.
42+
43+
## Sentence length limits
44+
45+
When using the [BreakSentence](https://docs.microsoft.com/azure/cognitive-services/translator/reference/v3-0-break-sentence) function, sentence length is limited to 275 characters. There are exceptions for these languages:
46+
47+
| Language | Code | Character limit |
48+
|----------|------|-----------------|
49+
| Chinese | zh | 132 |
50+
| German | de | 290 |
51+
| Italian | it | 280 |
52+
| Japanese | ja | 150 |
53+
| Portuguese | pt | 290 |
54+
| Spanish | es | 280 |
55+
| Italian | it | 280 |
56+
| Thai | th | 258 |
57+
58+
> [!NOTE]
59+
> This limit doesn't apply to translations.
60+
61+
## Next steps
62+
63+
* [Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/translator-text-api/)
64+
* [Regional availability](https://azure.microsoft.com/global-infrastructure/services/?products=cognitive-services)
65+
* [v3 Translator Text API reference](https://docs.microsoft.com/azure/cognitive-services/translator/reference/v3-0-reference)

articles/cognitive-services/Translator/toc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@
164164
href: https://cognitive.uservoice.com/knowledgebase/topics/132647-translator
165165
- name: Language and region support
166166
href: language-support.md
167-
- name: Pricing and limits
167+
- name: Pricing
168168
href: https://azure.microsoft.com/pricing/details/cognitive-services/translator-text-api/
169169
- name: Regional availability
170-
href: https://azure.microsoft.com/global-infrastructure/services/
170+
href: https://azure.microsoft.com/global-infrastructure/services/?products=cognitive-services
171+
- name: Request limits
172+
href: request-limits.md
171173
- name: Stack Overflow
172174
href: https://stackoverflow.com/questions/tagged/microsoft-translator
173175
- name: UserVoice

0 commit comments

Comments
 (0)