Uzair Mazhar Greetings & Welcome to Microsoft Q&A forum!
I understand that you are calculating prices based on the input tokens and output tokens used.
Check if you have included any additional infrastructure costs that might accrue while using Azure OpenAI Service?
Azure OpenAI Service runs on Azure infrastructure that accrues costs when you deploy new resources. There could be other infrastructure costs that might accrue. The following sections describe how you're charged for Azure OpenAI Service.
I would suggest you, please check Plan to manage costs for Azure OpenAI Service and Understand Cost Management data for more details.
Also, see Azure AI Speech pricing calculator and Azure OpenAI Service pricing for calculating the prices.
If that doesn't help, you can always reach out to support by creating a free billing support ticket. for more clarity on your billing spends. See Create a support ticket for details.
Do let me know if you have any further queries.
If the response helped, please do click Accept Answer
and Yes
for was this answer helpful.
Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.