Token number inconsistent between API and ChatGPT

Hi and welcome to the developer forum!

Asking the model for tokenisation is not reliable. You should only use TikToken to do that.

3 Likes