You are charged for Cloud Translation based on monthly usage. This page states usage fees for Cloud Translation - Basic and Cloud Translation - Advanced. Translation usage is calculated in millions of characters, where 1 million = 106 characters.
Prices per month
You are charged for the amount of text that Cloud Translation processes, such as the text that you include in a detect language or translate text request. Note that if you don't specify a source language for the translate method, Cloud Translation detects the source language for you. You are only charged for the text that you provided; there's no additional charge for the detection in addition to the translation. For example, if you submit 1,000 characters for translation without specifying the source language, you are only charged for the 1,000 characters.
Prices are pro rata (proportional and incremental). Charges are scaled to the number of characters actually provided to Cloud Translation. For example, if you send 575,000 characters for processing within a month, you are charged $1.50. The first 500,000 characters are free, and then you are charged for the additional 75,000 characters sent for detection, translation, or both.
Try it for yourself
If you're new to Google Cloud, create an account to evaluate how Cloud Translation performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
Try Cloud Translation freeCloud Translation - Basic
The following pricing information applies to the
detect
method call and the
translate
method call.
Feature | Monthly usage | Price |
---|---|---|
Total usage for language detection and text translation by using either the NMT or PBMT models | First 500,000 characters* |
Free (applied as $10 credit every month)† |
500,000 to 1 billion characters* |
$20‡ per million characters |
|
Over 1 billion characters* |
Contact a sales representative to discuss discount pricing. |
* Price is per character sent to the API for processing. For details about counted characters, see Charged characters
† Credit usage applies collectively to both Cloud Translation - Basic and Cloud Translation - Advanced.
‡ If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Cloud Translation - Advanced
The following pricing information applies to the
detectLanguage
,
translateText
, and
batchTranslateText
method calls. Cloud Translation does not charge for other requests such as
glossary creation.
For batch translations, the number of characters processed equals the number of characters in the source language multiplied by the number of target languages. For example, if you submit 5,000 characters and include 2 target languages for a batch translation request, the total number of characters to process is 10,000. If the operation fails, Cloud Translation only charges for the successful translations that were returned.
Feature | Monthly usage | Price |
---|---|---|
Total usage for language detection, text translation, and batch translation by using either the NMT or PBMT models | First 500,000 characters* |
Free (applied as $10 credit)† |
500,000 to 1 billion characters* |
$20‡ per million characters |
|
Over 1 billion characters* |
Contact a sales representative to discuss discount pricing. |
|
Text translation by using AutoML Translation custom models | Tiered pricing based on monthly volume (see AutoML Translation pricing) |
* Price is per character sent to the API for processing. For details about counted characters, see Charged characters
† Credit usage applies collectively to both Cloud Translation - Basic and Cloud Translation - Advanced.
‡ If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Charged characters
To calculate usage, Google counts usage on a per character basis, even if a character is multiple bytes. Each character corresponds to a code point.
You are charged for all characters that you include in a Cloud Translation
request, even untranslated characters. This includes, for example, whitespace
characters. If you translate <p>こんにちは</p>
to English, it counts as 12
characters for the purposes of billing.
Google also charges for empty queries. If you make a request without any content, Google charges one character for the request.
Charged projects
For Cloud Translation - Basic, Google charges the project that is associated with the private key that you used to make authenticated requests.
For Cloud Translation - Advanced, Google bills against the project that contains
the translation model that you use, not against the project that you used to
make the request. For example, the following request was made in
project-number-1
. However, the caller has access to and used a model (custom,
PBMT, or NMT
model) that's
located in project-number-2
. In this case, Google charges project-number-2
.
POST https://translation.googleapis.com/v3/projects/project-number-1/locations/us-central1:translateText { "model":"projects/project-number-2/locations/us-central1/models/model", "sourceLanguageCode": "en", "targetLanguageCode": "ru", "contents": ["Dr. Watson, please discard your trash."] }
Similarly, for a batch request that uses multiple models from multiple projects, the projects that contain the models are charged and not the project that makes the request.
Other Google Cloud costs
If you store documents to be translated in Cloud Storage, or use other Google Cloud resources in tandem with Cloud Translation, such as App Engine instances, then you are also billed for the use of those services. See the Google Cloud Pricing Calculator to determine other costs based on current rates.
To view your current billing status in the Cloud Console, including usage and your current bill, see the Billing page. For more details about managing your account, see the Cloud Billing documentation or billing support.