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:
Learn how to accurately calculate costs when using streaming features.
include_usage
key in the body of your request or use the Helicone header.
helicone-stream-usage
header to your request: