I have a question about the charge for per 1000 tokens?
Whether the token is only completion_tokens(generated tokens),or prompt_tokens + completion_tokens?
Thanks for your reply!
prompt_tokens + completion_tokens
Both input and output tokens count toward these quantities. For example, if your API call used 10 tokens in the message input and you received 20 tokens in the message output, you would be billed for 30 tokens.
1 Like