Incorrect Cost Calculation While Streaming?
Learn how to accurately calculate costs when using streaming features.
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:
Was this page helpful?