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:
|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 (beta)||Identify content categories that apply to a block of text.|
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).
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 Sentiment Analysis||Free||$2.00||$1.00||$0.50|
|Feature||0 - 30K||30K+ - 250K||250K+ - 5M||5M+|
|Content Classification (beta) *||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.
* Content Classification pricing takes effect on September 21, 2017. Prior to that date, use of Content Classification (beta) is free.
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 (beta), 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. Please submit a Cloud Natural language API Quota Request for your project.
Google Cloud Platform costs
Note that you may be charged for other Google Cloud Platform resources used in your project, such as Google Compute Engine instances, Google Cloud Storage, etc. For full information, consult our Google Cloud Platform Pricing Calculator to determine those separate costs based on current rates.