Auto-detection translation behaviour and pricing

Anishma 20 Reputation points
2024-12-15T20:10:27.76+00:00

Hi Team, For a translation API with language auto-detection:

  1. If the detected language matches the target language, is the text still processed for translation, or is it returned as-is?
  2. About the cost: Is it based only on the input text's character count though this API involves detection and translation

For language detection API,

  1. The documentation translator/migrate-to-v3#pricing-model mentions no charge for detection based on character count. Is there a character limit for this free detection? Can you clarify?
Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
431 questions
{count} votes

Accepted answer
  1. Avinash Devarakonda 610 Reputation points Microsoft Vendor
    2024-12-18T02:33:54.7866667+00:00

    Hi Anishma,

    Regarding the language detection pricing details, you can refer the similar thread so that you can get some idea.

    https://learn.microsoft.com/en-us/answers/questions/1594798/azure-language-detection-api-pricing

    Using the detection API separately, followed by the translation API, could potentially be more cost-effective than relying on the translation API with auto-detection. The detection API is free to some extent, while the auto-detection feature in the translation API incurs charges. However, it's important to note that the detection API may not be completely free, so you should consider the specific usage limits and pricing details for both services to determine the most cost-effective approach for your needs.


    I'm glad to hear that my response was helpful to you. And thanks for sharing the information, which might be beneficial to other community members reading this thread as solution. Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", so I'll convert the previous response to an answer in case you'd like to accept the answer. This will help other users who may have a similar query find the solution more easily. If you have any further questions or concerns, please don't hesitate to ask. We're always here to help.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vahid Ghafarpour 22,300 Reputation points
    2024-12-15T21:15:31.7233333+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.