Hello Hieu Phan,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you would like to verify, if Azure Speech-to-Text API Charging Based on Audio Length or Duration When No Audio Data is Sent During Pauses.
Azure Speech-to-Text API charges are based on the duration of audio processed, not the length of audio sent. This means that even if no audio data is sent during pauses, you will not be charged for that time. Flexible pricing gives you the power and control you need pay for only what you use, with no upfront costs. - https://azure.microsoft.com/en-gb/products/ai-services/ai-speech#Pricing
With Speech, pay as you go based on:
- The number of hours of audio you transcribe or translate for speech to text and speech translation.
- The number of characters you convert to audio for text to speech
- The number of transactions for Speaker Recognition
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.