How to keep track of token metrics of OpenAI "Message a model" node

Hi. I am using the OpenAI “Message a model” nodes and I want to keep track of the token usage metrics in order keep track of the billing. I have clicked everything with a hope to find it somewhere but still cannot find it. Please let me know if you know something. Thank you so much!

In the output of the OpenAI model should be

The key is you want Simplify Output disabled. This allows you to get the token usage in the output:

Then you can grab that and add to a spreadsheet or do whatever you’d like with it :slight_smile:

3 Likes

Thank you so much

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.