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

Method 1: Request Body

Method 2: Helicone Header

You can also enable stream usage by adding the helicone-stream-usage header to your request: