Chat
    Holds how many tokens that were used by your API request. Use these tokens to calculate how much money you have spent on each request.
By monitoring your token usage, you can limit the amount of money charged for your requests. You can check the cost of the model you are using in OpenAI's billing page.
Parameters
prompt
How many tokens the input used.
completion
How many tokens the output used.
total
How many tokens in total.