DLB555
DLB555

Reputation: 21

Google Cloud Text-To-Speech Character counts

I am using Google Cloud TTS for a personal project and though there is almost negligible chance that it will hit 1M characters / month but I would like to know is there any way to create an alert when certain limit is reached? Any help on this will be highly appreciated.

Upvotes: 1

Views: 1924

Answers (2)

jjbbss
jjbbss

Reputation: 179

So,

I came across the same problem recently where I needed to know the exact number of characters used.

Turn out in the billing report if you group by SKU in the filters on the right side it shows the exact number of characters used for the range you set, split of by normal and wavenet voices.

enter image description here

Though that data only gets updated once a day apparently.

Not sure if you can check the limit automatically maybe with https://cloud.google.com/billing/docs/reference/rest/v1/services.skus/list or something.

Upvotes: 3

Nathan Nasser
Nathan Nasser

Reputation: 1004

In the console you can see the text to speech quota per day: Standard Edition characters count of text-to-speech queries per day

I recommend to keep and save the count.

To can get to the quotas: IAM & Admin > Quotas and the look for test to speech

Upvotes: 1

Related Questions