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 | First 5K / month | 5K+ - 1M | 1M+ - 5M | 5M+ |
---|---|---|---|---|
Entity Analysis | Free | $0.0010 | $0.00050 | $0.000250 |
Sentiment Analysis | Free | $0.0010 | $0.00050 | $0.000250 |
Syntax Analysis | Free | $0.0005 | $0.00025 | $0.000125 |
Entity Sentiment Analysis | Free | $0.0020 | $0.00100 | $0.000500 |
Price per 1,000-character unit
Feature | First 30K / month | 30K+ - 250K | 250K+ - 5M | 5M+ |
---|---|---|---|---|
Content Classification | Free | $0.0020 | $0.00050 | $0.0001 |
Price per 100-character unit
Feature | First 50K / month | 50K+ - 10M | 10M+ - 50M | 50M+ |
---|---|---|---|---|
Text Moderation | Free | $0.0005 | $0.00025 | $0.000125 |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
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 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, 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.
What's next
- Read the Cloud Natural Language documentation.
- Get started with Cloud Natural Language.
- Try the Pricing calculator.
- Learn about Cloud Natural Language solutions and use cases.