Azure OpenAI PTU utilization

김세형 135 Reputation points
2024-06-19T03:36:05.9166667+00:00

I want to check PTU utilization in API management policy.

In OpenAI monitor dashboard, PTU utilization of model is shown.

When chat completion API is requested, response header has 'azure-openai-deployment-utilization' in PTU. But, it's not the total PTU utilization of the model.

In PAYGO, response header has 'x-ratelimit-remaining-tokens', so it seems that the utilization of the model can be checked.

Is there any way to check the current PTU utilization?

Azure OpenAI in Foundry Models
0 comments No comments

Answer accepted by question author

Adharsh Santhanam 8,230 Reputation points Microsoft Employee Volunteer Moderator
2024-06-19T04:56:51.3966667+00:00

Hello 김세형, I believe you should be looking at the azure-openai-emit-token-metric policy in Azure API Management. You can find the details here -- https://learn.microsoft.com/en-us/azure/api-management/azure-openai-emit-token-metric-policy and https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/best-practice-guidance-for-ptu/ba-p/4152133

Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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