The Cloud Vision API provides a set of features for analyzing images. Across these scenarios, we enable you to pay only for what you use with no upfront commitments. The API supports the following features:
||Determine suggested vertices for a crop region on an image.|
||Perform OCR on dense text images, such as documents (PDF/TIFF), and images with
||Detect faces within the image.|
||Compute a set of image properties, such as the image's dominant colors.|
||Add labels based on image content.|
||Detect geographic landmarks within the image.|
||Detect company logos within the image.|
||Detect and extract multiple objects in an image.|
||Run SafeSearch to detect potentially unsafe or undesirable content.|
||Perform Optical Character Recognition (OCR) on text within the image.
Text detection is optimized for areas of sparse text within a larger image.
If the image is a document (PDF/TIFF), has dense text, or contains handwriting,
||Detect topical entities such as news, events, or celebrities within the image, and find similar images on the web using the power of Google Image Search.|
Charges are incurred per image. For files with multiple pages, such as PDF files, each page is treated as an individual image.
Each feature applied to an image is a billable unit. For example, if you apply Face Detection and Label Detection to the same image, you are billed for one unit of Label Detection and one unit for Face Detection.
The table below shows the price for each feature per 1000 units. Pricing is tiered - the first 1000 units used each month are free, units 1001 to 5,000,000 are priced as marked, etc.
|Feature||Price per 1000 units|
|First 1000 units/month||Units 1001 - 5,000,000 / month||Units 5,000,001 - 20,000,000 / month|
|Document Text Detection||Free||$1.50||$0.60|
|Safe Search (explicit content) Detection||Free||Free with Label Detection, or $1.50||Free with Label Detection, or $0.60|
|Facial Detection - Celebrity Recognition||Free||$1.50||$0.60|
|Crop Hints||Free||Free with Image Properties, or $1.50||Free with Image Properties, or $0.60|
|Web Detection||Free||$3.50||Contact Google for more information|
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
If your application made the following requests in a particular month:
- 700 images with label detection
- 5300 images with landmark detection
Your cost would be:
- $0 for 700 label detection requests.
- $0 for the first 1000 landmark detection requests.
- $7.50 for the remaining 4300 landmark detection requests. Pricing is calculated in 1000-request blocks. For example, exactly 4000 requests is priced at 4 * $1.50. Any number of requests between 4001 and 5000 (including the 4300 requests in this example) moves the total into the next (5th) block of 1000 and is priced accordingly, adding another $1.50 to the existing cost and bringing the total cost to 5 * $1.50, or $7.50.
Total cost is $7.50.
Google Cloud Platform costs
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.