Text-to-Speech is priced based on the number of characters sent to the service to be synthesized into audio each month. You must enable billing to use Text-to-Speech, and will be automatically charged if your usage exceeds the number of free characters allowed per month. For information about how to keep track of your character totals, see Monitoring API usage. Price is calculated per character.
The total number of characters in the input string are counted for billing purposes, including spaces. All Speech Synthesis Markup Language (SSML) tags except mark are also included in the character count. For example, this input string counts as 79 characters, including the SSML tags, newlines, and spaces:
Feature | Free usage limit | Price after free usage limit is reached |
---|---|---|
Standard voices (sku:9D01-5995-B545) | 0 to 4 million characters | US$0.000004 per character (US$4 per 1 million characters) |
WaveNet voices (sku:FEBD-04B6-769B) | 0 to 1 million characters | US$0.000016 per character (US$16 per 1 million characters) |
Neural2 voices | 0 to 1 million bytes | US$0.000016 per byte (US$16 per 1 million bytes) |
Polyglot (Preview) voices | 0 to 100 thousand bytes | US$0.000016 per byte (US$16 per 1 million bytes) |
Journey (Preview) voices | 0 to 1 million bytes | US$0.000030 per byte (US$30 per 1 million bytes) |
Studio voices | 0 to 100 thousand bytes | US$0.00016 per byte (US$160 per 1 million bytes) |
Note: For WaveNet and Standard voices, the number of characters will be equal to or less than the number of bytes represented by the text. This includes alphanumeric characters, punctuation, and white spaces. Some character sets use more than one byte for a character. For example, Japanese (ja-JP) characters in UTF-8 typically require more than one byte each. In this case, you are only charged for one character, not multiple bytes.
If you use other Google Cloud resources in tandem with the Text-to-Speech, such as Google App Engine instances, then you will also be billed for the use of those services. See Google Cloud's pricing calculator to determine other costs based on current rates.
With Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.