Open developer992 opened 9 months ago
Good question! I believe many customers specifically track token usage in either Azure API Management or Application Insights (Azure Monitor). Have you read through https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/monitoring to see what it recommends?
How do we track spent tokens?
I've tracked down that this ChatCompletion.usage class holds this information but i am having hard time hunting all the calls down ... Is there an easier and more precise way?