Completion Usage
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 Tokens
How many tokens the input used.
completion Tokens
How many tokens the output used.
total Tokens
How many tokens in total.