Pricing

The Natural Language API provides a set of features for analyzing unstructured text. Across these scenarios, we enable you to pay only for what 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.

Pricing units

The Natural Language API is priced using units of measurement known as text records. A text record may contain up to 1,000 Unicode characters within the text content sent to the API for evaluation. Text in excess of these 1,000 characters counts as additional record(s). Prices are expressed in dollars per 1,000 text records (1,000,000 Unicode characters).

Text records are counted for each request individually, and are not cumulative. For example, if you sent three requests to the Natural Language API that contained 800, 1,500, and 600 characters, then you would be charged for four total text records. One for the first request (800), two for the second request (1,500), and one for the third request (600).

Price is per UTF8 character sent to the API for processing, including whitespace characters. If your document to be analyzed includes markup such as HTML or XML, then the markup characters are included in the billing.

Prices for usage of the Natural Language API are computed monthly based on which feature of the API is used, and how many text records are evaluated using those features. These prices are noted in the table below.

Monthly prices (per 1,000 text records)

Feature 0 - 5K 5K+ - 1M 1M+ - 5M 5M+ - 20M
Entity Analysis Free $1.00 $0.50 $0.25
Sentiment Analysis Free $1.00 $0.50 $0.25
Syntax Analysis Free $0.50 $0.25 $0.125
Entity Sentiment Analysis Free $2.00 $1.00 $0.50
Feature 0 - 30K 30K+ - 250K 250K+ - 5M 5M+
Content Classification Free $2.00 $0.50 $0.10

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

* Price is per character sent to the API for processing, including whitespace characters. Empty queries are charged for one character. Google charges on per character basis, even if the character is multiple bytes, where a character corresponds to a (code-point). For example, translating "こんにちは" to English counts as 5 characters for the purposes of billing.

This pricing is for applications on personal systems (e.g., phones, tablets, laptops, desktops). Please contact us for approval and pricing to use the Natural Language API on embedded devices (e.g., cars, TVs, appliances, or speakers).

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 API, 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.

Send feedback about...

Google Cloud Natural Language API Documentation