Regarding Azure billing during failure scenarios

Test Admin 176 Reputation points
2024-07-01T10:12:16.71+00:00

We are using Azure subscription with the Standard Tier.

We have a requirement to calculate the usage cost of Azure Speech to Text and Azure OpenAI in our application. We are using Azure Retail Prices API to estimate the usage cost. We have some queries regarding price calculation during failure scenarios.

Queries:

  1. If a Batch transcription fails in any scenario, will the cost for the failed Azure Batch transcription be added to the Azure billing or not?
  2. Also for the Azure OpenAI Completions API, if the Summary operation fails in any scenario, will the cost for the input tokens utilized be added to the Azure billing or not?
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,568 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 16,640 Reputation points
    2024-07-01T10:42:37.0766667+00:00

    Hello Test Admin,

    Thanks for your question.

    For Azure Speech to Text, you are billed on transcription minutes. If failure occurs before transcription starts you will not be billed, if it fails after transcription you will be billed for the successful transcription minutes,

    With Azure OpenAI Completions API, token usage metric captures the resources consumed up to the point of failure. The cost for the input tokens that were utilized before the failure will be billed.

    See:

    https://azure.microsoft.com/en-us/pricing/details/cognitive-services/speech-services/

    https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.