Free step-by-step tutorial: Learn how to use the Translation API with Python.

Translation API icon Google Cloud Translation

Translate docs, audio, and videos in real time with Google AI

Google Cloud’s AI-powered APIs help you translate documents, websites, apps, audio files, videos, and more at scale with best-in-class quality and enterprise-grade control and security.

Overview

Cloud Translation API

Cloud Translation API uses Google's neural machine translation technology to let you dynamically translate text through the API using a Google pretrained or custom model. 

It has two editions: Basic and Advanced. Both provide fast and dynamic translation, but Advanced offers additional customization features, such as domain-specific translation, formatted document translation, and batch translation.

The first 500,000 characters sent to the API to process (Basic and Advanced combined) per month are free.

Translation Hub

Translation Hub is designed for organizations that translate a large volume of documents into many different languages. It is a fully managed, self-service document translation service that uses both Cloud Translation API and AutoML Translation. 

It is a centralized platform with strong enterprise administration, control, and security, simplifying the translation workflow and helping organizations maintain consistency and quality across multiple projects while keeping costs down.

AutoML Translation

AutoML Translation enables you to create custom translation models tailored to your specific domain or use case, no coding required. 

It utilizes machine learning to analyze your provided translated text pairs and develop a model that can translate new content in the same domain with a higher degree of accuracy than the standard Google pretrained model. 

It seamlessly integrates with Cloud Translation API and Translation Hub service for a smooth workflow orchestration.

Media file translation, subtitling, and voice-over solutions

For a simple translated transcript of a video or audio, Speech-to-text API transcribes your video or audio with high accuracy into a text file that can be translated by the Translation API into different languages.

To subtitle your videos after transcription and translation, use Transcoder API to add subtitles.

To voice-over your videos in different languages, first transcribe and translate, and then use Cloud Text-to-speech API to synthesize custom, lifelike speech in 380+ voices across 50+ languages.

Multilingual contact center solution for global markets

Combining Contact Center AI (CCAI) and Translation API allows you to assist a customer interaction happening in two different languages seamlessly across phone and chat, all in real time. CCAI helps break language barriers by natively supporting both customer sentiment and call driver analysis, across many different languages. These analyses can be fed back to agents, in their preferred language, for better call outcomes and customer experience.

Data privacy and security

Google Cloud has industry-leading capabilities that give you—our customers—control over your data and provide visibility into when and how your data is accessed.

As a Google Cloud customer, you own your customer data. We implement stringent security measures to safeguard your customer data and provide you with tools and features to control it on your terms. Customer data is your data, not Google’s. We only process your data according to your agreement(s).

Learn more in our Privacy Resource Center.

Compare translation products

What is it

An API that delivers best-in-class machine translation results using Google’s neural machine translation technology.

A fully managed service that allows organizations to translate a large volume of documents and manage their workflows.

A custom translation machine learning model training service that integrates with Translation API and Translation Hub.

Best for

Translate websites, apps, documents, user comments, and more.

Enterprise document translation workflow management.

Train a custom translation model for higher level of accuracy in domain-specific content.

Editions and tiers

Basic: short-form and  casual content. 

Advanced: long-form content that requires consistency and accuracy.

Basic: generic content.

Advanced: domain-specific content and content that requires human review and editing.

N/A

Key features

-Support >100 language pairs

-Advanced edition supports domain-specific translation with higher accuracy

-Enterprise-grade control and security

-Zero deployment time

-Custom model

-Format retention

-Human review

-No-code ML translation model training

-Seamlessly integrates with Translation API and Translation Hub

Translation API Translation Hub AutoML Translation

What is it

An API that delivers best-in-class machine translation results using Google’s neural machine translation technology.

A fully managed service that allows organizations to translate a large volume of documents and manage their workflows.

A custom translation machine learning model training service that integrates with Translation API and Translation Hub.

Best for

Translate websites, apps, documents, user comments, and more.

Enterprise document translation workflow management.

Train a custom translation model for higher level of accuracy in domain-specific content.

Editions and tiers

Basic: short-form and  casual content. 

Advanced: long-form content that requires consistency and accuracy.

Basic: generic content.

Advanced: domain-specific content and content that requires human review and editing.

N/A

Key features

-Support >100 language pairs

-Advanced edition supports domain-specific translation with higher accuracy

-Enterprise-grade control and security

-Zero deployment time

-Custom model

-Format retention

-Human review

-No-code ML translation model training

-Seamlessly integrates with Translation API and Translation Hub

How It Works

Translation API and Translation Hub are translation services, while AutoML Translation integrates with both to enhance accuracy with custom translation models. 

Translation API helps you programmatically translate your apps, websites, and programs in real time. It works with other APIs for more sophisticated use cases—explained in the Common uses section. Translation Hub offers a no-code web interface to orchestrate complex translation workflows with enterprise-grade control and security.

In-console demo: How the Translation API works

Common Uses

Manage enterprise translation workloads

Translate a website or app

Subtitle a video in different languages

Dub a video in different languages

Train a custom translation model

Translate formatted documents

Translation-aided customer interactions

Pricing

Translation pricing

Translation API

Basic - use pretrained model

First 500,000 characters per month

Free


500,000 to 1 billion characters per month

$20

per million characters


Document translation

$0.08

per page


Advanced - use a custom model

First 500,000 characters per month

Free


500,000 to 250 million characters per month

$80

per million characters


Above 250 million characters


Document translation

$0.25

per page

Translation Hub

Basic tier

Enterprise document translation platform with general-purpose Google pretrained models.

$0.15

per page per target language


Advanced tier

On top of basic features, it supports translation memory, use of custom translation models, human review, and machine translation quality prediction (MTQP) scores.

$0.50

per page per target language

AutoML Translation

     

Custom translation model training

$45

per hour, $300 max per training job

Translation pricing
Price table Editions and tiers Description Pricing
Translation API

Basic - use pretrained model

First 500,000 characters per month

Free

500,000 to 1 billion characters per month

$20

per million characters

Document translation

$0.08

per page

Advanced - use a custom model

First 500,000 characters per month

Free

500,000 to 250 million characters per month

$80

per million characters

Above 250 million characters

Document translation

$0.25

per page

Translation Hub

Basic tier

Enterprise document translation platform with general-purpose Google pretrained models.

$0.15

per page per target language

Advanced tier

On top of basic features, it supports translation memory, use of custom translation models, human review, and machine translation quality prediction (MTQP) scores.

$0.50

per page per target language

AutoML Translation

     

Custom translation model training

$45

per hour, $300 max per training job

PRICING CALCULATOR

Estimate the cost of your project by pulling in all the tools you need in a single place.
Estimate your cost

CUSTOM QUOTE

Connect with our sales team to get a custom quote for your organization's unique needs.
Request a quote

Take the next step with Google Cloud

New customers get $300 in free credits

Try Translation API free

Talk to an expert to discuss your use case

Contact sales

Codelabs: Using the Translation API with C#

Get started

How-to: Translation Hub admin setup

View now

Quickstart: Create a custom translation model

Try now