question

PeterThurwachterMINDTREELIMITED-2688 avatar image
0 Votes"
PeterThurwachterMINDTREELIMITED-2688 asked PeterThurwachter-9589 commented

Pricing Page details of Cognitive Services [Translator] Seems much more complex on the Pricing Page than in the Pricing Calculator. Clarification Request

Hello Cognitive Services Team,

The S1 tier for cognitive-services translator in the pricing page lists out different prices levels depending on feature used. https://azure.microsoft.com/en-us/pricing/details/cognitive-services/translator/

However, the Pricing calculator shows everything as a flat
"X million(s) of characters x $10 Per million characters"

I have 2 scenarios below


Scenario A:  Register 30 words (Jap/Eng, each Japanese word is 5 chars) into the custom translator dictionary Translate a 1142 char Japanese Web page into English (references the 30 words of the custom translator to output) (Input: Japanese, out of the 1142 chars, 150 were registered characters Output: English, Webpage 2500 chars, of which 300 chars are outputted exactly as registered)

Scenario B:  Register 30 words (Jap/Eng, each Japanese word is 5 chars) into the custom translator dictionary. Translate a 10,000,001 char Japanese Web page into English (references the 30 words of the custom translator to output) (Input: Japanese, out of the 10,000,001 chars, 150 were registered characters Output: English, Webpage 30,000,001 chars, of which 300 chars are outputted exactly as registered)



IF using the Pricing Calculator, I would think this would simply be
A: $10 as (1142 chars is within the 1st million)
B: $20 (with1million and 1 chars, another $10 is to be charged for the next 1,000,001 ~ 2,000,000 transactions )

OR

Does the "registering 30 words x 5 chars each, 150 chars to the custom dictionary" portion of both scenarios make use of one of the other $40 or $10 per million "custom translation" feature costs to be added on top?


125353-image.png

Thank you in advance for your time and expertise,
Peter

azure-cognitive-services
image.png (38.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Added my comment as answer due to word limitation. I hope this clarifies how the billing works for your scenarios.

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
1 Vote"
romungi-MSFT answered PeterThurwachter-9589 commented

@PeterThurwachterMINDTREELIMITED-2688 The pricing calculator in this case is not updated to reflect the correct pricing for usage in case of custom translation. The pricing page should be the correct way to estimate your cost in this case as the calculator can only be used to approximate the values.

In terms of the scenarios, if we look at the FAQ of the pricing page. The following is mentioned:

There are three billed activities that you can perform during Custom Translation:

Model hosting: Hosting a model means that it is available to use for Custom Translation. You are charged a flat fee for every model that is hosted during a billing period. This is NOT pro-rated if the model is hosted for less than the full month.

Training: Every time you train a model, you are charged a fee for every character in the training data. You are charged for characters in both the source and target languages of the training set, but there is a cap to how much you can be charged for any given training run, no matter how many characters are in your training data. This cap applies to each training run, i.e. you would be charged if you were to re-run the same set.

Translation: You are charged for every character of text translated by your Custom Translation model.

The charges in case of custom translator are for every character translated by the model.

If you have content that is mixed i.e both standard and custom then based on the tier chosen you will be billed for standard translation and if you pass the category id to use custom translator you will be billed for custom translation for the characters that are translated.

In both the cases the characters are counted based on the translation for that category so in S1 you will be charged 10$ for standard translation for 1 Million characters, if you also use custom translation with this resource then 40$ for upto 1 Million characters for custom translation.

Depending on your scenarios if you have more of custom translation you can choose C2-C4 tiers

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you @romungi-MSFT for your response

0 Votes 0 ·

Hello @romungi-MSFT
|
Please let me parrot back my understanding of your response, using Scenario B.


Translate a 10,000,001 char Japanese Web page into English (references the 30 words of the custom translator to output)

Input: Japanese, out of the 10,000,001 chars, 150 were registered characters
Output: English, Webpage 30,000,001 chars, of which 300 chars are outputted exactly as registered


So first, is there this initial custom translation cost for registering 30 words (Jap/Eng, each Japanese word is 5 chars so 150 chars)
Custom model hosting $10 (assuming you can finish registering these words within 1 month)
Training $10 per million source + target chars of training data, not sure how many chars each English word is but either the way the sum is below 1 million

So at this point, subtotal is $20 just to register the words to custom translator.

Then: Input "Japanese 10,000,001 chars" + "Output English 30,000,001 chars" = 40 million 4 chars, ( but more than 4 chars are from Custom translation) so
40 million standard chars = $400

and then for the registered custom chars:

Input "Japanese 150 chars" + Output "300 chars" = 450 chars = $40


Thus, does Scenario B cost $20 (initial registering of chars to custom)+ $400 (standard Translation of almost 40 million chars) + $40 (translation of 450 custom chars) = $460?



Thank you

0 Votes 0 ·
romungi-MSFT avatar image romungi-MSFT PeterThurwachter-9589 ·

@PeterThurwachterMINDTREELIMITED-2688 Yes, this should be the approx cost for this scenario. I would suggest to lookup the metrics at every stage i.e after training and after translation from the metrics tab of your translator resource. For a test scenario with your first model this should help verify the usage.

1 Vote 1 ·