#how cna I see how much I am spending in each API call to Text To Speech? I need to forecast costing
1 messages · Page 1 of 1 (latest)
It is not possible to obtain a cost estimate for an individual Text-to-Speech (TTS) API call before execution. The cost is based on character usage, where generally 1 character in text equals 1 character in the quota. However, for Turbo models, 2 characters count as 1 character in the quota, with costs rounded up. Additionally, certain voices in the Voice Library may have rate multipliers that affect their character costs. You can check these multipliers using the get-voices or get-voice endpoints in the API.
For detailed usage tracking, you can monitor your spending through the Usage Analytics page, which provides insights into your character consumption and associated costs.
IO am using Apex which is a 2x voice, but Eveln Flash 2.5 which is 50% discount, so it balances out? how many credits is a 100 character generation using for text to speech?
To calculate the credit usage for your Text-to-Speech API calls, you need to consider the credit multiplier for the voices you're using:
-
Apex (2x voice): This voice has a credit multiplier of 2, meaning it costs 2 credits per character. For 100 characters, it would use 200 credits.
-
Eleven Flash 2.5 (Turbo model): Turbo models cost 0.5 credits per character, so for 100 characters, it would use 50 credits.
If you're alternating between these voices, the credit usage will depend on how much text is generated with each voice. You can check your detailed credit usage breakdown in the Usage Analytics section of your account to forecast costs more accurately.
Let me know if you need further clarification!
so with Apex voice using Turbo model, its using 100 credits for 100 characters?