Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Vision API limit and usage

Tags:

In my project I need to use the Google Vision API in order to know if an image uploaded by the user is rated as adult content or not.

In their documentation page we have a pricing table Google Vision API Pricing in which we can see there is a free plan in which you have some limits. In order to start using this I needed to join the free trial and set a billing account.

My questions are the following:

  1. When the limits are reached, am I going to be billed by Google? Or the service will be unavailable until I accept to be billed for that?
  2. As I have joined to a free trial, is this API usage limited to the trial period (60 days), or is it free (limited) even when the trial period has ended?
like image 251
Alejandro Morán Avatar asked Feb 23 '17 16:02

Alejandro Morán


People also ask

Does Google API have a limit?

By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.

Is Google Cloud Vision API free?

Pricing is tiered - the first 1000 units used each month are free, units 1001 to 5,000,000 are priced as marked, etc. If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

How do I set Google API limits?

Click the name of the API you're interested in. Click Quotas. On the requests per day or requests per 100 seconds per user line, click the edit icon, then enter the preferred total billable daily quota, up to the limit specified by Google.

How do I check Google API limit?

Visit the Enabled APIs page of the API library in the API Console, and select an API from the list. To view and change quota-related settings, select Quotas.


1 Answers

When the limits are reached, am I going to be billed by Google? Or the service will be unavailable until I accept to be billed for that?

When you reach the limit the service stop working. Google doesn't charge you, as DalmTo said

As I have joined to a free trial, is this API usage limited to the trial period (60 days), or is it free (limited) even when the trial period has ended?

For Cloud Vision API, after the free trial, the features to analyze the images are free with a cap of 1000 units/months. Google Cloud Vision API Pricing

like image 52
Osoter Avatar answered Sep 24 '22 10:09

Osoter