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.

Pricing units

Your usage of the Natural Language API is calculated in terms of “units,” where each document sent to the API for analysis is at least one unit. Documents that have more than 1,000 Unicode characters (including whitespace characters and any markup characters such as HTML or XML tags) are considered as multiple units, one unit per 1,000 characters.

For example, if you send three requests to the Natural Language API 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 which feature of the API you used, and how many units are evaluated using those features. The table below provides the price per 1,000 units based on the total number of units analyzed during the billing month.

Monthly prices

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.

The annotateText method enables you to request syntax, sentiment, entity, and classification 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). 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.

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.

Oliko tästä sivusta apua? Kerro mielipiteesi

Palautteen aihe:

Tämä sivu
Cloud Natural Language API
Tarvitsetko apua? Siirry tukisivullemme.