-
https://platform.openai.com/tokenizer - here "hello" message costs 1 token, but using this bot it costs 18 tokens. Information from bot is correct: How can I count it correctly? |
Beta Was this translation helpful? Give feedback.
Answered by
uPagge
Mar 28, 2023
Replies: 1 comment
-
Counting tokens is quite a difficult moment. The bot only gives the information that it receives from the OpenAI API after the request is executed. So this information is more correct. Tokens are counted in total for the entire conversation. Each new question will contain the cost of all previous questions + a new question and the answer to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lainaaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Counting tokens is quite a difficult moment. The bot only gives the information that it receives from the OpenAI API after the request is executed. So this information is more correct.
Tokens are counted in total for the entire conversation. Each new question will contain the cost of all previous questions + a new question and the answer to it.