To accurately calculate costs when using streaming features, you can include a include_usage key in the body of your request.

Example