Credit Usage Calculation
  • 21 May 2024
  • 1 Minute to read
  • Contributors
  • PDF

Credit Usage Calculation

  • PDF

Article summary

In our Text to Speech service, credit usage is calculated based on the phonemes and punctuation marks:

Phoneme CountCredit Consumption
1 phoneme1 credit

1 credit equals 1 phoneme synthesized.

Info

Each punctuation mark (comma, period, etc.) within or at the end of a sentence consumes 1 credit.

Example 1: "Hello, my name is Jessica."

Word/PunctuationCreditsExplanation
Hello55 phonemes
,11 punctuation mark
my22 phonemes
name44 phonemes
is22 phonemes
Jessica77 phonemes
.11 punctuation mark
Total22

Example 2: "Hello, my name is Jessica"

Word/PunctuationCreditsExplanation
Hello55 phonemes
,11 punctuation mark
my22 phonemes
name44 phonemes
is22 phonemes
Jessica77 phonemes
Total21

In the second example, since the sentence does not end with a period, the system adds one for a smooth ending, but this added period does not consume a credit.

By understanding these rules, you can better estimate the credits your text-to-speech tasks will consume.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.