OpenAi API - get usage tokens in response when set stream=True

(OpenAI here!)

We have added support for this, so no more workarounds needed! See Usage stats now available when using streaming with the Chat Completions API or Completions API

7 Likes