Title
I want to get the total amount of tokens using openai for single task
Description
I got from openai debug
'x-ratelimit-limit-tokens': '30000'
'x-ratelimit-remaining-tokens': '18305'
I heard that its difference is exactly the amount of spent token for request, is that true?
Additional Context
But anyway I want to have an ability to get the total amount of spent token for one task