Tokens In OpenAI API

How does tokens' count work in OpenAI API? Here is their explanation.

To use Tiktoken check [here](the model is currently overloaded with other requests).