Cloud Natural Language pricing

The Natural Language API provides a set of features for analyzing unstructured text. You pay only for the features you use with no upfront commitments. The API supports the following features:

Feature Type

Description

Entity Analysis

Identify entities and label by types such as person, organization, location, events, products and media.

Sentiment Analysis

Understand the overall sentiment expressed in a block of text.

Entity Sentiment Analysis

Understand the sentiment for entities identified in a block of text.

Syntax Analysis

Extract tokens and sentences, identify parts of speech (PoS) and create dependency parse trees for each sentence.

Content Classification

Identify content categories that apply to a block of text.

Text Moderation

Identify harmful and sensitive categories that apply to a block of text.

Pricing units

The Natural Language API pricing is based on the number of Unicode characters in each request, calculated in terms of “units”. For Text Moderation, the cost per request is rounded up to the nearest unit of 100 Unicode characters and for every other feature, it's rounded to the nearest 1,000 Unicode characters. The Unicode characters include whitespace characters and any markup characters such as HTML or XML tags.

For example, if you send three requests for Sentiment Analysis that contain 800, 1,500, and 600 characters respectively, you are charged for four units: one for the first request (800), two for the second request (1,500), and one for the third request (600).

Prices for usage of the Natural Language API are computed monthly based on the API feature. The table below provides the price per unit based on the total number of units processed during the billing month.

Monthly prices

Price per 1,000-character unit

Feature

Price (USD)

Entity Analysis

0 count to 5,000 count
$0.00 (Free) / 1,000 count, per 1 month / account
5,000 count to 1,000,000 count
$1.00 / 1,000 count, per 1 month / account
1,000,000 count to 5,000,000 count
$0.50 / 1,000 count, per 1 month / account
5,000,000 count and above
$0.25 / 1,000 count, per 1 month / account

Sentiment Analysis

0 count to 5,000 count
$0.00 (Free) / 1,000 count, per 1 month / account
5,000 count to 1,000,000 count
$1.00 / 1,000 count, per 1 month / account
1,000,000 count to 5,000,000 count
$0.50 / 1,000 count, per 1 month / account
5,000,000 count and above
$0.25 / 1,000 count, per 1 month / account

Syntax Analysis

0 count to 5,000 count
$0.00 (Free) / 1,000 count, per 1 month / account
5,000 count to 1,000,000 count
$0.50 / 1,000 count, per 1 month / account
1,000,000 count to 5,000,000 count
$0.25 / 1,000 count, per 1 month / account
5,000,000 count and above
$0.125 / 1,000 count, per 1 month / account

Entity Sentiment Analysis

0 count to 5,000 count
$0.00 (Free) / 1,000 count, per 1 month / account
5,000 count to 1,000,000 count
$2.00 / 1,000 count, per 1 month / account
1,000,000 count to 5,000,000 count
$1.00 / 1,000 count, per 1 month / account
5,000,000 count and above
$0.50 / 1,000 count, per 1 month / account

Price per 1,000-character unit

Feature

Price (USD)

Content Classification

0 count to 30,000 count
$0.00 (Free) / 1,000 count, per 1 month / account
30,000 count to 250,000 count
$2.00 / 1,000 count, per 1 month / account
250,000 count to 5,000,000 count
$0.50 / 1,000 count, per 1 month / account
5,000,000 count and above
$0.10 / 1,000 count, per 1 month / account

Price per 100-character unit

Feature

Price (USD)

Text Moderation

0 count to 50,000 count
$0.00 (Free) / 10,000 count, per 1 month / account
50,000 count to 10,000,000 count
$5.00 / 10,000 count, per 1 month / account
10,000,000 count to 50,000,000 count
$2.50 / 10,000 count, per 1 month / account
50,000,000 count and above
$1.25 / 10,000 count, per 1 month / account

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

NOTE: The annotateText method enables you to request syntax, sentiment, entity extraction, classification, and moderation features in one call. For pricing purposes, an annotateText request is charged as if you had requested each feature separately. For example, an annotateText request that returns a syntactic analysis and a classification costs the same as separate syntax analysis and content classification requests.

This pricing is for applications on personal systems (e.g., phones, tablets, laptops, desktops).

For more than 20 million units per month for a customer project (for Content Classification, this threshold is 5 million units per month), we would like to understand more about your needs, and may be able to build custom solutions. To request a limit above the maximum, contact a sales representative to discuss pricing.

Google Cloud Platform costs

If you store documents to be analyzed in Google Cloud Storage, or use other Google Cloud Platform resources in tandem with the Natural Language, such as Google App Engine instances, then you will also be billed for the use of those services. See the Google Cloud Platform 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 and Payments Support.

Request a custom quote

With Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.
Google Cloud