To accurately calculate costs when using streaming features, you can either include aDocumentation Index
Fetch the complete documentation index at: https://docs.helicone.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 thehelicone-stream-usage header to your request: