Skip to content

Commit bcbc474

Browse files
committed
Draft of Throttling Limits document.
1 parent f860159 commit bcbc474

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: Throttling Limits - Translator Text API
3+
titleSuffix: Azure Cognitive Services
4+
description: This article lists throttling 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+
# Throttling Limits for Translator Text
16+
17+
This article provides throttling limits for the Translator Text API, which includes translation, transliteration, sentence length detection, language detection, and alternate translation services.
18+
19+
## Character limit per request
20+
21+
Each request is limited to 5,000 characters. You are charged per character, not by the number of requests. Therefore, it's recommended to send shorter requests, and to have some requests outstanding at any given time.
22+
23+
There is no limit on the number of outstanding requests to the Translator Text API.
24+
25+
## Character limit per hour
26+
27+
The number of characters that you can send to the Translator Text API per hour are based on your Translator Text subscription tier in the Azure portal. 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 to 300 milliseconds. Response times will vary based on the size or the request and language pair.
42+
43+
## BreakSentence length limits
44+
45+
When using the BreakSentence 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.

0 commit comments

Comments
 (0)