Open AI Assistants : how to get the token count?

The important number is the token count, not so much the API calls, as OpenAI doesn’t charge per call.

Take a look at the usage screen and do a very slow test (their usage screen sometimes takes a while to update) and compare those results with the usage results from the API.
i.e.

  1. Have no usage for 10 minutes.
  2. Send one message to your assistant
  3. Measure usage from API.
  4. Wait ~5-10 minutes. Analyze the usage from https://platform.openai.com/usage

If your numbers don’t match up, you can report it here.