Skip to content

Commit 5bdb549

Browse files
Merge pull request #5811 from eric-urban/eur/voice-live
voice live fast follow 2
2 parents 83e5f1f + 25400c9 commit 5bdb549

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/ai-services/speech-service/voice-live.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,12 @@ You're charged separately for the training and model hosting of:
176176

177177
Tokens are the units that generative AI models use to process input and generate output. 
178178

179-
You can estimate the cost with Voice Live API based on audio length as follows:
180-
- Each second of input audio is approximately 10 tokens.
181-
- Each second of output audio is approximately 20 tokens.
179+
You can estimate token usage for different model families with the Voice Live API based on audio length. The following token calculations apply to each model family:
180+
181+
| Model family | Input audio (tokens per second) | Output audio (tokens per second) |
182+
| ----- | ----- | ----- |
183+
| Azure OpenAI models | ~10 tokens | ~20 tokens |
184+
| Phi models | ~12.5 tokens | ~20 tokens |
182185

183186
You're also charged for cached audio and text inputs, including the prompt and the context of the conversations.
184187

0 commit comments

Comments
 (0)